# US 2022/0292116 A1 · Constrained Multi-Label Dataset Partitioning for Automated Machine Learning

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

- Number: US 2022/0292116 A1
- Document ID: US20220292116A1
- Status: Published application
- Kind: A1
- Application number: 17/196,742
- Filed: 2021-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Disney Enterprises, Inc.
- Applicants: Disney Enterprises, Inc.
- Inventors: Marc Junyent Martin; Miquel Angel Farre Guiu
- Web page: https://patentgrep.com/patent/US20220292116A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system includes a computing platform having processing hardware and a memory storing a software code. The processing hardware executes the software code to receive a dataset including at least some data samples having multiple metadata labels, and identify a partitioning constraint and a partitioning of the dataset into data subsets. The software code also executed obtains, for each metadata label, a desired distribution ratio based on the number of the data subsets and a total number of instances that each metadata label has been applied to the data samples, aggregates, using the partitioning constraint, the data samples into data sample groups, assigns, using the partitioning constraint and the desired distribution ratio for each of the metadata labels, each of the data sample groups to one of the data subsets, wherein each of the data subsets are unique, and trains, using one of the data subsets, a machine learning model.

## Claims

### Claim 1

A system comprising:
a computing platform including a processing hardware and a system memory storing a software code;
the processing hardware configured to execute the software code to:
receive a dataset including a plurality of data samples, at least some of the plurality of data samples having a plurality of metadata labels applied thereto;
identify a partitioning constraint and a partitioning of the dataset into a plurality of data subsets;
obtain, for each of the plurality of metadata labels, a desired distribution ratio based on the plurality of data subsets and a total number of instances that each of the plurality of metadata labels has been applied to the plurality of data samples;
aggregate, using the partitioning constraint, the plurality of data samples into a plurality of data sample groups;
assign, using the partitioning constraint and the desired distribution ratio for each respective one of the plurality of metadata labels, each of the plurality of data sample groups to one of the plurality of data subsets, wherein each of the plurality of data subsets are unique; and
train, using one of the plurality of data subsets, a machine learning model.

### Claim 2 (depends on 1)

The system of claim 1, wherein to assign each of the plurality of data sample groups to one of the plurality of data subsets, the processing hardware is further configured to execute the software code to:
select a metadata label from the plurality of metadata labels;
identify one or more of the plurality of data sample groups having a most instances of the selected metadata label;
identify a first data sample group of the one or more of the plurality of data sample groups having the most instances of the selected metadata label; and
determine, using the desired distribution ratio for the selected metadata label and the partitioning constraint, a first data subset of the plurality of data subsets for assignment of the first data sample group;
wherein assigning the first data sample group to the first data subset results in an assigned data sample group and at least one unassigned data sample group.

### Claim 3 (depends on 2)

The system of claim 2, wherein to assign each of the plurality of data sample groups to one of the plurality of data subsets, the processing hardware is further configured to execute the software code to:
select another metadata label from among another one or more metadata labels of the plurality of metadata labels;
identify one or more of the at least one unassigned data sample groups having a most instances of the selected another metadata label;
identify a second data sample group of the at least one unassigned data sample groups having the most instances of the selected another metadata label; and
determine, using the desired distribution ratio for the selected another metadata label and the partitioning constraint, a second data subset of the plurality of data subsets for assignment of the second data sample group;
wherein assigning the second data sample to the second data subset results in a second assigned data sample group and at least one other unassigned data sample group.

### Claim 4 (depends on 3)

The system of claim 3, wherein the selected metadata label is a metadata label of the plurality of metadata labels applied to a fewest of the plurality of data sample groups, and wherein the selected another metadata label is another metadata label of the plurality of metadata labels applied to a fewest of the at least one unassigned data sample group.

### Claim 5 (depends on 1)

The system of claim 1, wherein the processing hardware is further configured to execute the software code to:
validate, using another one of the plurality of data subsets, the machine learning model.

### Claim 6 (depends on 1)

The system of claim 1, wherein the plurality of data subsets comprise a training data subset and a validation data subset, and wherein a partitioning ratio of the training data subset to the dataset is greater than or equal to 0.6 and less than 1.0.

### Claim 7 (depends on 1)

The system of claim 1, wherein the plurality of data samples comprise a plurality of images.

### Claim 8 (depends on 7)

The system of claim 7, wherein the plurality of images comprise a plurality of video frames including first video frames, and wherein the partitioning constraint precludes the first video frames from one of a same shot or a same scene of video content from being assigned to different data subsets.

### Claim 9 (depends on 1)

The system of claim 1, wherein the plurality of data samples comprise a plurality of audio samples including first audio samples, and wherein the partitioning constraint precludes the first audio samples from one of a same audio track or a same multi-track audio file from being assigned to different data subsets.

### Claim 10 (depends on 1)

The system of claim 1, wherein each of the plurality of data samples comprise a plurality of words including first words, and wherein the partitioning constraint precludes the first words from one of a same sentence, a same paragraph, a same title, or a same place-name from being assigned to different data subsets.

### Claim 11

A method for use by a system including a computing platform having a processing hardware and a system memory storing a software code, the method comprising:
receiving, by the software code executed by the processing hardware, a dataset including a plurality of data samples, at least some of the plurality of data samples having a plurality of metadata labels applied thereto;
identifying, by the software code executed by the processing hardware, a partitioning constraint and a partitioning of the dataset into a plurality of data subsets;
obtaining, by the software code executed by the processing hardware for each of the plurality of metadata labels, a desired distribution ratio based on the plurality of data subsets and a total number of instances that each of the plurality of metadata labels has been applied to the plurality of data samples;
aggregating, by the software code executed by the processing hardware and using the partitioning constraint, the plurality of data samples into a plurality of data sample groups;
assigning, by the software code executed by the processing hardware and using the partitioning constraint and the desired distribution ratio for each respective one of the plurality of metadata labels, each of the plurality of data sample groups to one of the plurality of data subsets, wherein each of the data subsets are unique; and
training, by the software code executed by the processing hardware and using one of the plurality of data subsets, a machine learning model.

### Claim 12 (depends on 11)

The method of claim 11, wherein assigning each of the plurality of data sample groups to the one of the plurality of data subsets further comprises:
selecting, by the software code executed by the processing hardware, a metadata label from the plurality of metadata labels;
identifying, by the software code executed by the processing hardware, one or more of data sample groups having most instances of the selected metadata label;
identifying, by the software code executed by the processing hardware, a first data sample group of the one or more of the plurality of data sample groups having the most instances of the selected metadata label; and
determining, by the software code executed by the processing hardware and using the desired distribution ratio for the selected metadata label and the partitioning constraint, a first data subset of the plurality of data subsets for assignment of the first data sample group;
wherein assigning the first data sample group to the first data subset results in an assigned data sample group and at least one unassigned data sample group.

### Claim 13 (depends on 12)

The method of claim 12, wherein assigning each of the plurality of data sample groups to the one of the plurality of data subsets further comprises:
selecting, by the software code executed by the processing hardware, another metadata label from among another one of the plurality of metadata labels;
identifying, by the software code executed by the processing hardware, one or more of the at least one unassigned data sample groups having most instances of the selected another metadata label;
identifying, by the software code executed by the processing hardware, a second data sample group of the at least one of the plurality of unassigned data sample groups having the most instances of the selected another metadata label;
determining, by the software code executed by the processing hardware and using the desired distribution ratio for the selected another metadata label and the partitioning constraint, a second data subset of the plurality of data subsets for assignment of the second data sample group;
wherein assigning the second data sample to the second data subset results in a second assigned data sample group and at least one other unassigned data sample group.

### Claim 14 (depends on 13)

The method of claim 13, wherein the selected metadata label is a metadata label of the plurality of metadata labels applied to a fewest of the plurality of data sample groups, and wherein the selected another metadata label is another metadata label of the plurality of metadata labels applied to a fewest of the at least one unassigned data sample group.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
validating, by the software code executed by the processing hardware and using another one of the plurality of data subsets, the machine learning model.

### Claim 16 (depends on 11)

The method of claim 11, wherein the plurality of data subsets comprise a training data subset and a validation data subset, and wherein a partitioning ratio of the training data subset to the dataset is greater than or equal to 0.6 and less than 1.0.

### Claim 17 (depends on 11)

The method of claim 11, wherein the plurality of data samples comprise a plurality of images.

### Claim 18 (depends on 17)

The method of claim 17, wherein the plurality of images comprise a plurality of video frames including first video frames, and wherein the partitioning constraint precludes the first video frames from one of a same shot or a same scene of video content from being assigned to different data subsets.

### Claim 19 (depends on 11)

The method of claim 11, wherein the plurality of data samples comprise a plurality of audio samples including first audio samples, and wherein the partitioning constraint precludes the first audio samples from one of a same audio track or a same multi-track audio file from being assigned to different data subsets.

### Claim 20 (depends on 11)

The method of claim 11, wherein each of the plurality of data samples comprise a plurality of words including first words, and wherein the partitioning constraint precludes first words from one of a same sentence, a same paragraph, a same title, or a same place-name from being assigned to different data subsets.
