NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bounded Parikh Automata

Michaël Cadilhac, Alain Finkel, Pierre McKenzie · OpenReview

Abstract

The Parikh finite word automaton model (PA) was introduced and studied by Klaedtke and Ruess in 2003. Here, by means of related models, it is shown that the bounded languages recognized by PA are the same as those recognized by deterministic PA. Moreover, this class of languages is the class of bounded languages whose set of iterations is semilinear.

TL;DR

This research proves a significant result in formal language theory: while Parikh Automata (PA) are generally not determinizable, they become so when restricted to bounded languages. The authors demonstrate that bounded PA languages are exactly the class of Bounded Semilinear Languages (BSL), providing a bridge between counting-based automata and classical language hierarchies.

The Challenge of Determinization

In theoretical computer science, there is a constant tension between expressiveness (what a model can describe) and determinism (how easily we can analyze it). Standard finite automata are easy to handle but cannot count occurrences of symbols (e.g., checking if the number of 'a's equals the number of 'b's).

Parikh Automata (PA) address this by adding a "global counter" constraint: an automaton accepts a word only if the total count of its transitions falls within a specific "semilinear" set. While powerful, PA have a major drawback: they are not generally determinizable. You cannot always find a deterministic version of a PA that recognizes the same language. This paper asks: Is there a natural subclass of languages where Parikh Automata behave predictably and can be made deterministic?

Methodology: Bridging the Gap

The authors focus on bounded languages—languages where all words follow a fixed pattern of repetitions, such as $w_1^* w_2^* \dots w_n^*$. To prove determinizability in this context, they employ several theoretical frameworks:

  • Constrained Automata (CA): A simplified PA model where constraints apply directly to transition firing counts.
  • Flat Automata: Automata with a specific structure—essentially a sequence of states with loops but no nested loops—which is the natural "shape" for recognizing bounded languages.
  • Affine Parikh Automata (APA): An extension where transitions apply affine transformations (e.g., $f(x) = Mx + v$) to a vector of counters. This model serves as a crucial intermediate step for tracking multiple possible counter values simultaneously.
  • Semilinear Regular Expressions (SLRE): Used to decompose complex languages into simpler "branches" that are easier to determinize.

Key Insights

  • Boundedness as a Simplifier: The rigid structure of bounded languages limits the "confusion" a non-deterministic automaton can encounter. Because words must follow a specific order, the automaton's state space becomes manageable.
  • The BSL Connection: The authors prove that the class of languages recognized by bounded PA is exactly BSL (Bounded Semilinear Languages). This is a "Goldilocks" class: more expressive than regular languages but still mathematically well-behaved.
  • Affine Transformations for Determinization: To turn a non-deterministic model into a deterministic one, the authors use affine functions to keep track of multiple possible counter values. By showing the "monoid" of these functions is finite, they prove the resulting deterministic automaton does not require infinite memory.

Results and Implications

The paper establishes two primary theorems:

  1. Determinization Theorem: For bounded languages, Parikh Automata and Deterministic Parikh Automata are equivalent ($\mathcal{L}_{\text{BoundedPA}} = \mathcal{L}_{\text{BoundedDetPA}}$).
  2. Characterization: They establish that $\mathcal{L}_{\text{BoundedPA}} = \text{BSL}$. This provides a clean, algebraic description of what these automata can achieve.

Furthermore, the paper links these results to 1-CQDD (1-constrained queue-content-decision-diagrams), a model used in the symbolic reachability analysis of FIFO-channel systems, showing that 1-CQDDs also capture exactly the BSL class.

Conclusion

While Parikh Automata remain non-determinizable in the general case, this work identifies bounded languages as a critical domain where determinism is preserved. This result clarifies the hierarchy of counting-based automata and suggests that "boundedness" is a universal key for determinization across various computational models. Future research may explore the boundary between these models and more powerful systems like Reversal-Bounded Multicounter Machines.

Summary updated

BibTeX
@article{cadilhac2012bounded,
  author = {Michaël Cadilhac and Alain Finkel and Pierre McKenzie},
  title = {{Bounded Parikh Automata}},
  journal = {Int. J. Found. Comput. Sci.},
  year = {2012},
  url = {https://openreview.net/forum?id=kDGTypNbKC},
}

Loading related content...

Figure