SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.02953 · ACL · 2025

Cultural Learning-Based Culture Adaptation of Language Models

Iryna Gurevych, Anna Korhonen, Chen Cecilia Liu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 9 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ukplab/arxiv2025-clca canonical 9 of 9
FunctionStatusWhere it lives
check_stop_conversation Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/social_dialogue_generator.py
code served (permissive licence) · get_code("d05e7f77d9cf2ad0")
get_instruction Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/generate_scenarios.py
code served (permissive licence) · get_code("5354bbb24cabe7bb")
get_prompt Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/model_tuning.py
code served (permissive licence) · get_code("ebd71a3edf5b5421")
get_sys_prompt_from_personas Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/model_tuning.py
code served (permissive licence) · get_code("a6e34ed95001155d")
get_sys_prompt_from_personas_intent Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/model_tuning.py
code served (permissive licence) · get_code("2727e8cf22f0c20c")
load_scenarios Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/generate_scenarios.py
code served (permissive licence) · get_code("8bcd64de179111d5")
normalize_action Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/social_dialogue_generator.py
code served (permissive licence) · get_code("653a7098215c200d")
parse_generated_outputs Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/intent_generator.py
code served (permissive licence) · get_code("8ba9ff2833bdc9d6")
parse_generated_outputs Ran ukplab/arxiv2025-clca/CLCA/llm_roleplay/common/social_dialogue_generator.py
code served (permissive licence) · get_code("a9686523717ad71a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Adapting large language models (LLMs) to diverse cultural values is a challenging task, as existing LLMs often reflect the values of specific groups by default, and potentially cause harm to others. In this paper, we present CLCA, a novel framework for enhancing LLM alignment with cultural values based on cultural learning. The framework leverages simulated social interactions to generate conversations in which LLMs engage in role-playing within culturally adapted social scenarios, capturing implicit cultural norms for model fine-tuning. CLCA improves cultural value alignment across various model architectures measured using World Value Survey data, demonstrating the effectiveness of our proposed approach. Our results provide early evidence that understanding intent and social interactions can enhance cultural value adaptation in LLMs, highlighting the promise of training approaches based on cultural learning. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2504.02953")
get_code_for_paper("2504.02953")
have("2504.02953")

Connect an agent — have() is free.