Skip to main content
QUICK REVIEW

[Paper Review] A Statistical Investigation of Long Memory in Language and Music

Alexander Greaves-Tunnell, Zaïd Harchaoui|arXiv (Cornell University)|Apr 8, 2019
Music and Audio ProcessingComputer Science45 references7 citations
TL;DR

This paper proposes a statistical framework for quantifying long-range dependence in language and music using fractional integration theory, applying it to evaluate whether RNNs learn long memory from real-world data. Despite being trained for benchmark performance, multiple RNN architectures—including LSTM and SCRN—fail to represent the long-range dependencies present in the data, as shown by hypothesis testing on estimated memory parameters.

ABSTRACT

Representation and learning of long-range dependencies is a central challenge confronted in modern applications of machine learning to sequence data. Yet despite the prominence of this issue, the basic problem of measuring long-range dependence, either in a given data source or as represented in a trained deep model, remains largely limited to heuristic tools. We contribute a statistical framework for investigating long-range dependence in current applications of deep sequence modeling, drawing on the well-developed theory of long memory stochastic processes. This framework yields testable implications concerning the relationship between long memory in real-world data and its learned representation in a deep learning architecture, which are explored through a semiparametric framework adapted to the high-dimensional setting.

Motivation & Objective

  • To develop a statistically rigorous method for measuring long-range dependence in sequence data such as language and music.
  • To assess whether trained RNNs accurately represent long memory structures observed in real-world data.
  • To address the lack of formal statistical evaluation for long-range dependency in deep learning models.
  • To test the hypothesis that RNNs trained for benchmark performance do not adequately learn long memory from data.
  • To provide a high-dimensional, semiparametric methodology for estimating and testing long memory in multivariate time series representations.

Proposed method

  • The framework uses fractional integration theory to define long memory via the power-law decay of autocovariance at long lags, parameterized by the memory parameter d.
  • It applies the multivariate estimator of Shimotsu (2007) to estimate the total memory statistic, a normalized sum of estimated d parameters across components.
  • Hypothesis testing is conducted using the total memory statistic to test whether d = 0 (no long memory) against one-sided alternatives (positive or negative memory).
  • The method is adapted to high-dimensional settings by using bandwidth selection and resampling techniques to stabilize inference.
  • Experiments involve simulating fractionally differenced inputs and white noise inputs to test RNNs' ability to preserve or generate long memory in hidden states.
  • The approach is validated on diverse language and music datasets, with statistical inference performed across 100 trials per model.

Experimental results

Research questions

  • RQ1Do real-world language and music sequences exhibit statistically significant long-range dependence?
  • RQ2Can standard RNN architectures such as LSTM and SCRN accurately represent the long memory structure of their training data?
  • RQ3Do RNNs trained for benchmark performance fail to learn long-range dependencies despite architectural design for this purpose?
  • RQ4Can RNNs transform white noise inputs into representations with nontrivial long memory?
  • RQ5Is the total memory statistic a reliable and interpretable metric for evaluating long-range dependence in deep sequence models?

Key findings

  • Natural language and music data exhibit strong long-range dependence, with estimated memory parameters d > 0, confirming the presence of long memory.
  • LSTM (trained) models showed a normalized total memory of -8.36×10⁻³ with a p-value of 4.07×10⁻², failing to reject the null hypothesis that d = 0.
  • Untrained LSTM and SCRN models also failed to represent long memory, with p-values < 1×10⁻¹⁶ and -2.62×10⁻² normalized memory, respectively.
  • When fed white noise inputs, no RNN model generated a statistically significant long memory representation, with p-values ranging from 0.324 to 0.583.
  • The memory cell architecture showed a normalized total memory of -1.18×10⁻² and a p-value of 1.52×10⁻², indicating failure to capture long memory.
  • Despite achieving benchmark performance, all evaluated RNNs failed both statistical criteria for representing long-range dependencies in the data.

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.