An exact transformation for CNN kernel enables accurate sequence motif identification and leads to a potentially full probabilistic interpretation of CNN
Yang DingiD, Jingyi LiiD, Meng WangiD, Xinming TuiD, Ge GaoiD
Abstract
MotivationConvolutional neural network (CNN) has been widely used in functional motifs identification for large-scale DNA/RNA sequences. Currently, however, the only way to interpret such a convolutional kernel is a heuristic construction of a position weight matrix (PWM) from fragments scored highly by that kernel.\n\nResultsInstead of using heuristics, we developed a novel, exact kernel-to-PWM transformation whose equivalency is theoretically proven: the log-likelihood of the resulting PWM generating any DNA/RNA sequence is exactly the sum of a constant and the convolution of the original kernel on the same sequence. Importantly, we further proved that the resulting PWMs performance on sequence classification/regression can be exactly the same as the original kernels under popular CNN frame-works. In simulation, the exact transformation rivals or outperforms the heuristic PWMs in terms of classifying sequences with sequence- or structure-motifs. The exact transformation also faithfully reproduces the output of CNN models on real-world cases, while the heuristic one fails, especially on the case with little prior knowledge on the form of underlying true motifs. Of note, the time complexity of the novel exact transformation is independent on the number of input sequences, enabling it to scale well for massive training sequences.\n\nAvailabilityPython scripts for the transformation from kernel to PWM, the inverted transformation from PWM to kernel, and a proof-of-concept for the maximum likelihood estimation of optimal PWM are available through https://github.com/gao-lab/kernel-to-PWM.\n\nContactgaog@mail.cbi.pku.edu.cn
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- pysster: Classification Of Biological Sequences By Learning Sequence And Structure Motifs With Convolutional Neural Networks
Stefan Budach, Annalisa Marsico·BioinformaticsPeer-reviewed·Apr 5, 2018
- Circularly shifted filters enable data efficient sequence motif inference with neural networks
Christopher Frederik Blum, Markus Kollmann·BioinformaticsPeer-reviewed·Mar 26, 2019
- Interpretable Convolution Methods for Learning Genomic Sequence Motifs
Matt Ploenzke, RA Irizarry·bioRxiv·Sep 8, 2018
- Biological Sequence Modeling with Convolutional Kernel Networks
Dexiong Chen, Laurent Jacob, Julien Mairal·BioinformaticsPeer-reviewed·Feb 6, 2019
- Representation Learning of Genomic Sequence Motifs with Convolutional Neural Networks
Peter K. Koo, Sean R. Eddy·PLoS Computational BiologyPeer-reviewed·Dec 19, 2019
- Convolutions are competitive with transformers for protein sequence pretraining
K. K. Yang, N. K. Fusi, A. X. Lu·bioRxiv·May 19, 2022