Skip to main content
QUICK REVIEW

[Paper Review] Scalable Deployment of AI Time-series Models for IoT

Bradley Eck, Francesco Fusco|arXiv (Cornell University)|Mar 24, 2020
Time Series Analysis and ForecastingComputer Science8 references5 citations
TL;DR

This paper presents IBM Research Castor, a cloud-native system for scalable deployment of AI time-series models in IoT applications. It enables automated, parallel execution of thousands of models using serverless computing and semantic knowledge graphs, achieving sub-20s average inference latency and supporting up to 27,600 model scoring jobs per hour with 175 parallel executions.

ABSTRACT

IBM Research Castor, a cloud-native system for managing and deploying large numbers of AI time-series models in IoT applications, is described. Modelling code templates, in Python and R, following a typical machine-learning workflow are supported. A knowledge-based approach to managing model and time-series data allows the use of general semantic concepts for expressing feature engineering tasks. Model templates can be programmatically deployed against specific instances of semantic concepts, thus supporting model reuse and automated replication as the IoT application grows. Deployed models are automatically executed in parallel leveraging a serverless cloud computing framework. The complete history of trained model versions and rolling-horizon predictions is persisted, thus enabling full model lineage and traceability. Results from deployments in real-world smart-grid live forecasting applications are reported. Scalability of executing up to tens of thousands of AI modelling tasks is also evaluated.

Motivation & Objective

  • To address the challenge of manually deploying and managing thousands of AI time-series models in large-scale IoT systems.
  • To enable automated, scalable execution of AI models using serverless cloud computing.
  • To support model reuse and automated replication through semantic modeling of time-series data and model templates.
  • To ensure full model lineage and traceability by persisting model versions and rolling-horizon predictions.
  • To evaluate system scalability under real-world workloads in smart-grid forecasting applications.

Proposed method

  • The system uses a microservices architecture with separate time-series management and model management services deployed on a serverless cloud platform.
  • Time-series data is stored in a knowledge-based data store that enables semantic reasoning for feature engineering and model configuration.
  • Model implementations are written in Python or R, packaged into PyPI repositories, and deployed programmatically against specific semantic instances (e.g., substations, buildings).
  • Model scheduling is event-driven, with periodic checks based on user-defined schedules to trigger training or inference.
  • Model execution leverages serverless functions with 2 CPUs and 2GB RAM, enabling automatic parallelization and horizontal scaling.
  • Full model lineage is preserved by persisting all trained model versions and rolling-horizon predictions in a centralized database.

Experimental results

Research questions

  • RQ1How can AI time-series models be automatically deployed and scaled across thousands of IoT entities in a production environment?
  • RQ2To what extent can semantic knowledge graphs enable reusable and composable model implementations in IoT applications?
  • RQ3What is the performance and scalability of executing tens of thousands of AI model inference jobs in a serverless, cloud-native architecture?
  • RQ4How does the system maintain model lineage and traceability across multiple model versions and predictions?
  • RQ5What are the practical performance bottlenecks in scaling model execution, and how can they be mitigated?

Key findings

  • The system achieved an average model scoring duration of 15.9 seconds across 174 models in the Cyprus smart-grid deployment, with sub-20s latency across all sites.
  • With 175 parallel model executions, the system sustained 27,600 scoring jobs per hour, demonstrating high throughput and scalability.
  • Performance gains diminished beyond 175 parallel jobs, with 200 jobs yielding only 26,700 jobs/hour, indicating a performance plateau due to database back-end limitations.
  • The system enabled semi-automated deployment of 174 models from just 6 model implementations at site 3, demonstrating high model reuse and configurability.
  • Full model lineage was preserved, enabling validation of model performance across multiple prediction horizons using persisted rolling-window forecasts.
  • The system demonstrated feasibility for real-time, large-scale forecasting in smart-grid applications, with live updates to hundreds of localized energy demand and generation forecasts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.