CoCoA: Context-Conditional Cultural Alignment for Large Language Models
Organizations: Sungkyunkwan University, Suwon, South Korea · Georgia Institute of Technology, GA, USA · University of Southern California, CA, USA
Abstract
Large Language Models (LLMs) often favor Western-associated entities across cultural contexts. Conventional debiasing methods aim for uniform neutrality, but cultural bias mitigation demands context-conditional behavior, preferring culturally appropriate entities when cultural cues are present and remaining neutral when they are absent. We propose CoCoA (Context-Conditional Cultural Alignment), a framework that learns this behavior through dual-context training on the same entity pairs under contexts with and without cultural cues. CoCoA combines a contrastive alignment objective with calibration and drift regularization, optimized through goal-aware gradient reconciliation. We evaluate CoCoA on CAMeL and Camellia, two entity-centric cultural bias benchmarks, across ten language settings and four LLMs. CoCoA reduces the Cultural Bias Score from 43 to 24 on average while maintaining near-neutral preferences at 50.2, with minimal impact on general performance across five standard benchmarks. These findings highlight that effective cultural alignment requires context-conditional modeling rather than uniform debiasing, and establish a new direction for mitigating entity-centric cultural bias in LLMs.
Figures & tables
| Llama-3.1-8B | ||||||||||||||||||||||||
| Korean | Japanese | Vietnamese | Hindi | Arabic | Avg | |||||||||||||||||||
| Method | CS | CS | CS | CS | CS | CS | ||||||||||||||||||
| Vanilla | 47.0 2.8 | – | 49.4 2.1 | 2.4 | 36.1 2.4 | – | 42.7 3.6 | 6.6 | 12.8 1.8 | – | 19.7 1.7 | 6.9 | 32.2 3.7 | – | 41.0 1.7 | 8.8 | 37.5 1.9 | – | 41.9 2.8 | 4.4 | 33.1 5.6 | – | 38.9 4.9 | 5.8 |
| BiasUnlearn | 47.0 2.9 | +0.0 | 49.3 2.2 | 2.3 | 40.6 4.5 | +4.5 | 48.1 6.8 | 7.5 | 21.6 3.3 | +8.8 | 30.2 3.3 | 8.6 | 36.4 5.3 | +4.2 | 47.7 3.3 | 11.3 | 42.3 3.2 | +4.8 | 48.4 4.5 | 6.1 | 37.6 4.3 | +4.5 | 44.7 3.6 | 7.2 |
| BiasEdit | 20.8 3.8 | 26.2 | 21.8 3.9 | 1.0 | 27.6 2.2 | 8.5 | 28.0 1.7 | 0.4 | 32.4 2.7 | +19.6 | 36.4 3.3 | 4.0 | 46.4 2.6 | +14.2 | 46.6 2.6 | 0.2 | 39.2 2.8 | +1.7 | 38.9 2.7 | 0.3 | 33.3 4.4 | +0.2 | 34.3 4.2 | 1.2 |
| CoCoA | 3.6 0.5 | 43.4 | 51.3 1.9 | 47.7 | 6.3 1.1 | 29.8 | 49.4 5.6 | 43.1 | 7.6 1.9 | 5.2 | 36.0 4.2 | 28.4 | 15.4 3.0 | 16.8 | 52.2 3.7 | 36.8 | 12.2 2.0 | 25.3 | 52.3 3.0 | 40.1 | 9.0 2.1 | 24.1 | 48.2 3.0 | 39.2 |
| Objective | Weight | CBS | CBS |
| Grounded | |||
| Neutral |
| Method | MMLU | HSwag | ARC-C | WGrande | TQA |
| (5-shot) | (10-shot) | (25-shot) | (5-shot) | (0-shot) | |
| Vanilla | 65.34 | 82.24 | 58.19 | 78.37 | 44.16 |
| CoCoA | 65.22 | 82.04 | 57.81 | 78.06 | 44.14 |
| 0.12 | 0.20 | 0.38 | 0.31 | 0.02 |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Language | ||
| Llama | KO | 2.0 | 20.0 |
| VI | 2.0 | 0.5 | |
| HI, MR | 2.0 | 3.0 | |
| Qwen | KO | 1.0 | 3.0 |
| Mistral | KO | 1.0 | 30.0 |
| HI | 2.0 | 5.0 |
| Language | Default | Selected | |
| KO | 20.0 | 69.1 | 51.3 |
| JA | 1.0 | 49.4 | 49.4 |
| ZH | 1.0 | 49.3 | 49.3 |
| VI | 0.5 | 33.8 | 36.0 |
| UR | 1.0 | 52.4 | 52.4 |
| CSP |
| You are a person with {culture} cultural background. You will be performing a sentence completion task. Please directly complete the sentence. |
| CCT |
| You are a person with {culture} cultural background. You will be performing a sentence completion task. Please directly complete the sentence. Before you respond, think about how {culture} culture is different from Western cultures. |
| Backbone | Method | ||
| Llama-3.1-8B | Vanilla | 36.4 1.4 | 43.4 1.3 |
| CSP | 36.2 1.5 | 40.5 1.4 | |
| CCT | 36.9 1.5 | 42.1 1.6 | |
| CoCoA | 15.2 1.3 | 50.3 0.9 | |
| Qwen3-8B | Vanilla | 41.7 1.2 | 45.8 1.2 |
| CSP | 41.1 1.2 | 43.3 1.1 |
| Training scheme | ||
| Setting-specific | 15.2 1.3 | 50.3 0.9 |
| Single joint | 17.2 1.4 | 56.2 1.7 |
| Vanilla | 36.4 1.4 | 43.4 1.3 |
| Method | CrowS-Pairs | StereoSet | ||
| Stereo. Pref. | SS | LMS | ICAT | |
| Vanilla | 65.8 | 66.40 | 92.53 | 62.19 |
| CoCoA | 65.3 | 66.23 | 92.20 | 62.27 |
| 0.5 | 0.17 | 0.33 | 0.08 | |
| Group | Symbol | Description | Value |
| LoRA | Rank | ||
| LoRA scaling factor | |||
| Dropout | |||
| Optimization | Peak learning rate (AdamW) | ||
| – | Weight decay | ||
| – | Warmup ratio (cosine schedule) |
| CBS g ( ) | CBS ( ) | |||||
| Model | Language | Mean | vanilla | CoCoA | vanilla | CoCoA |
| Llama-3.1-8B | KO | 0.11 | 3.6 | 3.4 | 1.46 | 1.71 |
| JA | 0.51 | 6.3 | 5.0 | 4.74 | 4.40 | |
| ZH | 0.99 | 14.1 | 14.4 | 2.67 | 4.87 | |
| VI | 0.52 | 7.6 | 5.8 | 14.06 | 20.24 | |
| UR | 0.24 | 11.6 | 11.2 | 2.81 | 3.38 | |
| Gradient combination | ||
| Goal-aware projection | 15.2 1.3 | 50.3 0.9 |
| Weighted sum | 15.3 1.3 | 49.9 0.9 |
| Vanilla | 36.4 1.4 | 43.4 1.3 |
| Context | local | other-culture | gap |
| Grounded | |||
| Neutral |
| Held-out entity-level result | Value |
| Pairs with | 93.8 0.8% |
| Pairs with | 95.6 0.6% |
| Entities with for 80% of counterparts | 83.1% |
| Llama-3.1-8B | ||||||||||||||||||||||||
| Chinese | Urdu | Malayalam | Marathi | Gujarati | Avg | |||||||||||||||||||
| Method | CS | CS | CS | CS | CS | CS | ||||||||||||||||||
| Vanilla | 36.2 3.7 | – | 43.1 1.8 | 6.9 | 29.5 4.2 | – | 44.6 3.1 | 15.1 | 44.5 2.8 | – | 51.5 5.5 | 7.0 | 43.6 1.1 | – | 51.2 0.6 | 7.6 | 44.1 1.9 | – | 49.4 2.6 | 5.3 | 39.6 2.7 | – | 48.0 1.7 | 8.4 |
| BiasUnlearn | 39.5 3.1 | +3.3 | 47.6 3.0 | 8.1 | 31.4 3.6 | +1.9 | 49.0 3.6 | 17.6 | 44.4 3.3 | 0.1 | 51.2 7.4 | 6.8 | 43.6 1.1 | +0.0 | 51.1 0.5 | 7.5 | 44.3 1.8 | +0.2 | 49.5 2.9 | 5.2 | 40.6 2.3 | +1.0 | 49.7 0.6 | 9.0 |
| BiasEdit | 26.2 2.0 | 10.0 | 26.7 1.6 | 0.5 | 41.5 5.3 | +12.0 | 40.8 3.6 | 0.7 | 46.3 2.3 | +1.8 | 42.8 4.6 | 3.5 | 44.1 1.7 | +0.5 | 43.5 1.9 | 0.6 | 44.5 1.4 | +0.4 | 41.6 2.6 | 2.9 | 40.5 3.6 | +0.9 | 39.1 2.9 | 1.6 |
| CoCoA | 14.1 3.9 | 22.1 | 49.3 3.2 | 35.2 | 11.6 4.0 | 17.9 | 52.4 4.1 | 40.8 | 28.6 3.0 | 15.9 | 52.0 7.1 | 23.4 | 22.4 2.9 | 21.2 | 54.7 4.5 | 32.3 | 30.3 3.6 | 13.8 | 53.6 3.3 | 23.3 | 21.4 3.8 | 18.2 | 52.4 0.9 | 31.0 |
| Auth | Bev | Food | Loc | Na(M) | Na(F) | Sport | Total | ||||||||||
| Dataset | Language | G | N | G | N | G | N | G | N | G | N | G | N | G | N | G | N |
| Camellia | Korean (KO) | 31 | 42 | 30 | 52 | 34 | 64 | 26 | 24 | 29 | 37 | 29 | 37 | 29 | 26 | 179 | 245 |
| Japanese (JA) | 32 | 33 | 26 | 27 | 29 | 29 | 27 | 27 | 19 | 19 | 19 | 19 | 23 | 24 | 156 | 159 | |
| Chinese (ZH) | 25 | 21 | 27 | 27 | 31 | 31 | 27 | 27 | 27 | 24 | 27 | 24 | 21 | 20 | 158 | 150 | |
| Vietnamese (VI) | 18 | 32 | 14 | 39 | 67 | 46 | 33 | 44 | 16 | 14 | 21 | 7 | 10 | 16 | 179 | 198 | |
| Urdu (UR) | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 70 | 70 | |
| Local Entities per Type | Total | |||||||||
| Dataset | Language | Auth | Bev | Food | Loc | Na(M) | Na(F) | Sport | Local | Other |
| Camellia | Korean (KO) | 602 | 107 | 416 | 1,260 | 899 | 886 | 266 | 4,436 | 3,709 |
| Japanese (JA) | 260 | 115 | 635 | 817 | 503 | 523 | 354 | 3,207 | 3,699 | |
| Chinese (ZH) | 165 | 189 | 415 | 1,000 | 906 | 1,123 | 1,578 | 5,376 | 3,709 | |
| Vietnamese (VI) | 24 | 89 | 376 | 92 | 251 | 151 | 51 | 1,034 | 3,709 | |
| Urdu (UR) | 43 | 10 | 74 | 196 | 334 | 163 | 17 | 837 | 2,939 | |
| Artifact | Type | License | Source |
| Llama-3.1-8B | Model | Llama 3.1 Community | HuggingFace |
| Qwen3-8B | Model | Apache 2.0 | HuggingFace |
| Mistral-7B-v0.3 | Model | Apache 2.0 | HuggingFace |
| Gemma-3-12B-pt | Model | Gemma Terms of Use | HuggingFace |
| Camellia | Dataset | MIT | GitHub |
| CAMeL | Dataset | MIT | GitHub |
| Symbol | Description |
| Contexts and entities | |
| Grounded and neutral context strings | |
| Sets of grounded and neutral contexts | |
| Local entity and other-culture entity | |
| Culturally contrasting entity pair | |
| Scoring | |
Cultural Bias in Language Models
Cultural bias in language models is the uneven representation of cultural knowledge, values, identities, and norms across groups and languages.
See all 124 papers