# Data Compression in LoRa Networks: Performance and Energy Trade-Offs of Classical and Cutting-Edge Compression Algorithms

**Authors:** Rafaella Laureano Dias, Evandro César Vilas Boas, Felipe A. P. de Figueiredo, Samuel B. Mafra, Messaoud Ahmed Ouameur

PMC · DOI: 10.3390/s26051414 · Sensors (Basel, Switzerland) · 2026-02-24

## TL;DR

This paper compares data compression methods for LoRa networks, finding that LZW is best for energy efficiency while ML-based methods are better for more powerful gateways.

## Contribution

The study evaluates classical and modern compression algorithms in LoRa networks, revealing practical trade-offs between energy efficiency and compression performance.

## Key findings

- LZW achieves the best energy efficiency, reducing LoRa transmission energy by up to 7.41%.
- ML-based algorithms like CMIX and PAQ8PX offer higher compression ratios but consume more energy and memory.
- Metadata overheads significantly impact payload efficiency for small packets in LoRa networks.

## Abstract

The growing number of Internet of Things (IoT) devices has driven the need for energy-efficient communication in long-range, low-power networks like LoRa. LoRa offers wide coverage with minimal transmission power. However, radio communication remains the main energy consumer in end devices. Data compression can mitigate this issue by reducing packet size and transmission frequency. This work presents a comprehensive evaluation of classical and cutting-edge lossless compression algorithms applied to LoRa networks. Evaluated algorithms include Huffman, LZW, BSC, CMIX, PAQ8PX, GMIX, and LSTM-compress. Experiments were conducted using a Raspberry Pi 5 integrated with an RFM95W LoRa module and INA219 sensors to measure real-time power consumption, CPU load, and memory usage. Results show that classical methods, particularly LZW, achieve the best energy efficiency and reduce LoRa transmission energy by up to 7.41%. In contrast, cutting-edge machine learning (ML)-based algorithms, such as CMIX and PAQ8PX, achieve higher compression ratios but exhibit excessive computational and memory overhead, resulting in negative energy gains. Metadata overheads, including dynamic Huffman tables (28–128 bytes), also affect payload efficiency for small packets. These findings indicate that LZW is the most practical choice for energy-constrained LoRa nodes. At the same time, modern compressors, including ML-based ones, are better suited for gateways or edge servers with higher computational capacity. An open-source implementation of the experimental framework and scripts used in this study is available in the project’s public GitHub repository.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12987361/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12987361/full.md

## References

55 references — full list in the complete paper: https://tomesphere.com/paper/PMC12987361/full.md

---
Source: https://tomesphere.com/paper/PMC12987361