When Jia Wu first saw the faint patterns in lung scans that no radiologist had noticed, she knew something was different. At MD Anderson Cancer Center in Houston, her team had trained an AI model called CIPHER to study routine CT scans of lung cancer patients — not to find tumors, but to predict who might suffer a dangerous side effect from life-saving immunotherapy.

About 10% of lung cancer patients develop pneumonitis, a severe lung inflammation that can force treatment to stop or even become life-threatening. Right now, doctors have few ways to predict who’s at risk. They rely on general factors like age or smoking history, but these don’t tell the full story. CIPHER changes that by finding hidden clues in images already taken before treatment begins.

The model was trained on more than 590,000 CT image slices from 2,500 patients. Instead of being taught what pneumonitis looks like, it learned to recognize subtle patterns in healthy-looking lung tissue. When tested on 347 patients with non-small cell lung cancer, CIPHER predicted risk with an accuracy measured by an AUC score of 0.83 — outperforming current clinical tools. It worked just as well on a second, independent group of patients, even across different scanners and hospitals.

Patients flagged as high-risk by CIPHER developed pneumonitis sooner after starting immunotherapy, suggesting the model detects real biological vulnerability. And its predictions held strong even after accounting for known risks like prior radiation or tumor type.

"What makes this approach particularly interesting is that it was not designed to look for pneumonitis itself," Wu said. "The model learned patterns within lung tissue and identified subtle abnormalities associated with future risk. That suggests routine imaging may contain much more information about treatment toxicity than we previously recognized."

For patients, this could mean earlier monitoring, preventive care, or adjusted treatments before symptoms appear. The model isn’t yet used in daily practice, but the team plans larger studies across more cancer types. They’re also exploring whether combining CIPHER’s insights with blood biomarkers could make predictions even sharper.

One day, a simple CT scan might do more than diagnose cancer — it could help protect the lungs while they’re being treated.