Larq: An Open-Source Library for Training Binarized Neural Networks
Authors/Creators
Files
10.21105.joss.01746.pdf
Files
(144.3 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:a2c5aeb17a5464737fc1e431f4fd3fd8
|
144.3 kB | Preview Download |
Additional details
Identifiers
Related works
- Describes
- 10.6084/m9.figshare.11619912.v1 (DOI)
- Is reviewed by
- https://github.com/openjournals/joss-reviews/issues/1746 (URL)
Dates
- Issued
-
January 16, 2020
References
- Geiger, L., & Plumerai Team. (2020). Larq: An Open-Source Library for Training Binarized Neural Networks [Computer software]. figshare. https://doi.org/10.6084/m9.figshare.11619912.v1
- TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems, Martı́n Abadi and Ashish Agarwal and Paul Barham and Eugene Brevdo and Zhifeng Chen and Craig Citro and Greg S. Corrado and Andy Davis and Jeffrey Dean and Matthieu Devin and Sanjay Ghemawat and Ian Goodfellow and Andrew Harp and Geoffrey Irving and Michael Isard and Jia, Yangqing and Rafal Jozefowicz and Lukasz Kaiser and Manjunath Kudlur and Josh Levenberg and Dandelion Mané and Rajat Monga and Sherry Moore and Derek Murray and Chris Olah and Mike Schuster and Jonathon Shlens and Benoit Steiner and Ilya Sutskever and Kunal Talwar and Paul Tucker and Vincent Vanhoucke and Vijay Vasudevan and Fernanda Viégas and Oriol Vinyals and Pete Warden and Martin Wattenberg and Martin Wicke and Yuan Yu and Xiaoqiang Zheng, 2015, https://www.tensorflow.org/, Software available from tensorflow.org
- Keras, Chollet, François, 2015, ://keras.io
- Automatic Differentiation in PyTorch, Paszke, Adam and Gross, Sam and Chintala, Soumith and Chanan, Gregory and Yang, Edward and DeVito, Zachary and Lin, Zeming and Desmaison, Alban and Antiga, Luca and Lerer, Adam, 2017, NIPS Autodiff Workshop
- Bethge, Joseph and Bornstein, Marvin and Loy, Adrian and Yang, Haojin and Meinel, Christoph, Training Competitive Binary Neural Networks from Scratch, CoRR, abs/1812.01965, 2018, http://arxiv.org/abs/1812.01965, arXiv, 1812.01965, Tue, 01 Jan 2019 15:01:25 +0100, /rec/bib/journals/corr/abs-1812-01965, dblp computer science bibliography, https://dblp.org
- Zhang, J., Pan, Y., Yao, T., Zhao, H., & Mei, T. (2019). daBNN. Proceedings of the 27th ACM International Conference on Multimedia, 2272–2275. https://doi.org/10.1145/3343031.3350534
- Latent Weights Do Not Exist: Rethinking Binarized Neural Network Optimization, Helwegen, Koen and Widdicombe, James and Geiger, Lukas and Liu, Zechun and Cheng, Kwang-Ting and Nusselder, Roeland, 2019, Advances in Neural Information Processing Systems 32, Curran Associates, Inc., 7531–7542, http://papers.nips.cc/paper/8971-latent-weights-do-not-exist-rethinking-binarized-neural-network-optimization.pdf, Wallach, H. and Larochelle, H. and Beygelzimer, A. and d' Alché-Buc, F. and Fox, E. and Garnett, R.
- Binarized Neural Networks, Hubara, Itay and Courbariaux, Matthieu and Soudry, Daniel and El-Yaniv, Ran and Bengio, Yoshua, 2016, Advances in Neural Information Processing Systems 29, Curran Associates, Inc., 4107–4115, http://papers.nips.cc/paper/6573-binarized-neural-networks.pdf, Lee, D. D. and Sugiyama, M. and Luxburg, U. V. and Guyon, I. and Garnett, R.
- Back to Simplicity: How to Train Accurate BNNs from Scratch?, Bethge, Joseph and Yang, Haojin and Bornstein, Marvin and Meinel, Christoph, 2019, CoRR, abs/1906.08637, http://arxiv.org/abs/1906.08637, arXiv, 1906.08637, Mon, 24 Jun 2019 17:28:45 +0200, /rec/bib/journals/corr/abs-1906-08637, dblp computer science bibliography, https://dblp.org
- Liu, Z., Wu, B., Luo, W., Yang, X., Liu, W., & Cheng, K.-T. (2018). Bi-Real Net: Enhancing the Performance of 1-Bit CNNs with Improved Representational Capability and Advanced Training Algorithm. In Lecture Notes in Computer Science (pp. 747–763). Springer International Publishing. https://doi.org/10.1007/978-3-030-01267-0_44
- Rastegari, M., Ordonez, V., Redmon, J., & Farhadi, A. (2016). XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks. In Lecture Notes in Computer Science (pp. 525–542). Springer International Publishing. https://doi.org/10.1007/978-3-319-46493-0_32
- DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients, Zhou, Shuchang and Ni, Zekun and Zhou, Xinyu and Wen, He and Wu, Yuxin and Zou, Yuheng, 2016, CoRR, abs/1606.06160, http://arxiv.org/abs/1606.06160, arXiv, 1606.06160, Mon, 13 Aug 2018 16:48:10 +0200, /rec/bib/journals/corr/ZhouNZWWZ16, dblp computer science bibliography, https://dblp.org
- Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1986). Learning representations by back-propagating errors. Nature, 323(6088), 533–536. https://doi.org/10.1038/323533a0
- Neural networks for machine learning, Hinton, Geoffrey, 2012, Coursera Video Lectures
- BinaryConnect: Training Deep Neural Networks with binary weights during propagations, Courbariaux, Matthieu and Bengio, Yoshua and David, Jean-Pierre, 2015, Advances in Neural Information Processing Systems 28, Curran Associates, Inc., 3123–3131, http://papers.nips.cc/paper/5647-binaryconnect-training-deep-neural-networks-with-binary-weights-during-propagations.pdf, Cortes, C. and Lawrence, N. D. and Lee, D. D. and Sugiyama, M. and Garnett, R.
- An Empirical study of Binary Neural Networks' Optimisation, Alizadeh, Milad and Fernández-Marqués, Javier and Lane, Nicholas D. and Gal, Yarin, 2019, 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019, https://openreview.net/forum?id=rJfUCoR5KX, DBLP:conf/iclr/2019, Thu, 25 Jul 2019 14:25:40 +0200, /rec/bib/conf/iclr/AlizadehFLG19, dblp computer science bibliography, https://dblp.org
- Zhu, S., Dong, X., & Su, H. (2019). Binary Ensemble Neural Network: More Bits per Network or More Networks per Bit?. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 4918–4927. https://doi.org/10.1109/cvpr.2019.00506
- Zhuang, B., Shen, C., Tan, M., Liu, L., & Reid, I. (2019). Structured Binary Neural Networks for Accurate Image Classification and Semantic Segmentation. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 413–422. https://doi.org/10.1109/cvpr.2019.00050
- Stochastic gradient learning in neural networks, Bottou, Léon, 1991, Proceedings of Neuro Nimes, 91, 8, 12
Citations
- Staudigl, F., & Leupers, R. (2026). Fault Injection in Logic-in-Memory Architectures. In Synthesis Lectures on Engineering, Science, and Technology (pp. 45–67). Springer Nature Switzerland. https://doi.org/10.1007/978-3-032-09586-2_4
- Seo, H. K., Jung, J., Jeong, J.-S., Park, M. H., Kim, G. H., & Yang, M. K. (2026). Sn-Doped selector-only memory with stable threshold voltage margin for robust binary neural network inference. Advanced Composites and Hybrid Materials, 9(2). https://doi.org/10.1007/s42114-025-01601-w
- Zhao, Z., Zhang, Y., Liu, L., Dong, F., Guo, Z., Yang, J., Wu, R., Zhou, Y., Ma, K., Gao, X., & Xing, G. (2026). Physics-Aware Co-training to Overcome Device Non-idealities in Canted SOT-MTJ Arrays for In-Memory Computing. ACS Applied Electronic Materials. https://doi.org/10.1021/acsaelm.6c01422
- Pham, D.-A., Ikuko, S., & Nakajo, H. (2026). Stacking Binary Neural Networks for Efficient Edge-Based Waste Classification. IEEE Access, 14, 42569–42591. https://doi.org/10.1109/access.2026.3674977
- Raghav, H. S., Smart, M., Maheshwari, S., & Serb, A. (2026). An Energy-Efficient Adiabatic Capacitive Single-Layer Neural Network for Pattern Recognition. 2026 24nd IEEE Interregional NEWCAS Conference (NEWCAS), 1–5. https://doi.org/10.1109/newcas64543.2026.11674043
- Franco, B. L., Romdhane, A., Miquel, J., Novo, D., & Benoit, P. (2026). Chip-Agnostic Hardware-Aware Training for ADC-Efficient BNNs in SOT-MRAM Crossbars. 2026 IFIP/IEEE 34th International Conference on Very Large Scale Integration (VLSI-SoC), 1–5. https://doi.org/10.1109/vlsi-soc70418.2026.11740593
- Nardini, F. M., Rulli, C., Trani, S., & Venturini, R. (2025). Neural network compression using binarization and few full-precision weights. Information Sciences, 716, 122251. https://doi.org/10.1016/j.ins.2025.122251
- Mohseni, A., Moaiyeri, M. H., & Adel, M. J. (2025). A novel obfuscation method based on majority logic for preventing unauthorized access to binary deep neural networks. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-09722-4
- Andreo-Oliver, F. J., Domenech-Asensi, G., Diaz-Madrid, J. A., Ruiz-Merino, R., & Zapata-Perez, J. (2025). Optimizing binary neural network quantization for fixed pattern noise robustness. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-10833-1
- Chakrabarty, S., Bandyopadhyay, M., & Bishwas, P. (2025). Memory Efficient Audio Classification Using Binarized Neural Network. 2025 IEEE Guwahati Subsection Conference (GCON), 1–6. https://doi.org/10.1109/gcon65540.2025.11173395
- Conrad, J., Wilhelmstätter, S., Mandry, H., Kässer, P., Abdelaal, A., Asthana, R., Belagiannis, V., & Ortmanns, M. (2025). PSumSim: A Simulator for Partial-Sum Quantization in Analog Matrix-Vector Multipliers. 2025 IEEE International Symposium on Circuits and Systems (ISCAS), 1–5. https://doi.org/10.1109/iscas56072.2025.11043442
- Cubero-Cascante, J., Pelke, R., Flohr, N., Vaidyanathan, A., Leupers, R., & Joseph, J. M. (2025). Evaluating the Scalability of Binary and Ternary CNN Workloads on RRAM-based Compute-in-Memory Accelerators. 2025 IEEE Computer Society Annual Symposium on VLSI (ISVLSI), 1–6. https://doi.org/10.1109/isvlsi65124.2025.11130326
- Duan, S., Shafik, R., & Yakovlev, A. (2025). ETHEREAL: Energy-efficient and High-throughput Inference using Compressed Tsetlin Machine. 2025 10th International Workshop on Advances in Sensors and Interfaces (IWASI), 1–6. https://doi.org/10.1109/iwasi66786.2025.11121985
- Wu, R., Wang, B., & Zhao, Z. (2025). EPBNN: Efficient and Private Inference for Binary Neural Network. IEEE Internet of Things Journal, 12(10), 14586–14598. https://doi.org/10.1109/jiot.2025.3526191
- Chen, Y., Layeghy, S., & Portmann, M. (2025). Quantised Neural Network NIDS on SmartNIC: Balancing Accuracy and Efficiency in P4. 2025 IEEE 50th Conference on Local Computer Networks (LCN), 1–9. https://doi.org/10.1109/lcn65610.2025.11146316
- Udoy, I. A., Sharmin, R., Hossain, M. M., Islam, S. K., & Hassan, O. (2025). Lightweight Binarized Neural Network for Real-Time Sleep Apnea Detection on Edge Hardware. 2025 IEEE Medical Measurements & Applications (MeMeA), 1–6. https://doi.org/10.1109/memea65319.2025.11068064
- Hollen, J., & John, E. (2025). Mars Surface Novelty Detection Using Binarized Neural Networks. 2025 IEEE 68th International Midwest Symposium on Circuits and Systems (MWSCAS), 327–331. https://doi.org/10.1109/mwscas53549.2025.11244558
- Kumar, D., & Satija, U. (2025). On-Chip Memory Optimization for Deep Learning Inference on Resource-Deficient Devices. IEEE Transactions on Circuits and Systems for Artificial Intelligence, 2(1), 14–24. https://doi.org/10.1109/tcasai.2024.3523858
- Qin, H., Liu, X., Ma, X., Ke, L., Zhang, Y., Luo, J., & Magno, M. (2025). BiVM: Accurate Binarized Neural Network for Efficient Video Matting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(10), 9250–9265. https://doi.org/10.1109/tpami.2025.3584928
- Shakkouf, A., & Gromov, V. S. (2025). Forward and Inverse Tasks for Inference Rate Estimation in Binary Neural Networks. Journal of Instrument Engineering, 68(7), 567–575. https://doi.org/10.17586/0021-3454-2025-68-7-567-575
- Mohseni, A., Moaiyeri, M. H., & Adel, M. J. (2025). A Novel Obfuscation Method Based on Majority Logic for Preventing Unauthorized Access to Binary Deep Neural Networks. In Research Square. Springer Science and Business Media LLC. https://doi.org/10.21203/rs.3.rs-6049848/v1
- Rangsikunpum, A., Amiri, S., & Ost, L. (2025). Ultra-Lightweight and Highly Efficient Pruned Binarised Neural Networks for Intrusion Detection in In-Vehicle Networks. Electronics, 14(9), 1710. https://doi.org/10.3390/electronics14091710
- Liao, Y., Lin, H., Wu, J., Lu, W., Li, H., Li, X., & Yan, G. (2024). Athena: Add More Intelligence to RMT-Based Network Data Plane with Low-Bit Quantization. In Lecture Notes in Computer Science (pp. 259–273). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-69766-1_18
- Li, H., Zhu, C., Liu, X., Li, L., & Liu, H. (2024). Hybrid binarized neural network for high-accuracy classification of power quality disturbances. Electrical Engineering. https://doi.org/10.1007/s00202-024-02650-y
- Lee, H., & Saeed, A. (2024). Distilled non-semantic speech embeddings with binary neural networks for low-resource devices. Pattern Recognition Letters, 177, 15–19. https://doi.org/10.1016/j.patrec.2023.11.028
1–25 of 85