TL;DR
This paper introduces Yuzu, a novel method that significantly accelerates in-silico saturation mutagenesis (ISM) for analyzing biological sequences. By leveraging compressed sensing principles, Yuzu reduces the computational cost of ISM from being linear in sequence length to a constant number of operations, enabling faster model interpretation.
What Problem Does This Paper Address?
Interpreting complex machine learning models, especially in genomics, is crucial for understanding biological mechanisms. In-silico saturation mutagenesis (ISM) is a popular technique for this, where each position in a biological sequence is systematically mutated to observe the impact on the model's output. However, this approach is computationally expensive, requiring a number of forward passes through the model proportional to the sequence length. This becomes a bottleneck, particularly for long sequences or when exploring many hypotheses interactively. Existing methods like fastISM offer some improvements but still face limitations, especially with small batch sizes.
Methods
Yuzu tackles the computational bottleneck of ISM by applying compressed sensing. The core idea is that for models with limited receptive fields (like convolutional neural networks), the differences in model outputs between a reference sequence and its mutated versions (called "deltas") are sparse. Instead of running each mutated sequence through the entire model, Yuzu compresses these sparse deltas into a smaller set of "probes." These probes are then processed by the model's convolutional layers. The outputs are then "decoded" back to reconstruct the deltas. This process requires only a constant number of forward passes, regardless of sequence length, as the number of probes depends on the receptive field, not the sequence length. For non-convolutional layers, Yuzu either reconstructs deltas directly or, once the receptive field covers the entire input, reverts to standard ISM.
Datasets
Not explicitly discussed in the paper. The authors evaluate their method on six pre-defined models commonly used in genomics, including a single convolution, a toy network, DeepSEA, Basset, FactorizedBasset, and a small BPNet.
Key Insights and Ideas
- Compressed Sensing for Model Interpretation: The paper demonstrates a novel application of compressed sensing beyond its typical use in signal acquisition, applying it to accelerate a crucial model interpretation technique.
- Sparsity of Mutational Deltas: The key insight is that the differences in model outputs caused by single mutations in convolutional layers are sparse, which is the property exploited by compressed sensing.
- Constant Forward Passes: Yuzu's ability to achieve a constant number of forward passes, independent of sequence length, is a significant theoretical and practical advancement over traditional ISM.
- Speedup Increases with Complexity: The benefits of Yuzu are more pronounced with more complex convolutions (more filters, larger kernel widths) and longer sequences, suggesting its relevance in real-world genomics applications.
Key Results
- Yuzu can reduce the time spent in convolution operations by several orders of magnitude.
- Overall, Yuzu speeds up ISM on common genomics architectures by over an order of magnitude.
- The speedup increases with the complexity of the convolution operation and the length of the sequence.
- Yuzu significantly outperforms fastISM in interactive settings (small batch sizes).
- At large batch sizes, Yuzu is comparable to or outperforms fastISM.
- The accuracy of Yuzu's attributions is near-perfect with modest values of the compression parameter ($\alpha > 1$).
Limitations and Future Work
- Single Mutations: The current work focuses on single mutations. The authors suggest extending Yuzu to handle multiple mutations simultaneously, which would be invaluable for more comprehensive analyses.
- Model Architectures: While Yuzu is primarily designed for models with limited receptive fields like convolutions, its application to other architectures like transformers with sparse attention maps is mentioned as a future direction.
- Precomputation Cost: While not included in the core timing evaluations, there is an initial precomputation cost associated with Yuzu.
- Parameter Tuning: The paper notes that a parameter ($\alpha$) related to the compression level needs to be tuned, though it can be found through a scan of a random sequence.
Summary updated