通过神经元级分析揭示大模型文化理解的内在机制。
Neuron-Level Analysis of Cultural Understanding in Large Language Models
- 提出梯度评分法定位文化相关神经元,区分通用与特定文化神经元。
- 文化神经元占比不足1%,抑制后文化基准性能下降最高30%。
- 发现文化神经元可跨文化泛化,适合模型公平性优化研究者阅读。
随着大语言模型在全球范围部署,确保其公平且全面的文化理解至关重要。然而,大模型存在文化偏见且对弱势文化认知有限,其文化理解机制仍不明确。为此,我们开展神经元级分析,提出基于梯度的评分方法并引入过滤机制,精准识别驱动文化行为的神经元。我们发现,文化通用神经元和文化特定神经元分别在不同文化中起作用,二者合计不足全部神经元的1%,集中于浅层至中层MLP层。通过抑制这些神经元,文化基准性能最高下降30%,而通用自然语言理解(NLU)任务表现基本不受影响。此外,文化特定神经元不仅支持目标文化知识,也涵盖相关文化。最后,我们在更新包含大量文化通用神经元的模块时,发现仅在NLU基准上训练会削弱模型的文化理解能力。研究为理解大模型内部机制提供了新视角,并为模型训练与工程提供实践指导。代码已开源:https://github.com/ynklab/CULNIG。
原文摘要 · Abstract (English)
As large language models (LLMs) are increasingly deployed worldwide, ensuring their fair and comprehensive cultural understanding is important. However, LLMs exhibit cultural bias and limited awareness of underrepresented cultures, while the mechanisms underlying their cultural understanding remain underexplored. To fill this gap, we conduct a neuron-level analysis to identify neurons that drive cultural behavior, introducing a gradient-based scoring method with additional filtering for precise refinement. We identify culture-general neurons contributing to cultural understanding regardless of cultures, and culture-specific neurons tied to an individual culture. Culture-general and culture-specific neurons account for less than 1% of all neurons and are concentrated in shallow to middle MLP layers. We validate their role by showing that suppressing them substantially degrades performance on cultural benchmarks (by up to 30%), while performance on general natural language understanding (NLU) benchmarks remains largely unaffected. Moreover, we show that culture-specific neurons support knowledge of not only the target culture, but also related cultures. Finally, we demonstrate that training on NLU benchmarks can diminish models' cultural understanding when we update modules containing many culture-general neurons. These findings provide insights into the internal mechanisms of LLMs and offer practical guidance for model training and engineering. Our code is available at https://github.com/ynklab/CULNIG
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。