arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09714cs.CLcs.AI
收藏

从语言模型中归纳语言结构

Linguistic Structure Induction from Language Models

INSTITUT FÜR INFORMATIK(信息学研究所)

Omar Momen

AI总结:

本论文研究从语言模型中无监督地归纳成分和依存句法结构,重点分析StructFormer模型,通过六个实验评估其性能,并参与BabyLM挑战赛,结果表明改造transformer模型以诱导句法结构具有可行性。

摘要:

线性排列的单词序列在我们的大脑中隐式地由层级结构所表示,这些结构组织了句子中单词的组成方式。语言学家形式化了不同的框架来建模这种层级;其中两种最常见的句法框架是成分句法和依存句法。成分句法将句子表示为短语的嵌套组,而依存句法通过为句子中的单词分配关系来表示句子。近年来,对智能机器的追求产生了能够以人类水平性能解决许多语言任务的语言模型(LMs)。许多研究现在质疑语言模型是否隐式地表示句法层级。本论文聚焦于在无监督设置下从语言模型中生成成分结构和依存结构。我回顾了该领域的关键方法,并强调了一条利用数值表示二元成分树(句法距离)的研究路线。我对StructFormer(SF)(Shen等人,2021)进行了详细研究,该模型通过解析器网络改造transformer编码器架构以生成成分和依存结构。我进行了六个实验来分析和解决该领域的挑战;实验包括研究在SF架构内重新定位解析器网络的影响,评估基于子词的诱导树,以及在语言任务上对论文实验中开发的模型进行基准测试。模型基准测试通过参与BabyLM挑战赛进行,该挑战赛发表于CoNLL 2023(Momen等人,2023)。本论文的结果鼓励了在改造基于transformer的模型以诱导句法结构方向上的进一步发展,这得益于SF在不同实验设置中的可接受性能以及观察到的需要创新解决方案以推进句法结构归纳现状的局限性。

英文摘要:

Linear sequences of words are implicitly represented in our brains by hierarchical structures that organize the composition of words in sentences. Linguists formalize different frameworks to model this hierarchy; two of the most common syntactic frameworks are Constituency and Dependency. Constituency represents sentences as nested groups of phrases, while dependency represents a sentence by assigning relations between its words. Recently, the pursuit of intelligent machines has produced Language Models (LMs) capable of solving many language tasks with a human-level performance. Many studies now question whether LMs implicitly represent syntactic hierarchies. This thesis focuses on producing constituency and dependency structures from LMs in an unsupervised setting. I review the critical methods in this field and highlight a line of work that utilizes a numerical representation for binary constituency trees (Syntactic Distance). I present a detailed study on StructFormer (SF) (Shen et al., 2021), which retrofits a transformer encoder architecture with a parser network to produce constituency and dependency structures. I present six experiments to analyze and address this field's challenges; experiments include investigating the effect of repositioning the parser network within the SF architecture, evaluating subword-based induced trees, and benchmarking the models developed in the thesis experiments on linguistic tasks. Models benchmarking is performed by participating in the BabyLM challenge, published at CoNLL 2023 (Momen et al., 2023). The results of this thesis encourage further development in the direction of retrofitting transformer-based models to induce syntactic structures, supported by the acceptable performance of SF in different experimental settings and the observed limitations that require innovative solutions to advance the state of syntactic structure induction.

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

↑