Riordan Arrays as Structured Operators for Artificial Intelligence

Dennis Davenport, Dewayne A. Dixon, Moussa DoumbiaarXiv 2026 · arXiv

This research discussion paper, titled "Riordan Arrays as Structured Operators for Artificial Intelligence," explores a fascinating intersection between combinatorial mathematics and machine learning. The authors propose that a specific class of infinite matrices, known as Riordan arrays, could serve as a powerful new building block for neural networks.

TL;DR

The paper proposes using Riordan arrays—a tool from combinatorics—as a new class of structured linear operators for AI. By combining convolution with formal power series substitution, they offer a parameter-efficient and interpretable way to model causal, hierarchical, or recursive data across varying sequence lengths.

What Problem Does This Paper Address?

In modern AI, most learned weight matrices are treated as arbitrary, finite arrays of numbers. This approach has two major drawbacks:

  1. Parameter Inefficiency: Large matrices require a massive number of parameters, which can lead to overfitting and high computational costs.
  2. Lack of Interpretability: It is nearly impossible to look at a dense weight matrix and understand the underlying "rule" it has learned.

While structured matrices like Toeplitz (used in convolutions) or those found in State-Space Models (SSMs) address some of these issues, they don't naturally capture hierarchical or recursively generated data structures. The authors argue that Riordan arrays provide a compact algebraic language to describe transformations that are consistent across different data lengths, offering a unique "inductive bias" for specific types of data.

Methods

A Riordan array is defined by a pair of formal power series, $(g(z), f(z))$. Instead of learning $N^2$ weights, a model only needs to learn the coefficients of these two series (roughly $2N$ parameters).

The core operation is the Fundamental Theorem of Riordan Arrays, which describes how they transform a data sequence $X(z)$: $$X(z) \longmapsto g(z)X(f(z))$$

This operation combines two familiar concepts:

  • Multiplication by $g(z)$: This is equivalent to a causal convolution (a standard filter).
  • Composition with $f(z)$: This is a "formal substitution" that acts like an index-dependent filter, where the kernel changes based on the position in the sequence.

The authors identify several important subgroups of these arrays that impose different constraints on the data transformation, as shown in the table below:

Standard subgroups of the Riordan group and their effects on data sequences.

Beyond direct matrix application, the authors suggest a production-matrix recurrent model. By learning the "A-sequence" and "Z-sequence" that generate the array row-by-row, a model could process streaming data one step at a time, similar to a Recurrent Neural Network (RNN).

Datasets

As this is a preliminary research discussion (a proposal), the paper does not include results from experiments on real-world datasets. Instead, the authors outline a rigorous two-phase experimental program:

  • Phase I (Synthetic): Using known Riordan operators (like the Pascal or Catalan arrays) with added noise to see if a model can recover the underlying algebraic rules.
  • Phase II (Benchmarks): Comparing Riordan-based models against established baselines like S4, Mamba, and standard Causal Convolutions on ordered-data benchmarks.

Key Insights and Ideas

  • Algebraic Interpretability: A learned Riordan layer isn't just a pile of numbers; it's a pair of functions. Researchers can analyze $g(z)$ and $f(z)$ to see if the model has discovered a specific recurrence or symbolic rule (e.g., a rational or algebraic form).
  • Length Consistency: Because Riordan arrays are defined as infinite objects, a model trained on sequences of length 20 can theoretically be applied to sequences of length 2000 without changing its internal logic.
  • Invertibility by Design: The paper highlights "pseudo-involutions"—a class of Riordan arrays where the inverse is mathematically simple to compute. This makes them ideal candidates for Normalizing Flows and Reversible Networks, where calculating the Jacobian determinant and inverse is usually a bottleneck.
  • Efficiency: While a dense matrix multiplication is $O(N^2)$, a Riordan layer can theoretically be applied in quasi-linear time ($O(N \log^2 N)$) using fast power series composition algorithms.

Key Results

The paper focuses on theoretical observations rather than empirical benchmarks:

  • Identifiability: The authors prove that a Riordan operator $(g, f)$ can be uniquely identified from just two input-output pairs.
  • Closed-form Determinants: They provide a simple formula for the determinant of a truncated Riordan matrix, which is essential for generative modeling.
  • Conditioning: They show that for pseudo-involutory layers, the numerical stability (condition number) is directly tied to the square of the matrix norm.

Limitations and Future Work

The authors are candid about the challenges ahead:

  • Numerical Stability: While the math works perfectly in "exact arithmetic," floating-point errors can accumulate quickly in power series composition, especially for combinatorial arrays like the Pascal matrix.
  • Memory Constraints: Unlike some state-space models that use a fixed-size "hidden state," a general Riordan operator might require access to the entire input history.
  • Deep Architectures: A single linear Riordan layer is limited. Creating a truly "deep" Riordan network will require careful integration with non-linear activations and multi-channel mixing.
  • Hardware Efficiency: Asymptotically fast algorithms don't always translate to fast GPU kernels. Developing "hardware-aware" implementations is a major open question.

The next step for this research is the execution of the proposed experimental program to see if these elegant mathematical structures can actually outperform current state-of-the-art sequence models.

Summary updated

Abstract

Riordan arrays have traditionally been studied as infinite lower-triangular matrices that encode generating-function transformations and combinatorial relationships. This note proposes a complementary direction: using Riordan arrays as structured operators in artificial intelligence and data analysis. For a data sequence with generating function $A(z)$, a Riordan array $(g(z),f(z))$ produces the transformation \[ A(z)\longmapsto g(z)A(f(z)). \] This yields a parameterized family of causal linear operators that combine convolution, substitution, and multiscale mixing. The resulting structure may support parameter-efficient neural-network layers, variable-length sequence models, interpretable recurrent systems, invertible architectures, and models for hierarchical or recursively generated data. We explain what the infinite-dimensional viewpoint does and does not provide, outline several possible architectures, identify theoretical and numerical challenges, and propose an initial experimental program. The aim is not to claim that Riordan arrays are appropriate for all data, but to identify settings in which their algebraic structure supplies a useful inductive bias.
BibTeX
@misc{davenport2026riordan,
  author = {Dennis Davenport and Dewayne A. Dixon and Moussa Doumbia},
  title = {{Riordan Arrays as Structured Operators for Artificial Intelligence}},
  year = {2026},
  eprint = {2611.15954},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15954},
}
Figure