[Paper Review] Tensor network language model
This paper introduces a tensor network language model based on isometric tensor networks with tree-like topologies to capture long-range correlations in natural language, inspired by renormalization group flows in statistical physics. The model achieves criticality through hierarchical structure, enabling effective language modeling and statistical translation via unitary transformations at high-level 'meaning' layers.
We propose a new statistical model suitable for machine learning of systems with long distance correlations such as natural languages. The model is based on directed acyclic graph decorated by multi-linear tensor maps in the vertices and vector spaces in the edges, called tensor network. Such tensor networks have been previously employed for effective numerical computation of the renormalization group flow on the space of effective quantum field theories and lattice models of statistical mechanics. We provide explicit algebro-geometric analysis of the parameter moduli space for tree graphs, discuss model properties and applications such as statistical translation.
Motivation & Objective
- To address the failure of traditional models like hidden Markov models in capturing long-range correlations in natural language due to their exponential decay (mass gap), which contradicts the observed power-law decay in real languages.
- To develop a statistical language model that naturally exhibits criticality—matching the power-law mutual information decay (I(l) ∝ l⁻⁰.³⁷) observed in natural languages—by leveraging hierarchical tensor network structures.
- To enable statistical translation between languages by identifying a common 'meaning' layer at the infrared (IR) scale of the renormalization group flow, where different languages are conjectured to belong to the same universality class.
- To provide a geometric and algebro-geometric framework for analyzing the parameter moduli space of isometric tensor networks, particularly for tree graphs, using flag varieties and differential geometry.
- To establish a theoretical foundation for learning and sampling in tensor network language models using efficient recursive evaluation and gradient computation via backpropagation-like rules on the network structure.
Proposed method
- The model uses directed acyclic graphs (DAGs) with multi-linear isometric tensor maps at vertices and vector spaces on edges, forming an isometric pure state tensor network that preserves norm during hierarchical composition.
- The network is constructed via recursive composition over tree structures: word states are combined into sentence states at higher levels, mimicking renormalization group flow in statistical field theory.
- The probability of a sentence is computed via the inner product ⟨Ψ|o_s₁…sₖ|Ψ⟩, where o_s₁…sₖ is a projection operator fixing the first k words, enabling autoregressive generation and learning.
- Learning is performed via gradient descent on the tensor network parameters using the chain rule (backpropagation) applied to the composition map, with gradients computed via pullback along the network’s recursive structure.
- Sampling is achieved by recursively evaluating the state vector at each leaf and generating sequences based on the amplitude distribution |ψ_s|², allowing probabilistic output of full sentences.
- For translation, a unitary transformation S₂₁ is applied between the high-level 'meaning' layers (IR scales) of two language networks, mapping a state in language L₁ to a superposition of states in L₂ with probabilities |ψ_s|².
Experimental results
Research questions
- RQ1Can a tensor network model with tree-like topology and isometric maps reproduce the power-law decay of mutual information (I(l) ∝ l⁻⁰.³⁷) observed in natural languages, unlike traditional mass-gapped models?
- RQ2How can the parameter moduli space of isometric tensor networks be described geometrically, particularly for tree graphs, and what does this imply for model expressivity and learning?
- RQ3Can a universal 'meaning' layer be identified at the infrared (IR) scale of the renormalization group flow, such that different human languages are in the same critical universality class?
- RQ4To what extent can the proposed model support statistical translation by connecting isometric tensor networks of different languages via a unitary transformation at the high-level layer?
- RQ5How can efficient learning and sampling be achieved in such a model, given the hierarchical and recursive structure of the network?
Key findings
- The model successfully captures long-range correlations in natural language by exhibiting power-law mutual information decay (I(l) ∝ l⁻⁰.³⁷), consistent with empirical measurements in texts like 'Moby Dick' and Grimm’s Tales.
- Tree-structured isometric tensor networks provide a geometric framework for the parameter moduli space, which is identified as a flag variety, enabling algebro-geometric analysis of model parameters.
- The model enables statistical translation by connecting two language networks via a unitary transformation S₂₁ at the high-level 'meaning' layer, producing a superposition of translated phrases with associated probabilities.
- Sampling from the model is efficiently implemented via recursive evaluation over the tree, with sequence probabilities derived from the norm of the state vector after projecting onto word sequences.
- Learning is efficiently performed using gradient computation via the chain rule (backpropagation) on the composition map, with local gradients computed by pulling back tangent vectors through the network structure.
- The model suggests that all human natural languages may belong to the same critical universality class at the IR scale of the renormalization group flow, supporting the idea of a shared semantic or conceptual layer underlying linguistic diversity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.