Decoupled Data Transformation Logic for ML Pipelines
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Machine learning models require frequent updates and resource-intensive maintenance due to inconsistent data processing and tied data retrieval logic, leading to inefficiencies and redundancy across different execution contexts and technologies.
Innovation Solution
A system with decoupled transformation logic units that reference needed data via metadata, allowing separate data gathering and computation, enabling reuse across various contexts and technologies, and storing logic metadata for transparency and reproducibility.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If data retrieval and transformation logic are tied together in a single script, then data can be retrieved and processed, but the logic becomes difficult to reuse across different machine learning models and execution contexts
Solution Approach 1:
The patent segments the data retrieval and transformation logic into separate, independent components. The transformation logic is extracted as a distinct unit that can be reused across different models, while the data retrieval logic remains separate. This segmentation enables the transformation logic to be shared across multiple machine learning models without requiring code duplication.
Solution Approach 2:
The transformation logic is extracted from the data retrieval script and stored as a separate, reusable unit. This extracted transformation logic can be independently applied to different data sources and models, eliminating the need to rewrite transformation code when working with different datasets or models.
2Adaptability or versatility
If data derivation logic is tied to a specific database or technology, then data can be retrieved efficiently, but the logic must be rewritten when technology changes
Solution Approach 1:
The patent introduces an intermediary layer between the data retrieval logic and the transformation logic. This intermediary acts as a technology-agnostic interface that allows transformation logic to be written once and executed across different databases and technologies without requiring modifications to the transformation logic itself.
Solution Approach 2:
The transformation logic is designed as a universal component that can work with multiple data sources and technologies. By abstracting the transformation logic from specific technology implementations, the same logic can be applied across different databases, cloud platforms, and data warehouses without rewriting.
3Adaptability or versatility
If transformation logic is written for a specific execution context, then the logic can be optimized for that context, but the logic cannot be reused in other execution contexts
Solution Approach 1:
The transformation logic is designed as a universal component that can be executed across multiple contexts including batch processing, streaming, and real-time inference. The logic is abstracted from specific execution context details, allowing the same transformation code to function in different environments without modification.
Solution Approach 2:
The system dynamically adapts the execution of transformation logic based on the execution context. The same transformation logic can be executed with different parameters and configurations depending on whether it's running in batch mode, streaming mode, or real-time inference, providing flexibility without requiring separate logic for each context.
4Productivity
If data retrieval scripts are copied and pasted for different models, then the same data can be retrieved, but redundancy and inconsistency increase
Solution Approach 1:
Instead of copying and pasting entire data retrieval and transformation scripts, the patent uses a centralized repository of transformation logic that can be referenced and applied to multiple models. This eliminates redundancy while maintaining consistency, as the same transformation logic is applied uniformly across all models without manual copying.
Data Source
AI summary
A data transformation system for implementing reproducible and consistent data transformations in multiple execution contexts (batch, streaming, etc.) where the transformation function/logic initially acts on historical raw data to produce derived data to train a machine learning model. When the model is trained and deployed to handle streaming event data, the same transformation is reused to transform streaming data into the appropriate derived data for the model scoring, and later for a refit of the model.


