Database Machine Learning Model Compilation and Data Preprocessing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data warehouse systems lack integrated machine learning capabilities, limiting their ability to efficiently perform data analytics and generate insights from vast datasets.

Innovation Solution

A database system with integrated machine learning capabilities, including compute nodes, storage nodes, query engines, and a machine learning model creation system that trains and deploys machine learning models, compiles them based on hardware configurations, and performs preprocessing operations to prepare data for analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If machine learning capabilities are integrated into the data warehouse system, then data analytics efficiency and insight generation are improved, but system complexity increases

Engineering Contradiction:
Improvedata analytics efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent combines machine learning capabilities directly into the data warehouse system by integrating model training, deployment, and execution functions with existing compute nodes and storage nodes. This merging allows the system to perform both traditional data warehousing operations and machine learning workloads within a unified architecture, improving analytics efficiency while managing complexity through integration rather than separate systems

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates multi-functional compute nodes that can handle both traditional query processing and machine learning model execution. The system design allows single compute nodes to perform multiple functions including data processing, model training, and prediction operations, thereby improving overall system productivity without proportionally increasing system complexity

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If machine learning models are trained and deployed within the data warehouse, then end-to-end analytics capability is improved, but resource management complexity increases

Engineering Contradiction:
Improveend-to-end analytics capabilityVSAvoidresource management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic resource allocation where compute nodes can be dynamically assigned to different machine learning workloads based on demand. The system can scale computing resources up or down, allocate resources to specific model training or inference tasks, and adapt resource distribution in real-time, providing end-to-end analytics capability while managing resource complexity through dynamic rather than static allocation

Inventive Principle:
Principle #15Dynamics

3Productivity

If preprocessing operations are performed at the database system, then data preparation efficiency for machine learning is improved, but query processing overhead increases

Engineering Contradiction:
Improvedata preparation efficiencyVSAvoidquery processing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent performs preprocessing operations such as data filtering, aggregation, and transformation at the database system before data is exported for machine learning model execution. By conducting these preprocessing actions in advance within the database layer, the system improves data preparation efficiency for subsequent model operations while reducing the computational burden and time required during actual query processing and model inference

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11636124B1Integrating query optimization with machine learning model prediction
Publication Date: 2023.04.25 AMAZON TECH INC
  • US11636124B1 patent drawing
  • US11636124B1 patent drawing
  • US11636124B1 patent drawing

AI summary

A database system may include a machine learning model which may be used to perform various data analytics for data stored in the database system. In response to a request to invoke the machine learning model to generate a prediction from data stored in the database system, the database system may perform one or more optimization operations, as part of a query plan, to prepare the data to make it suitable for use by the machine learning model.