keypadml: run and benchmark PyTorch CNNs on old Java ME feature phones
keypadml is an open-source Python library that runs and benchmarks PyTorch convolutional neural networks on old Java ME feature phones. It exports a model and test inputs to a self-contained jar; on the phone, a 30 KB interpreter times each inference, checks the outputs against PyTorch and saves the results, and image models can classify camera snapshots or photos. We ran a fixed suite of 20 benchmark jars on four Nokia phones from 2008–2010. Every prediction matched PyTorch, and latency was proportional to the number of multiply-adds, at 1.0–4.5 million per second depending on the phone.
Authors
- Abdellatif El Afia (ORCID: https://orcid.org/0000-0003-1921-4431)
- Raddouane Chiheb (ORCID: https://orcid.org/0000-0002-9576-2686)
- Said Ohamouddou (ORCID: https://orcid.org/0009-0006-9175-9769)
- Hanaa El Afia
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24794290
- Primary Topic
- Advanced Neural Network Applications
- Type
- preprint