CoBRA: Programming Cognitive Bias in Social Agents Using Classic Social Science Experiments
Abstract
This paper introduces CoBRA, a novel toolkit for systematically specifying agent behavior in LLM-based social simulation. We found that conventional approaches that specify agent behavior through implicit natural-language descriptions often do not yield consistent behavior across models, and the resulting behavior does not capture the nuances of the descriptions. In contrast, CoBRA introduces a model-agnostic way to control agent behavior that lets researchers explicitly specify desired nuances and obtain consistent behavior across models. At the heart of CoBRA is a novel closed-loop system primitive with two components: (1) Cognitive Bias Index that measures the demonstrated cognitive bias of a social agent, by quantifying the agent’s reactions in a set of validated classic social science experiments; (2) Behavioral Regulation Engine that aligns the agent’s behavior to exhibit controlled cognitive bias. Through CoBRA, we show how to operationalize validated social-science knowledge (i.e., classical experiments) as reusable “gym” environments for AI—an approach that may generalize to richer social and affective simulations beyond bias alone.
- Venue
- CHI 2026
- Volume
- Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3772318.3790804
- https://dl.acm.org/doi/pdf/10.1145/3772318.3790804
- Anthology ID
2026.chi.527
Cite
@inproceedings{liu-etal-2026-cobra,
title = {{CoBRA: Programming Cognitive Bias in Social Agents Using Classic Social Science Experiments}},
author = {Xuan Liu and HaoYang Shang and Haojian Jin},
booktitle = {Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems},
isbn = {9798400722783},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3772318.3790804},
url = {https://doi.org/10.1145/3772318.3790804},
abstract = {This paper introduces CoBRA, a novel toolkit for systematically specifying agent behavior in LLM-based social simulation. We found that conventional approaches that specify agent behavior through implicit natural-language descriptions often do not yield consistent behavior across models, and the resulting behavior does not capture the nuances of the descriptions. In contrast, CoBRA introduces a model-agnostic way to control agent behavior that lets researchers explicitly specify desired nuances and obtain consistent behavior across models. At the heart of CoBRA is a novel closed-loop system primitive with two components: (1) Cognitive Bias Index that measures the demonstrated cognitive bias of a social agent, by quantifying the agent’s reactions in a set of validated classic social science experiments; (2) Behavioral Regulation Engine that aligns the agent’s behavior to exhibit controlled cognitive bias. Through CoBRA, we show how to operationalize validated social-science knowledge (i.e., classical experiments) as reusable “gym” environments for AI—an approach that may generalize to richer social and affective simulations beyond bias alone.}
}