Majority label bias makes a language model favor labels that appear most often among few-shot examples. In sentiment analysis, mostly positive examples can push future predictions toward positive. section 6.2.1
Reduce the bias by:
- Balancing the labels represented in the example set. section 6.2.1
- Checking example combinations and ordering, since few-shot prompts can produce different results when these change. section 6.2.1
Figure 6.3 Example of a few-shot prompt for sentiment analysis
Use the sentiment-analysis prompt example to inspect how label distribution can shape few-shot predictions. section 6.2.1
