Introduction
As artificial intelligence transitions from centralized data centers to edge devices—such as autonomous drones, smart home assistants, and industrial sensors—energy efficiency has become a critical constraint. While existing research often focuses on model compression (quantization, pruning) or optimizing GPU clock speeds, two significant gaps remain. First, hardware components like memory and CPU frequency are frequently overlooked, left at high-performance default settings that drain batteries. Second, edge devices often need to perform local "fine-tuning" to adapt to new environments. Running these training tasks alongside live inference typically results in latency spikes that violate Service Level Objectives (SLOs).
PolyThrottle addresses these challenges by co-optimizing hardware frequencies (GPU, CPU, and memory) and software parameters (batch size) using a statistical approach that avoids exhaustive grid searches.
System Architecture and Methodology
PolyThrottle is a two-phase optimization framework designed to find the "sweet spot" for performance and power consumption.
Phase 1: Constrained Bayesian Optimization (CBO)
Rather than testing every possible combination of settings, PolyThrottle employs Constrained Bayesian Optimization. This approach builds a statistical model of the energy-latency landscape and intelligently selects the next configuration to sample. It treats the latency SLO as a hard constraint, searching for the lowest energy setting that meets the required deadline. The framework tunes four hardware knobs—Max GPU frequency, Min GPU frequency, Memory frequency, and CPU frequency—alongside the software knob of batch size.
Phase 2: Workload-Aware Scheduling
To manage on-device fine-tuning, PolyThrottle utilizes a linear performance predictor. By analyzing a model's complexity (FLOPs) and arithmetic intensity, it predicts whether a fine-tuning task will cause live inference to lag. If the risk to the user experience is too high, the scheduler throttles or delays the fine-tuning task to protect inference latency.
Key Insights: Navigating the Energy Landscape
The relationship between hardware settings, inference latency, and energy use is non-linear and highly device-specific. The researchers found that the energy landscape often resembles a "bowl."
As shown in the figure above, default settings are typically located on the high-rim (fast but wasteful), while the bottom of the bowl represents the optimal balance. PolyThrottle identifies this optimal point 3-10x faster than random searching. Other key insights include:
- Memory Impact: For memory-bound models like BERT, tuning memory frequency was more impactful than GPU tuning, accounting for 12% to 25% of total energy savings.
- The "Minimum" Frequency Paradox: Surprisingly, increasing the minimum GPU frequency can save energy for small models. It prevents the hardware from entering low-power states that extend execution time, allowing the device to finish the task faster and return to an idle state sooner (the "race to sleep" principle).
- CPU Preprocessing: Throttling the CPU during image resizing and color conversion phases can save up to 6% of total system energy with negligible impact on total latency.
Experimental Results
The researchers evaluated PolyThrottle using state-of-the-art models (EfficientNet B0/B4/B7 and BERT-Base) on Nvidia Jetson TX2 and Jetson Orin platforms.
- Energy Savings: PolyThrottle achieved up to a 36% reduction in energy consumption per query compared to default settings.
- Search Efficiency: The CBO approach converged on near-optimal settings in just 5 to 15 samples (a few minutes), whereas traditional grid searches could take hours.
- SLO Reliability: In scenarios with bursty traffic, the adaptive scheduler reduced SLO violations from 37.9% to just 2.1% on the Jetson Orin by intelligently managing concurrent fine-tuning tasks.
Limitations and Future Work
While effective, PolyThrottle currently operates at the batch level. If a single inference batch takes a long time, the system cannot preempt it mid-way, which can lead to minor SLO misses in extremely tight windows. Additionally, the framework relies on hardware that exposes specific power-monitoring rails. Future research will explore more complex "space-sharing" techniques on GPUs to further improve the coexistence of inference and fine-tuning on a single chip.
Summary updated