Prompt Programming for Cultural Bias and Alignment of Large Language Models

Abstract

Culture shapes reasoning, values, prioritization, and strategic decision-making, yet large language models (LLMs) often exhibit cultural biases that misalign with target populations. As LLMs are increasingly used for strategic decision-making, policy support, and document engineering tasks such as summarization, categorization, and compliance-oriented auditing, improving cultural alignment is important for ensuring that downstream analyses and recommendations reflect target-population value profiles rather than default model priors. Previous work introduced a survey-grounded cultural alignment framework and showed that culture-specific prompting can reduce misalignment, but it primarily evaluated proprietary models and relied on manual prompt engineering. In this paper, we validate and extend that framework by reproducing its social sciences survey based projection and distance metrics on open-weight LLMs, testing whether the same cultural skew and benefits of culture conditioning persist outside closed LLM systems. Building on this foundation, we introduce use of prompt programming with DSPy for this problem-treating prompts as modular, optimizable programs-to systematically tune cultural conditioning by optimizing against cultural-distance objectives. In our experiments, we show that prompt optimization often improves upon cultural prompt engineering, suggesting prompt compilation with DSPy can provide a more stable and transferable route to culturally aligned LLM responses.

Publication
Under review in ACM Symposium on Document Engineering 2026 (DocEng ’26), 2026

Keywords:

LLM, Culture, Bias, Prompt Engineering, Prompt Programming

Citation:

Eren, M.E., Michalak, E., Cook, B., & Seales, J. (2026). Prompt Programming for Cultural Bias and Alignment of Large Language Models.

BibTeX:

@inproceedings{Eren2026PromptPF,
  title={Prompt Programming for Cultural Bias and Alignment of Large Language Models},
  author={Maksim Ekin Eren and Eric Michalak and Brian Cook and Johnny Seales},
  year={2026},
  url={https://api.semanticscholar.org/CorpusID:286584101}
}
Maksim E. Eren
Maksim E. Eren
Scientist

Maksim E. Eren is a Scientist at Los Alamos National Laboratory, specializing in machine learning and artificial intelligence for large-scale data science applications.