# US 2017/0293638 A1 · Multi-stage image querying

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

- Number: US 2017/0293638 A1
- Document ID: US20170293638A1
- Status: Published application
- Kind: A1
- Application number: 15/097,086
- Filed: 2016-04-12
- Published: 2017-10-12
- Earliest claimed: 2016-04-12
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Xiaodong He; Li Deng; Jianfeng Gao; Alex Smola; Zichao Yang
- Web page: https://patentgrep.com/patent/US20170293638A1

## CPC

- G06F 16/5846: {using extracted text}
- G06F 16/334: Query execution (filtering based on additional data G06F16/335)
- G06F 16/335: Filtering based on additional data, e.g. user or group profiles (filtering in web context G06F16/9535, G06F16/9536)
- G06F 16/583: using metadata automatically derived from the content
- G06F 16/683: using metadata automatically derived from the content
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In some examples, a computing device refines feature information of query text. The device repeatedly determines attention information based at least in part on feature information of the image and the feature information of the query text, and modifies the feature information of the query text based at least in part on the attention information. The device selects at least one of a predetermined plurality of outputs based at least in part on the refined feature information of the query text. In some examples, the device operates a convolutional computational model to determine feature information of the image. The device network computational models (NCMs) to determine feature information of the query and to determine attention information based at least in part on the feature information of the image and the feature information of the query. Examples include a microphone to detect audio corresponding to the query text.

## Claims

### Claim 1

A device, comprising:
at least one processing unit adapted to execute modules; and
one or more computer-readable media communicatively coupled to the at least one processing unit and having thereon at least one of the modules, the at least one of the modules comprising:
a module of an image-representation engine that is configured to operate a convolutional computational model (CCM) to determine feature information of an image;
a module of a query-representation engine that is configured to operate a first network computational model to determine feature information of a query; and
a module of a filtering engine that is configured to:
operate a second network computational model to determine first attention information based at least in part on the feature information of the image and the feature information of the query;
determine revised feature information based at least in part on the first attention information and the feature information of the query;
operate a third network computational model to determine second attention information based at least in part on the feature information of the image and the revised feature information;
determine second revised feature information based at least in part on the second attention information; and
determine a filter output corresponding to the query based at least in part on the second revised feature information.

### Claim 2 (depends on 1)

A device as claim 1 recites, wherein the filtering engine is configured to determine the second revised feature information further based at least in part on at least the feature information of the query or the revised feature information.

### Claim 3 (depends on 1)

A device as claim 1 recites, wherein the filtering engine is configured to:
operate a fourth network computational model to determine respective output-element values of a plurality of output elements based at least in part on the second revised feature information; and
determine the filter output by selecting at least one of the output elements based at least in part on the respective output-element values.

### Claim 4 (depends on 3)

A device as claim 3 recites, wherein the filtering engine is configured to:
determine respective ranks of the output elements based at least in part on the output-element values; and
select the at least one of the output elements having respective ranks in a selected range.

### Claim 5 (depends on 1)

A device as claim 1 recites, further comprising jointly training at least the first network computational model, the second network computational model, and the third network computational model based at least in part on training data.

### Claim 6

A method of analyzing an image, the method comprising:
refining feature information of query text, wherein the refining comprises performing a group of actions at least twice, and the group of actions comprises:
determining attention information based at least in part on feature information of the image and the feature information of the query text; and
modifying the feature information of the query text based at least in part on the attention information; and
selecting at least one of a predetermined plurality of outputs based at least in part on the refined feature information of the query text.

### Claim 7 (depends on 6)

A method as claim 6 recites, further comprising, before refining the feature information of the query text:
determining the feature information of the image by applying a convolutional computational model to data of the image; and
determining the feature information of the query text by applying a network computational model to the query text.

### Claim 8 (depends on 6)

A method as claim 6 recites, wherein the determining the attention information comprises operating a network computational model having as input the feature information of the image and the feature information of the query text.

### Claim 9 (depends on 6)

A method as claim 6 recites, wherein the modifying the feature information of the query text comprises incrementing the feature information of the query text by the attention information or by a value computed from the attention information.

### Claim 10 (depends on 6)

A method as claim 6 recites, wherein:
the method further comprises, before the refining, copying the feature information of the query text to determine reference feature information of the query text; and
the modifying the feature information of the query text comprises replacing the feature information of the query text with a sum or concatenation of the reference feature information of the query text and the attention information, or a value computed from the sum or concatenation.

### Claim 11 (depends on 6)

A method as claim 6 recites, wherein the selecting comprises:
operating a network computational model to determine respective scores for individual outputs of the plurality of outputs based at least in part on the refined feature information of the query text; and
selecting the at least one of the plurality of outputs having respective scores in a predetermined range.

### Claim 12

A system comprising:
a microphone configured to provide an audio-input signal;
a speaker configured to receive an audio-output signal and produce corresponding output audio;
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
determining query text corresponding to the audio-input signal;
operating a network computational model to determine feature information of the query text;
operating a convolutional computational model (CCM) to determine feature information of an image;
operating a first computational stage of a plurality of computational stages to determine feature information of the first computational stage based at least in part on the feature information of the query text and the feature information of the image;
operating at least one subsequent stage of the plurality of computational stages to determine feature information of that stage based at least in part on the feature information of the image and the feature information of a respective preceding stage of the plurality of computational stages;
determining output text based at least in part on the feature information of a terminal stage of the plurality of computational stages; and
determining the audio-output signal corresponding to the output text.

### Claim 13 (depends on 12)

A system as claim 12 recites, further comprising an image sensor configured to provide the image.

### Claim 14 (depends on 13)

A system as claim 13 recites, further comprising a mount configured to retain the image sensor in position with respect to at least the body or clothing of a user.

### Claim 15 (depends on 14)

A system as claim 14 recites, wherein the image sensor is configured to provide the image of an area not visible to the user.

### Claim 16 (depends on 12)

A system as claim 12 recites, further comprising a user-input control, wherein the operations further comprise determining at least the feature information of the image or the feature information of the query text, determining the output text, and determining the output audio in response to actuation of the user-input control.

### Claim 17

A computer-executable method, comprising:
operating a convolutional computational model to determine feature information of an image;
operating a network computational model to determine feature information of query text;
determining information of a relationship between the feature information of the image and the feature information of the query text; and
selecting at least one of a predetermined plurality of outputs based at least in part on the information of the relationship.

### Claim 18 (depends on 17)

A computer-executable method as claim 17 recites, further comprising determining the information of the relationship based at least in part on a difference between the feature information of the image and the feature information of the question.

### Claim 19 (depends on 17)

A computer-executable method as claim 17 recites, further comprising operating a second network computational model based at least in part on the information of the relationship to provide output value(s) of respective output(s) of the predetermined plurality of outputs; wherein the selecting comprises selecting the at least one of the predetermined plurality of outputs having respective output values in a selected range.

### Claim 20 (depends on 19)

A computer-executable method as claim 19 recites, further comprising jointly training the network computational model and the second network computational model based at least in part on training data.
