scimeatlas

Research map / Large language models / Language, safety and interpretability

OptiSeq: Ordering Examples On-The-Fly for In-Context Learning

Rahul Atul Bhope, Praveen Venkateswaran, K. R. Jayaram, Vatche Isahagian, Vinod Muthusamy, Nalini Venkatasubramanian

EMNLP 2025Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach19 citations (OpenAlex)

UC Irvine · IBM

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

11measured effects
6improved
1no clear effect
4hurt

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 example order by example-free log probability (OptiSeq) instead of Top-K orderingllama-3-8b-instruct · RestGPTaccuracy: 42.04 -> 61.15Improved
select example order with OptiSeq instead of random orderllama-3-8b-instruct · ToolBenchaccuracy: 43.99 -> 54.18Improved
use OptiSeq instead of LocalE or Influencefive LLMs · API sequence generation and classificationaccuracy: about 6.5 and 5.5 points on API generation; about 4 points on classificationImproved
prune permutations by anchoring the most similar example first (EOptiSeq) instead of full OptiSeq (ablation)llama-3-8b-instruct · RestGPTaccuracy: 61.15 -> 52.32Hurt
use EOptiSeq instead of Top-Kllama-3-8b-instruct · ToolBenchaccuracy: 44.80 -> 51.12Improved
use Top-K instead of random orderingmixtral-8x7b-instruct-v01 · ToolBenchaccuracy: 43.38 -> 42.56Hurt
use Top-K instead of random orderinggranite-13b-instruct-v2 · AG Newsaccuracy: 59.81 -> 58.69Hurt
use 3-shot OptiSeq instead of 4- or 5-shot random/Top-K orderingOptiSeq · API sequence generation and classificationaccuracy: 5.07 points (API) and 2.1 points (classification) on averageImproved
use out-of-distribution in-context examples instead of in-distribution examplesOptiSeq, Top-K, random · ToolBench and RestGPT 3-shotaccuracy: drop across all techniques, larger for random and Top-KHurt
batch the 6 permutation prompts in OptiSeqllama-3-8b-instruct · AG News latency (A5000)latency per prompt: 13.44s -> 2.81s per promptImproved
add more in-context examples (2 to 7) or use larger LLMsICL on ToolBench · ToolBench recallorder sensitivityNo clear effect

Open problems this paper states

Open problems in in-context learning analysis

Which in-context learning methods hold up beyond English classification on small open models, 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