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

Bounded Parikh Automata

Michaël Cadilhac, Alain Finkel, Pierre McKenzie

TL;DR

This paper 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 show that bounded PA languages are exactly the class of Bounded Semilinear Languages (BSL), providing a bridge between counting-based automata and classical language hierarchies.

What Problem Does This Paper Address?

In the world of theoretical computer science, there is a constant tug-of-war between expressiveness (what a model can describe) and decidability/determinism (how easily we can analyze it). Standard finite automata are easy to handle but can't even count if the number of 'a's equals the number of 'b's.

Parikh Automata (PA) were introduced to fix 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 (a generalization of arithmetic progressions). While powerful, PA have a major drawback: they are not determinizable. You cannot always find a deterministic version of a PA that recognizes the same language.

The authors of this paper ask: Is there a natural subclass of languages where Parikh Automata actually behave nicely and can be made deterministic? They focus on bounded languages—languages where all words follow a fixed pattern of repetitions, like $w_1^* w_2^* \dots w_n^*$.

Methods

The authors employ several theoretical frameworks to bridge the gap between non-deterministic and deterministic models:

  1. Constrained Automata (CA): They use a simplified version of the PA model where the semilinear constraint is applied directly to the number of times each transition is fired.
  2. Flat Automata: These are automata with a specific structure—essentially a sequence of states with loops but no nested loops. This structure is the natural "shape" for recognizing bounded languages.
  3. Affine Parikh Automata (APA): A more complex extension where transitions apply affine transformations (like $f(x) = Mx + v$) to a vector of counters. This model serves as a crucial intermediate step in their proof.
  4. Semilinear Regular Expressions (SLRE): They leverage existing characterizations of bounded languages to decompose complex languages into simpler "branches" that are easier to determinize.

The core of the proof involves showing that any bounded language accepted by a PA has a property called "constraint-determinism." They then show this can be simulated by a deterministic APA with a finite monoid, which can eventually be transformed back into a union of flat deterministic constrained automata.

Datasets

Not discussed in the paper. As a theoretical computer science paper, it relies on mathematical proofs and formal logic rather than empirical data or benchmarks.

Key Insights and Ideas

  • Boundedness as a Simplifier: The primary "aha" moment is that the rigid structure of bounded languages (the "socle") limits the "confusion" a non-deterministic automaton can have. Because the 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 simultaneously. By showing the "monoid" of these functions is finite, they prove the resulting deterministic automaton doesn't need infinite memory.

Key Results

  • Determinization Theorem: For bounded languages, Parikh Automata and Deterministic Parikh Automata are equivalent ($\mathcal{L}_{\text{BoundedPA}} = \mathcal{L}_{\text{BoundedDetPA}}$).
  • Characterization: They establish that $\mathcal{L}_{\text{BoundedPA}} = \text{BSL}$. This provides a clean, algebraic description of what these automata can actually do.
  • Connection to FIFO Systems: 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.

Limitations and Future Work

  • Scope: The results are strictly limited to bounded languages. The paper acknowledges that in the general (unbounded) case, PA remain non-determinizable and are not closed under complement.
  • Comparison with RBCMs: The authors note that one-way deterministic Reversal-Bounded Multicounter Machines (RBCM) are strictly more powerful than Deterministic PA. A promising future direction is exploring exactly where the boundary lies between these models when restricted to bounded languages.
  • Two-Way Automata: The paper briefly mentions that for two-way automata, the deterministic and non-deterministic versions of RBCMs are equivalent over bounded languages, suggesting that the "boundedness" property might be a universal key for determinization across various counting models.

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