首页 > AI前沿 > Large-scale Neuron Community Discovery Reveals Neuron-Sparse Behaviors in Language Models

Large-scale Neuron Community Discovery Reveals Neuron-Sparse Behaviors in Language Models

arXiv自然语言 2026-11-18 01:33 21 阅读 查看原文
用户现在需要把给定的英文新闻正文排版成语义化HTML片段,按照规则来。首先,先看正文内容,没有需要分小节的部分?不对,先理清楚,每个自然段落用p包裹,有没有需要h2h3的?这里正文是连贯的?不对,先看原文是一段吗?不对,原文的内容是连续的,不过先看有没有需要处理的。哦,规则里说长文用h2h3划分小节,这里原文是一整段?不对,仔细看原文,是一个完整的段落?不对,等下,原文的内容:首先第一句是问题,然后讲之前的工作,然后引入方法,然后应用,评估,发现的功能,然后结果,最后结论。哦,不对,用户给的正文是一个自然段?不对,再看:原文是连续的一段?不对,等下,用户给的正文就是一段吗?不,仔细看,是一整段的内容?那首先,有没有需要h2h3的?可能不需要?不对,再仔细看规则,长文用h2h3划分,这里的内容是不是可以不用?不对,再看,有没有需要列表?原文里有没有列表?哦,原文里说“support functions like grammatical agreement, token-probability calibration, fixed phrases, in-context copying, addition, and multiplication.” 这里可以改成ul列表?不对,等下,规则说保留原文所有信息,不得增删改。哦,不对,原文的like后面是列举,那如果改成列表的话,是不是合适?等下,再看,原文的结构: 首先整个内容,我们可以看,有没有小节?比如,是不是可以分?不对,先看,首先,开头的问题是段落?不对,原文是一整段?不对,再仔细读用户给的正文: "What reusable units of computation can we discover within a language model's neurons? Prior work has shown that individual forward passes can often be sparsified post-hoc to small groups of neurons, but it has been unclear whether these groups form coherent computational entities reused across inputs. We introduce neuron community discovery, an unsupervised method for finding neuron groups that recur across prompts and are causally necessary and sufficient, within the layers they span, for common computations. The method combines gradient-based attribution, a graph connecting neurons that are repeatedly attributed together, and community detection. Applied to Llama-3.1-8B using ten million prompts, it discovers thousands of candidate communities. We evaluate them on held-out prompts through three causal tests: community necessity, sufficiency within a layer subset, and layer necessity. These tests identify groups whose removal disrupts predictions and whose retention preserves predictions despite ablating the remaining MLP neurons in the tested layers. Discovered communities support functions like grammatical agreement, token-probability calibration, fixed phrases, in-context copying, addition, and multiplication. With communities capped at 128 neurons across all layers, 10.3% of held-out prompts have at least one layer's contribution explained on a neuron-sparse basis. Coverage remains 8.7% when requiring at least four layers and 3.3% when requiring at least twelve. These results show that small groups of existing neurons can provide reusable computational components across prompts, and that such groups can be discovered at scale." 哦,是一整段?那首先,有没有需要用h2h3的?比如,是不是可以分几个小节?比如: 1. 研究问题与方法引入?不对,规则说不能增删改内容,所以小节标题不能用原文没有的?哦!哦对,规则4是保留原文所有信息,不得增删改内容。所以不能自己加小节标题!哦,对,那h2h3是划分小节,但如果没有原文的小节标题的话,是不是就不用?不对,等下,原文里有没有可以作为小节的?比如,原文的内容里有没有标题性质的?没有。那那怎么处理?哦,不对,再看规则2:“每个自然段落用

包裹,长文用

/

划分小节”——那如果原文没有小节的划分,那是不是就只用p?不对,等下,再看,原文里的“three causal tests”后面的列举,还有“functions like”后面的列举,这些可以用列表? 等下,规则3说列表内容用ul li,那原文里的“three causal tests: community necessity, sufficiency within a layer subset, and layer necessity.”这里的列举可以做成列表?还有“functions like grammatical agreement, token-probability calibration, fixed phrases, in-context copying, addition, and multiplication.”这里也可以做成列表? 还有,重要句子用strong,比如核心结论? 等下,还要注意不能增删改内容,所以改动的只是排版,文字内容不能改。 那现在开始构建: 首先,整个内容的第一部分,从开头到“for common computations.”?不对,原文是一整段?不对,等下,原文是不是一个自然段?那是不是整个用一个p?不对,不对,再仔细看,原文的结构: 首先,第一句是问题,然后讲 prior work,然后引入方法,然后讲方法的组成,然后讲应用结果,然后讲评估,然后讲功能,然后讲覆盖率,然后结论。 哦,不对,用户给的正文是一个连续的段落,没有分段?那是不是所有的都放在一个p里?但里面有列举的部分,可以嵌套列表? 等下,试试: 首先,第一句到最后,有没有需要分段的?不对,原文的输入是一个自然段吗?看用户给的正文:是的,就是一段连续的文本,没有换行分段。那按照规则2,每个自然段落用p包裹,那这里原文是一个自然段落,所以用一个p?但里面有列举,所以把列举的部分改成ul。 等下,先处理: 原文里的“three causal tests: community necessity, sufficiency within a layer subset, and layer necessity.”这里的冒号后面是三个测试,可以做成: three causal tests:
  • community necessity
  • sufficiency within a layer subset
  • layer necessity
然后“Discovered communities support functions like grammatical agreement, token-probability calibration, fixed phrases, in-context copying, addition, and multiplication.”这里可以改成: Discovered communities support functions like
  • grammatical agreement
  • token-probability calibration
  • fixed phrases
  • in-context copying
  • addition
  • multiplication
然后,重要的句子,比如核心的引入的方法,还有最后的结论,可以用strong? 等下,还要注意,不要加内容,所以原文的词语不能改。 那现在组织一下:

What reusable units of computation can we discover within a language model's neurons? Prior work has shown that individual forward passes can often be sparsified post-hoc to small groups of neurons, but it has been unclear whether these groups form coherent computational entities reused across inputs. We introduce neuron community discovery, an unsupervised method for finding neuron groups that recur across prompts and are causally necessary and sufficient, within the layers they span, for common computations. The method combines gradient-based attribution, a graph connecting neurons that are repeatedly attributed together, and community detection. Applied to Llama-3.1-8B using ten million prompts, it discovers thousands of candidate communities. We evaluate them on held-out prompts through three causal tests:

  • community necessity
  • sufficiency within a layer subset
  • layer necessity
These tests identify groups whose removal disrupts predictions and whose retention preserves predictions despite ablating the remaining MLP neurons in the tested layers. Discovered communities support functions like
  • grammatical agreement
  • token-probability calibration
  • fixed phrases
  • in-context copying
  • addition
  • multiplication
With communities capped at 128 neurons across all layers, 10.3% of held-out prompts have at least one layer's contribution explained on a neuron-sparse basis. Coverage remains 8.7% when requiring at least four layers and 3.3% when requiring at least twelve. These results show that small groups of existing neurons can provide reusable computational components across prompts, and that such groups can be discovered at scale.

等下,这样对吗?有没有增删改内容?检查一下:原文的内容都有,没有加,没有改。列表的部分都是原文里的内容,只是排版成列表。重要的部分用了strong,比如方法名称和最后的结论,合适。 等下,有没有需要h2h3