# US 11,119,992 B2 · System for automated data engineering for large scale machine learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,119,992 B2
- Document ID: US11119992B2
- Status: Granted
- Kind: B2
- Application number: 15/959,560
- Filed: 2018-04-23
- Published: 2018-10-25
- Granted: 2021-09-14
- Earliest claimed: 2017-04-25
- Assignees: Petuum Inc.
- Applicants: Petuum Inc.
- Inventors: Wei Dai; Weiren Yu; Eric Xing
- Web page: https://patentgrep.com/patent/US11119992B2

## CPC

- G06N 20/00: Machine learning
- G06F 15/76: Architectures of general purpose stored program computers (with program plugboard G06F15/08; multicomputers G06F15/16)
- G06F 16/213: {with details for schema evolution support}
- G06F 16/273: {Asynchronous replication or reconciliation}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Accordingly, a data engineering system for machine learning at scale is disclosed. In one embodiment, the data engineering system includes an ingest processing module having a schema update submodule and a feature statistics update submodule, wherein the schema update submodule is configured to discover new features and add them to a schema, and wherein the feature statistics update submodule collects statistics for each feature to be used in an online transformation, a record store to store data from a data source, and a transformation module, to receive a low dimensional data instance from the record store and to receive the schema and feature statistics from the ingest processing module, and to transform the low dimensional data instance into a high dimensional representation. One embodiment provides a method for data engineering for machine learning at scale, the method including calling a built-in feature transformation or defining a new transformation, specifying a data source and compressing and storing the data, providing ingest-time processing by automatically analyzing necessary statistics for features, and then generating a schema for a dataset for subsequent data engineering. Other embodiments are disclosed herein.

## Claims

### Claim 1

A data engineering system for machine learning at scale, comprising:
one or more processing units; and
a memory comprising:
an ingest processing module having a schema update submodule and a feature statistics update submodule, wherein the schema update submodule is configured to discover new features and add the new features to a schema, and wherein the feature statistics update submodule collects statistics for each feature to be used in an online transformation module, wherein the feature statistics can be computed incrementally, wherein the online transformation module uses a master-worker architecture to facilitate a master to maintain a feature schema and the feature statistics for allowing one or more workers to access data, wherein the master performs a schema resolution to generate an output schema;
a record store to store the data from a data source; and
a transformation module to receive a low dimensional data instance from the record store, to receive the schema and the feature statistics from the ingest processing module, and to transform the low dimensional data instance into a high dimensional representation, wherein the schema resolution performs transformations on the schema following a topologically ordered transformation graph to ensure that each transformation has an input and an output, wherein the master does not perform transformation on the data, which is done in parallel by a plurality of client nodes through a client library, wherein the schema resolution produces a physical layout of the features sent to the client nodes to perform the transformation, wherein when the workers perform the transformation, the transformation materializes according to an order used in the schema resolution.

### Claim 2 (depends on 1)

The system of claim 1, further comprising a library to cache transformations for future use without having to recalculate the transformation.

### Claim 3 (depends on 2)

The system of claim 2, wherein when there are multiple transformations the library can cache at least one of intermediate results or final transformation.

### Claim 4 (depends on 1)

The system of claim 1, wherein feature statistics are collected while data is being added to the ingesting processing module.

### Claim 5 (depends on 1)

The system of claim 1, wherein feature statistics are collected asynchronously in background prior to transformation.

### Claim 6 (depends on 1)

The system of claim 1, wherein the system is configured to receive feature outputs from deep learning modules from an upstream machine and to derive new transformations from the deep learning modules.

### Claim 7 (depends on 1)

The system of claim 1, wherein the system can provide features to a downstream system that will ingest the features as training inputs.

### Claim 8 (depends on 1)

The system of claim 1, wherein the system stores data as rows in tables and the data is ordered by an ingest order, and wherein each table has a schema that defines fields of each row.

### Claim 9 (depends on 1)

The system of claim 1, further comprising a plurality of at least one of the ingest processing module, the record store, and the online transformation module, wherein the plurality is distributed on multiple computers.

### Claim 10 (depends on 1)

The system of claim 1, wherein the system defines a range over a row ordering according to data access pattern of a plurality of scalable machine learning algorithms.
