arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19033cs.LG
收藏

每个Token需要多少秩?一种针对秩一LoRA专家的噪声底抑制机制

How Many Ranks Does a Token Need? A Noise-Floor Squelch for Rank-One LoRA Experts

University of Edinburgh(爱丁堡大学);Delft University of Technology(代尔夫特理工大学)

Mei Okonkwo, Owen Castellanos, Ingrid Solberg, Yusuf Demirel

AI总结:

针对LoRA的固定秩混合专家问题,提出无路由的SQUELCH机制,使每个Token的激活秩自适应,在多任务基准上优于LoRA及最强混合基线,激活分量更少且性能提升显著。

摘要:

低秩适配(LoRA)将其更新的每个秩一分量应用于每个Token,而混合专家变体则用学习到的路由替换这种方式,激活固定数量的分量。我们认为,Token所需的分量数量是一个具有经典答案的检测问题。训练后的LoRA的秩一分量上,Token的响应由高斯噪声底上的几个大值组成,噪声底的宽度与未训练适配器的宽度匹配,且该噪声底携带串扰而非适配信息。我们引入SQUELCH,一种无路由的秩一混合专家,它具有以下特性:(i)对每个Token的响应进行软阈值处理,阈值为其自身鲁棒噪声水平的倍数,因此每个Token的激活秩各不相同;(ii)通过斯坦无偏风险估计为每个模块选择该倍数,无需指定秩预算;(iii)在值格拉姆矩阵上用一步“解释消除”替代最终的保留或丢弃决策,该操作可抑制冗余的协同激活分量并招募互补分量。SQUELCH未向LoRA添加可训练参数。我们证明,该抑制机制与依赖输入的神谕分配仅相差一个对数因子,所选阈值具有风险一致性,且“解释消除”是向联合稀疏码的下降步,其误差受协同激活分量的相干性控制。在使用LLaMA-3.1-8B、Qwen3和DeBERTaV3进行的常识推理、知识、数学、代码及GLUE任务上,SQUELCH相比LoRA提升了2.2至3.2个点,相比最强混合基线提升了0.8至1.2个点,同时每个Token平均激活32个分量中的8.6个。

英文摘要:

Low-rank adaptation (LoRA) applies every rank-one component of its update to every token, and mixture-of-experts variants replace this with a learned router that activates a fixed number of components. We argue that the number of components a token needs is a detection question with a classical answer. A token's responses to the rank-one components of a trained LoRA consist of a few large values on a Gaussian noise floor whose width matches that of an untrained adapter, and the floor carries cross-talk rather than adaptation. We introduce SQUELCH, a router-free mixture of rank-one experts that (i) soft-thresholds each token's responses at a multiple of its own robust noise level, so the active rank varies per token; (ii) chooses that multiple for each module by Stein's unbiased risk estimate, so no rank budget is specified; and (iii) replaces the resulting marginal keep-or-drop decisions by one explaining-away step on the value Gram matrix, which suppresses redundant co-active components and recruits complementary ones. SQUELCH adds no trainable parameters to LoRA. We prove that the squelch is within a logarithmic factor of the oracle input-dependent allocation, that the selected threshold is risk-consistent, and that explaining away is a descent step toward the joint sparse code whose error is controlled by the coherence of co-active components. On commonsense reasoning, knowledge, math, code, and GLUE with LLaMA-3.1-8B, Qwen3, and DeBERTaV3, SQUELCH improves over LoRA by 2.2--3.2 points and over the strongest mixture baseline by 0.8--1.2 points while activating 8.6 of 32 components per token on average.

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

↑