NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Steering LLMs for Culturally Localized Generation

Simran Khanuja, Hongbin Liu, Shujian Zhang, John Lambert, Mingqing Chen, Rajiv Mathews, Lun Wang

TL;DR

When prompted with ambiguous queries, Large Language Models (LLMs) overwhelmingly default to Western or Anglophone cultural contexts. This paper introduces Cultural Embeddings (CuE), a white-box framework leveraging Sparse Autoencoders (SAEs) to isolate and manipulate internal culture-specific features. By intervening directly in the model's residual stream, the authors demonstrate a controllable method to steer generations toward target cultures, significantly improving cultural faithfulness and uncovering latent, long-tail cultural knowledge.

What Problem Does This Paper Address?

While LLMs are deployed globally, their training data is heavily skewed, causing them to default to Anglo-centric perspectives or rely on shallow stereotypes when generating open-ended content.

Existing remedies typically fall into two categories:

  1. Prompt Engineering: Adding explicit descriptors (e.g., "I am from India") or in-context examples.
  2. Post-training Alignment (RLHF): Tuning the model based on aggregated human preferences.

However, both approaches treat the model as a black box. They adjust surface-level text behavior without revealing how the model represents cultural knowledge internally. Crucially, black-box failures leave a major question unanswered: Does the model lack cultural knowledge entirely (a knowledge gap), or does it simply fail to activate it (an elicitation failure)?

Methods

The authors turn to mechanistic interpretability to open the black box, specifically utilizing Sparse Autoencoders (SAEs). SAEs decompose the dense, highly polysemantic hidden states of a transformer into millions of sparse, human-interpretable features.

The pipeline consists of three main steps:

  1. Feature Activation Extraction: The authors pass cultural text assertions through the model and record SAE feature activations across all layers, applying max-pooling across tokens to capture the most salient features.
  2. Constructing Cultural Embeddings (CuE): To find out which features actually matter for a specific culture, they compute the Mutual Information (MI) between feature activations and country labels. The highest-MI features are aggregated to form country-level "prototypes" within the SAE feature space.
  3. White-Box Steering: To guide the model's generation toward a target culture ($c_{\text{target}}$), they compute a steering direction vector ($\boldsymbol{\delta}$) by subtracting the average prototype of all other countries from the target country's prototype. This feature-space vector is projected back into the model's residual stream using the SAE decoder matrix ($W_{\text{dec}}$). At inference time, they inject this vector into the hidden states: $$\mathbf{h}' = \mathbf{h} + \alpha\mathbf{v}_{\text{CuE}}$$ where $\alpha$ acts as a continuous control knob for steering strength.
Overview of the CuE framework for discovering and steering culture-specific features.

Datasets

The framework was developed and evaluated using:

  • CANDLE Dataset: A benchmark containing cultural commonsense assertions across hundreds of regions. To eliminate shallow lexical cues, the authors filtered the dataset to 22 countries, sampled 100 assertions per country, and stripped out explicit country names.
  • LLM Augmentation: Because the raw CANDLE dataset contains many trivial facts (e.g., "Canadian whisky is made in Canada"), the authors used GPT-4 to generate 100 additional, rarer cultural assertions per country, which were post-verified for faithfulness using Gemini-2.5-Pro. The final dataset comprised 4,334 assertions.
  • Creative Writing Prompts: 24 open-ended prompts from prior literature (e.g., "Write me a recipe for a local dish") were used to evaluate the steering interventions.

Key Insights and Ideas

  • Elicitation Failure, Not Knowledge Gaps: The model often possesses rich, long-tail cultural knowledge that remains latent under standard prompting. White-box steering successfully coaxes out these rarer concepts.
  • Layer Hierarchy of Culture: The authors observed a clear semantic progression across transformer layers. Early layers (0–15) primarily detect surface-level lexical tokens (e.g., the word "Indian" or "American"), whereas deeper layers (33–41) encode complex compositional semantics like regional cuisine, governance structures, and geopolitical framing.
  • Cultural Distancing via Suppression: LLMs don't just represent cultural identity through active features; they also use negative activation. For instance, when the model processes East Asian contexts, British identity features are actively suppressed below baseline levels.
  • The Anglophone Default: Under underspecified prompts, models default to the US (33.1%) and the UK (26.9%), accounting for a staggering 60% of all implicit defaults.

Key Results

The authors evaluated their approach across three model families: Gemma-2-2B, Gemma-2-9B, and LLaMA-3.1-8B.

  • Substantial Debiasing: Applying implicit steering (SteerImplicit) reduced the model's bias concentration index by 84.7% relative to the unsteered baseline, distributing generations much more evenly across non-Western cultures.
  • Outperforming Explicit Prompts: On Gemma-2-9B (16K SAE), generations driven purely by implicit steering (SteerImplicit) beat explicit prompting (Explicit) in 48% of cultural faithfulness matchups and 53% of cultural rarity matchups.
  • Complementary Effects: The best results were achieved by combining both methods (SteerExplicit), demonstrating that white-box steering complements traditional prompt engineering rather than replacing it.
Comparison of mean cultural faithfulness and rarity scores across different models and steering conditions.

Limitations and Future Work

  • Culture $\neq$ Country: The authors acknowledge that using nation-states as a proxy for culture is a pragmatic limitation that flattens intra-country diversity and risks essentializing identities.
  • Hyperparameter Sensitivity: The steering framework requires tuning the intervention strength ($\alpha$) and selecting specific SAE layers, which currently demands empirical sweeping.
  • Risk of Caricature: Over-steering models can result in the amplification of cultural tropes or caricatures rather than nuanced localization. Future work will focus on auditing how these features emerge during training to build safer, more balanced global AI systems.

Summary updated

BibTeX
@inproceedings{khanuja2026steering,
  author = {Simran Khanuja and Hongbin Liu and Shujian Zhang and John Lambert and Mingqing Chen and Rajiv Mathews and Lun Wang},
  title = {{Steering LLMs for Culturally Localized Generation}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=DrKXKHdJ8X},
}
Figure