arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.00859cs.CL
收藏

FlowNIB:双向与单向语言模型的信息瓶颈分析

FlowNIB: An Information Bottleneck Analysis of Bidirectional vs. Unidirectional Language Models

University of Central Florida(中央佛罗里达大学);University of Pennsylvania(宾夕法尼亚大学);Delineate Inc.(Delineate公司)

Md Kowsher, Nusrat Jahan Prottasha, Shiyun Xu, Shetu Mohanto, Ozlem Garibay, Niloofar Yousefi, Chen Chen

AI总结:

本文通过信息瓶颈原理分析双向语言模型优势,提出FlowNIB方法估计互信息,证明双向表示更信息丰富,并提供解释双向架构有效性的理论框架与实用分析工具。

摘要:

双向语言模型具有更好的上下文理解能力,在自然语言理解任务上表现优于单向模型,然而这种优势背后的理论原因仍不清楚。在本工作中,我们通过信息瓶颈(IB)原理的视角来研究这一差异,该原理形式化了压缩输入信息与保留任务相关内容之间的权衡。我们提出了FlowNIB,一种在训练过程中估计互信息的动态且可扩展的方法,它解决了经典IB方法的关键局限性,包括计算上的不可行性和固定的权衡调度。理论上,我们证明双向模型保留更多的互信息,并表现出比单向模型更高的有效维度。为支持这一观点,我们提出了一个用于衡量表示复杂度的广义框架,并证明在温和条件下双向表示严格更具信息量。我们进一步通过使用FlowNIB在多个模型和任务上的广泛实验验证了我们的发现,揭示了信息在训练过程中是如何被编码和压缩的。总之,我们的工作为双向架构的有效性提供了原则性的解释,并引入了一种用于分析深度语言模型中信息流动的实用工具。

英文摘要:

Bidirectional language models have better context understanding and perform better than unidirectional models on natural language understanding tasks, yet the theoretical reasons behind this advantage remain unclear. In this work, we investigate this disparity through the lens of the Information Bottleneck (IB) principle, which formalizes a trade-off between compressing input information and preserving task-relevant content. We propose FlowNIB, a dynamic and scalable method for estimating mutual information during training that addresses key limitations of classical IB approaches, including computational intractability and fixed trade-off schedules. Theoretically, we show that bidirectional models retain more mutual information and exhibit higher effective dimensionality than unidirectional models. To support this, we present a generalized framework for measuring representational complexity and prove that bidirectional representations are strictly more informative under mild conditions. We further validate our findings through extensive experiments across multiple models and tasks using FlowNIB, revealing how information is encoded and compressed throughout training. Together, our work provides a principled explanation for the effectiveness of bidirectional architectures and introduces a practical tool for analyzing information flow in deep language models.

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

↑