arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.02423cs.LGcs.AI

面向大语言模型的神经元感知主动少样本学习

Neuron-Aware Active Few-Shot Learning for LLMs

University of Pittsburgh, USA(匹兹堡大学)

Zhuowei Chen, Liwei Chen, Christian Schunn, Raquel Coelho, Xiang Lorraine Li

AI总结:

提出NeuFS框架,利用神经元激活模式从模型内部动态选择最具价值的少样本示例,提升大语言模型在专业领域的适应性和性能。

摘要:

主动少样本学习(AFSL)通过识别最有价值的未标注样本进行标注并用作少样本演示,将大语言模型(LLM)适应到专业领域,有效降低人工标注成本同时促进高性能。然而,现有方法通常依赖输出级信号进行样本识别,例如基于外部嵌入的预测熵或与测试时数据的语义相似性,这些往往忽略了模型的内部动态,而内部动态可以定位特定的知识缺口。为弥补这一差距,我们提出NeuFS,一种神经元感知主动少样本学习框架,将选择范式从输出级代理转移到模型的内部动态。NeuFS直接利用神经元激活模式表示样本,并包含一个双标准选择策略:(1)通过神经元模式确保少样本样本多样性,以实现更广泛的示例覆盖,同时(2)通过量化神经元共识,优先识别LLM倾向于产生幻觉的信息丰富且具有挑战性的少样本样本。在三个数据集上的实验表明,NeuFS在推理和文本分类任务中均表现出色,优于现有的AFSL基线。消融研究进一步强调,内部神经元激活比外部嵌入提供了更原则性和有效的选择信号,验证了所提出的NeuFS的优越性。

英文摘要:

Active Few-Shot Learning (AFSL) adapts LLMs to specialized domains by identifying the most valuable unlabeled samples for annotation and use as few-shot demonstrations, effectively reducing human annotation costs while promoting high performance. However, existing methods typically rely on output-level signals for sample identification, such as predictive entropy or semantic similarities with test-time data based on external embeddings, which often overlook models' internal dynamics, which could pinpoint specific knowledge gaps. To bridge this gap, we propose NeuFS, a Neuron-Aware Active Few-Shot Learning framework that shifts the selection paradigm from output-level proxies to models' internal dynamics. NeuFS utilizes neuron activation patterns to represent sample directly, and includes a dual-criteria selection strategy that: (1) ensures few-shot sample diversity with neuron patterns for broader example coverage, while (2) prioritizing on identifying informative and challenging few-shot samples LLMs tend to hallucinate by quantifying neuron consensus. Experiments on three datasets demonstrate that NeuFS excels in both reasoning and text classification tasks, outperforming existing AFSL baselines. Ablation studies further highlight that internal neuron activations provide a more principled and effective selection signal than external embeddings, validating the superiority of the proposed NeuFS.

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

↑