IMPACT OF MODEL SIZE AND PROMPTING STRATEGY ON ZERO- AND FEW-SHOT PERFORMANCE IN OPEN-SOURCE LANGUAGE MODELS

What determines the capabilities of open-source language models: their parameter count or the manner in which they are prompted?To comprehensively distinguish these effects,we evaluate a diverse range of instruction-tuned models, including Flan-T5 checkpoints (small, base, large), and recent architectures with extended context windows,across a substantial scaled evaluation that encompasses hundreds of articles and diverse NLP tasks. Each model is subjected to multiple prompting regimes (zero-shot and few-shot with varying numbers of examplars), while controlled input lengths and prompt phrasings are maintained. Automatic scoring(ROUGE1/2/L,accuracy,macroF1)is complemented by multi-rater human evaluations that assess factuality, coherence, and faithfulness. The results demonstrate a pronounced interaction: scaling parameters consistently enhances baseline (zero-shot) performance, but the advantage of in-context demonstrations is significantly influenced by the alignment between prompt length,input size,and available context window. On short-context tasks such as Named Entity Recognition (NLI),well-selected exemplars substantially improve accuracy for larger models.Conversely,on long-context tasks like summarization, adding demonstrations can negatively impact performance by displacing critical input tokens a finding corroborated across multiple architectures and datasets. We propose a refined capacity context alignment principle: exemplars are only beneficial if the models context window and parameter scale can simultaneously accommodate them without compromising source information.These findings challenge conventional prompt engineering practices and provide practical, statistically supported recommendations for optimizing LLM deployment under real-world budget and resource limitations.

Authors

Publication Details

Journal
International Journal of Advanced Research
Published
2025-08-30
DOI
https://doi.org/10.21474/ijar01/21515
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

IMPACT OF MODEL SIZE AND PROMPTING STRATEGY ON ZERO- AND FEW-SHOT PERFORMANCE IN OPEN-SOURCE LANGUAGE MODELS

Manthan Jindal
International Journal of Advanced Research
Topic Modeling
article

IMPACT OF MODEL SIZE AND PROMPTING STRATEGY ON ZERO- AND FEW-SHOT PERFORMANCE IN OPEN-SOURCE LANGUAGE MODELS

Manthan Jindal
article en

Abstract

What determines the capabilities of open-source language models: their parameter count or the manner in which they are prompted?To comprehensively distinguish these effects,we evaluate a diverse range of instruction-tuned models, including Flan-T5 checkpoints (small, base, large), and recent architectures with extended context windows,across a substantial scaled evaluation that encompasses hundreds of articles and diverse NLP tasks. Each model is subjected to multiple prompting regimes (zero-shot and few-shot with varying numbers of examplars), while controlled input lengths and prompt phrasings are maintained. Automatic scoring(ROUGE1/2/L,accuracy,macroF1)is complemented by multi-rater human evaluations that assess factuality, coherence, and faithfulness. The results demonstrate a pronounced interaction: scaling parameters consistently enhances baseline (zero-shot) performance, but the advantage of in-context demonstrations is significantly influenced by the alignment between prompt length,input size,and available context window. On short-context tasks such as Named Entity Recognition (NLI),well-selected exemplars substantially improve accuracy for larger models.Conversely,on long-context tasks like summarization, adding demonstrations can negatively impact performance by displacing critical input tokens a finding corroborated across multiple architectures and datasets. We propose a refined capacity context alignment principle: exemplars are only beneficial if the models context window and parameter scale can simultaneously accommodate them without compromising source information.These findings challenge conventional prompt engineering practices and provide practical, statistically supported recommendations for optimizing LLM deployment under real-world budget and resource limitations.

International Journal of Advanced ResearchVol. 13(08)
Openalex Percentile: Top 88%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.