Learning Extremely Sparse Signals in High-Dimensional Cell-Free DNA Data Using Modern Hopfield Attention for Colorectal Cancer Detection

Michael Widrich, Anooj Patel, Elisabeth Rumetshofer, Peter Ulz, Kaitlyn Coil, Thomas Royce, Cheng-Ho Jimmy Lin, Richard Bourgon, Anindita DuttaSD4H @ ICML 2026

TL;DR

Researchers have developed Fragment-Level Deep Learning (FLDL), a new framework that uses Modern Hopfield Networks to detect colorectal cancer from blood samples. By applying advanced attention mechanisms to millions of individual DNA fragments, the model can identify tumor signals even when they make up less than 0.0001% of the data, outperforming current state-of-the-art clinical baselines.

What Problem Does This Paper Address?

Early detection of colorectal cancer (CRC) significantly improves survival rates, but many people avoid invasive screenings like colonoscopies. Blood-based tests—which look for cell-free DNA (cfDNA) shed by cells into the bloodstream—are a promising, non-invasive alternative.

However, this is a "needle in a haystack" problem of epic proportions. A single blood sample contains millions of DNA fragments, but in early-stage cancer, only a tiny fraction (the "witness rate") actually comes from a tumor. This is technically an extreme-scale Multiple Instance Learning (MIL) problem: you have a "bag" of millions of instances (fragments), and you need to decide if the bag is "positive" based on a few rare, informative signals.

Standard deep learning tools like Transformers struggle here because their "self-attention" mechanism becomes computationally impossible (quadratic cost) when dealing with millions of inputs.

Methods

The authors propose FLDL, an end-to-end deep learning architecture designed to handle this scale.

  1. Multi-modal Fragment Embedding: Each DNA fragment is turned into a mathematical vector (embedding) using five different types of data: the raw DNA sequence, methylation status (chemical changes to DNA), methylation statistics, genomic position, and DNA strand info. It even incorporates embeddings from HyenaDNA, a large-scale DNA foundation model.
  2. Hopfield Pooling: This is the "secret sauce." Instead of standard self-attention, FLDL uses Modern Hopfield Networks (MHN). The model learns a set of "prototypes"—patterns that represent what a cancer fragment looks like. It then uses an associative memory mechanism to "attend" to fragments in the blood sample that match these prototypes.
  3. End-to-End Training: Unlike previous methods that involve manual feature engineering or multi-step pipelines, FLDL is trained from the raw fragment data all the way to the final cancer/no-cancer prediction.

Datasets

The study utilized several distinct datasets for a robust evaluation:

  • Training Set: 4,394 clinical samples (925 cancer/precancer cases and 3,469 healthy controls).
  • Real-World Clinical Test Set: 930 independent samples used to measure real-world performance.
  • Challenging Contrived Set: 148 replicates created by mixing tumor DNA into healthy plasma at extremely low concentrations to test the limits of detection.
  • Sanity Check Sets: Including a "high-signal" set and an "artificial no-methylation" set to validate that the model was learning biology rather than technical noise.

Key Insights and Ideas

  • Attention is Essential: The researchers compared FLDL to a version using "Max Pooling" (simply taking the strongest signal). The Max Pooling model failed miserably on low-signal cases, proving that a sophisticated attention mechanism is required to "denoise" the data and find rare signals.
  • Implicit Denoising: One of the most impressive findings was that FLDL could handle "noisy" genomic regions. Even when the researchers expanded the search space to include millions of irrelevant fragments, the model's performance remained stable because the Hopfield attention simply ignored the junk.
  • No Performance Plateau: By training on subsets of their data, the authors found that the model’s accuracy continues to improve as more data is added. This suggests that as clinical biobanks grow, these models will only get better.
  • Biological Interpretability: Because the model uses attention, researchers can look at which genomic regions the model is focusing on. These "high-attention" areas aligned well with known cancer biomarkers, providing a "sanity check" for clinicians.

Key Results

The primary metric for clinical screening is sensitivity at 90% specificity (how many cancers you catch while only misidentifying 10% of healthy people).

  • Superior Sensitivity: On the real-world test set, the best FLDL configuration (PD-FLDL) achieved 89.6% sensitivity for CRC and 30.2% for Advanced Precancerous Lesions (APLs).
  • Beating the Baseline: It outperformed a state-of-the-art machine learning baseline (which achieved 88.2% and 27.1% respectively).
  • Contrived Test Success: In the ultra-low-signal contrived tests, FLDL maintained a positive call rate of 84.2%, compared to just 70.2% for the traditional ML baseline.

Limitations and Future Work

While the results are promising, the authors note a few areas for growth:

  • Sample Size: While 4,394 samples is large for clinical diagnostics, it is "modest" for deep learning. The authors expect even better results with larger, more diverse cohorts.
  • Bias Mitigation: The paper acknowledges that confounding factors like age or ethnicity could inadvertently influence the model. Future work will require even more diverse datasets to ensure the model generalizes across all populations.
  • Multi-Cancer Detection: Because the model handles large genomic panels so well, the next logical step is expanding it to detect multiple types of cancer simultaneously from a single blood draw.

Summary updated

BibTeX
@inproceedings{widrich2026learning,
  author = {Michael Widrich and Anooj Patel and Elisabeth Rumetshofer and Peter Ulz and Kaitlyn Coil and Thomas Royce and Cheng-Ho Jimmy Lin and Richard Bourgon and Anindita Dutta},
  title = {{Learning Extremely Sparse Signals in High-Dimensional Cell-Free DNA Data Using Modern Hopfield Attention for Colorectal Cancer Detection}},
  booktitle = {SD4H @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=tCYH1EdShW},
}
Figure