Multiplicity Automata Equivalence
- Multiplicity automata equivalence is the problem of determining whether two weighted finite automata, defined over a field, yield identical output functions.
- The complexity classification shows that the problem is C_=L-complete, leveraging reductions to matrix rank computation and polynomial identity testing.
- Algorithmic solutions include linear-algebraic methods and randomized NC approaches, with extensions to probabilistic, pushdown, and multitape automata models.
A multiplicity automaton (also known as a weighted automaton over a field) is a finite automaton where transitions carry weights from an underlying field (typically ), and each word is assigned a weight computed as a weighted sum over runs. The equivalence problem for multiplicity automata asks whether two such automata define the same function from words to field elements. This problem is central in automata theory, formal power series, and links deeply to polynomial identity testing (PIT) and counting complexity. Recent advances have precisely characterized the complexity of multiplicity automata equivalence and developed efficient algorithms in various settings.
1. Formal Definitions and Structural Properties
A multiplicity (word) automaton over a field and alphabet is a tuple , where is a finite set of states, is the initial (row) vector, is the final (column) vector, and for each , is a transition matrix. The weight assigned to a word is computed as .
Two automata and over the same and are equivalent if for all . Equivalence is captured more succinctly by considering the difference automaton , whose states are the disjoint union of the states of and , initial vector , final vector , and transition matrices as block-diagonals of those of and . Equivalence holds iff is the zero automaton, i.e., it produces weight 0 on every (Kiefer, 2020).
The behavior of a multiplicity automaton defines a rational formal power series. The rank of the associated Hankel matrix determines the minimal state-space size among equivalent automata, and minimality testing reduces to rank computations (Kiefer, 2020).
2. Complexity Classification
The complexity of the multiplicity automata equivalence problem has been precisely pinned down. For word automata over , deciding equivalence is complete for the class under logspace many-one reductions (Černý et al., 15 Dec 2025).
- consists of all languages for in GapL; equivalently, it is the class of problems logspace many-one reducible to determining whether the determinant of an integer matrix is zero.
- The -completeness means both that the problem is solvable in deterministic logarithmic space with access to a GapL oracle and that every problem can be reduced to multiplicity automaton equivalence.
- This classification is tight: upper bounds leverage reduction to matrix rank and sum-of-powers checks; lower bounds are inherited from trace and characteristic polynomial verification, which are canonical complete problems for (Černý et al., 15 Dec 2025).
Improvements beyond are considered unlikely, given established logspace interreducibility with classical counting algebraic problems and PIT (Černý et al., 15 Dec 2025).
3. Algorithmic Methods: Linear Algebra, Polynomial Identity Testing, and Isolation
Several complementary algorithmic approaches have been developed for the equivalence problem.
Linear-Algebraic Method
- Construct the difference automaton .
- Build the forward space and test whether all are orthogonal to the final vector .
- Iteratively extend a basis for by breadth-first exploration over , adding only if it is linearly independent.
- If any basis vector yields , the label is a counterexample; otherwise, equivalence holds.
- Complexity is field operations for automata of combined size (Kiefer, 2020).
Polynomial Identity Testing (PIT) and Randomized NC
- Encode the set of words of length less than in a multivariate polynomial , whose monomials correspond to weighted computations of the automaton.
- Use fast parallel algorithms for matrix products and the Schwartz–Zippel lemma to probabilistically check whether is the zero polynomial.
- Isolation Lemma methods allow witness extraction: assign random weights to positions and letters, construct a univariate polynomial in , and with high probability, the lowest-degree term corresponds to a unique counterexample word.
- These techniques give rise to randomized NC () and deterministic NC procedures for word automata (Kiefer et al., 2013, Kiefer et al., 2011).
Complexity for Broader Models
- For partially commutative monoids, the problem's complexity depends on the clique-cover number of the non-commutation graph:
- Deterministic quasi-polynomial time for constant
- Randomized polynomial time if the commutation structure is covered by a bounded number of cliques or stars (Arvind et al., 2020)
- For multitape automata, randomized polytime algorithms exist for fixed , and the best deterministic complexity is quasi-polynomial for constant (Worrell, 2013, Arvind et al., 2020).
4. Extensions: Probabilistic Automata, Rewards, and Pushdown Models
Multiplicity automaton equivalence generalizes to numerous models:
- Probabilistic automata are a special case with nonnegative weights and stochastic transition matrices. Equivalence of probabilistic automata reduces directly to multiplicity automaton equivalence (Kiefer et al., 2011).
- When transitions carry cost/reward vectors, two equivalence notions arise: expectation-equivalence and distribution-equivalence. Both problems reduce to the basic -weighted (multiplicity) case, preserving algorithmic tractability (randomized polynomial time for fixed reward dimension; deterministic for fixed number of counters) (Kiefer et al., 2013, Kiefer et al., 2011).
- For visibly pushdown automata (VPA), the equivalence problem is logspace-equivalent to the arithmetic circuit identity testing (ACIT) problem. Thus, efficient algorithms for VPA equivalence would imply breakthroughs in ACIT derandomization (Kiefer et al., 2013, Kiefer et al., 2011).
A representative table summarizes complexity status:
| Model/Class | Deterministic Complexity | Randomized Complexity | Reference |
|---|---|---|---|
| Word automata () | -complete | (Černý et al., 15 Dec 2025, Kiefer et al., 2013) | |
| -tape automata (constant ) | Quasi-poly time ( cliques: ) | Polynomial time | (Arvind et al., 2020, Worrell, 2013) |
| Probabilistic automata w/ rewards | Polytime for fixed counters | Polytime | (Kiefer et al., 2011, Kiefer et al., 2013) |
| Partially commutative monoids | Quasi-poly for constant | Polytime if clique/star cover bounded | (Arvind et al., 2020) |
| Visibly pushdown automata (VPA) | ? (open; in coRP) | Logspace-equivalent to ACIT | (Kiefer et al., 2013, Kiefer et al., 2011) |
5. Connections to Homomorphism Indistinguishability and PIT
Recent results reveal a deep relationship between the equivalence problem and homomorphism indistinguishability for graphs: For bounded pathwidth graph classes definable in counting MSO, the problem of distinguishing graphs by homomorphism counts reduces in logspace to multiplicity automaton equivalence (Černý et al., 15 Dec 2025). This positions automata equivalence as a canonical -complete problem with implications for graph isomorphism relaxations, cospectrality, and quantum isomorphism.
The tight connection to PIT is pivotal: For bounded-treewidth graph classes, homomorphism indistinguishability (and, by reduction, automata equivalence) is logspace interreducible with PIT. This connection sets a barrier for deterministic polynomial-time algorithms for automata equivalence in general settings, conditioning further progress on derandomizing PIT (Černý et al., 15 Dec 2025).
6. Open Problems and Research Directions
Prominent open problems include:
- Derandomizing algorithms for equivalence over multitape and partially commutative models with moderate commutation structure (i.e., closing the gap between randomized polytime and deterministic quasi-polytime for bounded clique-cover) (Arvind et al., 2020).
- Determining the precise complexity for automata with unbounded commutation (large ) or with tree automata (where only randomized algorithms are currently efficient) (Černý et al., 15 Dec 2025, Arvind et al., 2020).
- Improving PIT algorithms or establishing lower bounds for automata equivalence in pushdown, tree, or infinite word models, which are currently linked to deep algebraic circuit properties (Kiefer et al., 2011, Kiefer et al., 2013, Černý et al., 15 Dec 2025).
- Exploring further connections to algebraic and combinatorial invariants (e.g., graph homomorphism counts, characteristic polynomials) and their computational boundaries.
These directions highlight the centrality of multiplicity automata equivalence in complexity theory, formal languages, and algebraic computation.