scimeatlas

Research map / Large language models / Instruction and fine-tuning

Selecting Demonstrations for Many-Shot In-Context Learning via Gradient Matching

Jianfei Zhang, Bei Li, Jun Bai, Rumei Li, Yanmeng Wang, Chenghua Lin, Wenge Rong

ACL 2025Large language models › Instruction and fine-tuningapproach: Efficient LLM fine-tuning systemsopen problems in this approach10 citations (OpenAlex)

Beihang University · Meituan · Beijing Institute for General Artificial Intelligence · Ping An Technology · University of Manchester

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
6improved
4hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
select 128-shot demonstrations with CLG instead of randomLlama3-70B · average over 9 datasetsscore (%): 54.04 -> 58.85Improved
select 128-shot demonstrations with CLG instead of randomQwen2.5-72B · average over 9 datasetsscore (%): 53.23 -> 58.11Improved
select with CLG instead of random5 closed-source LLMs · average over 9 datasets (128-shot)score (%): e.g. GPT-4o-mini 60.22 -> 61.48Improved
use BM25-Major or Latent-Bayesian instead of randomLlama3-70B / Qwen2.5-72B · average over 9 datasetsscore (%): 54.04 -> 39.81 (BM25-Major), 54.04 -> 51.04 (Latent-Bayesian) on Llama3-70BHurt
scale from 128 to 1024 shotsCLG vs Random on Qwen2.5-72B · MNLIaccuracy (%): gain over Random +15.72 -> +3.86Mixed
scale from 128 to 1024 shotsRandom and CLG on Qwen2.5-72B · MNLI and HellaSwagaccuracy (%): MNLI Random 61.57 -> 55.08Hurt
scale from 128 to 1024 shotsRandom and CLG on Qwen2.5-72B · Break and SMCalFlowscore (%): SMCalFlow Random 38.23 -> 52.67Improved
select demonstrations by maximizing instead of minimizing the gradient distance (ablation)CLG on Qwen2.5-72B · 128-shot, 9 datasetsICL performanceHurt
add 4-shot instance-level BGE-M3 demonstrations to 128-shot task-level demonstrationsRandom and CLG · most datasetsICL performanceImproved
select with CLG instead of randomQwen2.5-3B label distribution · SST-5KL divergence: 0.020 -> 0.006Improved
select with Latent-Bayesian instead of randomlabel distribution · SST-5KL divergence: 0.020 -> 4.050Hurt

Open problems in efficient LLM fine-tuning systems

Do efficient fine-tuning methods keep their gains on larger models, other languages and open-ended tasks, and what do they cost?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy