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

一种语言,两种文字:探究LLM概念表示中的文字不变性

One Language, Two Scripts: Probing Script-Invariance in LLM Concept Representations

Sripad Karne

AI总结:

本研究通过塞尔维亚双文测试,发现SAE特征在不同书写系统下仍保持语义一致性,表明模型能捕捉超越表面分词的抽象语义。

摘要:

稀疏自编码器(SAEs)所学习的特征代表抽象意义,还是与文本的书写方式相关?我们利用塞尔维亚双文(digraphia)作为受控测试环境来探讨这个问题:塞尔维亚语言既可以使用拉丁文也可以使用西里尔文书写,两者之间的字符映射几乎完美,使我们可以在保持意义不变的情况下改变正字法。关键的是,这些脚本完全以不同的方式分词,没有任何共享的标记。分析Gemma模型家族(270M-27B参数)中的SAE特征激活,我们发现不同塞尔维亚脚本中相同句子激活高度重叠的特征,远超随机基线。令人惊讶的是,改变脚本导致的表示分歧小于在同一脚本内进行改写,这表明SAE特征优先考虑意义而非正字法形式。跨脚本跨改写比较提供了反对记忆的证据,因为这些组合在训练数据中很少共现,但仍表现出显著的特征重叠。这种脚本不变性随着模型规模的增加而增强。总体而言,我们的发现表明,SAE特征可以在表面分词之上捕捉语义,我们提出塞尔维亚双文作为一般评估范式,用于探测学习表示的抽象性。

英文摘要:

Do the features learned by Sparse Autoencoders (SAEs) represent abstract meaning, or are they tied to how text is written? We investigate this question using Serbian digraphia as a controlled testbed: Serbian is written interchangeably in Latin and Cyrillic scripts with a near-perfect character mapping between them, enabling us to vary orthography while holding meaning exactly constant. Crucially, these scripts are tokenized completely differently, sharing no tokens whatsoever. Analyzing SAE feature activations across the Gemma model family (270M-27B parameters), we find that identical sentences in different Serbian scripts activate highly overlapping features, far exceeding random baselines. Strikingly, changing script causes less representational divergence than paraphrasing within the same script, suggesting SAE features prioritize meaning over orthographic form. Cross-script cross-paraphrase comparisons provide evidence against memorization, as these combinations rarely co-occur in training data yet still exhibit substantial feature overlap. This script invariance strengthens with model scale. Taken together, our findings suggest that SAE features can capture semantics at a level of abstraction above surface tokenization, and we propose Serbian digraphia as a general evaluation paradigm for probing the abstractness of learned representations.

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

↑