# US 2025/0095046 A1 · Customized pairing recommendations by machine-learning language learning models

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

- Number: US 2025/0095046 A1
- Document ID: US20250095046A1
- Status: Published application
- Kind: A1
- Application number: 18/888,607
- Filed: 2024-09-18
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Assignees: Maplebear Inc.
- Applicants: Maplebear Inc.
- Inventors: Shih-Ting Lin; Saurav Manchanda; Prithvishankar Srinivasan; Shishir Kumar Prasad; Min Xie; Benwen Sun; Axel Mange; Wenjie Tang; Sanchit Gupta
- Web page: https://patentgrep.com/patent/US20250095046A1

## CPC

- G06Q 30/0631: {Recommending goods or services}
- G06Q 10/0833: Tracking
- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06Q 30/0633: {Managing shopping lists, e.g. compiling or processing purchase lists (shipping orders G06Q10/083; order filling G06Q10/087)}
- G06Q 30/0641: {utilising user interfaces specially adapted for shopping}
- G06Q 30/0643: {graphically representing goods, e.g. 3D product representation}
- G06Q 50/12: Hotels or restaurants
- 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

An online system obtains a target food from an order for a user and alcohol preferences from an order purchase history. The online system generates a prompt for a machine learning model to request alcohol candidates based on the target food category. The prompt includes the alcohol preferences, and requests for each alcohol candidate, a pairing score indicating how well the target food category pairs with the alcohol candidate and a user preference score indicating how well the alcohol candidate aligns with the alcohol preferences. The online system receives as output the candidate alcohol items. Each alcohol candidate has the pairing score, the user preference score, and a textual reason for scores. The online system matches at least one alcohol item from a catalog with each alcohol candidate. A subset of alcohol items is presented to the user as a carousel.

## Claims

### Claim 1

A method comprising:
obtaining an anchor item that a user of an online system interacted with;
mapping the anchor item to an anchor category describing a category the anchor item is assigned to;
generating a prompt for a machine learning language model, the prompt specifying a request for a set of beverage categories based on the anchor category and for each beverage category, a respective pairing score indicating a degree of relevance between the anchor category and the beverage category and a reasoning for the pairing of the beverage category;
receiving, as an output from the machine learning language model, the set of candidate beverage categories, the pairing score for each beverage category, and the reasoning for the beverage category;
obtaining one or more beverage items from a catalog database that is assigned to one or more beverage categories in the set of beverage categories;
selecting a subset of the one or more beverage items; and
providing the subset of beverage items to a client device of the user to cause presentation of the subset of beverage items on a page generated on the client device.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining the one or more alcohol items further comprises:
accessing the catalog database storing a hierarchy of entities;
matching the one or more beverage categories to corresponding entities in the catalog database; and
identifying the one or more beverage items that are assigned to the matched entities in the catalog database.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
obtaining beverage preferences of the user extracted from an order history of the user,
wherein the prompt further specifies the beverage preferences of the user and for each beverage category, a request for a respective preference score indicating a degree of preference of the user for the beverage category.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
accessing engagement history data for previous orders to the online system;
obtaining a second set of beverage categories based on the engagement history data; and
for each beverage category in the second set, computing a respective co-occurrence score for the beverage category indicating a frequency items in the beverage category were purchased together with items in the anchor category.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
generating a merged list of beverage categories based on the set of beverage categories and the second set of beverage categories;
for each beverage category in the merged list, computing a combined score by combining the pairing score and the co-occurrence score for the beverage category; and
storing a mapping from the anchor category, the merged list of beverage categories, and the combined scores in a datastore.

### Claim 6 (depends on 5)

The method of claim 5, wherein obtaining the one or more beverage items further comprises:
identifying the one or more beverage categories that are associated with combined scores above a predetermined threshold.

### Claim 7 (depends on 4)

The method of claim 4, further comprising:
for each beverage item in the one or more beverage items, obtaining a set of features for the beverage item and the anchor item; and
for each beverage item, applying a machine-learning ranking model to the set of features to generate a likelihood for the beverage item indicating whether the user will interact with the beverage item in association with the anchor item,
wherein the selected subset of beverage items are associated with likelihoods above a predetermined threshold.

### Claim 8 (depends on 1)

The method of claim 1, wherein the page is one or a combination of a description page of the anchor item or an order page of the user.

### Claim 9 (depends on 1)

The method of claim 1, wherein the selected subset of beverage items is presented in a carousel user interface (UI) element on the page generated on the client device.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
obtaining feedback from the user indicating whether the user interacted with the subset of beverage items;
responsive to receiving indication that the user interacted with the subset of beverage items, creating a training dataset including the anchor category and beverage categories of the subset of beverage items; and
fine-tuning parameters of the machine-learning model using the training dataset.

### Claim 11

A non-transitory computer-readable storage medium storing instructions that, when executed by a computer processor system, cause the computer processor system to perform operations comprising:
obtaining an anchor item that a user of an online system interacted with;
mapping the anchor item to an anchor category describing a category the anchor item is assigned to;
generating a prompt for a machine learning language model, the prompt specifying a request for a set of beverage categories based on the anchor category and for each beverage category, a respective pairing score indicating a degree of relevance between the anchor category and the beverage category and a reasoning for the pairing of the beverage category;
receiving, as an output from the machine learning language model, the set of candidate beverage categories and the pairing score for each beverage category and the reasoning for the beverage category;
obtaining one or more beverage items from a catalog database that is assigned to one or more beverage categories in the set of beverage categories;
selecting a subset of the one or more beverage items; and
providing the subset of beverage items to a client device of the user to cause presentation of the subset of beverage items on a page generated on the client device.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein obtaining the one or more beverage items further comprise:
accessing the catalog database storing a hierarchy of entities;
matching the one or more beverage categories to corresponding entities in the catalog database; and
determining the one or more beverage items that are assigned to the matched entities in the catalog database.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, the operations further comprising:
obtaining beverage preferences of the user extracted from an order history of the user,
wherein the prompt further specifies the beverage preferences of the user and for each beverage category, a request for a respective preference score indicating a degree of preference of the user for the beverage category.

### Claim 14 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, the operations further comprising:
accessing engagement history data for previous orders to the online system;
obtaining a second set of beverage categories based on the engagement history data; and
for each beverage category in the second set, computing a respective co-occurrence score for the beverage category indicating a frequency items in the beverage category were purchased together with items in the anchor category.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, the operations further comprising:
generating a merged list of beverage categories based on the set beverage categories and the second set of beverage categories;
for each beverage category in the merged list, computing a combined score by combining the pairing score and the co-occurrence score for the beverage category; and
storing a mapping from the anchor category, the merged list of beverage categories, and the combined scores in a datastore.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein obtaining the one or more beverage items further comprises:
determining the one or more beverage categories that are associated with combined scores above a predetermined threshold.

### Claim 17 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, the operations further comprising:
for each beverage item in the one or more beverage items, obtaining a set of features for the beverage item and the anchor item; and
for each beverage item, applying a machine-learning ranking model to the set of features to generate a likelihood for the beverage item indicating whether the user will interact with the beverage item in association with the anchor item,
wherein the selected subset of beverage items are associated with likelihoods above a predetermined threshold.

### Claim 18 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the page is one or a combination of a description page of the anchor item or an order page of the user.

### Claim 19 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the selected subset of beverage items is presented in a carousel user interface (UI) element on the page generated on the client device.

### Claim 20

A computer system, comprising:
a computer processor system; and
a non-transitory computer-readable storage medium storing instructions that, when executed by a computer processor system, cause the computer processor system to perform operations comprising:
obtaining an anchor item that a user of an online system interacted with;
mapping the anchor item to an anchor category describing a category the anchor item is assigned to;
generating a prompt for a machine learning language model, the prompt specifying a request for a set of beverage categories based on the anchor category and for each beverage category, a respective pairing score indicating a degree of relevance between the anchor category and the beverage category and a reasoning for the pairing of the beverage category;
receiving, as an output from the machine learning language model, the set of candidate beverage categories and the pairing score for each beverage category and the reasoning for the beverage category;
obtaining one or more beverage items from a catalog database that is assigned to one or more beverage categories in the set of beverage categories;
selecting a subset of the one or more beverage items; and
providing the subset of beverage items to a client device of the user to cause presentation of the subset of beverage items on a page generated on the client device.
