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

Md Kowsher, Nusrat Jahan Prottasha, Shiyun Xu, Shetu Mohanto, Ozlem Garibay +2 more
6/1/2025
cs.CL

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kowsher2025flownib,
  title  = {FlowNIB: An Information Bottleneck Analysis of Bidirectional vs. Unidirectional Language Models},
  author = {Md Kowsher and Nusrat Jahan Prottasha and Shiyun Xu and Shetu Mohanto and Ozlem Garibay and Niloofar Yousefi and Chen Chen},
  year   = {2025},
  eprint = {2506.00859},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.00859v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.00859.svg)](https://codeofpaper.com/paper/2506.00859)

Discussion