Add BrightSurf on Google Email

Does your immune system learn like AI?

08.19.26 | Cold Spring Harbor Laboratory
SAMSUNG T9 Portable SSD 2TB

SAMSUNG T9 Portable SSD 2TB transfers large imagery and model outputs quickly between field laptops, lab workstations, and secure archives.


Could AI hold the key to answering questions that have stumped doctors and scientists for decades? A recent study at Cold Spring Harbor Laboratory (CSHL) borrows concepts from machine learning to address an age-old riddle of immunology.

In the thymus , the immune system’s T cells are trained to avoid attacking healthy tissue via a process called negative selection. There, T cells are tested on whether they bind to fragments of the body’s own proteins, called self-peptides. Those that do are immediately deleted. However, each T cell encounters only a small fraction of the enormous number of self-peptides abounding throughout the body. So, how does the immune system learn to tolerate the rest?

“This has long been an open question in immunology,” explains CSHL Assistant Professor Hannah Meyer . “Negative selection is a crucial process, but if T cells had to test against every single one of the body’s peptides, it would take forever. So, how do they learn to avoid friendly fire? We think it’s through a process called generalization.”

To anyone who’s worked in tech during the last 10 or so years, that word should ring a bell. “Machine learning deals with the generalization problem all the time,” CSHL Associate Professor Saket Navlakha explains. For example, to build a model that can detect dogs, you don’t need to train it on every single dog image on the Web. “Machine learning tells us that generalization is possible, but only under certain conditions. It’s not black magic. So, let’s try to look at this immunology question from that perspective.”

Meyer, Navlakha, and their team found that the immune system fulfills two key conditions necessary to learn through generalization. First, the abundance of self-peptides in the thymus closely mirrors their abundance in tissues throughout the body. In machine learning terms, the training data resemble the test data. Second, T-cell receptors are cross-reactive, meaning a single receptor can recognize several similar peptides, allowing the T cell to learn about peptides it never directly encounters.

The study shows that through this process, 90% of self-reactive T cells can be correctly deleted in the thymus despite each one encountering only 10% of the body’s self-peptides. Thus, the team’s research suggests our immune system accomplishes the impressive feat of negative selection through a biological kind of “generalization.”

To take their findings one important step further, the team asked whether failures of this generalization process could help explain autoimmunity—when the immune system wrongly attacks healthy tissue. Remarkably, the team’s AI model accurately reproduced features of autoimmune polyendocrine syndrome type 1, a rare autoimmune disease.

“We’re calling this direction ImmunoAI,” Navlakha says. “We’re not trying to create AI inspired by the immune system, but we’re studying how the immune system solves fundamental machine learning problems. When we start to look at the immune system as if it’s another kind of AI, we may find out some surprising things about human health and disease.”

Science Advances

10.1126/sciadv.aeg8240

Central T cell tolerance from sparse peptide sampling

19-Aug-2026

Keywords

Article Information

Contact Information

Samuel Diamond
Cold Spring Harbor Laboratory
diamond@cshl.edu

Source

This article is based on a news release from Cold Spring Harbor Laboratory. BrightSurf curates and republishes science news from research institutions worldwide; the original release is linked below.

How to Cite This Article

APA:
Cold Spring Harbor Laboratory. (2026, August 19). Does your immune system learn like AI?. Brightsurf News. https://www.brightsurf.com/news/8X5YPZP1/does-your-immune-system-learn-like-ai.html
MLA:
"Does your immune system learn like AI?." Brightsurf News, Aug. 19 2026, https://www.brightsurf.com/news/8X5YPZP1/does-your-immune-system-learn-like-ai.html.