# US 2021/0334599 A1 · Training a deep neural network model to generate rich object-centric embeddings of robotic vision data

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

- Number: US 2021/0334599 A1
- Document ID: US20210334599A1
- Status: Published application
- Kind: A1
- Application number: 17/279,924
- Filed: 2019-09-27
- Published: 2021-10-28
- Earliest claimed: 2018-09-27
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Soeren Pirk; Yunfei Bai; Pierre Sermanet; Seyed Mohammad Khansari Zadeh; Harrison Lynch
- Web page: https://patentgrep.com/patent/US20210334599A1

## CPC

- G06V 20/10: Terrestrial scenes (scenes under surveillance with static cameras G06V20/52; scenes perceived from the exterior of a vehicle G06V20/56; scenes perceived from the interior of a vehicle G06V20/59)
- B25J 9/1697: {Vision controlled systems}
- B25J 13/003: {by means of an audio-responsive input (audible safety signals B25J19/061)}
- G05B 13/027: {using neural networks only}
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/2413: based on distances to training or reference patterns
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/768: {using context analysis, e.g. recognition aided by known co-occurring patterns}
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Training a machine learning model (e.g., a neural network model such as a convolutional neural network (CNN) model) so that, when trained, the model can be utilized in processing vision data (e.g., from a vision component of a robot), that captures an object, to generate a rich object-centric embedding for the vision data. The generated embedding can enable differentiation of even subtle variations of attributes of the object captured by the vision data.

## Claims

### Claim 1

A method implemented by one or more processors, the method comprising:
identifying a first image of an environment, the first image capturing objects in the environment and being captured from a first point of view;
identifying a second image of the environment, the second image capturing at least a subset of the objects in the environment and being captured from a second point of view;
processing the first image using an object recognition model to identify a plurality of first object regions in the first image, each of the first object regions corresponding to a respective one of the objects captured by the first image;
generating a plurality of first object images based on the first object regions, each of the first object images being based on a respective one of the first object regions and capturing a respective one of the objects;
processing the second image using the object recognition model to identify a plurality of second object regions in the second image, each of the second object regions corresponding to a respective one of the objects captured by the second image;
generating a plurality of second object images based on the second object regions, each of the second object images being based on a respective one of the second object regions and capturing a respective one of the objects;
processing each of the first object images using an object-contrastive model to generate respective first object image embeddings, wherein the object-contrastive model is a deep neural network model;
processing each of the second object images using the object-contrastive model to generate respective second object image embeddings;
generating a plurality of anchor, positive pairs that each include a respective one of the first object image embeddings and a respective one of second object image embeddings determined to be most similar to the respective one of the first object image embeddings;
generating at least one metric loss based on contrasting the anchor, positive pairs with anchor, negative pairs that each include a respective one of the first object image embeddings and a respective one of the second object image embeddings not determined to be most similar to the respective one of the first object image embeddings;
updating the object-contrastive model based on the at least one metric loss.

### Claim 2 (depends on 1)

The method of claim 1, wherein the environment is a real-world environment and the first image is captured by a physical robot at a first pose in the environment, and the second image is captured by the physical robot at a second pose in the environment.

### Claim 3 (depends on 1)

The method of claim 1, wherein the environment is a simulated environment and wherein the first image is rendered from a first simulated camera pose in the environment and wherein the second image is rendered from a second simulated camera pose in the environment.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, for each of the plurality of anchor, positive pairs that the respective one of the first object image embeddings and the respective one of the second object image embeddings are the most similar based on determining that a distance metric, between the respective one of first object image embeddings and the respective one of the second object image embeddings, is a minimum distance metric amongst differences between the first object image embeddings and the second object image embeddings.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first image and the second image are rendered images generated in a simulator, and further comprising:
determining, for each of the plurality of anchor, positive pairs that the respective one of the first object image embeddings and the respective one of second object image embeddings are the most similar based on determining that an identifier, assigned in the simulator, matches between the object of the respective one of first object image embeddings and the object of the respective one of the second object image embeddings.

### Claim 6 (depends on 5)

The method of claim 5, wherein the identifier, assigned in the simulator, comprises a color of the object.

### Claim 7 (depends on 1)

The method of claim 1, wherein the object-contrastive model includes a plurality of convolutional layers.

### Claim 8 (depends on 7)

The method of claim 7, wherein the plurality of convolutional layers include a plurality of added convolutional layers, of the convolutional layers, appended to a pre-trained portion that is initialized with pre-trained weights, and wherein the pre-trained portion also includes at least some of the convolutional layers.

### Claim 9 (depends on 8)

The method of claim 8, wherein updating the object-contrastive model comprises updating weights of the added convolutional layers without updating any of the pre-trained weights.

### Claim 10 (depends on 7)

The method of claim 7, wherein the object-contrastive model is not initiated with any pre-trained weights.

### Claim 11 (depends on 10)

The method of claim 10, wherein updating the object-contrastive model comprises updating weights for each of multiple layers of the object-contrastive model.

### Claim 12 (depends on 1)

The method of claim 1, wherein the metric loss is an n-pairs loss.

### Claim 13 (depends on 1)

The method of claim 1, wherein the image comprises multiple color channels.

### Claim 14 (depends on 1)

The method of claim 1, wherein the image comprises multiple color channels and a depth channel.

### Claim 15 (depends on 1)

The method of claim 1, further comprising: using, after the updating, the object-contrastive model in control of a robot.

### Claim 16 (depends on 15)

The method of claim 15, wherein using the object-contrastive model in control of the robot comprises:
determining a query embedding, in an embedding space of the object-contrastive model; processing a robot image, from a vision component of the robot, using the object-contrastive model;
determining, based on the processing, a target object in a current environment of the robot; and
controlling the robot to interact with the target object.

### Claim 17 (depends on 16)

The method of claim 16, wherein determining the query embedding comprises:
receiving voice input via a microphone of the robot; and
determining the query embedding based on it being mapped to a term included in the voice input.

### Claim 18 (depends on 16)

The method of claim 16, wherein determining the query embedding comprises:
receiving a query image of a target object; and
processing the query image, using the object-contrastive model, to generate the query embedding.

### Claim 19

A system comprising instructions stored in memory, and one or more processors executing the stored instructions to perform a method that includes:
identifying a first image of an environment, the first image capturing objects in the environment and being captured from a first point of view;
identifying a second image of the environment, the second image capturing at least a subset of the objects in the environment and being captured from a second point of view;
processing the first image using an object recognition model to identify a plurality of first object regions in the first image, each of the first object regions corresponding to a respective one of the objects captured by the first image;
generating a plurality of first object images based on the first object regions, each of the first object images being based on a respective one of the first object regions and capturing a respective one of the objects;
processing the second image using the object recognition model to identify a plurality of second object regions in the second image, each of the second object regions corresponding to a respective one of the objects captured by the second image;
generating a plurality of second object images based on the second object regions, each of the second object images being based on a respective one of the second object regions and capturing a respective one of the objects;
processing each of the first object images using an object-contrastive model to generate respective first object image embeddings, wherein the object-contrastive model is a deep neural network model;
processing each of the second object images using the object-contrastive model to generate respective second object image embeddings;
generating a plurality of anchor, positive pairs that each include a respective one of the first object image embeddings and a respective one of second object image embeddings determined to be most similar to the respective one of the first object image embeddings;
generating at least one metric loss based on contrasting the anchor, positive pairs with anchor, negative pairs that each include a respective one of the first object image embeddings and a respective one of the second object image embeddings not determined to be most similar to the respective one of the first object image embeddings;
updating the object-contrastive model based on the at least one metric loss.

### Claim 20

(canceled)
