ExplaiNN
Interpretable genomics model that sums many independent single-filter CNN units over one-hot DNA.
Molecules, proteins and genomics · 16 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 313.3K
- Operations
- 16
- Framework
- PyTorch
- Recurrent
- No
- Published
- Genome Biology 2023
- Cited by
- 55 (as of 24 October 2026)
- Authors
- Gherman Novakovsky, Oriol Fornes, Manu Saraswat and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16501
- Graph hash
- 102ce4cc1f9a6d8bd74bbffba311423d76ad068a945959ecb9ddc9a151d3f33a
- Skeleton hash
- 8de81bd13625fef4b54fda15ce65ea00b0bcc2fa3f452c70d6314a980eda9504
- Architecture hash
- 6e9c23fb558540866de6e67bf57484a3b3dc0ae86f14eef99965ccd076382cf6
- Diagram SHA-256
- 13182c91ae84a9d3900c7ac0191d4d960d8f7b476de8d370333d78731580bca6
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
ExplaiNN (explainable neural networks) is a sequence-based deep learning model for genomic tasks that is designed to be interpretable. The paper starts from the observation that convolutional neural networks excel in genomic tasks but lack interpretability, and sets out to combine the expressiveness of CNNs with the interpretability of linear models.
The design is inspired by neural additive models (NAMs). Predictions are computed as a linear combination of multiple independent CNNs, which the paper calls units. Each unit comprises one convolutional layer with a single filter, batch normalization, exponential activation and max pooling, followed by two fully connected layers. The filter of each unit can be mapped to a transcription factor profile from JASPAR, which gives that unit a biological annotation. The weights of the final linear layer can then be read like the coefficients of a linear model.
The number of units is a key hyperparameter. On predicting the binding of 50 TFs to open chromatin regions, the paper reports that performance plateaued at around 100 units. In that test ExplaiNN outperformed the three CNN baselines on average AUPRC and, with more than 100 units, nearly reached the performance of the more complex DanQ. On the DeepSTARR enhancer data ExplaiNN performed worse than DeepSTARR, which the authors attribute to the greater presence of nonlinear interactions in that dataset.
Key idea. ExplaiNN computes genomic predictions as a linear combination of independent single-filter CNN units, so each unit's filter and output weight can be interpreted directly.
- explainn
- explainable neural networks
- interpretable genomics model
- neural additive model for genomics
- tf binding prediction
- transcription factor binding
- chromatin accessibility prediction
- dna sequence cnn
- motif discovery
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Novakovsky_2023, title={ExplaiNN: interpretable and transparent neural networks for genomics}, volume={24}, ISSN={1474-760X}, url={http://dx.doi.org/10.1186/s13059-023-02985-y}, DOI={10.1186/s13059-023-02985-y}, number={1}, journal={Genome Biology}, publisher={Springer Science and Business Media LLC}, author={Novakovsky, Gherman and Fornes, Oriol and Saraswat, Manu and Mostafavi, Sara and Wasserman, Wyeth W.}, year={2023}, month=June }