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

原子化文学风格塑造:神经语言模型中散文生成的机制性操控

Atomic Literary Styling: Mechanistic Manipulation of Prose Generation in Neural Language Models

Mongol AI(蒙古AI)

Tsogt-Ochir Enkhbayar

AI总结:

本文通过分析 GPT-2 在 Melville 语料上的神经元激活并开展消融,发现高文学判别神经元并非生成优质散文所必需,移除部分神经元反而显著提升风格表现。

摘要:

我们对 GPT-2 中的文学风格进行了机制性分析,识别出可区分典范散文与生硬 AI 生成文本的单个神经元。研究以 Herman Melville 的《Bartleby, the Scrivener》为语料,从后几层的 32,768 个神经元中提取涉及 3.55 亿参数的激活模式。我们发现 27,122 个具有统计显著性的判别神经元(p < 0.05),效应量最高达到 |d| = 1.4。通过系统性消融研究,我们得到一个悖论性结果:尽管这些神经元在分析中与文学文本相关,但移除它们往往会提升而非降低生成散文的质量。具体而言,消融 50 个高判别性神经元可使文学风格指标提升 25.7%。这表明神经网络中的观察相关性与因果必要性之间存在关键差距。我们的发现挑战了如下假设:在理想输入上激活的神经元会在生成过程中产生相应输出;这对机制可解释性研究和 AI 对齐具有启示意义。

英文摘要:

We present a mechanistic analysis of literary style in GPT-2, identifying individual neurons that discriminate between exemplary prose and rigid AI-generated text. Using Herman Melville's Bartleby, the Scrivener as a corpus, we extract activation patterns from 355 million parameters across 32,768 neurons in late layers. We find 27,122 statistically significant discriminative neurons ($p < 0.05$), with effect sizes up to $|d| = 1.4$. Through systematic ablation studies, we discover a paradoxical result: while these neurons correlate with literary text during analysis, removing them often improves rather than degrades generated prose quality. Specifically, ablating 50 high-discriminating neurons yields a 25.7% improvement in literary style metrics. This demonstrates a critical gap between observational correlation and causal necessity in neural networks. Our findings challenge the assumption that neurons which activate on desirable inputs will produce those outputs during generation, with implications for mechanistic interpretability research and AI alignment.

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

↑