TL;DR
This paper investigates how different methods for generating "negative" training examples impact the performance of deep learning models that predict where transcription factors bind to DNA. They found that common methods like dinucleotide shuffling can lead to models that perform well on training data but poorly on real-world data, highlighting the critical importance of choosing appropriate negative sampling strategies for accurate biological insights.
What Problem Does This Paper Address?
Transcription factors (TFs) are crucial proteins that control gene expression by binding to specific DNA sequences. Accurately predicting these Transcription Factor Binding Sites (TFBSs) is fundamental to understanding gene regulation and diseases. Deep learning models have shown great promise in this area, but they typically require both positive (where TFs bind) and negative (where TFs don't bind) examples for training. A major challenge is that standard TF binding data, like ChIP-seq, primarily provides positive examples. The vast majority of the genome is not bound by a TF, but this doesn't necessarily mean these regions are truly "negative" (i.e., incapable of binding). They might simply be inaccessible due to chromatin structure. Using these inaccessible regions as negatives can lead to models that learn to distinguish between accessible and inaccessible DNA rather than actual binding preferences. This paper tackles the problem of how to generate representative negative samples that allow deep learning models to accurately learn TF binding specificities.
Methods
The researchers developed "High-Quality" (HQ) datasets by combining TF ChIP-seq data with ATAC-seq data. ATAC-seq identifies accessible regions of the genome, allowing them to define true negatives as accessible regions not bound by the TF in question. They then trained deep learning models (based on the Enformer architecture, but simplified) using various negative sampling strategies:
- Genomic Sampling: Selecting genomic sequences with similar properties (GC content, repeat fraction) to positive sequences.
- Dinucleotide Shuffling: Shuffling positive sequences while preserving dinucleotide frequencies.
- Shuffling: Randomly shuffling nucleotides within positive sequences.
- Neighborhood Sampling: Selecting sequences near positive binding sites.
- Cell Line Specific Sampling (Cross-TF): Using binding sites of other TFs within the same cell line as negatives.
They trained models on these datasets and evaluated them on both the training data (standard AUROC) and their newly created HQ test datasets. They also included a baseline PWM (Position Weight Matrix) model for comparison.
Datasets
- Training and Testing: The study utilized publicly available ChIP-seq data from ENCODE and ATAC-seq data from the maxATAC dataset.
- High-Quality (HQ) Datasets: These were newly constructed by integrating matched ChIP-seq and ATAC-seq data from specific cell lines (GM12878, K562, HepG2, A549). True negatives were identified as accessible regions (from ATAC-seq) that did not overlap with ChIP-seq peaks.
- Cell Lines: GM12878, K562, HepG2, A549, HEK293, IMR90, PANC-1. (HEK293, IMR90, PANC-1 were used for hyperparameter tuning).
Key Insights and Ideas
- The "Negative" is Crucial: The choice of negative sampling strategy has a profound impact on model performance and, more importantly, on what the model actually learns.
- Training vs. Real-World Performance: Metrics calculated on training data (standard AUROC) can be highly misleading, often showing inflated performance compared to evaluation on realistic, high-quality datasets (HQ AUROC).
- Dinucleotide Shuffling is Problematic: Despite its prevalence, dinucleotide shuffling often leads to models that learn to distinguish shuffled from real sequences, rather than true TF binding preferences, resulting in poor performance on HQ datasets.
- Genomic Sampling Shines: Generating negatives from the genome with similar characteristics to positives generally yielded the best performance on HQ datasets, suggesting it's a more robust approach.
- PWMs are Still Relevant: A simple PWM-based approach surprisingly outperformed several deep learning models trained with naive negative sampling strategies, highlighting that architectural complexity isn't everything.
- Data Imbalance Matters: The number of positive training examples significantly influences performance, with more data reducing the performance gap between different negative sampling methods.
Key Results
- Genomic sampling achieved the highest average HQ AUROC (around 86%), significantly outperforming shuffled (around 63%) and dinucleotide-shuffled (around 76%) methods.
- Models trained on dinucleotide-shuffled data showed standard AUROC scores above 90% but dropped to around 76% on HQ data, indicating a significant overestimation of performance.
- The PWM-based baseline performed competitively, outperforming shuffling and dinucleotide shuffling, and was only clearly surpassed by neighborhood and genomic sampling.
- Neighbor and cell line sampling showed less bias (smaller difference between standard and HQ AUROC) than genomic sampling, suggesting they are better proxies for estimating true performance, though genomic sampling achieved higher absolute HQ AUROC.
- Increasing the number of training positives generally improved performance and reduced the differences between negative sampling strategies.
Limitations and Future Work
- HQ Data Dependency: The creation of HQ datasets relies on matched ATAC-seq data, which is not available for most ChIP-seq experiments, limiting direct validation for many existing studies.
- Trade-off for Genomic Sampling: While genomic sampling performs best on HQ data, it shows a slight bias, implying a trade-off between peak performance and accurate performance estimation.
- Suboptimal Training Paradigms: The current single-TF model training approach might be suboptimal for biological relevance. Future work should explore multi-label models and instance-wise performance metrics.
- Future Directions: The authors suggest exploring new negative sampling strategies tailored for TF-specific models and investigating the merging of ChIP-seq datasets to increase positive examples. They also propose that genomic sampling with sufficient positives can be a strong alternative to HQ datasets, though not a complete substitute.
Summary updated