MaxSAT-Based Compression for Tsetlin Machines
Stefan Szeider
Abstract
We consider the computational problem of compacting Tsetlin Machine classifiers by reducing the number of propositional clauses while preserving predictive accuracy. TMs trained with limited clause capacity often perform poorly because stochastic optimization cannot reliably find the few precise clauses needed in a vast configuration space. High-quality compact subsets also exist in the case of larger Tsetlin Machines. The difficulty here lies in extracting them. Local pruning heuristics can fail badly on TMs because clauses interact through Boolean logic: a clause may appear unimportant in isolation yet becomes critical when others are removed. We formalize compression as the Minimum Discriminating Clause Set (MDCS) problem, which asks to find a smallest subset of clauses that preserves the trained model's discrimination of training samples. We show that MDCS is NP-hard. We solve MDCS using weighted partial Maximum Satisfiability (MaxSAT). A partition-and-merge strategy allows us to scale to 100,000 samples. Across 13 datasets, the compressed model preserves the 200-clause teacher's accuracy within a few percentage points while using a median of only 16 clauses, and outperforms a matched-capacity TM trained from scratch on every dataset where direct training has room to improve, by up to 45 percentage points.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Related papers
- Drop Clause: Enhancing Performance, Robustness and Pattern Recognition Capabilities of the Tsetlin MachineJivitesh Sharma, Rohan Kumar Yadav, Ole-Christoffer Granmo, Lei JiaoAAAI 2023 · 22 citations
- Convergence Analysis of Tsetlin Machines under Noise-Free and Noisy Training Conditions: From 2 Bits to k BitsXuan Zhang, Lei Jiao, Ole-Christoffer GranmoICLR 2026
- SAT-based Decision Tree Learning for Large Data SetsAndré Schidler, Stefan SzeiderAAAI 2021 · 72 citations
- Massively Parallel and Asynchronous Tsetlin Machine Architecture Supporting Almost Constant-Time ScalingKuruge Darshana Abeyrathna, Bimal Bhattarai, Morten Goodwin, Saeed Rahimi Gorji et al.ICML 2021 · 45 citations
- Tractable Explanations for d-DNNF ClassifiersXuanxiang Huang, Yacine Izza, Alexey Ignatiev, Martin C. Cooper et al.AAAI 2022 · 43 citations
