# US 2022/0284285 A1 · Training a machine learning-based model for action recognition

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

- Number: US 2022/0284285 A1
- Document ID: US20220284285A1
- Status: Published application
- Kind: A1
- Application number: 17/563,812
- Filed: 2021-12-28
- Published: 2022-09-08
- Earliest claimed: 2021-03-02
- Assignees: Sony Group Corporation
- Applicants: Sony Group Corporation
- Inventors: Sangxia HUANG
- Web page: https://patentgrep.com/patent/US20220284285A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06V 10/7747: {Organisation of the process, e.g. bagging or boosting}
- G06V 10/82: using neural networks
- G06V 40/103: {Static body considered as a whole, e.g. static pedestrian or occupant recognition}
- G06V 40/23: {Recognition of whole body movements, e.g. for sport training}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A device for training a first machine learning-based model (MLM) for action recognition implements a training method. According to the training method, the training device obtains training data that comprises time sequences of data samples, which represent predefined subjects that are performing predefined actions. The training device trains the first MLM based on the training data, to discriminate between the predefined actions and to be adversarial to discrimination between the predefined subjects by a second MLM, and trains the second MLM based on feature data that is extracted by the first MLM for the training data, to discriminate between the predefined subjects. Thereby, the first MLM is encouraged to extract feature data that is unrelated to individual subjects, which improves action recognition performance of the trained first MLM when encountering new subjects.

## Claims

### Claim 1

A method of training a first machine learning-based model (MLM) for action recognition, said method comprising: obtaining training data comprising time sequences of data samples, wherein the time sequences of data samples represent predefined subjects which are performing predefined actions; training the first MLM based on the training data, to discriminate between the predefined actions; and training a second MLM based on feature data that is extracted by the first MLM for the training data, to discriminate between the predefined subjects; wherein the training of the first MLM is performed to be adversarial to the discrimination between the predefined subjects by the second MLM,
wherein the training of the first MLM comprises: determining parameter values of the first MLM that minimizes a first loss function that represents a difference between action data generated by the first MLM and action reference data, which is predefined and associated with the training data, and that minimizes a second loss function that represents how much subject-related information is contained in the feature data.

### Claim 2 (depends on 1)

The method of claim 1, wherein all parameter values of the second MLM are fixed during the training of the first MLM.

### Claim 3 (depends on 2)

The method of claim 2, wherein all parameter values of the first MLM are fixed during the training of the second MLM.

### Claim 4 (depends on 2)

The method of claim 2, wherein the second loss function represents a difference between subject identity data generated by the second MLM and target data, which is predefined and associated with the training data.

### Claim 5 (depends on 4)

The method of claim 4, wherein the training of the second MLM comprises determining parameter values of the second MLM that minimizes a third loss function that represents a difference between the subject identity data generated by the second MLM and further target data, which is predefined and associated with the training data.

### Claim 6 (depends on 5)

The method of claim 5, wherein the second loss function is a negation of the third loss function.

### Claim 7 (depends on 4)

The method of claim 4, wherein the training of the first MLM results in a probability distribution over the predefined subjects, and wherein the target data comprises a reference probability distribution that represents fractional occurrences of the predefined subjects in the training data, and wherein the second loss function operates on the probability distribution and the reference probability distribution.

### Claim 8 (depends on 4)

The method of claim 4, wherein the training of the first MLM, for a time sequence associated with a predefined action, results in a probability distribution over the predefined subjects, wherein the target data comprises a reference probability distribution that represents fractional occurrences of the predefined subjects in the training data for each predefined action, wherein the second loss function operates on a difference between the probability distribution and a corresponding reference probability distribution, wherein the corresponding reference probability distribution is associated with the predefined action.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second loss function aggregates, for the time sequences, differences between the probability distribution generated for each time sequence and the corresponding reference probability distribution.

### Claim 10 (depends on 1)

The method of claim 1, wherein the subject identity data comprises a second probability value for at least one of the predefined subjects, and wherein the second loss function operates on the second probability value.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
obtaining deployment data comprising additional time sequences of data samples, wherein the additional time sequences represent additional predefined subjects performing non-categorized actions, and wherein the additional predefined subjects are included among the predefined subjects; including the deployment data in the training data; training the first MLM on at least part of the training data, to discriminate between the predefined actions, while excluding from the first loss function the action data that is generated by the first MLM for the additional time sequences; training the second MLM based on feature data extracted by the first MLM for said at least part of the training data, to discriminate between the predefined subjects; and evaluating the subject identity data and/or the action data generated by the training of the first MLM and the second MLM.

### Claim 12 (depends on 11)

The method of claim 11, wherein said evaluating comprises: determining, based on the subject identity data generated by the second MLM, at least one selected subject among the additional predefined subjects; and indicating at least one of the additional group sequences that is performed by said at least one selected subject as a candidate to be categorized by action.

### Claim 13 (depends on 1)

The method of claim 1, further comprising: obtaining deployment data comprising additional time sequences of data samples, wherein the additional time sequences represent additional predefined subjects performing non-categorized actions; including the deployment data in the training data; training the first MLM based on at least part of the training data, to discriminate between the predefined actions, while excluding from the first loss function the action data that is generated by the first MLM for the additional time sequences; training a third MLM based on feature data extracted by the first MLM for said at least part of the training data, to determine if the feature data originates from the deployment data; and evaluating output data generated by the third MLM during the training of the first MLM and/or the third MLM.

### Claim 14 (depends on 13)

The method of claim 13, wherein the training of the first MLM is performed to be adversarial to the determination by the third MLM.

### Claim 15 (depends on 13)

The method of claim 13, wherein said evaluating comprises: determining, based on the output data generated by the third MLM, at least one of the additional time sequences; and indicating the at least one of the additional time sequences as a candidate to be categorized by action.

### Claim 16 (depends on 1)

The method of claim 1, wherein the first MLM comprises a sequence of processing layers and an action classification layer, which is directly or indirectly connected to the sequence of processing layers, wherein said feature data represents output data of at least one of the processing layers.

### Claim 17 (depends on 16)

The method of claim 16, wherein one or more of the processing layers is a convolutional layer.

### Claim 18 (depends on 16)

The method of claim 16, further comprising time-averaging the output data of said at least one of the processing layers, wherein the second MLM is trained based on the time-averaged output data.

### Claim 19 (depends on 16)

The method of claim 16, wherein the second MLM is trained based on the output data of two or more processing layers in the sequence of processing layers.

### Claim 20 (depends on 1)

The method of claim 1, wherein the second MLM comprises a plurality of subject classification networks which are operable in parallel, and wherein the subject classification networks differ by one of more of initialization values, network structure, or input data.
