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
In ACM Symposium on Document Engineering 2026 (DocEng ’26), 2026

Keywords:

LLM, Culture, Bias, Prompt Engineering, Prompt Programming

Citation:

Maksim E. Eren, Eric Michalak, Brian Cook, and Johnny Seales. 2026. Prompt Programming for Cultural Bias and Alignment of Large Language Models. In Proceedings of the 2026 ACM Symposium on Document Engineering (DocEng ‘26). Association for Computing Machinery, New York, NY, USA, Article 20, 1–10. https://doi.org/10.1145/3820755.3821487

BibTeX:

@inproceedings{10.1145/3820755.3821487,
author = {Eren, Maksim E. and Michalak, Eric and Cook, Brian and Seales, Johnny},
title = {Prompt Programming for Cultural Bias and Alignment of Large Language Models},
year = {2026},
isbn = {9798400727863},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3820755.3821487},
doi = {10.1145/3820755.3821487},
abstract = {Culture shapes reasoning, values, prioritization, and strategic decisionmaking, 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. We then introduce use of prompt programming with DSPy for this problem—treating prompts as modular, optimizable programs—to 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.},
booktitle = {Proceedings of the 2026 ACM Symposium on Document Engineering},
articleno = {20},
numpages = {10},
keywords = {LLM, Culture, Bias, Prompt Engineering, Prompt Programming},
location = {
},
series = {DocEng '26}
}
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.