mlsanityData to 7 Oct 2026

Strategic Demonstration Selection for Improved Fairness in LLM In-Context Learning

arXiv 2408.09757 ↗First posted 19 Aug 2024cs.LG cs.CL cs.CYcited by 10

Not on the map. Why?

Abstract (arXiv)

Recent studies highlight the effectiveness of using in-context learning (ICL) to steer large language models (LLMs) in processing tabular data, a challenging task given the structured nature of such data. Despite advancements in performance, the fairness implications of these methods are less understood. This study investigates how varying demonstrations within ICL prompts influence the fairness outcomes of LLMs. Our findings reveal that deliberately including minority group samples in prompts significantly boosts fairness without sacrificing predictive accuracy. Further experiments demonstrate that the proportion of minority to majority samples in demonstrations affects the trade-off between fairness and prediction accuracy. Based on these insights, we introduce a mitigation technique that employs clustering and evolutionary strategies to curate a diverse and representative sample set from the training data. This approach aims to enhance both predictive performance and fairness in ICL applications. Experimental results validate that our proposed method dramatically improves fairness across various metrics, showing its efficacy in real-world scenarios.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 25 of its 42 references that are in the map. First posted on arXiv 19 Aug 2024.

Builds on

25 of 42 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2016Equality of Opportunity in Supervised Learningcited by 2,000
  4. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  5. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  6. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  7. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  8. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  9. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  10. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
  11. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 703
  12. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
13 more
  1. 2023Language Is Not All You Need: Aligning Perception with Language Modelscited by 543
  2. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  3. 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
  4. 2018Multiaccuracy: Black-Box Post-Processing for Fairness in Classificationcited by 221
  5. 2023Speak Foreign Languages with Your Own Voice: Cross-Lingual Neural Codec Language Modelingcited by 166
  6. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  7. 2023Finding Support Examples for In-Context Learningcited by 104
  8. 2022On the Relation between Sensitivity and Accuracy in In-context Learningcited by 71
  9. 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
  10. 2022Data Curation Alone Can Stabilize In-context Learningcited by 58
  11. 2022Fairness-aware Adversarial Perturbation Towards Bias Mitigation for Deployed Deep Modelscited by 47
  12. 2021Uncovering Implicit Gender Bias in Narratives through Commonsense Inferencecited by 32
  13. 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 4.

10 papers.