# US 2021/0342624 A1 · System and method for robust image-query understanding based on contextual features

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

- Number: US 2021/0342624 A1
- Document ID: US20210342624A1
- Status: Published application
- Kind: A1
- Application number: 17/231,958
- Filed: 2021-04-15
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Yu Wang; Yilin Shen; Hongxia Jin
- Web page: https://patentgrep.com/patent/US20210342624A1

## CPC

- A47L 9/2805: {Parameters or conditions being sensed}
- A47L 9/2847: {Surface treating elements}
- A47L 9/2852: {Elements for displacement of the vacuum cleaner or the accessories therefor, e.g. wheels, casters or nozzles}
- A47L 9/2857: {User input or output elements for control, e.g. buttons, switches or displays}
- A47L 11/40: Parts or details of machines not {provided for in} groups A47L11/02 - A47L11/38, {or not restricted to one of these groups}, e.g. handles, arrangements of switches, skirts, buffers, levers
- A47L 11/4011: {Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor}
- A47L 11/4061: {Steering means; Means for avoiding obstacles; Details related to the place where the driver is accommodated}
- G06F 16/3329: Natural language query formulation
- G06F 16/583: using metadata automatically derived from the content
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 3/096: Transfer learning
- G06V 10/768: {using context analysis, e.g. recognition aided by known co-occurring patterns}
- 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)
- A47L 2201/04: Automatic control of the travelling movement; Automatic obstacle detection
- A47L 2201/06: Control of the cleaning action for autonomous devices; Automatic detection of the surface condition before, during or after cleaning
- A47L: DOMESTIC WASHING OR CLEANING (brushes A46B; cleaning quantities of bottles or of other hollow articles of one kind B08B9/00; laundry D06F); SUCTION CLEANERS IN GENERAL (cleaning in general B08)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method includes obtaining, using at least one processor of an electronic device, an image-query understanding model. The method also includes obtaining, using the at least one processor, an image and a user query associated with the image, where the image includes a target image area and the user query includes a target phrase. The method further includes retraining, using the at least one processor, the image-query understanding model using a correlation between the target image area and the target phrase to obtain a retrained image-query understanding model.

## Claims

### Claim 1

A method comprising:
obtaining, using at least one processor of an electronic device, an image-query understanding model;
obtaining, using the at least one processor, an image and a user query associated with the image, wherein the image comprises a target image area and the user query comprises a target phrase; and
retraining, using the at least one processor, the image-query understanding model using a correlation between the target image area and the target phrase to obtain a retrained image-query understanding model.

### Claim 2 (depends on 1)

The method of claim 1, wherein retraining the image-query understanding model comprises:
determining one or more query-level contextual features and one or more image-level contextual features based on at least one weighted attention function.

### Claim 3 (depends on 2)

The method of claim 2, wherein the image-query understanding model comprises:
a question contextual feature extraction (Q-CFE) module configured to determine the one or more query-level contextual features; and
an image contextual feature extraction (I-CFE) module configured to determine the one or more image-level contextual features.

### Claim 4 (depends on 1)

The method of claim 1, wherein retraining the image-query understanding model further comprises:
determining the correlation between the target image area and the target phrase by obtaining an inner product between a first vector representing the target image area and a second vector representing the target phrase.

### Claim 5 (depends on 4)

The method of claim 4, wherein retraining the image-query understanding model further comprises:
establishing multiple weights indicating an importance of projections of multiple vectors to each other, the multiple vectors including the first vector and the second vector.

### Claim 6 (depends on 1)

The method of claim 1, wherein the image-query understanding model corresponds to operations of a cleaning robot.

### Claim 7 (depends on 6)

The method of claim 6, wherein the retrained image-query understanding model is configured to be used by the cleaning robot in an inference mode that does not include use of a target phrase.

### Claim 8

An electronic device comprising:
at least one memory configured to store instructions; and
at least one processing device configured when executing the instructions to:
obtain an image-query understanding model;
obtain an image and a user query associated with the image, wherein the image comprises a target image area and the user query comprises a target phrase; and
retrain the image-query understanding model using a correlation between the target image area and the target phrase to obtain a retrained image-query understanding model.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein, to retrain the image-query understanding model, the at least one processing device is configured to determine one or more query-level contextual features and one or more image-level contextual features based on at least one weighted attention function.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein:
the at least one processing device is configured to execute a question contextual feature extraction (Q-CFE) module to determine the one or more query-level contextual features; and
the at least one processing device is configured to execute an image contextual feature extraction (I-CFE) module to determine the one or more image-level contextual features.

### Claim 11 (depends on 8)

The electronic device of claim 8, wherein, to retrain the image-query understanding model, the at least one processing device is further configured to determine the correlation between the target image area and the target phrase by obtaining an inner product between a first vector representing the target image area and a second vector representing the target phrase.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein, to retrain the image-query understanding model, the at least one processing device is further configured to establish multiple weights indicating an importance of projections of multiple vectors to each other, the multiple vectors including the first vector and the second vector.

### Claim 13 (depends on 8)

The electronic device of claim 8, wherein the image-query understanding model corresponds to operations of a cleaning robot.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the retrained image-query understanding model is configured to be used by the cleaning robot in an inference mode that does not include use of a target phrase.

### Claim 15

A non-transitory machine-readable medium containing instructions that when executed cause at least one processor of an electronic device to:
obtain an image-query understanding model;
obtain an image and a user query associated with the image, wherein the image comprises a target image area and the user query comprises a target phrase; and
retrain the image-query understanding model using a correlation between the target image area and the target phrase to obtain a retrained image-query understanding model.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the instructions that when executed cause the at least one processor to retrain the image-query understanding model comprise:
instructions that when executed cause the at least one processor to determine one or more query-level contextual features and one or more image-level contextual features based on at least one weighted attention function.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the image-query understanding model comprises:
a question contextual feature extraction (Q-CFE) module configured to determine the one or more query-level contextual features; and
an image contextual feature extraction (I-CFE) module configured to the one or more image-level contextual features.

### Claim 18 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the instructions that when executed cause the at least one processor to retrain the image-query understanding model comprise:
instructions that when executed cause the at least one processor to determine the correlation between the target image area and the target phrase by obtaining an inner product between a first vector representing the target image area and a second vector representing the target phrase.

### Claim 19 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein the instructions that when executed cause the at least one processor to retrain the image-query understanding model comprise:
instructions that when executed cause the at least one processor to establish multiple weights indicating an importance of projections of multiple vectors to each other, the multiple vectors including the first vector and the second vector.

### Claim 20 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the image-query understanding model corresponds to operations of a cleaning robot.

### Claim 21

A method comprising:
obtaining, using at least one processor of an electronic device, a user instruction to perform an operation;
obtaining, using the at least one processor, an image showing a first area to perform the operation;
determining, using the at least one processor and an image-query understanding model, a second area that is a subset of the first area based on the user instruction, the image-query understanding model trained based on a correlation between a target image area of a second image and a target phrase of a user query; and
performing, using the electronic device, the operation for the second area according to the user instruction.

### Claim 22 (depends on 21)

The method of claim 21, wherein the second area includes at least one feature that is different from a feature of the target image area of the second image.

### Claim 23 (depends on 21)

The method of claim 21, wherein the image-query understanding model comprises one or more query-level contextual features and one or more image-level contextual features determined based on one or more run time inputs using weights learned during a training operation.

### Claim 24 (depends on 23)

The method of claim 23, wherein the image-query understanding model comprises:
a question contextual feature extraction (Q-CFE) module associated with the one or more query-level contextual features; and
an image contextual feature extraction (I-CFE) module associated with the one or more image-level contextual features.

### Claim 25 (depends on 21)

The method of claim 21, wherein:
the electronic device comprises a cleaning robot; and
the operation comprises a cleaning operation.
