SymSeqBench: a unified framework for the generation and analysis of rule-based symbolic sequences and datasets
Barna Zajzon, Younes Bouhadjar, Maxime Fabre, Felix Schmidt, Noah Ostendorf, Emre Neftci, Abigail Morrison, Renato Duarte
TL;DR
SymSeqBench presents a domain-agnostic framework for generating and analyzing structured symbolic sequences rooted in Formal Language Theory. It couples SymSeq for grammar-based sequence generation with SeqBench for grounding symbols into embeddings and datasets, enabling multi-scale analysis from token to grammar levels and complexity-controlled task design such as AGL and NAD paradigms. A key contribution is complexity-guided grammar synthesis using Topological Entropy $TE = \log(\lambda_1)$ and ERGM-based sampling to produce regular grammars with target complexity, plus a comprehensive, modular metric suite that supports inference and benchmarking across biological, neuromorphic, and artificial systems. The framework facilitates reproducible cross-domain research, bridging cognitive science and AI by providing open-source tools, YAML-driven pipelines, and flexible embedding strategies for experiment-ready data and scalable benchmarks.
Abstract
Sequential structure is a key feature of multiple domains of natural cognition and behavior, such as language, movement and decision-making. Likewise, it is also a central property of tasks to which we would like to apply artificial intelligence. It is therefore of great importance to develop frameworks that allow us to evaluate sequence learning and processing in a domain agnostic fashion, whilst simultaneously providing a link to formal theories of computation and computability. To address this need, we introduce two complementary software tools: SymSeq, designed to rigorously generate and analyze structured symbolic sequences, and SeqBench, a comprehensive benchmark suite of rule-based sequence processing tasks to evaluate the performance of artificial learning systems in cognitively relevant domains. In combination, SymSeqBench offers versatility in investigating sequential structure across diverse knowledge domains, including experimental psycholinguistics, cognitive psychology, behavioral analysis, neuromorphic computing and artificial intelligence. Due to its basis in Formal Language Theory (FLT), SymSeqBench provides researchers in multiple domains with a convenient and practical way to apply the concepts of FLT to conceptualize and standardize their experiments, thus advancing our understanding of cognition and behavior through shared computational frameworks and formalisms. The tool is modular, openly available and accessible to the research community.
