AI
torchtsetlin: Fast, Interpretable Tsetlin Machines for PyTorch
Publication: cs.AI updates on arXiv.org
Author: Vajira Thambawita, P{\aa}l Halvorsen, Ole-Christoffer Granmo
Source published: 24/11/2026, 05:00:00 UTC
Briefing created: 24/11/2026, 09:18:52 UTC
Based on a feed excerpt; full article content has not been acquired. Source evidence retrieved 24/11/2026, 08:33:24 UTC.
Briefings
torchtsetlin is a PyTorch library implementing Tsetlin machines as vanilla PyTorch modules, offering 2.4-10.9X faster training on GPU benchmarks compared to PyTsetlinMachineCUDA and 10.3-81.2X faster than tmu, with pure Python implementation and MIT licensing.
Key points
- torchtsetlin implements Tsetlin machines as PyTorch modules using a batched formulation of Type I and Type II feedback, where automaton transitions become event counts realized as binomial draws.
- The library achieves 2.4-10.9X faster training on ten benchmarks taken from existing libraries compared to PyTsetlinMachineCUDA and 10.3-81.2X faster than tmu on the same GPU.
Context
This paper presents a new implementation of Tsetlin machines as ordinary PyTorch modules, replacing the C/CUDA kernels of previous versions with vanilla and weighted modules. The package is pure Python, MIT-licensed, and available on PyPI, allowing for easy integration into the deep learning ecosystem without requiring external dependencies.
Limitations
The benchmark results are based on ten benchmarks taken from existing libraries, and the paper reproduces every number using one script; no additional experimental data or validation beyond these benchmarks is provided.
Generated by Bittrees-hosted qwen35-2b sha256:aaf42c8b7c3c on 24/11/2026, 09:18:52 UTC. Based on publisher-provided feed evidence; may not cover the full original article. Check the source for details.
View archived briefing on IPFS
bafybeidywtih6qnc75tfxavma3eop4n2nt57e4cqlur2e5p63jjinretvm