arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.04651cs.LGcs.CL
收藏

FAAST:通过闭式快速权重实现的前向仅关联学习用于测试时监督适应

FAAST: Forward-Only Associative Learning via Closed-Form Fast Weights for Test-Time Supervised Adaptation

Zhejiang University(浙江大学);Westlake University(西湖大学);Tsinghua University(清华大学);Shanghai Polytechnic University(上海理工大学)

Guangsheng Bao, Hongbo Zhang, Han Cui, Ke Sun, Yanbin Zhao, Juncai He, Yue Zhang

AI总结:

FAAST通过单次传递将标注示例分析性编译为快速权重,实现常数时间推理,减少适应时间90%并节省内存使用,适用于资源受限模型的高效监督任务适应。

摘要:

在调整预训练模型时,通常需要在反向传播的高训练成本和基于内存或上下文学习的高推理开销之间做出权衡。我们提出了FAAST,一种仅前向的关联适应方法,通过单次传递将标注示例分析性编译为快速权重。通过消除内存或上下文依赖,FAAST实现了常数时间推理,并将任务适应与预训练表示解耦。在图像分类和语言模型基准上,FAAST在匹配或超越反向传播适应的同时,将适应时间减少了超过90%,并且在与基于内存/上下文的适应竞争时,节省了高达95%的内存使用。这些结果表明,FAAST是一种高效、可扩展的监督任务适应解决方案,特别是对于资源受限的模型。我们通过https://github.com/baoguangsheng/faast发布代码和模型。

英文摘要:

Adapting pretrained models typically involves a trade-off between the high training costs of backpropagation and the heavy inference overhead of memory-based or in-context learning. We propose FAAST, a forward-only associative adaptation method that analytically compiles labeled examples into fast weights in a single pass. By eliminating memory or context dependence, FAAST achieves constant-time inference and decouples task adaptation from pretrained representation. Across image classification and language modeling benchmarks, FAAST matches or exceeds backprop-based adaptation while reducing adaptation time by over 90% and is competitive to memory/context-based adaptation while saving memory usage by up to 95%. These results demonstrate FAAST as a highly efficient, scalable solution for supervised task adaptation, particularly for resource-constrained models. We release the code and models at https://github.com/baoguangsheng/faast.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑