Fairness-guided Few-shot Prompting for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models have demonstrated surprising ability to perform in-context learning, i.e., these models can be directly applied to solve numerous downstream tasks by conditioning on a prompt constructed by a few input-output examples. However, prior research has shown that in-context learning can suffer from high instability due to variations in training examples, example order, and prompt formats. Therefore, the construction of an appropriate prompt is essential for improving the performance of in-context learning. In this paper, we revisit this problem from the view of predictive bias. Specifically, we introduce a metric to evaluate the predictive bias of a fixed prompt against labels or a given attributes. Then we empirically show that prompts with higher bias always lead to unsatisfactory predictive quality. Based on this observation, we propose a novel search strategy based on the greedy search to identify the near-optimal prompt for improving the performance of in-context learning. We perform comprehensive experiments with state-of-the-art mainstream models such as GPT-3 on various downstream tasks. Our results indicate that our method can enhance the model's in-context learning performance in an effective and interpretable manner.
Key facts. Cited by 53 papers in the map (data through 14 Oct 2026). Builds on 19 of its 23 references that are in the map. First posted on arXiv 23 Mar 2023.
Builds on
19 of 23 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
- 2021GPT Understands, Toocited by 716
7 more
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 689
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021WARP: Word-level Adversarial ReProgrammingcited by 221
- 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
- 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
- 2022Fast Rates in Pool-Based Batch Active Learningcited by 15
Built on by
Citing papers per year: 2023: 8; 2024: 19; 2025: 20; 2026: 6.
53 papers.
Sort:
By area:
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2025Memory in the Age of AI Agentscited by 303
- 2023Personality Traits in Large Language Modelscited by 169
- 2023Compositional Chain-of-Thought Prompting for Large Multimodal Modelscited by 164
- 2024OlympicArena: Benchmarking Multi-discipline Cognitive Reasoning for Superintelligent AIcited by 71
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
- 2024When Search Engine Services meet Large Language Models: Visions and Challengescited by 59
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 50
- 2024Thinking Fair and Slow: On the Efficacy of Structured Prompts for Debiasing Language Modelscited by 45
- 2023Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selectioncited by 37
- 2024Navigating LLM Ethics: Advancements, Challenges, and Future Directionscited by 28
- 2024Is the System Message Really Important to Jailbreaks in Large Language Models?cited by 20
38 more
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extractioncited by 19
- 2024Step-On-Feet Tuning: Scaling Self-Alignment of LLMs via Bootstrappingcited by 14
- 2025UGMathBench: A Diverse and Dynamic Benchmark for Undergraduate-Level Mathematical Reasoning with Large Language Modelscited by 13
- 2025How Deep Do Large Language Models Internalize Scientific Literature and Citation Practices?cited by 10
- 2024DisasterQA: A Benchmark for Assessing the performance of LLMs in Disaster Responsecited by 9
- 2025Guiding LLM Decision-Making with Fairness Reward Modelscited by 9
- 2025Towards Fair In-Context Learning with Tabular Foundation Modelscited by 8
- 2024Image-to-Text Logic Jailbreak: Your Imagination can Help You Do Anythingcited by 7
- 2023KERMIT: Knowledge Graph Completion of Enhanced Relation Modeling with Inverse Transformationcited by 6
- 2025Automatic Prompt Optimization for Knowledge Graph Construction: Insights from an Empirical Studycited by 6
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learningcited by 5
- 2025Reasoning Towards Fairness: Mitigating Bias in Language Models through Reasoning-Guided Fine-Tuningcited by 5
- 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classificationcited by 5
- 2023Survey on AI Ethics: A Socio-technical Perspectivecited by 4
- 2024One size doesn't fit all: Predicting the Number of Examples for In-Context Learningcited by 4
- 2024SLIM-RAFT: A Novel Fine-Tuning Approach to Improve Cross-Linguistic Performance for Mercosur Common Nomenclaturecited by 3
- 2024Fair In-Context Learning via Latent Concept Variablescited by 3
- 2025Giving AI Personalities Leads to More Human-Like Reasoningcited by 3
- 2025On Fairness of Task Arithmetic: The Role of Task Vectorscited by 3
- 2025Large Language Models as Search Engines: Societal Challengescited by 3
- 2024The Future of Intelligent Healthcare: A Systematic Analysis and Discussion on the Integration and Impact of Robots Using Large Language Models for Healthcarecited by 2
- 2025Choices Speak Louder than Questionscited by 2
- 2025Prompt Engineering and the Effectiveness of Large Language Models in Enhancing Human Productivitycited by 2
- 2026IoT-Brain: Grounding LLMs for Semantic-Spatial Sensor Schedulingcited by 2
- 2023Metacognition-Enhanced Few-Shot Prompting With Positive Reinforcementcited by 1
- 2024Towards a Unified Paradigm: Integrating Recommendation Systems as a New Language in Large Modelscited by 1
- 2025In-Context Bias Propagation in LLM-Based Tabular Data Generationcited by 1
- 2025Prompt engineering and framework: implementation to increase code reliability based guideline for LLMscited by 1
- 2025A comprehensive study of LLM-based argument classification: from LLAMA through GPT-4o to Deepseek-R1cited by 1
- 2026DSIPA: Detecting LLM-Generated Texts via Sentiment-Invariant Patterns Divergence Analysiscited by 1
- 2024HateDebias: On the Diversity and Variability of Hate Speech Debiasingcited by 0
- 2024TaskComplexity: A Dataset for Task Complexity Classification with In-Context Learning, FLAN-T5 and GPT-4o Benchmarkscited by 0
- 2024The Power of Adaptation: Boosting In-Context Learning through Adaptive Promptingcited by 0
- 2025Zero-Shot Industrial Anomaly Segmentation with Image-Aware Prompt Generationcited by 0
- 2025Towards Human-AI Synergy in Requirements Engineering: A Framework and Preliminary Studycited by 0
- 2025Retrieval-Augmented Few-Shot Prompting Versus Fine-Tuning for Code Vulnerability Detectioncited by 0
- 2025Improving Fairness of Large Language Model-Based ICU Mortality Prediction via Case-Based Promptingcited by 0
- 2026Time-Continuous Modeling for Temporal Affective Pattern Recognition in LLMscited by 0
50 most cited of 53 All 53 (JSON)
- 2026Reproducing FACTER: Fairness via Conformal Thresholding and Prompt Repair26 Jun 2026
- 2026State Space Models Meet Remote Sensing: A Survey24 Jun 2026
- 2026DSIPA: Detecting LLM-Generated Texts via Sentiment-Invariant Patterns Divergence Analysis29 Apr 2026
- 2026IoT-Brain: Grounding LLMs for Semantic-Spatial Sensor Scheduling9 Apr 2026
- 2026Eliminating Hallucination in Diffusion-Augmented Interactive Text-to-Image Retrieval28 Jan 2026
- 2026Time-Continuous Modeling for Temporal Affective Pattern Recognition in LLMs18 Jan 2026
- 2025Improving Fairness of Large Language Model-Based ICU Mortality Prediction via Case-Based Prompting17 Dec 2025
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025Retrieval-Augmented Few-Shot Prompting Versus Fine-Tuning for Code Vulnerability Detection28 Nov 2025
- 2025Large Language Models as Search Engines: Societal Challenges24 Nov 2025
- 2025Towards Human-AI Synergy in Requirements Engineering: A Framework and Preliminary Study28 Oct 2025
- 2025Guiding LLM Decision-Making with Fairness Reward Models15 Jul 2025
38 more
- 2025A comprehensive study of LLM-based argument classification: from LLAMA through GPT-4o to Deepseek-R111 Jul 2025
- 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classification29 Jun 2025
- 2025Automatic Prompt Optimization for Knowledge Graph Construction: Insights from an Empirical Study24 Jun 2025
- 2025In-Context Bias Propagation in LLM-Based Tabular Data Generation11 Jun 2025
- 2025On Fairness of Task Arithmetic: The Role of Task Vectors30 May 2025
- 2025Towards Fair In-Context Learning with Tabular Foundation Models14 May 2025
- 2025Prompt Engineering and the Effectiveness of Large Language Models in Enhancing Human Productivity10 May 2025
- 2025Zero-Shot Industrial Anomaly Segmentation with Image-Aware Prompt Generation18 Apr 2025
- 2025Reasoning Towards Fairness: Mitigating Bias in Language Models through Reasoning-Guided Fine-Tuning8 Apr 2025
- 2025How Deep Do Large Language Models Internalize Scientific Literature and Citation Practices?3 Apr 2025
- 2025Prompt engineering and framework: implementation to increase code reliability based guideline for LLMs19 Mar 2025
- 2025Choices Speak Louder than Questions26 Feb 2025
- 2025Giving AI Personalities Leads to More Human-Like Reasoning19 Feb 2025
- 2025UGMathBench: A Diverse and Dynamic Benchmark for Undergraduate-Level Mathematical Reasoning with Large Language Models23 Jan 2025
- 2024The Power of Adaptation: Boosting In-Context Learning through Adaptive Prompting23 Dec 2024
- 2024Towards a Unified Paradigm: Integrating Recommendation Systems as a New Language in Large Models22 Dec 2024
- 2024The Future of Intelligent Healthcare: A Systematic Analysis and Discussion on the Integration and Impact of Robots Using Large Language Models for Healthcare5 Nov 2024
- 2024Fair In-Context Learning via Latent Concept Variables4 Nov 2024
- 2024DisasterQA: A Benchmark for Assessing the performance of LLMs in Disaster Response9 Oct 2024
- 2024TaskComplexity: A Dataset for Task Complexity Classification with In-Context Learning, FLAN-T5 and GPT-4o Benchmarks30 Sep 2024
- 2024SLIM-RAFT: A Novel Fine-Tuning Approach to Improve Cross-Linguistic Performance for Mercosur Common Nomenclature7 Aug 2024
- 2024Image-to-Text Logic Jailbreak: Your Imagination can Help You Do Anything1 Jul 2024
- 2024When Search Engine Services meet Large Language Models: Visions and Challenges28 Jun 2024
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning21 Jun 2024
- 2024OlympicArena: Benchmarking Multi-discipline Cognitive Reasoning for Superintelligent AI18 Jun 2024
- 2024HateDebias: On the Diversity and Variability of Hate Speech Debiasing7 Jun 2024
- 2024Thinking Fair and Slow: On the Efficacy of Structured Prompts for Debiasing Language Models16 May 2024
- 2024Navigating LLM Ethics: Advancements, Challenges, and Future Directions14 May 2024
- 2024One size doesn't fit all: Predicting the Number of Examples for In-Context Learning11 Mar 2024
- 2024Is the System Message Really Important to Jailbreaks in Large Language Models?20 Feb 2024
- 2024Step-On-Feet Tuning: Scaling Self-Alignment of LLMs via Bootstrapping12 Feb 2024
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learning5 Feb 2024
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Survey21 Jan 2024
- 2023Metacognition-Enhanced Few-Shot Prompting With Positive Reinforcement14 Dec 2023
- 2023Survey on AI Ethics: A Socio-technical Perspective28 Nov 2023
- 2023Compositional Chain-of-Thought Prompting for Large Multimodal Models27 Nov 2023
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extraction10 Nov 2023
- 2023Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selection30 Oct 2023
50 newest of 53 All 53 (JSON)
- 2023Compositional Chain-of-Thought Prompting for Large Multimodal Modelscited by 164
- 2024OlympicArena: Benchmarking Multi-discipline Cognitive Reasoning for Superintelligent AIcited by 71
- 2024Thinking Fair and Slow: On the Efficacy of Structured Prompts for Debiasing Language Modelscited by 45
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extractioncited by 19
- 2025UGMathBench: A Diverse and Dynamic Benchmark for Undergraduate-Level Mathematical Reasoning with Large Language Modelscited by 13
- 2025Guiding LLM Decision-Making with Fairness Reward Modelscited by 9
- 2025Reasoning Towards Fairness: Mitigating Bias in Language Models through Reasoning-Guided Fine-Tuningcited by 5
- 2025Giving AI Personalities Leads to More Human-Like Reasoningcited by 3
- 2025A comprehensive study of LLM-based argument classification: from LLAMA through GPT-4o to Deepseek-R1cited by 1
- 2025Guiding LLM Decision-Making with Fairness Reward Models15 Jul 2025
- 2025A comprehensive study of LLM-based argument classification: from LLAMA through GPT-4o to Deepseek-R111 Jul 2025
- 2025Reasoning Towards Fairness: Mitigating Bias in Language Models through Reasoning-Guided Fine-Tuning8 Apr 2025
- 2025Giving AI Personalities Leads to More Human-Like Reasoning19 Feb 2025
- 2025UGMathBench: A Diverse and Dynamic Benchmark for Undergraduate-Level Mathematical Reasoning with Large Language Models23 Jan 2025
- 2024OlympicArena: Benchmarking Multi-discipline Cognitive Reasoning for Superintelligent AI18 Jun 2024
- 2024Thinking Fair and Slow: On the Efficacy of Structured Prompts for Debiasing Language Models16 May 2024
- 2023Compositional Chain-of-Thought Prompting for Large Multimodal Models27 Nov 2023
- 2023Chain of Thought with Explicit Evidence Reasoning for Few-shot Relation Extraction10 Nov 2023
- 2025Memory in the Age of AI Agentscited by 303
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2023Personality Traits in Large Language Modelscited by 169
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
- 2024When Search Engine Services meet Large Language Models: Visions and Challengescited by 59
- 2023Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selectioncited by 37
- 2024Navigating LLM Ethics: Advancements, Challenges, and Future Directionscited by 28
- 2025How Deep Do Large Language Models Internalize Scientific Literature and Citation Practices?cited by 10
- 2024DisasterQA: A Benchmark for Assessing the performance of LLMs in Disaster Responsecited by 9
- 2025Towards Fair In-Context Learning with Tabular Foundation Modelscited by 8
- 2023KERMIT: Knowledge Graph Completion of Enhanced Relation Modeling with Inverse Transformationcited by 6
- 2025Automatic Prompt Optimization for Knowledge Graph Construction: Insights from an Empirical Studycited by 6
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learningcited by 5
12 most cited of 36 All 36 (JSON)
- 2026Reproducing FACTER: Fairness via Conformal Thresholding and Prompt Repair26 Jun 2026
- 2026State Space Models Meet Remote Sensing: A Survey24 Jun 2026
- 2026DSIPA: Detecting LLM-Generated Texts via Sentiment-Invariant Patterns Divergence Analysis29 Apr 2026
- 2026IoT-Brain: Grounding LLMs for Semantic-Spatial Sensor Scheduling9 Apr 2026
- 2026Time-Continuous Modeling for Temporal Affective Pattern Recognition in LLMs18 Jan 2026
- 2025Improving Fairness of Large Language Model-Based ICU Mortality Prediction via Case-Based Prompting17 Dec 2025
- 2025Large Language Models as Search Engines: Societal Challenges24 Nov 2025
- 2025Towards Human-AI Synergy in Requirements Engineering: A Framework and Preliminary Study28 Oct 2025
- 2025Automatic Prompt Optimization for Knowledge Graph Construction: Insights from an Empirical Study24 Jun 2025
- 2025In-Context Bias Propagation in LLM-Based Tabular Data Generation11 Jun 2025
- 2025On Fairness of Task Arithmetic: The Role of Task Vectors30 May 2025
- 2025Towards Fair In-Context Learning with Tabular Foundation Models14 May 2025
12 newest of 36 All 36 (JSON)