EcoLens: Leveraging Multi-Objective Bayesian Optimization for Energy-Efficient Video Processing on Edge Devices

Benjamin Civjan, Bo Chen, Ruixiao Zhang, Klara Nahrstedt

TL;DR

EcoLens is an energy-aware video filtering system designed to extend the battery life of edge devices like drones and smart glasses. By using Multi-Objective Bayesian Optimization (MBO) to dynamically tune both hardware (CPU frequency) and software (filtering thresholds and bitrates) settings, it achieves up to 44.6% energy savings over state-of-the-art methods while maintaining high object detection accuracy.

What Problem Does This Paper Address?

As we deploy more AI-powered cameras for city surveillance, search-and-rescue drones, and wearable tech, we hit a major bottleneck: battery life.

Current video analytics pipelines often use "on-camera filtering" to discard redundant frames before sending them to a server. While this saves bandwidth and server-side compute, existing solutions (like Reducto or Glimpse) largely ignore the energy consumed by the edge device itself during the filtering and encoding process.

The challenge is that the relationship between "control knobs"—such as CPU frequency, filter types, and bitrates—and the resulting energy/accuracy trade-off is non-linear and changes constantly based on the video scene (e.g., day vs. night). Finding the "sweet spot" that minimizes power without missing critical objects is a complex, moving target.

Methods

The authors propose EcoLens, a two-stage system:

  1. Offline Sensing: They profiled 1,452 different configurations on a Raspberry Pi 5. They adjusted four primary "knobs":
  2. CPU Frequency: Using DVFS (Dynamic Voltage and Frequency Scaling).
  3. Filter Type: Comparing Pixel, Area, and Edge-based difference filters.
  4. Filtering Threshold: Determining how much a frame must change to be "important."
    • Frame Bitrate: Controlling the quality of the encoded video sent to the server.
  5. Online Adaptive Stage: Since a static configuration fails when the environment changes, EcoLens uses Multi-Objective Bayesian Optimization (MBO).
  6. The system periodically sends a short burst of "ground truth" frames to the server to evaluate current performance.
  7. The MBO engine uses a sliding window of recent observations to suggest new configurations that expand the Pareto front (the set of optimal trade-offs where you can't improve energy without hurting accuracy, or vice versa).
  8. It specifically employs the Expected Hypervolume Improvement (EHVI) function to intelligently explore the configuration space in real-time.

Datasets

The researchers evaluated EcoLens using real-world video streams:

  • Jackson Hole Live Camera: Includes both "Day" (highly dynamic, many cars/pedestrians) and "Night" (static, low light) clips to test scene drift.
  • UIUC Campus: Outdoor footage from a university campus.
  • Object Detection: They used YOLOv8 running on an Nvidia 4060 RTX (server-side) to provide the inference results used for accuracy calculations.

Key Insights and Ideas

  • Hardware + Software Co-optimization: One of the biggest "aha" moments is that hardware settings (CPU freq) and software settings (filter type) shouldn't be tuned in isolation. For instance, a higher CPU frequency might allow for more complex filtering that actually saves energy overall by reducing the encoder's workload.
  • The "Pixel" Filter is King: Among low-level filters, the simple "pixel difference" filter consistently yielded the best energy-to-accuracy trade-off, leading the authors to "greedily" select it to simplify the online search space.
  • Scene Sensitivity: The paper highlights "data drift"—a configuration that provides 86% accuracy during the day might plummet to 43% at night because the visual features the filters rely on change entirely.
  • Efficiency of MBO: Rather than an exhaustive grid search (which is impossible in real-time), MBO allows the system to find near-optimal settings with very few samples, making it practical for live streaming.

Key Results

  • Energy Savings: EcoLens outperformed the state-of-the-art Reducto by up to 44.6% in energy savings.
  • Accuracy Maintenance: The system successfully stayed within 3% of the target accuracy (90% in their tests) across different scenes.
  • Battery Impact: In a theoretical projection, EcoLens could extend the video streaming life of a GoPro Hero13 from roughly 60 minutes to over 80 minutes, or a portable battery-powered setup from 5 hours to over 7 hours.
  • Low Overhead: The MBO configuration selection takes about 11.68 seconds on average—a small price to pay for significant long-term energy gains in a continuous stream.

Limitations and Future Work

  • Stationary vs. Mobile: The current evaluation focuses on stationary cameras. The authors acknowledge that drones or wearables (which involve constant camera motion) would likely require a broader range of thresholds and bitrates to handle the increased "noise" in the video.
  • Profiling Time: The initial offline profiling stage is extensive. Future work could look into "cold-start" methods that don't require such heavy pre-profiling.
  • Network Variability: While the paper notes that Wi-Fi energy was negligible in their specific setup, in 5G or high-congestion environments, the energy cost of the radio might become a more significant factor to include in the MBO model.

Summary updated

BibTeX
@inproceedings{civjan2025ecolens,
  author = {Benjamin Civjan and Bo Chen and Ruixiao Zhang and Klara Nahrstedt},
  title = {{EcoLens: Leveraging Multi-Objective Bayesian Optimization for Energy-Efficient Video Processing on Edge Devices}},
  booktitle = {Smartcomp},
  year = {2025},
  doi = {10.1109/smartcomp65954.2025.00059},
}
Figure