# US 2026/0101074 A1 · Obtaining Search Results and Recommendations Using Language Models

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

- Number: US 2026/0101074 A1
- Document ID: US20260101074A1
- Status: Published application
- Kind: A1
- Application number: 19/352,890
- Filed: 2025-10-08
- Published: 2026-04-09
- Earliest claimed: 2024-10-09
- Assignees: Spotify AB
- Applicants: Spotify AB
- Inventors: Gustavo Penha; Ali Vardasbi; Enrico Palumbo; Marco De Nadai; Hugues Bouchard
- Web page: https://patentgrep.com/patent/US20260101074A1

## CPC

- H04N 21/252: {Processing of multiple end-users' preferences to derive collaborative data}
- H04N 21/25866: {Management of end-user data (customer care in data networks H04L41/5077)}
- H04N 21/47202: {for requesting content on demand, e.g. video on demand}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Example implementations include methods and systems that relate to search results and recommendations in a media content delivery system. An example method includes providing a search query to a multi-task language model associated with a media content delivery system. The method also includes providing user engagement information to the multi-task language model. The user engagement information indicates user engagement activity with the media content delivery system. The method also includes retrieving, using the multi-task language model and based on the search query, one or more candidate media items from a media item database of the media content delivery system. The method also includes identifying, using the multi-task language model and based on the user engagement information, one or more recommended media items from the media item database.

## Claims

### Claim 1

A computer-implemented method comprising:
providing a search query to a multi-task language model associated with a media content delivery system;
providing user engagement information to the multi-task language model, wherein the user engagement information indicates user engagement activity with the media content delivery system;
retrieving, using the multi-task language model and based on the search query, one or more candidate media items from a media item database of the media content delivery system; and
identifying, using the multi-task language model and based on the user engagement information, one or more recommended media items from the media item database.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising training the multi-task language model prior to providing the search query and the user engagement information to the multi-task language model, wherein training the multi-task language model comprises:
generating first embeddings based on a first dataset, wherein the first dataset comprises training data for search queries associated with media items;
generating second embeddings based on a second dataset, wherein the second dataset comprises training data for user-based recommendations associated with media items;
generating fused embeddings by combining the first embeddings and the second embeddings; and
encoding the fused embeddings to generate discrete identifiers that are added to a vocabulary of the multi-task language model.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the first embeddings are generated by a first model, and wherein the second embeddings are generated by a second model.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the first model comprises a bi-encoder model.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein the second model comprises a two-tower model.

### Claim 6 (depends on 2)

The computer-implemented method of claim 2, wherein, after the discrete identifiers are added to the vocabulary of the multi-task language model, training the multi-task language model further comprises:
providing first training inputs and first training outputs to the multi-task language model based on a subset of the first dataset; and
providing second training inputs and second training outputs to the multi-task language model based on a subset of the second dataset.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the first training inputs comprise tokens for textual queries, and wherein the first training outputs comprise tokens for media items relevant to corresponding textual queries.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the second training inputs comprise tokens for previously accessed media items, and wherein the second training outputs comprise tokens for media items relevant to the previously accessed media items.

### Claim 9 (depends on 6)

The computer-implemented method of claim 6, wherein data in the subset of the first dataset is distinct from data in the subset of the second dataset.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the multi-task language model is hosted by a server.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the multi-task language model is hosted by a processor on a client device.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, further comprising presenting the one or more candidate media items via a graphical user interface in response to retrieving the one or more candidate media items.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, further comprising presenting the one or more recommended media items via a graphical user interface in response to detecting a particular page of an application associated with the media content delivery system has been accessed.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, further comprising presenting the one or more recommended media items via a graphical user interface in response to identifying the one or more recommended media items.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1, wherein the search query is received via a graphical user interface.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, wherein the media content delivery system comprises a streaming media content delivery system.

### Claim 17

A device comprising:
a memory; and
a processor coupled to the memory, the processor configured to:
provide a search query to a multi-task language model associated with a media content delivery system;
provide user engagement information to the multi-task language model, wherein the user engagement information indicates user engagement activity with the media content delivery system;
retrieve, using the multi-task language model and based on the search query, one or more candidate media items from a media item database of the media content delivery system; and
identify, using the multi-task language model and based on the user engagement information, one or more recommended media items from the media item database.

### Claim 18 (depends on 17)

The device of claim 17, wherein, to train the multi-task language model, the processor is configured to:
generate first embeddings based on a first dataset, wherein the first dataset comprises training data for search queries associated with media items;
generate second embeddings based on a second dataset, wherein the second dataset comprises training data for user-based recommendations associated with media items;
generate fused embeddings by combining the first embeddings and the second embeddings; and
encode the fused embeddings to generate discrete identifiers that are added to a vocabulary of the multi-task language model.

### Claim 19 (depends on 18)

The device of claim 18, wherein, after the discrete identifiers are added to the vocabulary of the multi-task language model, to train the multi-task language model, the processor is further configured to:
provide first training inputs and first training outputs to the multi-task language model based on a subset of the first dataset; and
provide second training inputs and second training outputs to the multi-task language model based on a subset of the second dataset.

### Claim 20

A non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause the processor to perform operations comprising:
providing a search query to a multi-task language model associated with a media content delivery system;
providing user engagement information to the multi-task language model, wherein the user engagement information indicates user engagement activity with the media content delivery system;
retrieving, using the multi-task language model and based on the search query, one or more candidate media items from a media item database of the media content delivery system; and
identifying, using the multi-task language model and based on the user engagement information, one or more recommended media items from the media item database.
