arXiv:2602.06065stat.MLcond-mat.dis-nn2026-02中稿 · ICML被引 4

深度网络通过局部统计学学会解析上下文无关语法。

Deep networks learn to parse uniform-depth context-free languages from local statistics

  • 设计可调模糊度与多尺度相关性的PCFG测试集
  • 发现不同尺度相关性可消除局部歧义
  • 验证卷积与Transformer模型均具此能力

理解仅从句子中学习语言结构的机制,是认知科学与机器学习的核心问题。尽管大型语言模型在预测下一个词时展现出解析能力,并能独立于表层形式表示语义,但其背后所需的数据统计特性及样本复杂度仍不清楚。概率上下文无关文法(PCFGs)为研究该问题提供了可计算的实验平台。本文提出:(i) 一类可调节模糊度与多尺度相关结构的PCFG;(ii) 一种受深层卷积网络启发的推断算法,将可学习性与样本复杂度关联到具体语言统计特征;(iii) 在深层卷积网络与基于Transformer的架构上实证验证了预测结果。整体上,我们构建了一个统一框架:不同尺度的相关性可消除局部歧义,从而促进数据的层次化表征生成。

原文摘要 · Abstract (English)

Understanding how the structure of language can be learned from sentences alone is a central question in both cognitive science and machine learning. Studies of the internal representations of Large Language Models (LLMs) support their ability to parse text when predicting the next word, while representing semantic notions independently of surface form. Yet, which data statistics make these feats possible, and how much data is required, remain largely unknown. Probabilistic context-free grammars (PCFGs) provide a tractable testbed for studying these questions. However, prior work has focused either on the post-hoc characterization of the parsing-like algorithms used by trained networks; or on the learnability of PCFGs with fixed syntax, where parsing is unnecessary. Here, we (i) introduce a tunable class of PCFGs in which both the degree of ambiguity and the correlation structure across scales can be controlled; (ii) provide a learning mechanism -- an inference algorithm inspired by the structure of deep convolutional networks -- that links learnability and sample complexity to specific language statistics; and (iii) validate our predictions empirically across deep convolutional and transformer-based architectures. Overall, we propose a unifying framework where correlations at different scales lift local ambiguities, enabling the emergence of hierarchical representations of the data.

语言建模结构学习深度网络语法解析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。