学习预测权重更新分布以实现测试时自适应 Learning to Predict Distributions over Weight Updates for Test-Time Adaptation 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-01
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
本研究探索仅利用输入查询来动态调整大语言模型参数的可能性,提出一种分布化超网络,不仅能生成LoRA权重的点估计,还能输出权重更新的概率分布。通过可微蒙特卡洛近似和多种分布参数化方法,实验表明即使仅使用分布均值也能超越确定性超网络,且通过采样权重更新可实现测试时扩展,性能随采样数增加而提升,并优于传统的令牌采样方法。
领域自然语言处理 / 大语言模型高效自适应
适合谁读需要一定专业背景(了解大语言模型、超网络和LoRA微调)
核心贡献1. 提出分布化超网络,可生成LoRA权重的概率分布,而不仅是点估计;2. 发现通过采样权重更新可实现测试时扩展,且性能优于令牌采样,并证明生成的更新可跨查询迁移。
关键数据使用分布均值即可超越确定性超网络;性能随权重采样数增加而提升,且始终优于令牌采样基线;生成的更新可跨查询迁移。
推荐理由如果你关注大模型如何根据输入动态调整自身,并想了解一种比传统采样更高效的测试时扩展方法,这篇论文提供了新颖的视角和实证结果。
关键词["超网络", "测试时自适应", "权重更新分布", "大语言模型", "LoRA", "蒙特卡洛近似"]

原文摘要

查看英文原文摘要

Hypernetworks have recently shown success in dynamically adapting the parameters of Large Language Models (LLMs) at runtime based on signals such as task descriptions or additional demostrations. Here we ask: how much adaptation signal can be obtained using only the input query to an LLM?. To answer this, we study query-conditioned Hypernetworks for LoRA estimation. Further, we introduce distributional Hypernetworks, able to produce not only point estimates of parameter adaptors, but also a distribution over possible LoRAs. For this we propose a simple end-to-end loss using a differentiable Monte Carlo approximation and explore multiple distribution parametrizations including regression and convex combination variants. Results show that even using the mean of the learned distribution can outperform deterministic hypernetworks. Crucially, the learned distribution enables a different form of test-time scaling: instead of spending additional compute only by sampling more token sequences from a fixed model, we sample weight updates, yielding multiple adapted models for the same query. Performance improves as more weight samples are considered and remains stronger than corresponding token-sampling adaptation baselines. Finally, we find that generated updates can transfer across queries, suggesting that the hypernetwork learns reusable structure in how the model should adapt. Together, these results show that query-conditioned distributions over weight updates can support both adaptation and test-time scaling.