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

语言模型如何获取字符级信息?

How Do Language Models Acquire Character-Level Information?

Graduate School of Informatics, Nagoya University(名古屋大学信息学研究科)

Soma Sato, Ryohei Sasano

AI总结:

本研究通过对比不同训练设置,揭示了语言模型获取字符级信息的机制,发现合并规则、正字法约束以及子字符串的语义关联和句法信息是关键因素。

摘要:

语言模型(LMs)已被报告为隐式编码了字符级信息,尽管在训练过程中并未显式提供。然而,这一现象背后的机制仍 largely 未被探索。为了揭示这些机制,我们通过比较在受控设置下训练的模型(如指定预训练数据集或分词器)与标准设置下训练的模型,分析模型如何获取字符级知识。我们将贡献因素分为与分词无关的类别。我们的分析表明,合并规则和正字法约束是源于分词的主要因素,而子字符串的语义关联和句法信息则作为与分词无关的关键因素。

英文摘要:

Language models (LMs) have been reported to implicitly encode character-level information, despite not being explicitly provided during training. However, the mechanisms underlying this phenomenon remain largely unexplored. To reveal the mechanisms, we analyze how models acquire character-level knowledge by comparing LMs trained under controlled settings, such as specifying the pre-training dataset or tokenizer, with those trained under standard settings. We categorize the contributing factors into those independent of tokenization. Our analysis reveals that merge rules and orthographic constraints constitute primary factors arising from tokenization, whereas semantic associations of substrings and syntactic information function as key factors independent of tokenization.

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

↑