Do LLMs Speak the User's Language? A Study of Personalized Language Selection in Multilingual LLMs
Organizations: Hankuk University of Foreign Studies · Hanyang University
Abstract
Large Language Models increasingly interact with multilingual users, yet personalization of LLMs' response-languages remains overlooked. We present the first systematic study of user-aware response-language generation: customizing response-languages to users' linguistic background inferred from prior interactions. To this end, we introduce PULSE, a benchmark of code-switched dialogue histories, queries, and user-conditioned reference responses, with linguistically grounded automated evaluation. Experiments reveal that LLMs are driven by surface cues in the query, often responding in a user-inappropriate form. To mitigate this challenge, we propose a two-stage alignment pipeline, comprised of supervised grounding on dialogue-derived user cues and reinforcement-learning post-training with user-aware rewards. Our dataset and code are released at https://github.com/LaMI-Labs/PULSE.
Figures & tables
| Data Split | Number | Unique Query Type | Instances | |||||
|---|---|---|---|---|---|---|---|---|
| Personas | Dialogues | Queries | Gen. (ko) | Gen. (en) | Cul. (ko/zh) | Cul. (en) | ||
| Train | 6 | 42 | 659 | 198 | 181 | 140 | 140 | 27,678 |
| Test (Seen User) | 6 | 42 | 282 | 85 | 77 | 60 | 60 | 11,844 |
| Test (Unseen User) | 6 | 18 | 282 | 85 | 77 | 60 | 60 | 5,076 |
| Test (Unseen Language) | 6 | 60 | 120 | - | - | 60 | 60 | 7,200 |
| Model | Method | UAPR(%): Seen Dialogue | UAPR(%): Unseen Dialogue | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gen.(ko) | Gen.(en) | Cul.(ko) | Cul.(en) | All | Gen.(ko) | Gen.(en) | Cul.(ko) | Cul.(en) | All | ||
| \Block 4-1EXAONE | Base | 63.6 | 62.2 | 64.5 | 66.2 | 64.0 | 64.2 | 61.3 | 64.4 | 65.5 | 63.7 |
| SFT | 89.0 | 92.0 | 97.9 | 99.1 | 93.8 | 78.4 | 83.4 | 83.3 | 87.6 | 82.8 | |
| GRPO | 61.9 | 63.8 | 62.9 | 66.7 | 63.7 | 61.8 | 63.1 | 63.8 | 65.8 | 63.5 | |
| Ours. | 97.9 | 96.9 | 99.4 | 100.0 | 98.4 | 83.2 | 87.6 | 82.9 | 88.1 | 85.4 | |
| \Block 4-1Qwen | Base | 64.8 | 64.8 | 63.4 | 67.3 | 65.0 | 65.0 | 64.0 | 63.2 | 66.9 | 64.8 |
Appendix figures & tables32 assets
Supplementary material from the paper’s appendix.
Appendix
| Persona Schema | L1 | L2 | L2 Proficiency |
|---|---|---|---|
| X_EN_LIMITED | English | Limited | |
| X_EN_WORKING | English | Working | |
| X_EN_NATIVE | English | Native | |
| EN_X_LIMITED | English | Limited | |
| EN_X_WORKING | English | Working | |
| EN_X_NATIVE | English | Native |
| Language Pair | Source Culture | Sources | Queries |
|---|---|---|---|
| Korean–English | Korean | 100 | 200 |
| Korean–English | Anglophone | 100 | 200 |
| Chinese–English | Chinese | 100 | 200 |
| Chinese–English | Anglophone | 100 | 200 |
| Source Pool | Initial | Pre-filtered | Judged | KEEP | Final |
|---|---|---|---|---|---|
| Anglophone | 16,700 | 841 | 231 | 100 | 100 |
| Chinese | 4,332 | 381 | 145 | 102 | 100 |
| Korean | 530 | 407 | 407 | 317 | 100 |
| Bilingual Persona | Accepted forms |
|---|---|
| KR_EN_LIMITED | ko_only , ko_matrix_en_embed |
| KR_EN_WORKING | ko_only , ko_matrix_en_embed |
| EN_KR_LIMITED | en_only , en_matrix_ko_embed |
| EN_KR_WORKING | en_only , en_matrix_ko_embed |
| Native + Korean-matrix query | ko_only , ko_matrix_en_embed |
| Native + English-matrix query | en_only , en_matrix_ko_embed |
| Bilingual Persona | Accepted forms |
|---|---|
| ZH_EN_LIMITED | zh_only , zh_matrix_en_embed |
| ZH_EN_WORKING | zh_only , zh_matrix_en_embed |
| EN_ZH_LIMITED | en_only , en_matrix_zh_embed |
| EN_ZH_WORKING | en_only , en_matrix_zh_embed |
| Native + Chinese-matrix query | zh_only , zh_matrix_en_embed |
| Native + English-matrix query | en_only , en_matrix_zh_embed |
| Detector label | Detector vs. Ann. 1 | Detector vs. Ann. 2 | Ann. 1 vs. Ann. 2 | |
|---|---|---|---|---|
| ko_only | 20 | 100% (20) | 100% (20) | 100% (20) |
| en_only | 20 | 100% (20) | 100% (20) | 100% (20) |
| ko_matrix_en_embed | 20 | 85% (17) | 85% (17) | 95% (19) |
| en_matrix_ko_embed | 20 | 90% (18) | 90% (18) | 100% (20) |
| undetermined | 20 | 0% (0) | 10% (2) | 80% (16) |
| Overall | 100 | 75% (75) | 77% (77) | 95% (95) |
| L2 proficiency | Compatible selection rate | Incompatible selection rate | Met criterion |
|---|---|---|---|
| Limited | 64.8% (518/800) | 14.8% (118/800) | 81.4% (518/636) |
| Working | 57.0% (456/800) | 25.4% (203/800) | 69.2% (456/659) |
| Native | 50.1% (401/800) | 31.5% (252/800) | 61.4% (401/653) |
| Overall | 57.3% (1,375/2,400) | 23.9% (573/2,400) | 70.6% (1,375/1,948) |
| Criterion | Mean | ||
|---|---|---|---|
| Proper term retention | 4.36 | 88.8% | 600 |
| Functional language allocation | 4.17 | 80.3% | 600 |
| Proficiency compatibility | 4.04 | 73.0% | 600 |
| Purposeful code-switching | 4.05 | 77.2% | 600 |
| Overall | 4.15 | 79.8% | 2,400 |
| Hyperparameter | Value |
|---|---|
| Max new tokens | 256 |
| Temperature | 0.0 |
| Top-p | 1.0 |
| Max model length | 4096 |
| Precision | bfloat16 |
| Batch size | 4 |
| Hyperparameter | Value |
| Training examples | 27,678 |
| Training epochs | 1 |
| Learning rate | |
| Optimizer | AdamW |
| Warmup ratio | 0.03 |
| Per-device batch size | 1 |
| L2 Proficiency | Target Matrix | Non-Target Matrix | Undet. | ||
| CS | Mono | CS | Mono | ||
| Limited | 1.0 | 0.7 | 0.2 | 0.1 | 0.0 |
| Working | 1.0 | 0.6 | 0.3 | 0.2 | 0.0 |
| Native | 1.0 | 0.5 | 0.3 | 0.2 | 0.0 |
| Hyperparameter | Value |
| Training examples | 27,678 |
| Training steps | 6,919 |
| Learning rate | |
| Optimizer | AdamW |
| Warmup ratio | 0.03 |
| Prompt batch size | 4 |
| Split | Ratio | Overall | Limited + Working | Native | Native (L2-matrix) |
|---|---|---|---|---|---|
| Seen | 97.85 | 98.37 | 96.81 | 95.59 | |
| 97.52 | 97.75 | 97.06 | 96.20 | ||
| 97.27 | 97.28 | 97.26 | 96.45 | ||
| Unseen | 84.81 | 92.73 | 68.97 | 38.77 | |
| 85.09 | 91.90 | 71.45 | 43.85 | ||
| 84.99 | 90.99 | 72.99 | 46.81 |
| Model | Method | Korean culture | Chinese culture | All | ||
|---|---|---|---|---|---|---|
| (ko) | (zh) | (ko) | (zh) | |||
| EXAONE | Base | 49.22 | 66.22 | 38.11 | 66.67 | 55.06 |
| SFT+GRPO | 68.44 | 78.11 | 67.11 | 81.67 | 73.83 | |
| Qwen | Base | 34.28 | 66.78 | 27.28 | 66.72 | 48.76 |
| SFT+GRPO | 66.78 | 76.11 | 66.78 | 81.89 | 72.89 | |
| Model | Method | Seen | Unseen |
|---|---|---|---|
| EXAONE | Base | 63.98 | 63.71 |
| Few-shot | 61.09 | 61.09 | |
| Inferred profile + detailed instr. | 66.61 | 65.09 | |
| Assigned profile + detailed instr. | 68.30 | 68.26 | |
| SFT+GRPO | 98.40 | 85.38 | |
| Qwen | Base | 65.04 | 64.76 |
Personalized Language Model Alignment
Personalized language model alignment adapts model behavior to individual preferences while preserving safety, accuracy, and other shared constraints.
See all 65 papers