# US 2025/0165513 A1 · Enabling multi-language cold start search using a large language model

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

- Number: US 2025/0165513 A1
- Document ID: US20250165513A1
- Status: Published application
- Kind: A1
- Application number: 18/948,027
- Filed: 2024-11-14
- Published: 2025-05-22
- Earliest claimed: 2023-11-16
- Assignees: Maplebear Inc.
- Applicants: Maplebear Inc.
- Inventors: Vinesh Reddy Gudla; Tejaswi Tenneti; Shubhanshu Mishra
- Web page: https://patentgrep.com/patent/US20250165513A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/24522: {Translation of natural language queries to structured queries}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An online system uses a machine-learned language model (e.g., an LLM) to improve multilingual search capabilities. The system generates a prompt for the LLM that includes a set of search queries in a first language along with their context, as well as a request for translating these queries into a second language. This prompt is sent to a model serving system, which executes it through the LLM and returns translated queries in the second language. Additionally, the concierge system accesses a first set of features derived from the search results in the first language, and updates these features based on the newly translated search queries to create a second set of features. These translated queries and the second set of features are then used to train a search model optimized for queries in the second language.

## Claims

### Claim 1

A method comprising:
obtaining a first search log for a first set of search queries in a first language and context of the first set of search queries;
generating one or more prompts for input to a machine-learned language model, the one or more prompts including the first set of search queries in the first language, the context of the first set of search queries, and a request for translating the first set more search queries in the first language to a second language different from the first language;
providing the one or more prompts for execution by the machine-learned language model;
receiving a response generated by executing the machine-learned language model on the prompt, the response including a second set of search queries in the second language;
accessing a first set of features generated based on user interactions with results of the first set of search queries in the first language;
generating a second set of features for the second set of search queries based on the first set of features; and
training a machine-learning search model based on the second set of search queries and the second set of features.

### Claim 2 (depends on 1)

The method of claim 1, wherein accessing the first set of features comprises, for a search query in the first set, accessing one or more product identifiers (IDs) for products retrieved for the search query and interaction rates associated with each product ID.

### Claim 3 (depends on 1)

The method of claim 1, wherein obtaining the context for a search query in the first set includes one or a combination of: a type of retailer store the search query was submitted for, user profile information of a user who submitted the search query.

### Claim 4 (depends on 1)

The method of claim 1, wherein the machine-learned language model generates a plurality of translations for each search query in the first set of one or more search queries based on the context.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
collecting the first search log for the first set of one or more search queries in the first language and context of the first set of one or more search queries from a first online platform in the first language, and
deploying the machine-learning search model in the second language onto a second online platform in a second language.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
collecting a third search log for a third set of one or more search queries in the second language and context of the third set of one or more search queries from the second online platform in the first language; and
fine-tuning the search model based on the third search log and corresponding context.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
periodically fine-tuning the search model based on a new search log and corresponding context generated by recent user interactions with the second online platform in the second language.

### Claim 8 (depends on 1)

The method of claim 1, wherein the search model includes a query understanding model configured to interpret a search query to determine context of the search query, the context indicating a category of products the search query is intended to search.

### Claim 9 (depends on 1)

The method of claim 1, wherein the search model includes a recall model configured to retrieve a set of products from a catalog database based on a search query.

### Claim 10 (depends on 1)

The method of claim 1, wherein the search model includes a click through rate model configured to determine a probability that a user will click on a particular product when the particular product is shown in a search result.

### Claim 11 (depends on 10)

The method of claim 10, wherein the search model includes a ranking model configured to rank search results based on one or more criteria, the one or more criteria including click through rates of products in the search result.

### Claim 12 (depends on 1)

The method of claim 1, the method further comprising:
applying the trained machine-learning search model to process new search queries in the second language, wherein applying the model produces search results based on the second set of features;
collecting user feedback on the search results provided by the model, wherein the feedback comprises one or more interaction rates associated with the search results; and
refining the trained machine-learning search model based on the user feedback to adjust model parameters and improve subsequent search result accuracy and relevance.

### Claim 13

A non-transitory computer-readable medium, having instructions encoded thereon that, when executed by one or more processors, cause the one or more processors to perform steps comprising:
obtaining a first search log for a first set of search queries in a first language and context of the first set of search queries;
generating one or more prompts for input to a machine-learned language model, the one or more prompts including the first set of search queries in the first language, the context of the first set of search queries, and a request for translating the first set more search queries in the first language to a second language different from the first language;
providing the one or more prompts for execution by the machine-learned language model;
receiving a response generated by executing the machine-learned language model on the prompt, the response including a second set of search queries in the second language;
accessing a first set of features generated based on user interactions with results of the first set of search queries in the first language;
generating a second set of features for the second set of search queries based on the first set of features; and
training a machine-learning search model based on the second set of search queries and the second set of features.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein accessing the first set of features comprises, for a search query in the first set, accessing one or more product identifiers (IDs) for products retrieved for the search query and interaction rates associated with each product ID.

### Claim 15 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein obtaining the context for a search query in the first set includes one or a combination of: a type of retailer store the search query was submitted for, user profile information of a user who submitted the search query.

### Claim 16 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the machine-learned language model generates a plurality of translations for each search query in the first set of one or more search queries based on the context.

### Claim 17 (depends on 13)

The non-transitory computer-readable medium of claim 13, the steps further comprising:
collecting the first search log for the first set of one or more search queries in the first language and context of the first set of one or more search queries from a first online platform in the first language, and
deploying the machine-learning search model in the second language onto a second online platform in a second language.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, the steps further comprising:
collecting a third search log for a third set of one or more search queries in the second language and context of the third set of one or more search queries from the second online platform in the first language; and
fine-tuning the search model based the third search log and corresponding context.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, the steps further comprising:
applying the trained machine-learning search model to process new search queries in the second language, wherein applying the model produces search results based on the second set of features;
collecting user feedback on the search results provided by the model, wherein the feedback comprises one or more interaction rates associated with the search results; and
refining the trained machine-learning search model based on the user feedback to adjust model parameters and improve subsequent search result accuracy and relevance.

### Claim 20

A computing system, comprising:
one or more processors;
non-transitory computer-readable medium, having instructions encoded thereon that, when executed by the one or more processors, cause the one or more processors to perform steps comprising:
obtaining a first search log for a first set of search queries in a first language and context of the first set of search queries;
generating one or more prompts for input to a machine-learned language model, the one or more prompts including the first set of search queries in the first language, the context of the first set of search queries, and a request for translating the first set more search queries in the first language to a second language different from the first language;
providing the one or more prompts for execution by the machine-learned language model;
receiving a response generated by executing the machine-learned language model on the prompt, the response including a second set of search queries in the second language;
accessing a first set of features generated based on user interactions with results of the first set of search queries in the first language;
generating a second set of features for the second set of search queries based on the first set of features; and
training a machine-learning search model based on the second set of search queries and the second set of features.
