NeurIPS 2026QuestionsPapersAreasAboutMarkdown

GRASP: Guided Residual Adapters with Sample-wise Partitioning

Felix Nützel, Mischa Dombrowski, Bernhard Kainz

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Frozen Representations · Type: new method · Keywords: text-to-image generation, long-tail learning, gradient alignment, residual adapters, conditional flow matching, synthetic data augmentation

Summary

GRASP introduces a deterministic conditioning partition paired with group-specific residual adapters in transformer feedforward layers to improve head-versus-tail gradient alignment, dramatically boosting fidelity and diversity of tail-class outputs in text-to-image flow matching transformers.

Explained to a 5-year-old

Some computer programs draw pictures from words, but they get bad at drawing rare things. The authors split the words into groups and give each group a small helper that learns only its own pictures. This helps the program draw better pictures of rare things. They also use these pictures to teach other computer programs, and it works well. The new method makes the pictures more useful for learning.

Explained to a 5-year-old, longer

Computers can make pictures from words, like turning a sentence into an image. When the words describe something unusual or rare, the pictures often look blurry or boring. The researchers noticed that the computer learns badly for these rare things because the learning parts don't match well. They decided to split the words into different groups based on what they mean. For each group, they added a tiny extra piece of learning that only looks at that group's pictures. This way, each rare word gets its own special helper that can improve its pictures. The main picture-making part of the computer stays unchanged, so the method is easy to add to existing systems. When they tried it on pictures of rare medical conditions, the new pictures were much clearer and more varied. They also used these new pictures to teach another computer program that tells if a picture shows a disease. The teaching program performed almost as well as when it was trained on real medical pictures. The method also worked on regular image datasets, showing it is not limited to medical data. Overall, the approach helps create better synthetic pictures for hard-to-find things and makes them useful for other tasks.

For a technical reader

The paper identifies a gradient-alignment issue in fine-tuning text-to-image transformers that harms rare classes. It proposes a static partition of the conditioning space and lightweight residual adapters per group, leaving the core model unchanged. This design ensures each tail sample updates its dedicated expert, improving both generation quality and downstream task performance. Experiments on medical and generic long-tail datasets show up to 80% FID reduction and significantly better class coverage. The solution is non-invasive and can be combined with existing sampling strategies.

Problem

Text-to-image flow matching transformers suffer severe degradation on long-tail classes, where tail-class outputs lose fidelity and diversity, limiting their usefulness for synthetic data generation of rare conditions.

Method

The approach partitions the conditioning space deterministically and adds group-specific residual adapters in the transformer feedforward layers, leaving the flow-matching objective and sampler unchanged, ensuring each tail sample updates its dedicated expert.

Results

The approach reduces FID by up to 80% and improves tail-class coverage by up to 44% over baselines, and when used as synthetic training data yields macro F1 matching real data on NIH-CXR-LT and nonzero F1 on 9 of 13 classes versus 3 of 13 from full fine-tuning.

Contributions

It identifies gradient misalignment as the root cause and proposes a static conditioning partition with group-specific residual adapters that guarantee expert updates for tail samples, demonstrating strong improvements across medical and generic long-tail image generation.

Practical relevance

The method enables high-fidelity synthetic data generation for rare medical conditions, facilitating downstream model training where real data is scarce.

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