torchtsetlin brings Tsetlin machines into PyTorch as standard modules
Key points
- Package implements vanilla, weighted, coalesced, regression and convolutional Tsetlin machine variants as ordinary PyTorch modules
- Models support .to(device), state_dict() saving and a single update(x,y) call per mini-batch
- Reported 2.4-10.9X training speedup over PyTsetlinMachineCUDA and 10.3-81.2X over tmu on the same GPU, excluding the two smallest benchmarks
- Pure Python, MIT-licensed and available on PyPI, per the arXiv preprint dated 20 Nov 2026
Why it matters for marketers: Teams wanting rule-based, interpretable models can now train them in a PyTorch workflow instead of maintaining separate C and CUDA tooling.
via arXiv cs.AIOpen source