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

路由诱导密度与稳定性(RIDE):路由式元提示对大语言模型内部状态的受控干预与机制分析

Route-Induced Density and Stability (RIDE): Controlled Intervention and Mechanism Analysis of Routing-Style Meta Prompts on LLM Internal States

Digital China AI Research Institute(神州数码人工智能研究院)

Dianxing Zhang, Gang Li, Sheng Li

AI总结:

本研究通过注入路由式元提示测试路由到任务专家是否激活更稀疏的内部计算,发现早期/中期层表示密度增加而非稀疏化,且不同模型对关键词注意力的响应各异,最终揭示密度与稳定性之间的弱关联。

摘要:

路由广泛用于扩展大语言模型,从专家混合门控到多模型/工具选择。一种普遍观点认为,路由到任务专家会激活更稀疏的内部计算,从而产生更确定和稳定的输出(稀疏性-确定性假说)。我们通过在冻结的指令微调LLM前注入路由式元提示作为路由信号的文本代理来检验这一观点。我们量化(C1)通过激活稀疏性测量内部密度,(C2)通过领域关键词注意力,以及(C3)通过预测熵和语义变化测量输出稳定性。在包含三个指令微调模型(Qwen3-8B、Llama-3.1-8B-Instruct和Mistral-7B-Instruct-v0.2)的RouterEval子集上,元提示一致地增加了早期/中期层的表示密度而非增加稀疏性;自然语言专家指令通常比结构化标签更强。注意力响应异质性:Qwen/Llama减少关键词注意力,而Mistral增强它。最后,密度-稳定性联系较弱,仅在Qwen中出现,Llama和Mistral中相关性接近零。我们提出RIDE作为校准路由设计和不确定性估计的诊断探针。

英文摘要:

Routing is widely used to scale large language models, from Mixture-of-Experts gating to multi-model/tool selection. A common belief is that routing to a task ``expert'' activates sparser internal computation and thus yields more certain and stable outputs (the Sparsity--Certainty Hypothesis). We test this belief by injecting routing-style meta prompts as a textual proxy for routing signals in front of frozen instruction-tuned LLMs. We quantify (C1) internal density via activation sparsity, (C2) domain-keyword attention, and (C3) output stability via predictive entropy and semantic variation. On a RouterEval subset with three instruction-tuned models (Qwen3-8B, Llama-3.1-8B-Instruct, and Mistral-7B-Instruct-v0.2), meta prompts consistently densify early/middle-layer representations rather than increasing sparsity; natural-language expert instructions are often stronger than structured tags. Attention responses are heterogeneous: Qwen/Llama reduce keyword attention, while Mistral reinforces it. Finally, the densification--stability link is weak and appears only in Qwen, with near-zero correlations in Llama and Mistral. We present RIDE as a diagnostic probe for calibrating routing design and uncertainty estimation.

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

↑