BTHOWeN
Weightless neural network that classifies with Bloom filter table lookups instead of multiply-accumulate operations.
84 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 573.4K
- Operations
- 84
- Framework
- PyTorch
- Recurrent
- No
- Published
- International Conference on Parallel Architectures and Compilation Techniques (PACT) (arXiv 2022)
- Cited by
- 36 (as of 30 October 2026)
- Authors
- Zachary Susskind, Aman Arora, Igor Dantas Dos Santos Miranda and others
- Source
- GitHub: ZSusskind/BTHOWeN
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14888
- Graph hash
- 551f4f34fca146eb31ec699fd93e1e4070f61395d131ea8c7c854ca21bc37f8f
- Skeleton hash
- 2ef0de6aa2897ba443ba081a7a3a90db250011d02b5372558812155e32feac18
- Architecture hash
- e6228981d3761525f42386313dc0512aca17797b709c4f817e901be0367f4de4
- Diagram SHA-256
- 2e7cf72b90e863dc05a9a23d226eb70a23a212673c275c2474d5a289638e7a8c
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
BTHOWeN is a weightless neural network (WNN), a class of machine learning model that performs inference with table lookups. Deep neural networks, by contrast, use multiply-accumulate operations. The paper notes that earlier WNN architectures cost a fraction of what deep networks cost to implement but lag behind them in accuracy on common image recognition tasks. BTHOWeN makes three changes to earlier designs: counting Bloom filters, hardware-friendly hashing, and Gaussian-based nonlinear thermometer encodings.
Across nine classification datasets, the paper reports that BTHOWeN on average reduces error by more than 40% and model size by more than 50% compared with earlier WNNs. The authors also present an FPGA-based accelerator for the architecture. They report that the BTHOWeN models consume almost 80% less energy than the MLP models, with nearly 85% lower latency.
The code's example MNIST configuration uses 28 inputs per filter, 1024 entries per filter, 2 hashes and 2 bits per input. The repository's results table lists that configuration as MNIST-Small, at 70.0 KiB and a test accuracy of 0.934. The authors note that accuracy varies from run to run, largely because the input mapping is random.
Key idea. BTHOWeN combines counting Bloom filters, hardware-friendly hashing and Gaussian thermometer encodings to make table-lookup weightless networks more accurate and smaller for edge inference.
- BTHOWeN
- weightless neural network
- WNN
- Bloom filter
- counting Bloom filter
- thermometer encoding
- edge inference
- FPGA accelerator
- table lookup
- MNIST
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{susskind2022weightlessneuralnetworksefficient,
title={Weightless Neural Networks for Efficient Edge Inference},
author={Zachary Susskind and Aman Arora and Igor Dantas Dos Santos Miranda and Luis Armando Quintanilla Villon and Rafael Fontella Katopodis and Leandro Santiago de Araujo and Diego Leonel Cadette Dutra and Priscila Machado Vieira Lima and Felipe Maia Galvao Franca and Mauricio Breternitz Jr. and Lizy K. John},
year={2022},
eprint={2203.01479},
archivePrefix={arXiv},
primaryClass={cs.AR},
url={https://arxiv.org/abs/2203.01479},
}