Causify DataFlow: A Framework For High-performance Machine Learning Stream Computing
By: Giacinto Paolo Saggese, Paul Smith
We present DataFlow, a computational framework for building, testing, and deploying high-performance machine learning systems on unbounded time-series data. Traditional data science workflows assume finite datasets and require substantial reimplementation when moving from batch prototypes to streaming production systems. This gap introduces causality violations, batch boundary artifacts, and poor reproducibility of real-time failures. DataFlow resolves these issues through a unified execution model based on directed acyclic graphs (DAGs) with point-in-time idempotency: outputs at any time t depend only on a fixed-length context window preceding t. This guarantee ensures that models developed in batch mode execute identically in streaming production without code changes. The framework enforces strict causality by automatically tracking knowledge time across all transformations, eliminating future-peeking bugs. DataFlow supports flexible tiling across temporal and feature dimensions, allowing the same model to operate at different frequencies and memory profiles via configuration alone. It integrates natively with the Python data science stack and provides fit/predict semantics for online learning, caching and incremental computation, and automatic parallelization through DAG-based scheduling. We demonstrate its effectiveness across domains including financial trading, IoT, fraud detection, and real-time analytics.
Similar Papers
DataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AI
Machine Learning (CS)
Makes AI learn better from data.
DoFlow: Causal Generative Flows for Interventional and Counterfactual Time-Series Prediction
Machine Learning (Stat)
Predicts future events, even if things change.
CauSTream: Causal Spatio-Temporal Representation Learning for Streamflow Forecasting
Machine Learning (CS)
Predicts river water flow better by understanding causes.