Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Natural Language Processing with Recurrence Quantification Analysis

Rick Dale, Nicholas D. Duran|arXiv (Cornell University)|Mar 19, 2018
Advanced Text Analysis TechniquesComputer Science41 references6 citations
TL;DR

This paper introduces recurrence quantification analysis (RQA) as a dynamic natural language processing (NLP) method to analyze sequential text structure by treating word sequences as dynamical systems. It demonstrates that RQA measures—such as recurrence rate, determinism, and entropy—correlate with traditional NLP metrics like n-grams and successfully classify 8,000 texts from the Gutenberg Project by genre with R² values up to 0.24, offering a new framework for studying text as a cognitive dynamic process.

ABSTRACT

Writing and reading are dynamic processes. As an author composes a text, a sequence of words is produced. This sequence is one that, the author hopes, causes a revisitation of certain thoughts and ideas in others. These processes of composition and revisitation by readers are ordered in time. This means that text itself can be investigated under the lens of dynamical systems. A common technique for analyzing the behavior of dynamical systems, known as recurrence quantification analysis (RQA), can be used as a method for analyzing sequential structure of text. RQA treats text as a sequential measurement, much like a time series, and can thus be seen as a kind of dynamic natural language processing (NLP). The extension has several benefits. Because it is part of a suite of time series analysis tools, many measures can be extracted in one common framework. Secondly, the measures have a close relationship with some commonly used measures from natural language processing. Finally, using recurrence analysis offers an opportunity expand analysis of text by developing theoretical descriptions derived from complex dynamic systems. We showcase an example analysis on 8,000 texts from the Gutenberg Project, compare it to well-known NLP approaches, and describe an R package (crqanlp) that can be used in conjunction with R library crqa.

Motivation & Objective

  • To establish a conceptual and computational framework for analyzing text as a dynamic system using recurrence quantification analysis (RQA).
  • To demonstrate that RQA measures are formally equivalent to and extend traditional NLP metrics such as n-gram models.
  • To show that dynamic features of text—like recurrence, determinism, and entropy—can be used to classify literary genres from large corpora.
  • To extend RQA to semantic representations using word2vec and to multimodal analysis via joint recurrence plots (JRPs).

Proposed method

  • RQA is applied to word sequences by treating them as time series, where recurrence is defined by word similarity within a distance threshold.
  • Key RQA measures—recurrence rate (RR), determinism (DET), entropy (ENT), maximum line length (MAXLINE), and mean line length (MEANLINE)—are computed to quantify dynamic structure.
  • The method uses the crqa R package to compute RQA metrics on raw word sequences and on semantic trajectories derived from word2vec embeddings.
  • Semantic recurrence plots (RPs) are generated by computing distance matrices from D-dimensional word2vec vectors and applying a threshold to define recurrence.
  • Joint recurrence plots (JRPs) are constructed by element-wise multiplication of multiple RPs, enabling co-occurrence analysis across modalities like syntax and semantics.
  • The approach is validated on 8,000 texts from the Gutenberg Project, with RQA features used to predict genre using linear models.

Experimental results

Research questions

  • RQ1How can recurrence quantification analysis (RQA) be adapted to analyze the sequential dynamics of written text as a cognitive process?
  • RQ2What formal relationships exist between RQA measures and traditional n-gram models in natural language processing?
  • RQ3Can RQA-based dynamic features classify literary genres from large text corpora with high accuracy?
  • RQ4How can semantic representations from word2vec models be used to generate semantic recurrence plots (RPs) for dynamic text analysis?
  • RQ5Can joint recurrence plots (JRPs) reveal co-occurring patterns across multiple levels of linguistic analysis, such as syntax and semantics?

Key findings

  • RQA measures such as recurrence rate (RR), determinism (DET), and entropy (ENT) show strong correlations with traditional n-gram statistics, providing a dynamic reinterpretation of sequence structure.
  • The RQA framework successfully classifies 8,000 texts from the Gutenberg Project into genre categories, with R² values ranging from 0.10 to 0.24 across different RQA measures.
  • Semantic recurrence plots (RPs) generated from word2vec embeddings successfully capture dynamic patterns in text, enabling RQA analysis on semantic trajectories.
  • Joint recurrence plots (JRPs) reveal co-occurrence of multiple linguistic levels, such as syntax and semantics, offering a new pathway for multimodal dynamic text analysis.
  • The R package crqanlp, built on the crqa library, enables end-to-end RQA analysis of text, supporting both raw word sequences and semantic embeddings.
  • The study demonstrates that dynamic features derived from RQA—especially DET and ENT—capture subtle structural patterns in text that are not fully reflected in standard n-gram models.

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.