Skip to main content
QUICK REVIEW

[Paper Review] Mutual Information Scaling and Expressive Power of Sequence Models

Huitao Shen|arXiv (Cornell University)|May 10, 2019
Neural Networks and ApplicationsComputer Science54 references9 citations
TL;DR

This paper investigates the temporal scaling of mutual information in sequence models, showing that recurrent networks like RNNs and LSTMs exhibit exponentially decaying mutual information with temporal distance, while Transformers efficiently capture long-range, power-law decaying dependencies. The study establishes that Transformers are better suited for modeling natural sequences with slow-decaying correlations, such as language and stock prices, due to their attention mechanism enabling persistent long-range information flow.

ABSTRACT

Sequence models assign probabilities to variable-length sequences such as natural language texts. The ability of sequence models to capture temporal dependence can be characterized by the temporal scaling of correlation and mutual information. In this paper, we study the mutual information of recurrent neural networks (RNNs) including long short-term memories and self-attention networks such as Transformers. Through a combination of theoretical study of linear RNNs and empirical study of nonlinear RNNs, we find their mutual information decays exponentially in temporal distance. On the other hand, Transformers can capture long-range mutual information more efficiently, making them preferable in modeling sequences with slow power-law mutual information, such as natural languages and stock prices. We discuss the connection of these results with statistical mechanics. We also point out the non-uniformity problem in many natural language datasets. We hope this work provides a new perspective in understanding the expressive power of sequence models and shed new light on improving the architecture of them.

Motivation & Objective

  • To understand how sequence models like RNNs and Transformers scale in capturing long-range temporal dependencies.
  • To investigate the mutual information scaling behavior in recurrent and self-attention networks, particularly in relation to natural language and other power-law correlated sequences.
  • To identify architectural limitations of RNNs in modeling long-range correlations and compare them with the expressive power of Transformers.
  • To connect the findings to statistical mechanics, particularly the role of short-range interactions and criticality in model behavior.
  • To highlight non-uniformity issues in natural language datasets that may hinder learning of long-range dependencies.

Proposed method

  • Theoretical analysis of linear RNNs to derive the exponential decay of mutual information with temporal distance.
  • Empirical evaluation of nonlinear RNNs, including LSTMs, to validate the exponential decay of mutual information in practice.
  • Comparison of mutual information scaling between RNNs and Transformers using real-world datasets and synthetic models.
  • Use of statistical mechanics concepts, particularly the Ising model, to draw analogies between physical systems and sequence models.
  • Derivation of conditional distributions in the Ising model to show that nearest-neighbor interactions lead to one-gram-like behavior and exponential decay.
  • Application of Bayes' theorem and partition function manipulation to analyze conditional probabilities and their dependence on history.

Experimental results

Research questions

  • RQ1How does mutual information scale with temporal distance in recurrent neural networks such as LSTMs?
  • RQ2Can Transformers capture long-range dependencies more effectively than RNNs, particularly when mutual information decays as a power law?
  • RQ3What is the connection between the mutual information scaling in sequence models and concepts in statistical mechanics, such as criticality and short-range interactions?
  • RQ4Why do RNNs fail to model natural sequences with power-law long-range correlations, despite their recurrent structure?
  • RQ5How do data distribution non-uniformities in natural language datasets affect the learning of long-range dependencies in sequence models?

Key findings

  • Mutual information in linear RNNs decays exponentially with temporal distance, consistent with theoretical predictions.
  • Empirical results confirm that nonlinear RNNs, including LSTMs, also exhibit exponentially decaying mutual information, limiting their ability to model long-range dependencies.
  • Transformers can efficiently capture long-range mutual information with power-law decay, making them more suitable for modeling natural sequences like language and stock prices.
  • Theoretical analysis of the nearest-neighbor Ising model shows that such systems behave like one-gram models, with mutual information decaying exponentially, supporting the RNN findings.
  • The study identifies a non-uniformity problem in natural language datasets, where training and validation sets differ in statistical properties, potentially impairing long-range dependency learning.
  • The results suggest that architectural design—particularly attention mechanisms—plays a crucial role in enabling expressive power for modeling sequences with slow-decaying correlations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.