# Guarding the Life Code: Preserving Membership Privacy in Genomic Foundation Models

*Xinyu Zhao, Jinhao Duan, Zhen Tan, Tianlong Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155025) · [OpenReview](https://openreview.net/forum?id=96HcSezVOS) · [Open on the map](../papers.html#p155025)

Category: [AI Safety, Security & Alignment](../pcat/16.md) › [Membership Inference and Privacy Leakage](../pgroup/205.md) · Type: new method · Keywords: genomic foundation models, membership privacy, membership inference attacks, privacy defense, token attribution

Areas: [Safety & Security](../areas/safety.md) › Adversarial Security › Federated Learning Security; [Privacy & Federated Learning](../areas/privacy-federated.md) › Privacy Defenses and Attacks › Private Language Models

## Summary
GenoGuard is a model- and sample-adaptive defense that localizes privacy-leaking genomic subsequences and applies targeted risk reduction to preserve membership privacy while maintaining utility of Genomic Foundation Models.

## Explained to a 5-year-old
Some computers learn to read DNA to help understand biology. When many people's DNA is used to teach these computers, some computers might start remembering secret parts of a person's DNA. If a computer remembers secret parts, someone could guess whether a particular person's DNA was used to train it. The researchers made a way to find the risky parts of DNA and protect them. This keeps the DNA private while still letting the computer work well.

## Explained to a 5-year-old, longer
Computers can be taught to read DNA, which is like a code that tells how living things work. When many people's DNA is used to teach these computers, some computers might start remembering secret parts of a person's DNA. If a computer remembers secret parts, someone could guess whether a particular person's DNA was used to train it. This could be a problem because it might reveal private information about a person. The researchers looked at how this privacy leak happens and found it is not everywhere, but only in a few special spots. They discovered that the risky parts of DNA are often in small sections that have important patterns. To fix this, they created a method that finds those special sections where the computer might be leaking information. The method then reduces the risk in those sections so the computer cannot easily memorize them. It also smooths the computer's predictions for the whole DNA to make it harder to tell if a specific sample was used. The researchers also made maps that show which parts of DNA are risky, helping doctors and scientists understand why. When they tested this on popular DNA-reading computers, the new method kept privacy safe while the computers still performed well. This helps protect people's genetic information while still allowing useful discoveries from DNA data.

## For a technical reader
The paper shows that large language-like models trained on genomic sequences can unintentionally memorize individual DNA samples, making it possible to infer whether a particular person’s data was used in training. Existing privacy defenses either apply uniform protection across the whole model, hurting its ability to understand biologically important motifs, or they lack insight into which genomic regions cause the leakage. The authors propose a region-aware defense that first identifies high-risk token spans using gradient attribution, then reduces risk at the token and sample levels through selective gradient routing and adaptive label smoothing. They also generate interpretable attribution maps that highlight the specific DNA subsequences responsible for privacy leakage, aiding both auditing and biological interpretation. Experiments on popular genomic foundation models demonstrate that this approach consistently improves privacy against multiple membership inference attacks while preserving the models’ fine-tuning performance and interpretability.

## Problem
Genomic foundation models trained on human cohorts can inadvertently memorize sensitive genomic signatures, enabling membership inference attacks that expose individuals' privacy. This privacy leakage can be highly non-uniform, concentrating on specific samples and genomic regions, making generic defenses either ineffective or overly detrimental to utility.

## Method
The approach localizes privacy-leaking subsequences using gradient-based token attribution, reduces risk at the token level via selective gradient routing, and applies sample-level risk reduction with risk-adaptive label smoothing guided by a loss-gap score. It also produces region-level attribution maps for privacy auditing and biological interpretation.

## Results
The approach consistently improves privacy against multiple membership inference attack families while preserving strong fine-tuning performance and interpretability on representative genomic foundation models.

## Contributions
It identifies that membership leakage in genomic foundation models is highly non-uniform and concentrated on specific samples and biologically meaningful token spans. It introduces a region-aware defense that localizes leakage, applies targeted risk reduction at token, sample, and region levels, and provides interpretable attribution maps for privacy auditing.

## Research questions this paper is counted under

- [How can we mitigate membership inference attacks without sacrificing model utility?](../q/512.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155025)
