When Johann Wenckstern looks at a tumor, he sees more than cancer cells. He sees an entire neighborhood of immune cells, blood vessels, and other tissue that together determine whether a patient will respond to treatment. Now, a new artificial intelligence tool developed in Switzerland could help doctors read that neighborhood more clearly than ever before.

Wenckstern, a Ph.D. candidate at EPFL in Lausanne, is part of a team that built an AI model called VirTues — short for Virtual Tissues. The model learns to recognize patterns in tumor tissue, looking not just at which cells are present but where they sit and how they interact with one another. This spatial information turns out to matter enormously for cancer treatment. Two tumors with identical cell types can respond completely differently to the same drug, depending on how those cells are arranged.

"Which cells are present is only part of the picture," said Charlotte Bunne, who leads the research group. "We also need to know where they are and how they interact."

To build VirTues, the team gathered the largest open dataset of its kind in the world: more than 12,000 tissue images from over 5,000 patients across 31 different clinical studies. The AI learned to recognize patterns across all this data, creating a kind of universal map of tumor neighborhoods. When a new patient's tissue is analyzed, doctors can compare it against this vast library of patterns to find similar cases and predict which treatments are most likely to work.

"This flexibility is one of the greatest strengths of VirTues," Wenckstern said. "It allows us to integrate datasets into a single atlas, analyze tissues from different studies in the same way and quickly confirm discoveries across different groups of patients."

The work, published in the journal Nature, represents a shift in how scientists approach cancer data. Most existing tools are designed to answer one specific question. VirTues, by contrast, can tackle many different questions using the same underlying model — similar to how language AI can write, translate, or answer questions using one trained system.

For oncologists like Andreas Wicki at the University of Zurich, the appeal is practical. "In oncology, the amount of data generated from analyzing tissue has grown exponentially in recent years," he said. "Computational modeling is the key asset for making it actionable for patients in a clinical setting."

Olivier Michielin, head of precision oncology at Geneva University Hospitals, called the tool a potential game-changer. "The possibilities of such a foundation model for precision oncology are remarkable," he said, predicting that VirTues could soon become part of tumor boards — the meetings where medical teams decide on treatment plans for individual patients.

The next step, researchers say, is integrating VirTues into real clinical settings across Switzerland, giving more doctors access to its pattern-matching power. If successful, the tool could help ensure more patients receive the treatment most likely to work for their specific tumor — rather than relying on trial and error.