Abstract
In-context learning (ICL) has proven to be adept at adapting large language models (LLMs) to downstream tasks without parameter updates, based on a few demonstration examples. Prior work has found that the ICL performance is susceptible to the selection of examples in prompt and made efforts to stabilize it. However, existing example selection studies ignore the ethical risks behind the examples selected, such as gender and race bias. In this work, we conduct extensive experiments and discover that (1) example selection with high accuracy does not mean low bias; (2) example selection for ICL may amplify the biases of LLMs; (3) example selection contributes to spurious correlations of LLMs. Based on the above observations, we propose the Remind with Bias-aware Embedding (ReBE), which removes the spurious correlations through contrastive learning and obtains bias-aware embedding for LLMs based on prompt tuning. Finally, we demonstrate that ReBE effectively mitigates biases of LLMs without significantly compromising accuracy and is highly compatible with existing example selection methods.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the AAAI Conference on Artificial Intelligence |
| Editors | Sven KOENIG, Chad JENKINS, Matthew E. TAYLOR |
| Publisher | Association for the Advancement of Artificial Intelligence |
| Pages | 35464-35472 |
| Number of pages | 9 |
| ISBN (Print) | 9781577359067 |
| DOIs | |
| Publication status | Published - 14 Mar 2026 |
| Event | 40th AAAI Conference on Artificial Intelligence, AAAI 2026 - Singapore, Singapore Duration: 20 Jan 2026 → 27 Jan 2026 |
Publication series
| Name | Proceedings of the AAAI Conference on Artificial Intelligence |
|---|---|
| Publisher | Association for the Advancement of Artificial Intelligence |
| Number | 42 |
| Volume | 40 |
| ISSN (Print) | 2159-5399 |
| ISSN (Electronic) | 2374-3468 |
Conference
| Conference | 40th AAAI Conference on Artificial Intelligence, AAAI 2026 |
|---|---|
| Country/Territory | Singapore |
| City | Singapore |
| Period | 20/01/26 → 27/01/26 |
Bibliographical note
Publisher Copyright:© 2026, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.
Funding
This work was supported in part by Major Program of Guangdong Province under Grant 2021QN02X166, and in part by the National Natural Science Foundation of China (Project No. 72031003).
Fingerprint
Dive into the research topics of 'The Silent Amplifier: In-Context Examples Fuel Bias in Large Language Models'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver