LGDIS-NNITMLMay 10, 2019

Mutual Information Scaling and Expressive Power of Sequence Models

arXiv:1905.04271v121 citations
Originality Incremental advance
AI Analysis

This work provides insights into the expressive power of sequence models, potentially guiding architectural improvements for tasks requiring long-range dependencies, though it is incremental in analyzing existing models.

The paper studied the ability of sequence models like RNNs and Transformers to capture temporal dependencies by analyzing mutual information scaling, finding that RNNs exhibit exponential decay in mutual information over time, while Transformers more efficiently handle long-range dependencies with power-law scaling, as seen in natural language and stock prices.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes