EcoFair: Energy-Efficient Inference Routing for Edge AI under Data Degradation

arXiv:2603.26483 · cs.LG · Submitted 2026-03-27 · Read on arXiv

cs.LG

Submitted: 2026-03-27

Updated: 2026-09-07

Comments: 16 pages, 4 figures, 4 tables. Code and supplementary materials available at https://github.com/mociatto/EcoFair

Journal ref: Ad Hoc Networks, 104403, 2026

DOI: 10.1016/j.adhoc.2026.104403

Code: https://github.com/mociatto/EcoFair

License: http://creativecommons.org/licenses/by/4.0/

The gist: Medical edge-AI systems must operate under a difficult tension: delivering reliable diagnostic inference while running on devices with limited battery capacity, memory, and compute.

Terminology

Abstract

Medical edge-AI systems must operate under a difficult tension: delivering reliable diagnostic inference while running on devices with limited battery capacity, memory, and compute. In dermatology, this problem is amplified by real-world image degradation caused by smartphone capture, poor lighting, blur, compression, and heterogeneous edge sensors. To handle these degraded inputs, deploying a heavyweight model can improve reliability, but it rapidly increases the energy burden on resource-constrained devices. Conversely, always using a lightweight model saves energy but may be less reliable on ambiguous or degraded inputs. This paper introduces EcoFair, a vertically partitioned inference framework for dermatology classification in which image and tabular inputs remain local to edge clients while only learned modality-specific representations are transmitted for server-side fusion. EcoFair first processes each sample using a lightweight image encoder and then decides whether additional heavyweight computation is necessary. Escalation is triggered when the lightweight prediction exhibits high uncertainty, a narrow separation between safe and high-risk classes, or elevated metadata-derived risk from patient age and lesion location. Across HAM10000, BCN20000, and PAD-UFES-20, EcoFair is evaluated using multiple lightweight--heavy backbone pairings to quantify the trade-off between energy consumption, diagnostic performance, and worst-group malignant-case recall. Results show that EcoFair can reduce per-sample image-inference energy by up to 68% relative to always using the heavyweight encoder, while selectively allocating additional computation under difficult data regimes to support inference reliability. Group-level analysis further shows configuration-dependent effects, with improvements in selected model--dataset settings and mixed behaviour in others.

Related papers