Causify DataFlow: 一个用于高性能机器学习流计算的框架
Causify DataFlow: A Framework For High-performance Machine Learning Stream Computing
AI总结:
Causify DataFlow通过基于DAG的统一执行模型,解决流式机器学习中的因果性问题,实现高可靠性和性能的流计算框架。
摘要:
我们提出了DataFlow,一种用于构建、测试和部署在无界时间序列数据上的高性能机器学习系统的计算框架。传统数据科学工作流假设数据集是有限的,并且在从批处理原型迁移到流式生产系统时需要大量的重新实现。这种差距引入了因果性违反、批次边界伪影和实时故障的不可重现性。DataFlow通过基于有向无环图(DAGs)的统一执行模型来解决这些问题,该模型具有时间点的不可变性:任何时间t的输出仅取决于固定长度的前导上下文窗口。这种保证确保了在流式生产中,以批处理模式开发的模型在没有代码更改的情况下执行一致。该框架通过自动跟踪所有转换中的知识时间来强制严格因果性,消除了未来窥视的bug。DataFlow支持在时间和特征维度上的灵活分块,允许通过配置单独操作同一模型在不同频率和内存配置下运行。它原生集成了Python数据科学栈,并提供适合/预测语义用于在线学习、缓存和增量计算,以及通过DAG调度的自动并行化。我们展示了其在金融交易、物联网、欺诈检测和实时分析等领域的有效性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。