Why does few-shot prompting degrade classification accuracy

0 votes
May 13 in Generative AI by anonymous
• 24,280 points
91 views

1 answer to this question.

0 votes

Few-shot prompting can improve classification accuracy  but after a point, it often starts degrading it. The main reason: 

Example influences the model probabilistically ,not deterministically 

  1. Example distribution bias

The model starts overfitting to the example instead of the actual task 

Example : 

Positive → enthusiastic language

Negative → angry language

The model may misclassify because the examples unintentionally taught emotional tone instead of sentimental criteria.

  1. Spurious pattern learning

LLM’s pick up accidental correlation 

Example
Class A examples are short

Class B examples are long

Here the model now uses lengths instead of semantics

  1. Context crowding 

More example makes the model  have less attention budget . 

Eventually : 

  • The actual input receives less attention 

  • Important decisions gets diluted 

  • Reasoning quality drops

answered May 20 by subhashini
• 1,280 points

Related Questions In Generative AI

0 votes
0 answers
0 votes
0 answers
0 votes
1 answer

Why does my GAN model output blurry images despite using a deep discriminator?

Blurry images in GAN outputs often result ...READ MORE

answered Jan 7, 2025 in Generative AI by megha goyal
1,003 views
0 votes
1 answer
0 votes
1 answer

Why does my Transformer-based text generation model produce incoherent sequences?

Incoherent sequences in Transformer-based text generation models ...READ MORE

answered Jan 8, 2025 in Generative AI by heretechboy
782 views
0 votes
1 answer

Why does my GAN produce a blurry image instead of sharp realistic ones?

To address this, use techniques like using ...READ MORE

answered Jan 8, 2025 in Generative AI by pulkit
984 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Why does my Hugging Face inference endpoint fail after enabling token authentication?

Oh , maybe you aren't sending the ...READ MORE

answered May 12 in Generative AI by anonymous
• 1,280 points
101 views
0 votes
1 answer

Why does Google Gemini API return permission errors after OAuth update?

Ok so the most common thing could ...READ MORE

answered May 12 in Generative AI by anonymous
• 1,280 points
103 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP