Optimising TinyML with Quantization and Distillation of Transformer and Mamba Models for Indoor Localisation on Edge Devices
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
This paper proposes small and efficient machine learning models (TinyML) for resource-constrained edge devices, specifically for on-device indoor localisation. Typical approaches for indoor localisation rely on centralised remote processing of data transmitted from lower powered devices such as wearables. However, there are several benefits for moving this to the edge device itself, including increased battery life, enhanced privacy, reduced latency and lowered operational costs, all of which are key for common applications such as health monitoring. The work focuses on model compression techniques, including quantization and knowledge distillation, to significantly reduce the model size while maintaining high predictive performance. We base our work on a large state-of-the-art transformer-based model and seek to deploy it within low-power MCUs. We also propose a state-space-based architecture using Mamba as a more compact alternative to the transformer. Our results show that the quantized transformer model performs well within a 64 KB RAM constraint, achieving an effective balance between model size and localisation precision. Additionally, the compact Mamba model has strong performance under even tighter constraints, such as a 32 KB of RAM, without the need for model compression, making it a viable option for more resource-limited environments. We demonstrate that, through our framework, it is feasible to deploy advanced indoor localisation models onto low-power MCUs with restricted memory limitations. The application of these TinyML models in healthcare has the potential to revolutionize patient monitoring by providing accurate, real-time location data while minimizing power consumption, increasing data privacy, improving latency and reducing infrastructure costs.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 20 of its 43 references that are in the map. First posted on arXiv 12 Dec 2024.
Builds on
20 of 43 references.
Closest ancestors · 1
Same direction, newest first
Other references · 19
- 2017Attention Is All You Needcited by 59,932
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
- 2021A Survey of Transformerscited by 399
- 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 91
- 2024TimeMachine: A Time Series is Worth 4 Mambas for Long-term Forecastingcited by 63
- 2024Mamba in Speech: Towards an Alternative to Self-Attentioncited by 58
- 2017DarkRank: Accelerating Deep Metric Learning via Cross Sample Similarities Transfercited by 55
7 more
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2023Categories of Response-Based, Feature-Based, and Relation-Based Knowledge Distillationcited by 19
- 2024Saturn: Sample-efficient Generative Molecular Design using Memory Manipulationcited by 14
- 2021Greedy-layer Pruning: Speeding up Transformer Models for Natural Language Processingcited by 11
- 2024EPSD: Early Pruning with Self-Distillation for Efficient Model Compressioncited by 6
- 2023Multimodal Indoor Localisation in Parkinson's Disease for Detecting Medication Use: Observational Pilot Study in a Free-Living Settingcited by 4
- 2020Detecting Signatures of Early-stage Dementia with Behavioural Models Derived from Sensor Datacited by 2
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025Quantizing Small-Scale State-Space Models for Edge AIcited by 3
- 2025MambaLite-Micro: Memory-Optimized Mamba Inference on MCUscited by 1
- 2025A Survey of TinyML Applications in Beekeeping for Hive Monitoring and Managementcited by 0
- 2026Lightweight Transformer Architectures for Edge Devices in Real-Time Applicationscited by 0
- 2026TT-SEAL: TTD-Aware Selective Encryption for Adversarially-Robust and Low-Latency Edge AIcited by 0
- 2026TT-SEAL: TTD-Aware Selective Encryption for Adversarially-Robust and Low-Latency Edge AI24 Feb 2026
- 2026Lightweight Transformer Architectures for Edge Devices in Real-Time Applications5 Jan 2026
- 2025A Survey of TinyML Applications in Beekeeping for Hive Monitoring and Management10 Sep 2025
- 2025MambaLite-Micro: Memory-Optimized Mamba Inference on MCUs5 Sep 2025
- 2025Quantizing Small-Scale State-Space Models for Edge AI14 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025On-Sensor Convolutional Neural Networks with Early-Exits
- 2025UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs
- 2024MambaLoc: Efficient Camera Localisation via State Space Model
- 2025eMamba: Efficient Acceleration Framework for Mamba Models in Edge Computing
- 2024QUTE: Quantifying Uncertainty in TinyML with Early-exit-assisted ensembles for model-monitoring
- 2026A KL Lens on Quantization: Fast, Forward-Only Sensitivity for Mixed-Precision SSM-Transformer Models
- 2025FastMamba: A High-Speed and Efficient Mamba Accelerator on FPGA with Accurate Quantization
- 2025EdgeNavMamba: Mamba Optimized Object Detection for Energy Efficient Edge Devices