NeurIPS 2026QuestionsPapersAreasAboutMarkdown

PULSE: Identifying Demonstration-Utility Features with Sparse Autoencoders

Chenduo Hao, Chuanbao Gao, Pinjun Zeng, Jingze Zhu, Liu Chonghan, Zidong Liu, Xu Yang

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Sparse Autoencoder Interpretability · Type: new method · Keywords: in-context learning, demonstration selection, sparse autoencoder, feature localization, utility scoring

Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Sparse Autoencoder Evaluation; Interpretability › Mechanistic Interpretability › Sparse Autoencoder Interpretability

Summary

PULSE is a sparse autoencoder-based framework that identifies model-internal features linked to demonstration utility and uses them for improved demonstration selection in in-context learning.

Explained to a 5-year-old

When we teach a computer to learn from examples, we need to pick the best examples. Right now, computers pick examples that look similar, but that doesn't always help. This paper finds a way to see which parts of the computer really understand the examples. It uses a special tool to find those parts and then uses them to choose better examples. This helps the computer learn faster and do better.

Explained to a 5-year-old, longer

When we ask a computer to learn something by showing it examples, we need to choose which examples to show. Usually, people pick examples that look similar to each other, thinking that will help. But sometimes similar examples actually make the computer act differently, which is not good. This paper looks for a different way to find which parts of the computer are really paying attention to useful examples. It uses a special kind of brain-like network called a sparse autoencoder to understand how the computer works. The researchers first make a small set of labeled examples to test the computer on. They then try many groups of examples and see how well each group helps the computer. By comparing how the computer's internal parts fire up for different groups, they find which parts are most important for good performance. The most important parts give a small list of numbers that tell how useful each example is. This list can be used to rank examples so the best ones come first. It can also be turned into a filter that quickly finds useful examples from a huge collection. Experiments on tasks like classifying pictures, generating text, and solving puzzles show that this new method beats old methods. The discovered parts also seem to capture real patterns that can help the computer even on new, unseen tasks.

For a technical reader

PULSE is a framework that discovers which internal features of a language model are most useful for picking good examples in in-context learning. It uses a sparse autoencoder to map model activations into a low-dimensional space and scores each feature by how its activation changes with demonstration utility. The top positive and negative features form a sparse vector that can rank demonstration sets or act as a mask for fast retrieval. This approach improves accuracy, BLEU scores, and exact-match performance on classification, generation, and reasoning benchmarks. The method also shows that the identified features capture task-relevant patterns that partially transfer across datasets.

Problem

In-context learning depends heavily on demonstration choice, but existing methods rely on external similarity metrics that can overlook model-specific signals, leading to suboptimal demonstration selection.

Method

The approach uses a sparse autoencoder (SAE) to learn a representation of model activations, then scores SAE features based on how their activation differences correlate with demonstration utility differences measured on a small labeled discovery set. The top positive and negative feature coordinates form a sparse utility-localization vector, which is used both as a signed score for ranking demonstration sets and as a mask for scalable retrieval of relevant demonstrations.

Results

The approach improves performance over the strongest baseline by 2-3 accuracy points on classification, 0.6-0.9 BLEU-4 on generation, and 3.2 exact-match points on reasoning, while controlled ranking confirms the identified features encode a predictive utility signal.

Contributions

It introduces a method for discovering model-internal features that correlate with demonstration utility, a sparse utility-localization vector for both controlled ranking and scalable retrieval, and demonstrates that these features capture task-relevant patterns that partially transfer across datasets.

Research questions this paper is counted under

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