← Latest papers
💻 computer science

Quantization Trade-offs in Edge AI: Evaluating Lightweight Neural Architectures for Mobile-Based Healthcare and Agricultural Diagnostics

This study empirically evaluates lightweight neural architectures and compression techniques on ARM-based edge devices, demonstrating that MobileNetV2 with INT8 quantization offers the optimal balance of accuracy and efficiency for mobile healthcare and agricultural diagnostics, while highlighting the severe accuracy trade-offs of pruning on complex visual data.

Original authors: NUR ALAM RAKIB, MD NAHIDUL ISLAM

Published 2026-11-11
📖 5 min read🧠 Deep dive

Original authors: NUR ALAM RAKIB, MD NAHIDUL ISLAM

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where a doctor in a remote village or a farmer in a vast, sun-drenched field can diagnose a serious illness or a crop disease instantly, without needing to send samples to a distant laboratory or wait for a cloud server to process the data. This is the promise of edge artificial intelligence: the ability to run sophisticated computer vision directly on small, battery-powered devices like smartphones or handheld scanners. For this to work, the software must be incredibly efficient, fitting into tiny amounts of memory and running fast enough to give an answer in seconds, all while preserving the privacy of the user's data. The challenge lies in the fact that the most accurate computer models for seeing and diagnosing are usually massive, requiring powerful computers that simply do not exist in these off-grid settings. Researchers have long sought a way to shrink these giant models down to fit on a pocket device without losing their ability to see the subtle details that separate a healthy leaf from a diseased one, or a benign skin spot from a dangerous tumor.

A team of researchers at Nanjing University of Information Science and Technology set out to solve this specific puzzle by testing how far they could compress these digital brains before they broke. They focused on two critical areas: mobile healthcare, where devices screen for skin cancer and malaria parasites, and precision agriculture, where cameras identify diseases on mango and soybean leaves. The team took five different types of lightweight neural networks—software architectures designed to be small and fast—and tested them on five different real-world datasets. These datasets ranged from high-resolution images of skin lesions and microscopic blood cells to photos of crop leaves taken in messy, unpredictable field conditions. The researchers wanted to see which of these small models could survive the harsh reality of being shrunk down for a mobile device without losing their diagnostic accuracy.

To make these models fit on a device like a Raspberry Pi 5, a small single-board computer often used as a testbed for edge technology, the team applied two different methods of compression. The first method was like taking a high-resolution photograph and converting it to a lower-quality format to save space; in technical terms, this is called quantization. They converted the model's internal numbers from a high-precision format that takes up a lot of memory into a simpler, 8-bit integer format. The second method was more drastic: they attempted to cut out entire sections of the model's brain that they thought were redundant, a process known as structured pruning. They then ran these compressed models on the hardware to measure how fast they could make a diagnosis, how much memory they used, and, most importantly, whether they could still get the right answer.

The results revealed a clear and surprising truth about how to build these diagnostic tools. The method that simply reduced the precision of the numbers, known as dynamic 8-bit quantization, worked remarkably well. It cut the size of the models in half, reducing a model that took up nearly 9 megabytes of storage to just over 4 megabytes, yet the model's ability to diagnose remained almost exactly the same. For instance, a model used to screen for skin lesions maintained an accuracy of 92.40% after compression, virtually identical to its original performance. Similarly, models analyzing crop diseases held their ground, with one maintaining 90.00% accuracy on complex field data. This approach proved to be a safe and reliable way to shrink the software without damaging its intelligence.

In stark contrast, the method that tried to physically remove parts of the model's structure, known as structured pruning, proved to be a dangerous gamble. While it did reduce the number of active connections, it caused the models to lose their ability to recognize fine details. On complex datasets like the PlantDoc collection, which features crops photographed in real-world fields with shadows and clutter, pruning caused accuracy to plummet by as much as 25%. The models became confused, failing to distinguish between healthy and diseased leaves or between different types of skin conditions. The researchers found that this aggressive cutting stripped away the very features the models needed to see the subtle patterns that define a diagnosis, rendering them unreliable for real-world use.

The study also highlighted that not all small models are created equal. One architecture, called MobileNetV2, emerged as the most balanced choice, offering the best mix of high accuracy and resilience to compression. It performed consistently well across both medical and agricultural tasks, making it a strong candidate for smartphones and handheld scanners. Another model, ShuffleNetV2, was the fastest, capable of making a decision in just 7 milliseconds, but it was fragile; it struggled when the input images were noisy or complex, and its performance dropped significantly when pruned. The researchers also tested newer, nano-scale object detectors adapted for classification, finding that while they were robust, they required more memory and processing power than the simpler models, sometimes exceeding the strict limits of low-power devices.

Ultimately, the work provides a clear roadmap for engineers and doctors who want to bring advanced diagnostics to the field. The findings suggest that the best path forward is to use dynamic quantization to shrink models, as it preserves their intelligence while saving space, rather than trying to prune them, which risks destroying their ability to see. By choosing the right model architecture and applying the correct compression technique, it is possible to deploy powerful diagnostic tools on devices that fit in a pocket, operate without internet access, and run on a single battery charge. This means that in the near future, a farmer could point a phone at a sick plant and get an immediate answer, or a community health worker could screen for malaria in a remote clinic, all powered by software that has been carefully tuned to be both small and smart.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →