Model-Driven Analytics: Connecting Data, Domain Knowledge, and Learning

Thomas Hartmann, Assaad Moawad, François Fouquet, Grégory Nain, Jacques Klein, Yves Le Traon, Jean-Marc JézéquelarXiv 2017

Abstract

In the era of Big Data, the traditional "store everything, analyze later" pipeline is reaching its limits, particularly in complex domains like smart grids. This paper presents Model-Driven Analytics (MDA), a framework that integrates expert domain knowledge directly into the data processing loop. By leveraging models to bridge the gap between raw data and high-level insights, MDA enables more efficient processing, causal reasoning, and significant reductions in storage requirements. We demonstrate the efficacy of this approach through a real-world smart grid case study, achieving up to 99% data compression and 60x speedups in data access.

Introduction

The common metaphor that "data is the new oil" highlights its potential value but overlooks the necessity of refinement. Raw data is rarely useful in isolation; it requires sophisticated processing to yield actionable insights. However, traditional data analytics often fall into the "Big Data Pathology"—a state where systems are overwhelmed by the volume of data they collect without a clear understanding of its context or significance. This paper introduces Model-Driven Analytics (MDA) as a solution, shifting the focus from rigid, linear pipelines to a continuous, knowledge-rich refinement process.

The Big Data Pathology

Most contemporary data analytics rely on a pipeline-based approach. Data is extracted from various sources, copied into immutable structures, and processed through a series of discrete steps to produce an output. While effective for simple logging or sorting, this method struggles with complex, dynamic environments like smart grids or autonomous vehicles.

The authors identify three primary flaws in traditional pipelines:

  1. Inefficiency: Minor changes in input data often necessitate re-running the entire, computationally expensive pipeline.
  2. Storage Bloat: The "store everything" mentality leads to massive, unmanageable datasets that are difficult to query and maintain.
  3. Semantic Disconnect: Pipelines often lack a "semantic link," meaning the system does not understand the underlying physical laws or domain rules governing the data.
Comparison of traditional pipeline-based analytics (a) vs. the proposed model-driven approach (b).

The Model-Driven Analytics Framework

MDA addresses these issues by placing a domain model at the center of the analytics process. Instead of a linear flow, MDA utilizes a continuous refinement loop.

The Domain Model

The domain model serves as the system's "brain," encoding expert knowledge—such as mathematical formulas, physical laws (e.g., Kirchhoff's laws for electricity), and domain-specific rules—directly into the processing logic. This allows the system to interpret data in real-time rather than treating it as a series of opaque bits.

Knowledge Layers

The framework maintains a distinction between two layers: a Knowledge Graph (KG) representing high-level understanding and a Persistent Backend Graph (PBG) managing the underlying raw data. By understanding the domain, the system can perform intelligent filtering. For instance, instead of storing every raw sensor reading, it can store a mathematical polynomial that approximates the sensor's behavior, drastically reducing storage needs without losing significant information.

Case Study: Smart Grid Monitoring

The authors validated MDA through a partnership with Creos Luxembourg, a major electricity grid operator. The challenge was to monitor live sensor data across a complex network to detect anomalies and simulate "what-if" scenarios.

In this application, domain experts helped define the topology of the grid (meters, cables, cabinets) and the mathematical rules governing power flow. This integrated approach allowed the system to not only detect suspicious consumption patterns with high accuracy (83-93%) but also to simulate the impact of physical changes to the grid—a task impossible for purely correlation-based machine learning models.

The MDA framework applied to a smart grid case study, integrating domain knowledge for real-time reasoning.

Key Results

The implementation of MDA yielded significant quantitative improvements over traditional methods:

  • Data Compression: By using domain-aware polynomial approximations, the system achieved a 99% compression rate for constant values and 46% to 73% for diverse IoT datasets.
  • Processing Speed: Analyzing compressed mathematical representations instead of raw data points resulted in random read operations being 40x to 60x faster.
  • Incremental Updates: The system's understanding of data relationships allowed for incremental updates, where only affected parts of the knowledge base are recalculated, rather than the entire dataset.

Conclusion

Model-Driven Analytics represents a significant evolution in how we handle Big Data. By centralizing domain logic in reusable models and creating a feedback loop between data collection and high-level reasoning, MDA overcomes the limitations of traditional pipelines. It provides a scalable, efficient, and context-aware framework suitable for the next generation of complex industrial and IoT systems.

Summary updated

BibTeX
@misc{hartmann2017model,
  author = {Thomas Hartmann and Assaad Moawad and François Fouquet and Grégory Nain and Jacques Klein and Yves Le Traon and Jean-Marc Jézéquel},
  title = {{Model-Driven Analytics: Connecting Data, Domain Knowledge, and Learning}},
  year = {2017},
  eprint = {1704.01320},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.01320},
}
Figure