面向大语言模型的查询自适应神经元调控 Query-Adaptive Neuron Steering for LLMs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-10
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
大模型推理时如何发挥能力是个难题。现有方法要么调整输入提示,要么固定干预内部计算,但难以适应每个查询的不同需求。本研究探索能否根据查询动态调控模型内部神经元。作者发现神经元激活与主题和层相关,放大相关神经元可提升表现,于是提出Q-NeuS框架:先构建主题引导的候选神经元空间,再用轻量门控网络为每个查询生成神经元级调控系数,并用改进的组相对优化方法Neu-GRPO训练门控。模型本身保持冻结,推理时无需任务标签。实验表明,该方法在多个模型和基准上稳定提升性能,且跨模型规模、跨基准泛化性好。
领域自然语言处理 / 大语言模型推理与可解释性
适合谁读需要一定专业背景(了解大模型内部机制与强化学习基础)
核心贡献1. 首次系统研究查询自适应的神经元调控,发现主题和层相关的神经元激活模式;2. 提出Q-NeuS框架,结合主题引导候选空间与轻量门控网络,并设计Neu-GRPO训练策略,实现无需任务标签的推理时动态干预。
关键数据在多个LLM和基准上一致提升性能,展现跨模型规模和跨基准的强迁移性;模型保持冻结,推理无需任务或主题标签。
推荐理由如果你关心如何不微调模型就能让大模型‘开窍’,这篇提供了新颖的查询自适应神经元调控思路,实验扎实,值得一读。
关键词["大语言模型", "神经元调控", "查询自适应", "推理时干预", "组相对优化"]

原文摘要

查看英文原文摘要

Effectively eliciting the capabilities of large language models (LLMs) at inference time remains an important challenge. Existing studies address this challenge through context engineering, which shapes user queries, or fixed steering, which directly intervenes in model computation. However, predefined contexts and fixed intervention strategies may not adequately accommodate the diverse knowledge and reasoning requirements of individual queries. This raises a natural question: Can internal steering in LLMs be made query-adaptive? In this work, we investigate whether query-induced internal activations can guide adaptive steering in LLMs. Our pilot studies reveal subject- and layer-dependent neuron activation patterns and show that amplifying subject-relevant neurons can improve model performance. Based on these findings, we propose Q-NeuS, a query-adaptive neuron steering framework that dynamically determines which neurons to modulate and by how much for each input. Specifically, Q-NeuS constructs a compact subject-guided candidate neuron space and employs a lightweight Query-Adaptive Gate to generate neuron-wise modulation coefficients. To learn effective intervention strategies, we introduce Neu-GRPO, which adapts group-relative optimization to train the Query-Adaptive Gate using the relative performance of multiple neuron intervention configurations. The base LLM remains frozen throughout training and inference, and no task or subject labels are required at inference time. Extensive experiments across multiple LLMs and benchmarks demonstrate that Q-NeuS consistently improves model performance and exhibits broad applicability across model scales and strong cross-benchmark transferability.