StreamAdapter: Efficient Test Time Adaptation from Contextual Streams
Dilxat Muhtar, Yelong Shen, Yaming Yang, Xiaodong Liu, Yadong Lu,, Jianfeng Liu, Yuefeng Zhan, Hao Sun, Weiwei Deng, Feng Sun, Xueliang Zhang,, Jianfeng Gao, Weizhu Chen, Qi Zhang

TL;DR
StreamAdapter introduces a method for test-time adaptation of large language models by transforming context into parameter updates, reducing inference costs and maintaining high performance without extensive in-context demonstrations.
Contribution
It presents a novel approach that converts context into parameter updates, enabling efficient, cost-effective test-time adaptation without relying on large in-context demonstration sets.
Findings
Achieves comparable or better performance than traditional in-context learning.
Reduces inference costs by minimizing dependence on numerous demonstrations.
Enables constant-time inference regardless of demonstration count.
Abstract
In-context learning (ICL) allows large language models (LLMs) to adapt to new tasks directly from the given demonstrations without requiring gradient updates. While recent advances have expanded context windows to accommodate more demonstrations, this approach increases inference costs without necessarily improving performance. To mitigate these issues, We propose StreamAdapter, a novel approach that directly updates model parameters from context at test time, eliminating the need for explicit in-context demonstrations. StreamAdapter employs context mapping and weight absorption mechanisms to dynamically transform ICL demonstrations into parameter updates with minimal additional parameters. By reducing reliance on numerous in-context examples, StreamAdapter significantly reduce inference costs and allows for efficient inference with constant time complexity, regardless of demonstration…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Time Series Analysis and Forecasting · Anomaly Detection Techniques and Applications
