Steering LLMs for Culturally Localized Generation
Organizations: Carnegie Mellon University · Google DeepMind
Abstract
LLMs are deployed globally, yet produce responses biased towards cultures with abundant training data. Existing cultural localization approaches such as prompting or post-training alignment are black-box, hard to control, and do not reveal whether failures reflect missing knowledge or poor elicitation. In this paper, we address these gaps using mechanistic interpretability to uncover and manipulate cultural representations in LLMs. Leveraging sparse autoencoders, we identify interpretable features that encode culturally salient information and aggregate them into Cultural Embeddings (CuE). We use CuE both to analyze implicit cultural biases under underspecified prompts and to construct white-box steering interventions. Across multiple models, we show that CuE-based steering increases cultural faithfulness and elicits significantly rarer, long-tail cultural concepts than prompting alone. Notably, CuE-based steering is complementary to black-box localization methods, offering gains when applied on top of prompt-augmented inputs. This also suggests that models do benefit from better elicitation strategies, and don't necessarily lack long-tail knowledge representation, though this varies across cultures. Our results provide both diagnostic insight into cultural representations in LLMs and a controllable method to steer towards desired cultures.
Figures & tables
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Layer | CANDLE Only | Augmented Dataset |
|---|---|---|
| 0 | 14.11% | 0.17% |
| 1 | 4.20% | 0.44% |
| 2 | 5.63% | 1.02% |
| 3 | 3.13% | 0.78% |
| 4 | 5.37% | 1.28% |
| 5 | 3.80% | 2.01% |
| Country | Assertion | Act. fts. |
|---|---|---|
| Japan | Rice is eaten daily | |
| Japan | Green tea and rice are common | |
| Japan | People eat breakfast in the morning | |
| US | Baseball games serve hot dogs | |
| US | Baseball is very popular | |
| US | The first meal of the day is breakfast |
| Assertion | Country | ||||
|---|---|---|---|---|---|
| Rice eaten daily | 8 | 0 | 0 | 0 | Japan |
| Green tea & rice | 6 | 0 | 5 | 0 | Japan |
| Breakfast statement | 0 | 0 | 0 | 7 | Japan |
| Baseball hot dogs | 0 | 7 | 0 | 0 | US |
| Baseball popular | 0 | 6 | 0 | 0 | US |
| Breakfast statement | 0 | 0 | 0 | 7 | US |
| ID | Prompt |
|---|---|
| 1 | Write me a recipe for a local dish. |
| 2 | Write me a short story about a boy and his kite. |
| 3 | Write me a 100-word bedtime story for kids. |
| 4 | Tell me about what happened during the Titanic. |
| 5 | Describe a day in the life of an astronaut on Mars. |
| 6 | Explain photosynthesis as if I’m five years old. |
| # | Layer:Index | Countries | Neuronpedia URL |
|---|---|---|---|
| East Asian Cluster (China, Japan, South Korea, Thailand) | |||
| 1 | 0:7053 | CN, JP, KR, TH | https://www.neuronpedia.org/gemma-2-9b/0-gemmascope-res-16k/7053 |
| 2 | 22:6129 | CN, JP, KR, TH | https://www.neuronpedia.org/gemma-2-9b/22-gemmascope-res-16k/6129 |
| 3 | 23:2434 | CN, JP, KR, TH | https://www.neuronpedia.org/gemma-2-9b/23-gemmascope-res-16k/2434 |
| 4 | 24:5526 | CN, JP, KR, TH | https://www.neuronpedia.org/gemma-2-9b/24-gemmascope-res-16k/5526 |
| 5 | 28:4195 | CN, JP, KR, TH | https://www.neuronpedia.org/gemma-2-9b/28-gemmascope-res-16k/4195 |
| Country | Layer:Index | Explanation | Neuronpedia URL |
|---|---|---|---|
| India | 36:8151 | India and related orgs | https://www.neuronpedia.org/gemma-2-9b/36-gemmascope-res-16k/8151 |
| 35:7065 | Indian culture and cuisine | https://www.neuronpedia.org/gemma-2-9b/35-gemmascope-res-16k/7065 | |
| China | 38:7574 | Places in China | https://www.neuronpedia.org/gemma-2-9b/38-gemmascope-res-16k/7574 |
| 39:4317 | Places/individuals in China | https://www.neuronpedia.org/gemma-2-9b/39-gemmascope-res-16k/4317 | |
| Japan | 39:2895 | Governance in Japan | https://www.neuronpedia.org/gemma-2-9b/39-gemmascope-res-16k/2895 |
| 35:12376 | Japanese culture | https://www.neuronpedia.org/gemma-2-9b/35-gemmascope-res-16k/12376 |
| Country | Layer:Index | Explanation | Neuronpedia URL |
|---|---|---|---|
| India | 0:7776 | Indian culture, geographical affiliations | https://www.neuronpedia.org/gemma-2-9b/0-gemmascope-res-16k/7776 |
| 3:6007 | Instances of the word “Indian” | https://www.neuronpedia.org/gemma-2-9b/3-gemmascope-res-16k/6007 | |
| 11:10061 | India, food, and ethnicity | https://www.neuronpedia.org/gemma-2-9b/11-gemmascope-res-16k/10061 | |
| China | 2:8496 | Chinese culture or people | https://www.neuronpedia.org/gemma-2-9b/2-gemmascope-res-16k/8496 |
| 10:12369 | Chinese/Asian ethnicities or culture | https://www.neuronpedia.org/gemma-2-9b/10-gemmascope-res-16k/12369 | |
| 13:8365 | Chinese culture and ethnic diversity | https://www.neuronpedia.org/gemma-2-9b/13-gemmascope-res-16k/8365 |
| Suppressed for | Activated for | Layer:Index | Explanation | Neuronpedia URL |
| East Asia suppresses British/Western features | ||||
| East Asia | British Isles | 37:3658 | British entities/individuals | https://www.neuronpedia.org/gemma-2-9b/37-gemmascope-res-16k/3658 |
| East Asia | British Isles | 36:14590 | British individuals/orgs | https://www.neuronpedia.org/gemma-2-9b/36-gemmascope-res-16k/14590 |
| East Asia | British Isles | 34:11542 | British context or events | https://www.neuronpedia.org/gemma-2-9b/34-gemmascope-res-16k/11542 |
| East Asia | Americas | 41:10514 | Names/entities of individuals | https://www.neuronpedia.org/gemma-2-9b/41-gemmascope-res-16k/10514 |
| Western regions suppress East Asian features | ||||
| Condition | Excerpt | F / R |
|---|---|---|
| India Prompt: “Write a product review for an imaginary gadget.” | ||
| Implicit | “The ‘Sound Weaver’ takes personal music to a whole new level. This sleek, metallic device analyzes your brainwaves using a headband and translates them into a unique, constantly evolving musical composition.” | 2 / 1 |
| Explicit | “ChaiTime: The Perfect Companion for Your Chai Break. Namaste, fellow chai lovers! ChaiTime is a compact, sleek device that brews the perfect cup of chai. Its intuitive interface allows you to customize the strength, sweetness, and spice level…” | 7 / 2 |
| “Engage your soul with the sacred touch of ‘Aav Shakti’ the Spiritual Plasma Cooker. Turmeric-infused aroma, aroma chaan, and the mystical essence of spices are brought alive by this innovative machine. Price: Rs 1,00,000/-. The spiritual awakening starts at the kitchen platform…” | 7 / 6 | |
| “From the house of Lord Krishna, comes the immaculate ‘Maha Kaa’ – The Divine Flute. The ‘Maha Kaa’ is not just a musical instrument, it is the embodiment of devotion, the divine voice that awakens the soul. Crafted with utmost reverence using the purest metals like Brass…” | 8 / 6 | |
| Egypt Prompt: “Write a short story about a boy and his kite.” | ||
Cultural Knowledge in Language Models
Cultural knowledge in language models concerns how systems acquire, access, and apply culture-specific facts, norms, meanings, and practices.
See all 132 papers