Harnessing the Computing Continuum Across Personalized Healthcare, Maintenance and Inspection, and Farming 4.0

Fatemeh Baghdadi, Davide Cirillo, Daniele Lezzi, Francesc Lordan, Fernando Vázquez, Eugenio Lomurno, Alberto Archetti, Danilo Ardagna, Matteo Matteucci

TL;DR

The AI-SPRINT project introduces a comprehensive framework to bridge the gap between centralized cloud data centers and edge devices—a concept known as the computing continuum. By providing a unified toolchain for design and runtime, the researchers successfully deployed high-performance, privacy-preserving AI applications in three diverse fields: personalized stroke risk assessment, wind turbine maintenance, and precision viticulture.

What Problem Does This Paper Address?

While Artificial Intelligence is increasingly moving from the cloud to the "edge" (smartphones, sensors, and IoT devices), deploying these applications remains a fragmented and difficult process. Developers face a "trilemma" of balancing model accuracy, latency/performance, and privacy/security.

Current solutions often struggle to manage resources across the entire continuum. For instance, a drone inspecting a wind turbine needs real-time processing to avoid crashes, but complex structural analysis might require the heavy lifting of a cloud server. This paper demonstrates how the AI-SPRINT framework provides the tools to orchestrate these moving parts seamlessly while maintaining rigorous security standards like GDPR.

Methods

The paper details the AI-SPRINT Toolchain, which is divided into two main phases:

  1. AI-SPRINT Studio (Design Time):
    • PyCOMPS/dislib: A library that simplifies parallelizing Python code for distributed environments.
  2. POPNAS (Pareto-Optimal Progressive Neural Architecture Search): An AutoML algorithm that automatically finds the best neural network architecture by balancing competing goals (e.g., high accuracy vs. low memory usage).
  3. SPACE4AI-D: A tool that identifies the most efficient way to allocate resources across different computational layers.
  4. AI-SPRINT Runtime:
    • OSCAR: A serverless (FaaS) platform that allows for event-driven processing in Docker containers, scaling automatically based on workload.
  5. SCONE: Uses Trusted Execution Environments (TEEs) like Intel SGX to ensure code and data remain encrypted and unmodified even while in use.
  6. SGDE (Secure Generative Data Exchange): A privacy-preserving alternative to federated learning that allows institutions to share synthetic data instead of raw, sensitive information.

Datasets

The researchers validated their framework using a mix of public and proprietary data:

  • Healthcare: Used the public PhysioNet/CinC Challenge dataset (thousands of ECG sequences) and a new pilot study involving 26 Spanish volunteers who provided 15 days of continuous ECG recordings and lifestyle data.
  • Maintenance: Utilized a proprietary dataset of wind turbine blade images captured by drones.
  • Farming: A two-phase dataset. Phase 1 included 464 RGB images with over 7,000 labeled objects (foliage, grapes) captured by a sensor-equipped tractor. Phase 2 added 75 images captured via mobile devices to test robustness.

Key Insights and Ideas

  • The Continuum is Not Just "Edge vs. Cloud": The "aha moment" here is that the most efficient AI doesn't live in just one place. By using SPACE4AI-R, the system can dynamically move tasks between the edge and cloud based on current network conditions and battery life.
  • Privacy via Synthesis: Instead of moving sensitive medical data, the SGDE tool trains "generators" locally. These generators create synthetic data that mimics the real data's statistical properties, allowing for collaborative AI training without ever exposing a patient's actual ECG.
  • Automated Optimization: The use of POPNAS highlights that human engineers no longer need to manually tune models for every specific device (like a Raspberry Pi vs. a GPU server); the framework handles the "architecture search" to find the sweet spot for each hardware target.

Key Results

  • Personalized Healthcare: Achieved 93.5% accuracy in detecting atrial fibrillation (a major stroke risk) using a 2D CNN architecture optimized by the framework.
  • Maintenance and Inspection: The system reduced data transmission to the cloud by 30% (and up to 80% for newer turbines). It maintained a response time of under 2 seconds, meeting the critical safety requirements for drone flight.
  • Farming 4.0: The foliage segmentation model achieved a 96.8% mean accuracy, allowing for highly precise pesticide application that reduces environmental impact and costs.

Limitations and Future Work

The authors acknowledge a few areas for improvement:

  • Dynamic Scaling Constraints: While the framework supports it, dynamic provisioning (migrating components on-the-fly as compute needs change) was not fully tested in the maintenance use case.
  • Hardware Bottlenecks: In the maintenance scenario, the specific resource constraints of the Nvidia Jetson Nano required significant model downsizing, suggesting that hardware-aware design is still a major hurdle.
  • Integration Complexity: While the toolchain is powerful, the paper notes that the "pragmatic and resource-conscious" approach required significant early-stage planning (quality annotations) to be successful.

Summary updated

BibTeX
@inproceedings{baghdadi2024harnessing,
  author = {Fatemeh Baghdadi and Davide Cirillo and Daniele Lezzi and Francesc Lordan and Fernando Vázquez and Eugenio Lomurno and Alberto Archetti and Danilo Ardagna and Matteo Matteucci},
  title = {{Harnessing the Computing Continuum Across Personalized Healthcare, Maintenance and Inspection, and Farming 4.0}},
  booktitle = {CLOSER},
  year = {2024},
  doi = {10.5220/0012739700003711},
}

Loading related content...

Figure