Learn the Effects, Not the Examples: Implicit ICL via Attention Patching
23 Nov · Seungwon Woo, Hyunseo Shin, Wonseok Hwang · arXiv:2611.30690
In-context learning (ICL) enables language models to adapt to new tasks from demonstrations, but repeatedly including multiple examples increases context length and inference cost. Many existing implicit ICL methods encode demonstrations as fixed vectors, limiting adaptation of the intervention to individual queries and token positions. We propose Attention-Patching, an implicit ICL method that models contextual…