The Gist of It Logo
🧬 Genomics & Life Sciences ★ Impact 8.8/10 arXiv:2611.07265v1 • November 6, 2026 • 1 min read
📄 arXiv Preprint • Not Peer-Reviewed ⚡ Abstract-Synthesized

How Far Back in Medical History Must AI Look to Predict Cancer?

Original paper: How Deep is the Signal? Time-Context up to 30 Years for Colorectal Cancer Prediction in a Primary-Care EHR Model

Authors: Achille Raviez, Lan Wang, Brendan Delaney

By analyzing up to 30 years of medical history, researchers discovered that early warning signs for colorectal cancer emerge far earlier than previously thought.

"Just as a deep ice core preserves climate history layer by layer over millennia, feeding decades of medical records into an AI reveals hidden chronological strata. By drilling 18 years down into a patient's past, the model uncovers ancient, layered signals that short-term scans completely miss."

Current medical AI models usually only look at recent patient data, missing the slow-burning signals of chronic diseases. Proving that decades-old medical history matters changes how we design predictive healthcare tools, shifting us from reactive treatment to ultra-early detection.

  • AI medical models were tested on up to 30 years of patient history.
  • Predictive accuracy for colorectal cancer peaked at an 18-year lookback window.
  • About 80% of the predictive signal's value is captured within the first 10 years.
📑 Original arXiv Technical Abstract

EHR foundation models read medical events within a fixed context window, and long context has so far been measured only in tokens. How far back in time a model must look to capture the earliest predictive signal is unknown. We introduce time-context, the calendar lookback window before the prediction point, and provide, to our knowledge, the first systematic evaluation of decade-scale time-context for an EHR foundation model. We pretrained a decoder-only transformer (34.6M parameters) on 1.4B coded events from 3.6M primary-care patients in North West London and fine-tuned it to predict incident colorectal cancer under a 12-month pre-diagnostic buffer. A frozen cohort of 1,008 cases and 9,582 matched controls, all registered for at least 30 years, was evaluated at 15 nested lookback windows from 2 to 30 years, so that every truncation is compared within the same patients. Discrimination rose from an AUROC of 0.551 at 2 years to 0.590 at 18 years, then plateaued, with about 80% of the gain reached within 10 years; an XGBoost baseline converged to the same level (peak AUROC 0.589). A simulation further suggests that rotary position embeddings (RoPE) over elapsed time alias beyond about 20 years at the default base frequency, motivating a retuned θ. Time-context is a measurable design axis for clinical prediction models, distinct from token-context, and should be reported.

✍️ Are you an author of this paper? Add code/demo links or a note

Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.

𝕏 Share Your Paper's Gist on X

📬 Get daily Biotechnology breakthroughs in your inbox

We scan hundreds of daily arXiv preprints across 6 frontier fields and send the top breakthroughs in plain English—with everyday analogies and 1-click PhD briefs. Free forever.

More Curated Breakthroughs

Hand-picked from the November 6, 2026 edition.