Papers › The Convolutional Tsetlin Machine

The Convolutional Tsetlin Machine

23 May 2019arXiv 2019 12arXiv:1905.09688archive 2025-07-28

Ole-Christoffer Granmo, Sondre Glimsdal, Lei Jiao, Morten Goodwin, Christian W. Omlin, Geir Thore Berge

Convolutional neural networks (CNNs) have obtained astounding successes for important pattern recognition tasks, but they suffer from high computational complexity and the lack of interpretability. The recent Tsetlin Machine (TM) attempts to address this lack by using easy-to-interpret conjunctive clauses in propositional logic to solve complex pattern recognition problems. The TM provides competitive accuracy in several benchmarks, while keeping the important property of interpretability. It further facilitates hardware-near implementation since inputs, patterns, and outputs are expressed as bits, while recognition and learning rely on straightforward bit manipulation. In this paper, we exploit the TM paradigm by introducing the Convolutional Tsetlin Machine (CTM), as an interpretable alternative to CNNs. Whereas the TM categorizes an image by employing each clause once to the whole image, the CTM uses each clause as a convolution filter. That is, a clause is evaluated multiple times, once per image patch taking part in the convolution. To make the clauses location-aware, each patch is further augmented with its coordinates within the image. The output of a convolution clause is obtained simply by ORing the outcome of evaluating the clause on each patch. In the learning phase of the TM, clauses that evaluate to 1 are contrasted against the input. For the CTM, we instead contrast against one of the patches, randomly selected among the patches that made the clause evaluate to 1. Accordingly, the standard Type I and Type II feedback of the classic TM can be employed directly, without further modification. The CTM obtains a peak test accuracy of 99.4% on MNIST, 96.31% on Kuzushiji-MNIST, 91.5% on Fashion-MNIST, and 100.0% on the 2D Noisy XOR Problem, which is competitive with results reported for simple 4-layer CNNs, BinaryConnect, Logistic Circuits and an FPGA-accelerated Binary CNN.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

The archive's official repositories (cair/convolutional-tsetlin-machine, cair/pyTsetlinMachineParallel) were not harvested; the 1 sample below comes from 1 community repository.

Syntology 1 code sample harvested from 1 repository linked to this paper: 0 ran · 1 unverified.

By repository: community (archive-listed): 1 sample from 1 repository, 0 ran (0 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cair/convolutional-tsetlin-machine officialmentioned in papermentioned on GitHubMITSyntology: not harvested report
cair/pyTsetlinMachineParallel officialmentioned in papermentioned on GitHubSyntology: not harvested report
cair/PyTsetlinMachineCUDA mentioned on GitHubSyntology: not harvested report
cair/TsetlinMachine mentioned on GitHubSyntology: not harvested report
cair/convolutional-tsetlin-machine-tutorial mentioned on GitHubMITSyntology: not harvested report
cair/pyTsetlinMachine mentioned on GitHubSyntology: not harvested report
cair/pyTsetlinMachineMT mentioned on GitHubSyntology: not harvested report
ckinateder/pytsetlinmachineparallel mentioned on GitHubSyntology: not harvested report
zdx3578/pyTsetlinMachine mentioned on GitHubSyntology: 1 sample, 0 ran · 1 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

1 sample harvested: 0 ran · 1 unverified. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1unverified

Licence: 0 of the 1 sample are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zdx3578/pyTsetlinMachine. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

zdx3578/pyTsetlinMachine community (archive-listed) 1 sample, 0 ran · 1 unverified
clip_bits pyTsetlinMachine/tm.py unverified MIT (permissive) · 9a3def89dbcc5f5b · report

Tasks

Image Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification Fashion-MNIST CTM-8000 (Convolutional Tsetlin Machine) Accuracy 91.5 #16 of 34 Archive leaderboard report
Image Classification Fashion-MNIST CTM-8000 (Convolutional Tsetlin Machine) Percentage error 8.5 #16 of 34 Archive leaderboard report
Image Classification Fashion-MNIST CTM-8000 (Convolutional Tsetlin Machine) Trainable Parameters 527250 #16 of 34 Archive leaderboard report
Image Classification Fashion-MNIST CTM-250 (Convolutional Tsetlin Machine) Accuracy 88.25 #22 of 34 Archive leaderboard report
Image Classification Fashion-MNIST CTM-250 (Convolutional Tsetlin Machine) Percentage error 11.75 #22 of 34 Archive leaderboard report
Image Classification Fashion-MNIST CTM-250 (Convolutional Tsetlin Machine) Trainable Parameters 31750 #22 of 34 Archive leaderboard report
Image Classification Kuzushiji-MNIST Convolutional Tsetlin Machine Accuracy 96.3 #21 of 26 Archive leaderboard report
Image Classification MNIST Convolutional Tsetlin Machine Accuracy 99.4 #41 of 81 Archive leaderboard report
Image Classification MNIST Convolutional Tsetlin Machine Percentage error 0.6 #41 of 81 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Convolution

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections