← Lab /AI/ML

INT8-quantized shallow MLPs detect Android malware with >99.2% accuracy using only 0.0189 mJ per inference

INT8-quantized shallow neural networks achieve >99.2% detection accuracy while reducing energy consumption to 0.0189 mJ per inference

AI/ML arXiv 22 Jul 2026 Measurement Prototype evidence

Published as “Taming the Security-Energy Paradox: A Green AI Approach to Optimized Android Malware Detection”

Why it matters

Developers can deploy shallow INT8 models on Android phones to obtain near- malware detection while keeping battery impact negligible.

Summary

Shallow INT8-quantized neural networks can achieve up to 99.31% detection accuracy while using as little as 0.0189 mJ of energy per inference, showing that high-accuracy Android malware detection does not have to drain battery life. The evidence comes from experiments on two public malware datasets using emulated Android devices, so the claim is supported but limited to simulated hardware.

What they found 2

  1. The highest accuracy achieved on TUANDROMD is 99.31% with a 5-layer model.

    “On the TUANDROMD dataset, the highest accuracy achieved is 99.31% with a 5-layer model, and the recall is constant 1.00.”

  2. The 3-layer QNN is the optimal configuration for TUANDROMD, consuming 0.0189 mJ with 99.24% accuracy.

    “The 3-layer QNN was the optimal choice for TUANDROMD dataset as it consumed less energy (0.0189 mJ) with an accuracy of 99.24%.”

Caveats 4

  • Increasing model depth from 3 to 5 layers raised energy consumption from 0.0189 mJ to 0.0231 mJ (a 22% increase) despite only modest latency growth.
  • The evaluation was performed on Android Virtual Devices, which do not fully capture real-world hardware energy behavior.
  • A key limitation is the use of Android Virtual Devices (AVD) for performance and energy evaluation, as emulators do not fully capture real-world hardware behavior.
  • Future work is needed to assess the impact of Neural Processing Units (NPUs) and the calibration reliability of FP32-to-INT8 quantization.

What’s new here 4

  • Evaluates post-training INT8 quantization for Android malware detection models.
  • Identifies the optimal combination of model depth and quantization that balances accuracy and energy use.
  • Provides empirical energy estimates using a published equation rather than only reporting accuracy.
  • Demonstrates a 3.5× model size reduction with negligible accuracy loss on real-world malware datasets.