ResearchNov 24, 2026, 3:06 AM EST

Preprint tests a way to learn from examples without repeating them in prompts

In an arXiv preprint, Seungwon Woo and colleagues introduce Attention-Patching, a method that adapts language models to a task without including the same demonstrations in every prompt. The method compares how a model processes question-and-answer pairs with and without examples, then fits task-specific updates to its attention layers. Across 12 classification benchmarks and four model families, the authors report higher average accuracy than the methods they tested that also omit examples from prompts. Accuracy was comparable to prompting with examples, while inference cost was close to prompting with none. The authors also tested the method on tasks that generate multiple tokens.

Why it matters

The classification results show that fitting a task-specific update can preserve the accuracy of example-based prompting while reducing the cost of each subsequent query.

Sources

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet