Data Compression is a staple of data processing and storage. Sending and storing data more efficiently is an open challenge in the Internet-of-Things (IoT), with devices typically characterized by limited availability of energy and computing power. The problem tackled in this paper is the massive amounts of sensor data collected and sent uncompressed by IoT-devices. We address this issue by compressing local data using a neural network supplemented with the Residual Vector Quantization (RVQ) technique. This paper, inspired by lossy neural compressors for audio like Google Soundstream and Meta EnCodec, proposes EdgeCodec: a lightweight lossy neural compressor specifically designed to run at the edge on lowpower and resource constrained Microcontroller Units (MCUs). EdgeCodec processes multi-channel data with a flexible end-toend learnable pipeline. We evaluate EdgeCodec in a real-life challenging use case, namely wind turbine monitoring using a 40-channel barometric sensor. Under the proposed use-case, our EdgeCodec reaches a Compression Ratio (CR) between 2560 and 10240 that can be varied in real-time to tune the tradeoff between compression and reconstruction quality. Executed onboard a low-power MCU, EdgeCodec achieves an average reconstruction error of 2.54% over the whole validation set. It requires only 52.6ms to compress the 16 kb generated in 1 s. Final results demonstrate how EdgeCodec can reduce the energy consumption by 2.9x for the required wireless transmission.

Hodo, B., Polonelli, T., Moallemi, A., Benini, L., Magno, M. (2025). EdgeCodec: Onboard Lightweight High Fidelity Neural Compressor with Residual Vector Quantization. 345 E 47TH ST, NEW YORK, NY 10017 USA : IEEE [10.1109/iwasi66786.2025.11121988].

EdgeCodec: Onboard Lightweight High Fidelity Neural Compressor with Residual Vector Quantization

Polonelli, Tommaso;Moallemi, Amirhossein;Benini, Luca;Magno, Michele
2025

Abstract

Data Compression is a staple of data processing and storage. Sending and storing data more efficiently is an open challenge in the Internet-of-Things (IoT), with devices typically characterized by limited availability of energy and computing power. The problem tackled in this paper is the massive amounts of sensor data collected and sent uncompressed by IoT-devices. We address this issue by compressing local data using a neural network supplemented with the Residual Vector Quantization (RVQ) technique. This paper, inspired by lossy neural compressors for audio like Google Soundstream and Meta EnCodec, proposes EdgeCodec: a lightweight lossy neural compressor specifically designed to run at the edge on lowpower and resource constrained Microcontroller Units (MCUs). EdgeCodec processes multi-channel data with a flexible end-toend learnable pipeline. We evaluate EdgeCodec in a real-life challenging use case, namely wind turbine monitoring using a 40-channel barometric sensor. Under the proposed use-case, our EdgeCodec reaches a Compression Ratio (CR) between 2560 and 10240 that can be varied in real-time to tune the tradeoff between compression and reconstruction quality. Executed onboard a low-power MCU, EdgeCodec achieves an average reconstruction error of 2.54% over the whole validation set. It requires only 52.6ms to compress the 16 kb generated in 1 s. Final results demonstrate how EdgeCodec can reduce the energy consumption by 2.9x for the required wireless transmission.
2025
2025 10th International Workshop on Advances in Sensors and Interfaces (IWASI)
1
6
Hodo, B., Polonelli, T., Moallemi, A., Benini, L., Magno, M. (2025). EdgeCodec: Onboard Lightweight High Fidelity Neural Compressor with Residual Vector Quantization. 345 E 47TH ST, NEW YORK, NY 10017 USA : IEEE [10.1109/iwasi66786.2025.11121988].
Hodo, Benjamin; Polonelli, Tommaso; Moallemi, Amirhossein; Benini, Luca; Magno, Michele
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1040851
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex ND
social impact