---
title: 'Transition Machines: Unifying Automata Models'
url: https://www.emergentmind.com/topics/transition-machines-tms
type: topic
---

# Transition Machines: Unifying Automata Models

Transition Machines (TMs) designate several distinct machine formalisms in recent arXiv literature rather than a single standardized model. In one major lineage, TM denotes the Tsetlin Machine: a pattern-recognition framework that learns human-interpretable propositional logic from data using teams of finite-state Tsetlin automata. In another, TM denotes a Transition Machine introduced to capture transition-based non-Markovianity in deterministic partially observable environments. Related theoretical work also uses Turing-style models whose semantic object is a transition system or whose inputs contain uncertainty, notably Reactive Turing Machines and metastability-containing Turing Machines [2102.10952] [2508.01947] [1104.1738] [2604.17285]. This plurality of meanings is itself technically important, because the common abbreviation conceals different notions of state, transition, output, and learnability.

## 1. Terminological scope

The literature covered here uses the same abbreviation for machine models with different roles. Tsetlin-machine papers explicitly note that “TM” denotes Tsetlin Machine rather than Turing Machine, and build logic-based learners from clauses, literals, and finite-state learning automata. The Det-POMDP paper introduces Transition Machines as automata whose outputs are next observations, complementing Reward Machines whose outputs are rewards. Process-theoretic work on Reactive Turing Machines treats a machine as an executor of labelled transition systems, while metastability-containing Turing Machines study closure over all concretizations of uncertain inputs [2309.04801] [2508.01947] [1104.1738] [2604.17285].

| TM usage | Core formal object | Representative source |
|---|---|---|
| Tsetlin Machine | Clause-based propositional learner built from finite-state automata | [2102.10952] |
| Transition Machine | Automaton with memory over labels and outputs in \(O\) for next-observation prediction | [2508.01947] |
| Reactive Turing Machine | Turing Machine with labelled interaction and LTS semantics | [1104.1738] |
| Metastability-containing TM | Turing Machine over \(\{0,1,\bot\}\) computing closure over concretizations | [2604.17285] |

A plausible implication is that the phrase “Transition Machines” must be interpreted strictly from local context: in logic-based ML it often points to Tsetlin-style clause systems, whereas in reinforcement learning it names a specific automaton family for transition non-Markovianity.

## 2. Propositional Tsetlin Machines

In the Tsetlin lineage, TMs are a pattern recognition approach that uses finite state machines for learning and propositional logic to represent patterns. The canonical input is a Boolean feature vector \(X=(x_1,\ldots,x_f)\), augmented with negations to form the literal set \(L=\{x_1,\ldots,x_f,\neg x_1,\ldots,\neg x_f\}\), with \(\bar{x}_k=1-x_k\) used as notation for negation. Clauses are conjunctive pattern detectors,
\[
C_j(X)=\bigwedge_{l_k\in L_j} l_k=\prod_{l_k\in L_j} l_k,
\]
and a binary classifier aggregates evenly split positive and negative clause sets by
\[
v(X)=\sum_{j=1}^{n/2} C_j^+(X)-\sum_{j=1}^{n/2} C_j^-(X), \qquad
\hat y=u(v),
\]
with \(u(\cdot)\) the unit step function. An equivalent view is \(\hat y=u(\sum_{j=1}^n w_j C_j(X))\) for \(w_j\in\{+1,-1\}\) fixed by clause polarity. The framework is natively interpretable because the decision function is a globally readable set of conjunctive clauses, and locally readable because individual clause votes explain a specific input [2102.10952].

Learning is delegated to teams of Tsetlin automata, one automaton per literal per clause. Each automaton chooses Include or Exclude and is updated through stochastic feedback. Type I feedback produces frequent patterns and increases recall; Type II feedback increases discrimination and precision. The user-configurable parameters are \(s\) for specificity, \(T\) for the voting target, \(n\) for number of clauses, \(f\) for number of base features, and \(e\) for training rounds. For a dataset of size \(d\), \(m\) clauses, and \(o\) propositional features, the per-dataset computational cost is stated as
\[
f(d)=d\times[\gamma\times(2o+1)\times m+\alpha\times2o\times m+\beta\times(m-1)],
\]
with \(\alpha\) the cost of bitwise AND, \(\beta\) the cost of integer addition, and \(\gamma\) the cost of automaton state update [2102.10952].

A later deterministic variant, the Arbitrarily Deterministic TM, replaces standard Tsetlin automata with a Multi-Step Variable-Structure Finite-State Learning Automaton. Strong feedback uses \(s\)-step state jumps, weak feedback uses single-step transitions, and every \(d\)-th transition is stochastic with probability \(0.5\). The paper states that \(d=1\) makes every update random and \(d=\infty\) makes the automaton completely deterministic. It further reports that random number generation accounts for \(7\%\) of total system power in switching and \(32\%\) in leakage, giving up to \(39\%\) system power reduction potential, with “up to 11 mW” saved for larger datasets at high \(d\) values [2007.02114].

## 3. Relational and first-order Tsetlin Machines

The relational Tsetlin Machine lifts the propositional TM to first-order logic with Herbrand semantics. Let \(A=\{a_1,\ldots,a_q\}\) be constants and \(R=\{r_1,\ldots,r_p\}\) predicate symbols; then the Herbrand Base is the set of all ground atoms over \(A\) and \(R\), and the learned program consists of non-recursive Horn clauses. The semantic machinery is given through the immediate consequence operator \(T_P\) and the Least Herbrand Model \(lfp(T_P)\), so that the learned machine returns a logic program rather than an unstructured classifier. The central motivation is natural language understanding and closed-domain question answering, where the machine learns rules that represent how actions and consequences are related in the real world [2102.10952].

The preprocessing pipeline is explicitly relational. Each sentence yields a relation instance; entities are typed; textual constants are replaced by instance-local placeholders; and constants are then detached into variables \(Z_1,\ldots,Z_z\). This makes the number of propositional inputs scale with variables and arities, \(O(z^w)\), rather than with the size of the constant domain. Free variables induce multiple permissible variable-to-constant assignments, so the machine generates all permissible permutations and applies a TM convolution operator over them. In the paper’s formulation, this operationalizes existential quantification by making a clause fire if any consistent assignment makes it true. Representative learned rules include
\[
child(Z_1,Z_2)\leftarrow parent(Z_2,Z_1)
\]
and
\[
grandparent(Z_1,Z_2)\leftarrow parent(Z_1,Z_3), parent(Z_3,Z_2).
\]
For movement and location questions, the learned clauses capture that the latest \(MoveTo\) determines the current location [2102.10952].

The empirical claims are unusually concrete. On closed-domain QA, the first-order representation produces \(10\times\) more compact KBs and increases answering accuracy from \(94.83\%\) to \(99.48\%\). Under injected noise of \(1\%\), \(2\%\), \(5\%\), and \(10\%\), test accuracy degrades from \(99.48\%\) to \(98.79\%\), \(98.24\%\), \(97.02\%\), and \(95.08\%\), respectively. The same paper states that convolution can reduce the number of clauses needed by up to \(1.5\times\), offsetting the \(v!\) overhead from free-variable permutations. The stated limitations are equally specific: the pipeline assumes simple sentences with one relation per sentence, the learned program uses non-recursive Horn clauses, and scalability to open-domain QA depends on robust relation extraction, entity typing, and management of large predicate signatures [2102.10952].

## 4. Shared-clause, composite, and application-oriented Tsetlin systems

A separate development addresses multi-output and specialist collaboration. The coalesced multi-output Tsetlin Machine merges multiple TMs into a single clause pool with integer weights \(W\in\mathbb{Z}^{m\times n}\), so that shared clause outputs \(c\) are aggregated by
\[
v=Wc, \qquad \hat y=U(v).
\]
Positive weights vote for output \(1\), negative weights vote for output \(0\), and both clause composition and weights are learned jointly through interacting Stochastic Searching on the Line and Tsetlin-automata teams. The point of the construction is that separate TMs operate in silos, whereas clause sharing enables pattern reuse across outputs [2108.07594].

The empirical pattern is that sharing helps most at low and moderate clause budgets. For \(50\) clauses per class, the reported accuracies are \(82.33\%\) vs \(86.79\%\) on Fashion-MNIST and \(71.99\%\) vs \(89.66\%\) on Kuzushiji-MNIST for Weighted TM versus CoTM. At \(8\)K clauses per class on MNIST, CoTM reaches \(99.3\%\) test accuracy by epoch \(19\), while Weighted TM reaches the same level at epoch \(57\), which the paper summarizes as \(3\times\) faster. On imbalanced IMDb data, removing positive-sentiment training examples from fraction \(0.0\) to \(0.9\) yields a test-accuracy drop \(\Delta TM\) of \(0.0\) to \(30.5\) percentage points versus \(\Delta CoTM\) of \(0.0\) to only \(2.8\) [2108.07594].

TMComposites pursue a different route: independent specialist Tsetlin Machines are trained on different Booleanizations of the same input and combined at inference by normalized class sums. For TM \(t\), the per-expert normalization constant is
\[
\alpha_t=\max_{d,i} c^i_{t,d}-\min_{d,i} c^i_{t,d},
\]
and the composite decision rule is
\[
\hat y_d=\arg\max_i \sum_{t=1}^r \frac{1}{\alpha_t} c^i_{t,d}.
\]
The specialists implemented are Adaptive Gaussian Thresholding, Color Thermometers, and HOG. After \(100\) epochs, the four-member composite reaches \(75.1\%\) on CIFAR-10, \(52.2\%\) on CIFAR-100, and \(93.0\%\) on Fashion-MNIST, corresponding to gains of \(+12.4\), \(+8.8\), and \(+1.9\) over the best single specialist in each case. The paper further states that sorting CIFAR-100 test images by \(c_{\max}\) yields monotonically increasing accuracy, reaching \(100\%\) at the high-confidence end [2309.04801].

Tsetlin Machines have also been adapted to recommendation systems. One study develops a multi-class TM over \(400\) output classes with \(200\) clauses per class and compares it with a five-layer feed-forward network on the H\&M Personalized Fashion Recommendations dataset. The reported scores are \(MAP@1=0.0215\), \(MAP@12=0.0449\), and \(MAP@100=0.0554\) for the TM, versus \(0.0219\), \(0.0291\), and \(0.0409\) for the neural baseline. The same study, however, emphasizes scaling limits: the CUDA TM implementation scales almost constantly in the number of clauses, yet time and memory become problematic at recommendation-system class counts, and the full item catalog could not be evaluated because of memory constraints [2212.10136].

## 5. Transition Machines for partially observable sequential decision-making

In reinforcement learning under partial observability, Transition Machines are introduced as automata that encode transition-based non-Markovianity. The setting is a deterministic POMDP
\[
\mathcal{P}=\langle S,A,s_0,P,R,\gamma,O,Z\rangle,
\]
with a labeling function \(L:O\rightarrow 2^{AP}\). A Reward Machine is
\[
\mathcal{RM}=\langle U,u_0,\delta_U,\delta_R\rangle,
\]
while a Transition Machine is
\[
\mathcal{TM}=\langle Q,q_0,\delta_Q,\delta_P\rangle,
\]
where \(\delta_Q\) updates latent memory from labels and \(\delta_P:Q\times O\times A\rightarrow O\) predicts the next observation. The paper’s key claim is that Reward Machines encode reward-based non-Markovianity but do not encode transition-based non-Markovianity; using only RMs can therefore produce unnatural problem formulations in POMDPs [2508.01947].

The unifying formalism is the Dual-Behavior Mealy Machine,
\[
\mathcal{N}=\langle V,v_0,\mathcal{I_\alpha},\mathcal{I_\beta},\mathcal{O},\mathcal{T},\mathcal{G}\rangle,
\]
with \(\beta\)-inputs causing state transitions and \(\alpha\)-inputs producing outputs. DBMM subsumes both TM and RM by taking \(\mathcal{I_\beta}=2^{AP}\), \(\mathcal{I_\alpha}=O\times A\), and choosing \(\mathcal{O}=O\) for TMs or \(\mathcal{O}=\mathbb{R}\) for RMs. The learning algorithm, DB-RPNI, builds a Prefix Tree Transducer from traces and then applies red-blue state merging with local compatibility
\[
\mathrm{Compatible}(u,v)\iff \forall i_\alpha\in I_u\cap I_v:\ \mathcal{G}(u,i_\alpha)=\mathcal{G}(v,i_\alpha).
\]
If the sample set is structure complete, DB-RPNI returns the minimal resolvent DBMM and runs in \(O(|U|\cdot |L|\cdot T\cdot F)\) time; in the general case it runs in \(O(T^3\cdot F)\) time [2508.01947].

The operational goal is to restore Markovian structure by augmenting observations with automaton states. If a TM is resolvent, then \(o_t'=(o_t,q_t)\) makes the next observation deterministic, with
\[
o_{t+1}=\delta_T(q_t,o_t,a_t),\qquad q_{t+1}=\delta_Q(q_t,L(o_t)).
\]
The paper’s four-rooms example makes the distinction concrete: moving up from corridor leads to cyanroom only if the key was previously acquired, whereas reward depends on sitting on the sofa after reaching the toilet. The inferred automata recover these two histories separately. Experimentally, inference time is \(1.3\)s versus \(104.0\)s and \(5.3\)s on \(3\times3\) grids, \(3.9\)s versus \(>6000\)s and \(\approx5500\)s on \(4\times4\) grids, and \(56.1\)s with both baselines timing out on \(5\times5\) grids, which the paper summarizes as speedups of up to three orders of magnitude. In a \(25\times25\) ablation, the full pipeline infers \(7\) TM states and \(2\) RM states, while removing Observation Supplement makes RM states explode to \(218\) in the low-data setting [2508.01947].

## 6. Transition-system and Turing-machine interpretations

Reactive Turing Machines extend classical Turing Machines with interaction in the process-theoretic sense. An RTM is a quadruple
\[
M=(Q,\delta,q_0,F),
\]
with transition relation
\[
\delta\subseteq Q\times \Gamma\times Act_\tau\times \Gamma\times \{L,R\}\times Q.
\]
Its semantics is not a function but a labelled transition system whose states are configurations \((q,T)\), whose transitions are labelled by observable actions or \(\tau\), and whose final states correspond to \(q\in F\). On this basis, executability is defined as the property of being the transition-system semantics of some RTM [1104.1738].

The main theorems characterize which transition systems are executable. Every computable transition system with bounded branching degree is simulated modulo divergence-preserving branching bisimilarity by an RTM, and every effective transition system is simulated modulo branching bisimilarity without divergence preservation. The paper further concludes that the parallel composition of communicating RTMs can be simulated by a single RTM. Universality is correspondingly stratified: there exist universal RTMs modulo branching bisimilarity, but modulo divergence-preserving branching bisimilarity universality holds only up to a fixed branching degree. The same work establishes a correspondence between executability and finite definability in a simple process calculus [1104.1738].

Metastability-containing Turing Machines analyze Turing computation with uncertain input symbols \(\bot\). For \(x\in\{0,1,\bot\}^n\), the concretization set is
\[
C(x)=\{x'\in\{0,1\}^n:\forall i,\ x_i\in\{0,1\}\Rightarrow x'_i=x_i\},
\]
and the image-resolution set of a TM \(M\) is
\[
Cl_M(x)=\{M(x'):x'\in C(x)\}.
\]
The coordinatewise superposition semantics \(f_\square(x)\) collapses this set into \(\{0,1,\bot\}^m\). The paper proves that the general metastable closure map \((\langle M\rangle,x)\mapsto Cl_M(x)\) is not computable. Under bounded-time simulation, however, finer complexity results emerge: resolving a single uncertain bit for EXPTIME problems is EXPTIME-complete; for polynomial-time machines, the closure is computable in \(O(poly(n)\cdot 2^k)\) time when the number of uncertain bits is \(k=O(\log n)\); and the all-resolutions-agree problem is coNP-complete when the number of undefined bits is arbitrary. The paper also gives a hardware-realizable universal “Natural TM” that computes metastable closure of any bounded-time TM in \(\tilde O(T(n)\cdot 2^n)\) time and \(O(2^n)\) space [2604.17285].

## 7. Hardware, complexity frontiers, and open directions

Hardware work on Tsetlin Machines increasingly treats inference as an architectural problem rather than only an algorithmic one. One recent design replaces arithmetic class-score summation by delay accumulation and replaces magnitude comparators by Winner-Takes-All arbitration in the time domain. For multi-class TMs, the reported figures are \(402\) GOp/s and \(3290.00\) TOp/J for the proposed time-domain design, compared with \(380\) GOp/s and \(948.61\) TOp/J for the synchronous digital baseline and \(510\) GOp/s and \(1381.65\) TOp/J for the asynchronous digital baseline. For CoTM, the hybrid digital-time-domain design reports \(419\) GOp/s and \(750.79\) TOp/J, versus \(230\) GOp/s and \(304.65\) TOp/J for the synchronous digital baseline. The verification case uses the Iris dataset with \(16\) features, \(12\) clauses, and \(3\) classes, and the paper states that all implementations produce identical predictions [2511.09527].

Several complexity frontiers remain explicit across these TM literatures. Relational Tsetlin Machines still assume simple sentences with one relation per sentence and restrict the learned program to non-recursive Horn clauses. Transition Machines for Det-POMDPs assume deterministic transitions, reliable labels, and structure-complete samples for minimality guarantees. Metastability-containing Turing Machines mark a hard undecidability boundary in the unrestricted case and sharp EXPTIME and coNP thresholds under time bounds. Recommendation-system Tsetlin Machines face time and memory bottlenecks at large catalog sizes. TMComposites identify better per-expert weighting, larger libraries of specialists, and collaboration-aware fine-tuning as open questions [2102.10952] [2508.01947] [2604.17285] [2212.10136] [2309.04801].

Taken together, these strands show that “Transition Machines” is not a single theory but a family resemblance across automata-centered models. In one branch, finite-state automata learn interpretable logic and support relational reasoning, clause sharing, specialization, and event-driven hardware inference. In another, automata restore Markovian structure in partially observable control by making hidden transition history explicit. In a third, Turing-style machines are recast as executors of labelled transition systems or as devices computing closure under uncertainty. The common motif is not a shared formal definition, but the use of explicit machine state to make otherwise hidden structure computationally available.

Source: https://www.emergentmind.com/topics/transition-machines-tms