NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Do You CARE to Generalize? Extracting Robust Concept Directions from LLMs

Sweta Karlekar, Claudia Shi, Aahlad Manas Puli, Carolina Zheng, Maggie Makar, John Bowlan, Michal Kucer, David Blei

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: LLM interpretability, concept directions, out-of-distribution generalization, mechanistic interpretability, context adaptation

Areas: Interpretability › Mechanistic Interpretability › Feature Directions and Circuits

Summary

CARE introduces a context-aided method that jointly learns invariant concept directions and environment-specific residuals, improving robustness of concept directions under distribution shift.

Explained to a 5-year-old

Big computer programs called language models store ideas as invisible arrows in their thinking. Sometimes these arrows work well for some words but not for other situations. The new idea splits each arrow into a steady part that stays the same and a flexible part that changes with the situation. This helps the arrows measure ideas more accurately even when the words are new. It also lets the program steer its answers in a safer way.

Explained to a 5-year-old, longer

Language models are big computer programs that can talk. Inside them, there are hidden numbers that represent ideas like "kindness" or "danger". These ideas are stored as straight lines that point in a certain direction. When we use the line to check if a sentence is kind, it works well for some topics. But if we try to use the same line for a new topic, it might give the wrong answer. The problem happens because sometimes the line is mixed up with other things, and sometimes the idea changes depending on the situation. The paper creates a new way to look at these lines by splitting them into two parts. One part stays the same everywhere, like a constant rule. The other part changes depending on the context, like adjusting for different subjects. By keeping both parts, the model can still measure the idea accurately even when it meets new words. This also helps the model steer its output, for example, to avoid saying harmful things. The result is a more reliable way to understand and control what the language model thinks.

For a technical reader

CARE learns a shared direction that remains stable across different environments while also modeling context-specific variations as orthogonal residuals. This joint optimization preserves useful signal that would otherwise be discarded by standard OOD methods. The resulting directions improve both measurement reliability and intervention effectiveness on tasks like subject-verb agreement, harmful prompt refusal, and toxicity detection. Additionally, the decomposition provides a swap-cost diagnostic to identify when contextual structure carries concept-relevant information.

Problem

Identifying linear directions in LLM activations that capture high-level concepts often fails when applied to new contexts due to spurious correlations and genuine heterogeneity across contexts.

Method

The approach learns a shared direction that is invariant across environments while also modeling orthogonal environment-specific residuals to capture contextual variation in concept encoding. It jointly optimizes these components using labeled activations from multiple contexts. This decomposition enables both robust measurement and intervention.

Results

The approach yields more reliable concept measurements under distribution shift and in unseen environments and datasets compared to existing methods, while still enabling effective interventions.

Contributions

It proposes a joint learning framework that separates invariant concept directions from context-specific residuals, improving OOD generalization for concept extraction. The decomposition also enables a swap-cost diagnostic to detect when context-specific structure carries concept-relevant signal.

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