Real-time Feature Store via Dynamic Tables

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Configuring a feature store for machine learning and data science workflows is challenging and time-consuming, particularly in managing and updating features in real-time to support accurate predictions.

Innovation Solution

A network-based database system with a feature configuration manager that uses dynamic tables for incremental feature computation, enabling continuous computation of real-time features, low-latency serving, and historical feature storage, while reducing engineering complexity and feature lag.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If traditional feature store configuration methods are used, then features can be stored and accessed, but the configuration process becomes challenging and time-consuming

Engineering Contradiction:
Improveease of feature store configurationVSAvoidtime to configure and manage features
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The system enables automatic feature computation and updates through triggered tasks that execute autonomously when source data changes. The feature store self-manages its data pipeline, computing features incrementally and pushing updates without manual intervention, thereby reducing configuration complexity and time investment

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-configures feature computation logic and triggers during the initial setup phase. By establishing the computational framework and automation rules in advance, the system eliminates the need for time-consuming manual feature engineering and management during deployment and operation

Inventive Principle:
Principle #10Preliminary action

2Reliability

If real-time feature computation is implemented, then feature freshness is improved, but system complexity and engineering effort increase

Engineering Contradiction:
Improvefeature freshnessVSAvoidengineering complexity of real-time computation
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system dynamically adjusts feature computation based on data changes. Triggered tasks automatically detect when source tables are modified and initiate incremental feature computation only when needed, rather than continuously computing all features. This dynamic approach maintains feature freshness while reducing unnecessary computational overhead and system complexity

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the computational parameters from batch processing to event-driven incremental processing. By monitoring data change events and adjusting computation frequency based on actual data updates, the system achieves real-time feature freshness with reduced engineering complexity compared to continuous computation approaches

Inventive Principle:
Principle #35Parameter changes

3Speed

If incremental feature computation is used, then feature lag is reduced, but consistency management between real-time and historical features becomes more challenging

Engineering Contradiction:
Improvefeature computation speedVSAvoidinconsistency between real-time and historical features
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The system implements feedback mechanisms where triggered tasks monitor data changes in source tables and automatically initiate feature computation when changes are detected. This feedback loop ensures that incremental updates are consistently applied to both real-time and historical features, maintaining data consistency while enabling fast computation. The system tracks feature lineage and propagation to prevent inconsistencies

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system uses triggered tasks as intermediary components that mediate between source data changes and feature computation. These intermediaries ensure consistent application of incremental updates across different feature types and time periods, acting as a buffer that maintains consistency between real-time and historical features while enabling rapid computation

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20240362196A1Real-time feature store in a database system
Publication Date: 2024.10.31 SNOWFLAKE INC
  • US20240362196A1 patent drawing
  • US20240362196A1 patent drawing
  • US20240362196A1 patent drawing

AI summary

Provided herein are systems and methods for real-time feature store configuration. The method includes decoding raw data received from a data source to obtain decoded raw data. The decoded raw data includes streaming data and batch data. An incremental computation of features associated with the decoded raw data is performed using at least one dynamic table object. The features are pushed to a feature store using at least one triggered task. Optionally, training of a machine learning model is performed using the features in the feature store.