cs.FLMar 27, 2026

Stringological sequence prediction I: efficient algorithms for predicting highly repetitive sequences

Authors: Vanessa Kosoy

Organizations: Faculty of Mathematics, Technion – Israel Institute of Technology, Haifa, Israel 3200003. · Computational Rational Agents Laboratory (coral-research.org), 2810 N Church St PMB 49028, Wilmington, DE 19802.

Abstract

We propose novel algorithms for sequence prediction based on ideas from stringology. These algorithms are time and space efficient and satisfy mistake bounds related to particular stringological complexity measures of the sequence. In this work (the first in a series) we focus on two such measures: (i) the size of the smallest straight-line program that produces the sequence, and (ii) the number of states in the minimal automaton that can compute any symbol in the sequence when given its position in base k as input. These measures are interesting because multiple rich classes of sequences studied in combinatorics of words (automatic sequences, morphic sequences, characteristic words) have low complexity and hence high predictability in this sense.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Stringological sequence prediction II: Right-to-left automaticity and related complexity measures

    Jul 19, 2026Vanessa KosoySequence PredictionSequence Modeling

  2. Stringological sequence prediction III: layered ziplines and a tradeoff between efficiency and expressivity

    Sep 17, 2026Vanessa KosoySequence ModelingSequence Prediction

  3. The Cost of Long Memory: State, Context, and Stability Complexity in Sequence Models

    Sep 24, 2026Yuheng SongSequence PredictionTime Series Forecasting