# US 10,956,474 B2 · Determination of best set of suggested responses

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

- Number: US 10,956,474 B2
- Document ID: US10956474B2
- Status: Granted
- Kind: B2
- Application number: 16/353,397
- Filed: 2019-03-14
- Published: 2020-09-17
- Granted: 2021-03-23
- Earliest claimed: 2019-03-14
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Jeffrey William Pasternack
- Web page: https://patentgrep.com/patent/US10956474B2

## CPC

- G06F 16/338: Presentation of query results
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 9/451: Execution arrangements for user interfaces
- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q 10/10: Office automation; Time management
- G06Q 10/40: Business processes related to social networking or social networking services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Applications are presented for selecting response suggestions in a Graphical User Interface (GUI). Responses are identified for a message received in the GUI. Each response has a score and occupies a width of pixels in the GUI, which provides an available width of pixels for presenting the responses. Further, the method includes an operation for identifying sets of the responses, each set having one or more of the suggested responses. For each set, a utility of the set is calculated based on the score of the responses in the set, the width of pixels of the responses in the set, and the available width of pixels. Further, the set with the greatest utility is selected and then the responses of the set are presented in the GUI. Same principles may be applied to organizing screen layouts for applications that scroll vertically, such as user feeds or search results.

## Claims

### Claim 1

A method comprising:
identifying, by one or more processors, suggested responses for a message received by a user in a messaging graphical user interface (GUI), each suggested response having a score and occupying a width of pixels when presented in the messaging GUI, the messaging GUI providing an available width of pixels for presenting one or more of the suggested responses;
identifying, by the one or more processors, a plurality of sets of the suggested responses, each set of the suggested responses comprising one or more of the suggested responses;
for each set of the suggested responses, calculating, by the one or more processors, a utility of the set of the suggested responses based on the score of the suggested responses in the set, the width of pixels of the suggested responses in the set of the suggested responses, and the available width of pixels, wherein calculating the utility of the set of the suggested responses further comprises:
performing a check to determine if the suggested responses overflow the available width of pixels; and
calculating an overflow penalty for the utility of the set of suggested responses based on the overflow;
selecting, by the one or more processors, the set of the suggested responses with a greatest utility; and
causing presentation of the responses of the selected set of the suggested responses in the messaging GUI.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein calculating the utility of the set of the suggested responses is further based on a space between the suggested responses of the set when presented in the messaging GUI.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein the overflow penalty is equal to a penalty factor times a size in pixels of the overflow.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein calculating the utility of the set of the suggested responses further comprises:
setting the utility as a sum of the scores of the suggested responses in the set of the suggested responses minus the overflow penalty.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein calculating the utility and selecting the set of the suggested responses includes utilizing mixed integer linear programming.

### Claim 6 (depends on 5)

The method as recited in claim 5, wherein the mixed integer linear programming includes a constraint where a sum of the widths of pixels of the suggested responses in the set plus width of spaces between the suggested responses is less than or equal to the available width of pixels plus a width of overflow in pixels.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein calculating the utility of the set of the suggested responses further comprises:
calculating a diversity of the suggested responses in the set.

### Claim 8 (depends on 7)

The method as recited in claim 7, wherein the utility of the set of the suggested responses is calculated based on the diversity.

### Claim 9 (depends on 1)

The method as recited in claim 1, wherein causing presentation of the responses of the selected set further comprises:
presenting the suggested responses in the messaging GUI;
detecting a selection from one of the set of the suggested responses; and
transmitting the selected suggested response.

### Claim 10

A system comprising:
a memory comprising instructions; and
one or more computer processors, wherein the instructions, when executed by the one or more computer processors, cause the one or more computer processors to perform operations comprising:
identifying suggested responses for a message received by a user in a messaging graphical user interface (GUI), each suggested response having a score and occupying a width of pixels when presented in the messaging GUI, the messaging GUI providing an available width of pixels for presenting one or more of the suggested responses;
identifying a plurality of sets of the suggested responses, each set of the suggested responses comprising one or more of the suggested responses;
for each set of the suggested responses, calculating a utility of the set of the suggested responses based on the score of the suggested responses in the set, the width of pixels of the suggested responses in the set of the suggested responses, and the available width of pixels, wherein calculating the utility of the set of the suggested responses further comprises:
performing a check to determine if the suggested responses overflow the available width of pixels; and
calculating an overflow penalty for the utility of the set of suggested responses based on the overflow;
selecting the set of the suggested responses with a greatest utility; and
causing presentation of the responses of the selected set of the suggested responses in the messaging GUI.

### Claim 11 (depends on 10)

The system as recited in claim 10, wherein calculating the utility of the set of the suggested responses is further based on a space between the suggested responses of the set when presented in the messaging GUI.

### Claim 12 (depends on 10)

The system as recited in claim 10, wherein the overflow penalty is equal to a penalty factor times a size in pixels of the overflow.

### Claim 13 (depends on 10)

The system as recited in claim 10, wherein calculating the utility of the set of the suggested responses further comprises:
setting the utility as a sum of the scores of the suggested responses in the set of the suggested responses minus the overflow penalty.

### Claim 14

A non-transitory machine-readable storage medium including instructions that, when executed by a machine, cause the machine to perform operations comprising:
identifying suggested responses for a message received by a user in a messaging graphical user interface (GUI), each suggested response having a score and occupying a width of pixels when presented in the messaging GUI, the messaging GUI providing an available width of pixels for presenting one or more of the suggested responses;
identifying a plurality of sets of the suggested responses, each set of the suggested responses comprising one or more of the suggested responses;
for each set of the suggested responses, calculating a utility of the set of the suggested responses based on the score of the suggested responses in the set, the width of pixels of the suggested responses in the set of the suggested responses, and the available width of pixels, wherein calculating the utility of the set of the suggested responses further comprises:
performing a check to determine if the suggested responses overflow the available width of pixels; and,
calculating an overflow penalty for the utility of the set of the suggested responses based on the overflow:
selecting the set of the suggested responses with a greatest utility; and
causing presentation of the responses of the selected set of the suggested responses in the messaging GUI.

### Claim 15 (depends on 14)

The non-transitory machine-readable storage medium as recited in claim 14, wherein calculating the utility of the set of the suggested responses is further based on a space between the suggested responses of the set when presented in the messaging GUI.

### Claim 16 (depends on 14)

The non-transitory machine-readable storage medium as recited in claim 14, wherein the overflow penalty is equal to a penalty factor times a size in pixels of the overflow.

### Claim 17 (depends on 14)

The non-transitory machine-readable storage medium as recited in claim 14, wherein calculating the utility of the set of the suggested responses further comprises:
setting the utility as a sum of the scores of the suggested responses in the set of the suggested responses minus the overflow penalty.
