← 返回论文检索
ICML 2025PosterAccept (poster)

Iterative Vectors: In-Context Gradient Steering without Backpropagation

Yiting Liu, Zhi-Hong Deng

Peking University

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。

摘要

In-context learning has become a standard approach for utilizing language models.However, selecting and processing suitable demonstration examples can be challenging and time-consuming, especially when dealing with large numbers of them.We propose Iterative Vectors (IVs), a technique that explores activation space to enhance in-context performance by simulating gradient updates during inference.IVs extract and iteratively refine activation-based meta-gradients, applying them during inference without requiring backpropagation at any stage.We evaluate IVs across various tasks using four popular models and observe significant improvements.Our findings suggest that in-context activation steering is a promising direction, opening new avenues for future research.