Discovering the Hidden Role of Gini Index In Prompt-based Classification
Not on the map. Why?
Abstract (arXiv)
In classification tasks, the long-tailed minority classes usually offer the predictions that are most important. Yet these classes consistently exhibit low accuracies, whereas a few high-performing classes dominate the game. We pursue a foundational understanding of the hidden role of Gini Index as a tool for detecting and optimizing (debiasing) disparities in class accuracy, focusing on the case of prompt-based classification. We introduce the intuitions, benchmark Gini scores in real-world LLMs and vision models, and thoroughly discuss the insights of Gini not only as a measure of relative accuracy dominance but also as a direct optimization metric. Through rigorous case analyses, we first show that weak to strong relative accuracy imbalance exists in both prompt-based, text and image classification results and regardless of whether the classification is high-dimensional or low-dimensional. Then, we harness the Gini metric to propose a post-hoc model-agnostic bias mitigation method. Experimental results across few-shot news, biomedical, and zero-shot image classification show that our method significantly reduces both relative and absolute accuracy imbalances, minimizing top class relative dominance while elevating weakest classes.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 32 references that are in the map. First posted on arXiv 7 Mar 2026.
Builds on
19 of 32 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 513
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
- 2021Prompt Waywardness: The Curious Case of Discretized Interpretation of Continuous Promptscited by 64
- 2021Word Acquisition in Neural Language Modelscited by 41
7 more
- 2021Avoiding Inference Heuristics in Few-shot Prompt-based Finetuningcited by 23
- 2021Few-shot Instruction Prompts for Pretrained Language Models to Detect Social Biasescited by 21
- 2024Wait, that's not an option: LLMs Robustness with Incorrect Multiple-Choice Optionscited by 11
- 2024Certifying Counterfactual Bias in LLMscited by 10
- 2024Optimizing Class-Level Probability Reweighting Coefficients for Equitable Prompting Accuracycited by 2
- 2024Let the Fuzzy Rule Speak: Enhancing In-context Learning Debiasing with Interpretabilitycited by 2
- 2025Ensemble Debiasing Across Class and Sample Levels for Fairer Prompting Accuracycited by 1
Built on by
Not cited yet.