# US 2024/0005377 A1 · Machine-learned neural network architectures for incremental lift predictions using embeddings

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

- Number: US 2024/0005377 A1
- Document ID: US20240005377A1
- Status: Published application
- Kind: A1
- Application number: 17/855,377
- Filed: 2022-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Maplebear, Inc.(dba Instacart)
- Applicants: Maplebear Inc. (dba Instacart)
- Inventors: Zhenbang Chen; Jingying Zhou; Peng Qi
- Web page: https://patentgrep.com/patent/US20240005377A1

## CPC

- G06Q 30/0631: {Recommending goods or services}
- G06Q 30/0205: {based on location or geographical consideration}
- G06Q 30/0222: {During e-commerce, i.e. online transactions}
- 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 trains a machine-learned lift prediction model configured as a neural network. The machine-learned lift prediction model can be used during the inference process to determine lift predictions for users and items associated with the online system. By configuring the lift prediction model as a neural network, the lift prediction model can capture and process information from users and items in various formats and more flexibly model users and items compared to existing methods. Moreover, the lift prediction model includes at least a first portion for generating control predictions and a second portion for generating treatment predictions, where the first portion and the second portion share a subset of parameters. The shared subset of parameters can capture information important for generating both control and treatment predictions even when the training data for a control group of users might be significantly smaller than that of the treatment group.

## Claims

### Claim 1

A method, comprising:
at a computer system comprising at least one processor and memory:
obtaining a first set of features describing a user and a second set of features describing an item associated with an online system;
accessing a machine-learned neural network model with a set of trained parameters, the neural network model including a user portion and an item portion, the item portion including a first portion and a second portion, the first portion and the second portion sharing a subset of parameters;
generating a lift prediction for the user and the item by applying the neural network model, the lift prediction indicating an increase in likelihood that the user will perform a desired action on the item when presented with a content item promoting the item relative to when the user is not presented with the content item, the generating comprising:
applying the user portion of the neural network model to the first set of features to generate a user embedding;
applying the first portion of the item portion to the second set of features to generate a control embedding;
applying the second portion of the item portion to the second set of features to generate a treatment embedding;
obtaining a first likelihood that the user will perform the desired action for the item when the user is not presented with the content item from a combination of the control embedding with the user embedding;
obtaining a second likelihood that the user will perform the desired action when the user is presented with the content item from a combination of the control embedding and the treatment embedding with the user embedding; and
obtaining the lift prediction as a difference between the first likelihood and the second likelihood; and
presenting the content item to the user for viewing if the lift prediction is equal to or above a predetermined threshold.

### Claim 2 (depends on 1)

The method of claim 1, wherein the item portion of the neural network model includes one or more item layers, a control embedding branch coupled to the item layers, and a treatment embedding branch coupled to the item layers, wherein the first portion includes the item layers and the control embedding branch, wherein the second portion includes the item layers and the treatment embedding branch, and wherein the shared subset of parameters are parameters of the item layers.

### Claim 3 (depends on 2)

The method of claim 2, wherein each of the control embedding branch and the treatment embedding branch are configured as neural network layers, and wherein parameters of the control embedding branch are separate from parameters of the treatment embedding branch.

### Claim 4 (depends on 2)

The method of claim 2, wherein applying the first portion and the second portion of the item portion comprises:
applying the parameters of the one or more item layers to the second set of features to generate an intermediate output; and
applying parameters of the control embedding branch to the intermediate output to generate the control embedding; and
applying parameters of the treatment embedding branch to the intermediate output to generate the treatment embedding.

### Claim 5 (depends on 1)

The method of claim 1, wherein the desired action is the user making a purchase of the product.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
obtaining the first likelihood comprises performing a dot product between the user embedding and the control embedding to generate a value and applying a sigmoid function to the value; and
obtaining the second likelihood comprises performing a dot product between the user embedding and a combination of the control embedding and the treatment embedding to generate a value and applying the sigmoid function to the value.

### Claim 7 (depends on 1)

The method of claim 1, wherein the set of features includes a first set of features characterizing the user and a second set of features characterizing the product.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first set of features include at least one or a combination of age of the user, geographic location associated with the user, or account information of the user, and wherein the second set of features include at least one or a combination of a size of the product, color of the product, weight of the product, stock keeping unit (SKU) of the product, or serial number of the product.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
responsive to receiving a request for a content item, obtaining a plurality of candidate content items for the user, the plurality of candidate content items including the content item;
generating lift predictions for the plurality of candidate content items using the lift prediction model; and
responsive to determining that the lift prediction for the content item is equal to or above the predetermined threshold, presenting the content item to a client device of the user.

### Claim 10 (depends on 1)

The method of claim 1, further comprising not presenting the content item to the user for viewing if the lift prediction is less than the predetermined threshold.

### Claim 11

A method, comprising:
at a computer system comprising at least one processor and memory:
obtaining a plurality of training instances, a training instance including a set of features describing a respective user and a respective product associated with an online system, a treatment identifier indicating whether the user was presented with a content item of the product, and a label indicating whether the user performed a desired action for the product;
accessing a machine-learned neural network model with an initial set of parameters, the neural network model including a user portion and a product portion, the product portion including a first portion and a second portion, the first portion and the second portion sharing a subset of parameters;
repeatedly performing, for one or more iterations:
selecting a subset of the plurality of training instances for the iteration,
for each training instance in the selected subset, generating an estimated likelihood for the training instance, comprising:
generating the user portion to the first set of features for the training instance to generate a user embedding;
responsive to the treatment identifier for the training instance indicating that the content item was not presented to the respective user:
applying the first portion to the second set of features for the training instance to generate a control embedding; and
generating the estimated likelihood from a combination of the control embedding with the user embedding;
responsive to the treatment identifier for the training instance indicating that the content item was presented to the user:
applying the first portion and the second portion to the second set of features for the training instance to generate a control embedding and a treatment embedding;
generating the estimated likelihood from a combination of the control embedding and the treatment embedding with the user embedding; and
updating the parameters of the neural network model based on a loss function that indicates a difference between the labels and the estimated likelihoods for the subset of training instances; and
storing the trained parameters of the neural network model on a computer-readable medium.

### Claim 12 (depends on 11)

The method of claim 11, wherein the product portion of the neural network model includes one or more product layers, a control embedding branch coupled to the product layers, and a treatment embedding branch coupled to the product layers, wherein the first portion includes the product layers and the control embedding branch, wherein the second portion includes the product layers and the treatment embedding branch, and wherein the shared subset of parameters are parameters of the product layers.

### Claim 13 (depends on 12)

The method of claim 12, wherein each of the control embedding branch and the treatment embedding branch are configured as neural network layers, and wherein parameters of the control embedding branch are separate from parameters of the treatment embedding branch.

### Claim 14 (depends on 12)

The method of claim 12, wherein applying the first portion and the second portion of the product portion comprises:
applying the parameters of the one or more product layers to the second set of features to generate an intermediate output;
applying parameters of the control embedding branch to the intermediate output to generate the control embedding; and
applying parameters of the treatment embedding branch to the intermediate output to generate the treatment embedding.

### Claim 15 (depends on 11)

The method of claim 11, wherein the desired action is the user making a purchase of the item.

### Claim 16 (depends on 11)

The method of claim 11, wherein:
obtaining the estimated likelihood when the treatment identifier for the training instance indicates the content item was not presented to the user comprises performing a dot product between the user embedding and the control embedding to generate a value and applying a sigmoid function to the value; and
obtaining the estimated likelihood when the treatment identifier indicates the content item was presented to the user comprises performing a dot product between the user embedding and a combination of the control embedding and the treatment embedding to generate a value and applying the sigmoid function to the value.

### Claim 17 (depends on 11)

The method of claim 11, wherein the set of features includes a first set of features characterizing the user and a second set of features characterizing the item.

### Claim 18 (depends on 17)

The method of claim 17, wherein the first set of features include at least one or a combination of age of the user, geographic location associated with the user, or account information of the user, wherein the item is a product, and wherein the second set of features include at least one or a combination of a size of the product, color of the product, weight of the product, stock keeping unit (SKU) of the product, or serial number of the product.

### Claim 19 (depends on 11)

The method of claim 11, wherein the treatment identifier for the respective training instance is zero if the user was not presented with the respective content item and a non-zero value if the user was presented with the respective content item.

### Claim 20

A method, comprising:
accessing a database storing a set of user embeddings for a plurality of users of an online system, a set of control embeddings and a set of treatment embeddings for a plurality of items associated with the online system, wherein the set of user embeddings and the set of control embeddings and the set of treatment embeddings are generated by:
accessing a machine-learned neural network model with a set of trained parameters, the neural network model including a user portion and an item portion, the item portion including a first portion and a second portion, the first portion and the second portion sharing a subset of parameters,
applying the user portion of the neural network model to a first set of features describing the plurality of users to generate the user embeddings,
applying the first portion of the item portion to a second set of features describing the plurality of items to generate the control embeddings, and
applying the second portion of the item portion to the second set of features to generate the treatment embeddings;
responsive to receiving a request to generate a lift prediction for a user and a content item promoting an item, obtaining a user embedding for the user and a control embedding and a treatment embedding for the item from the database; and
generating the lift prediction for the user and the content item, the generating comprising:
obtaining a first likelihood the user will perform a desired action when the user is not presented with the content item from a combination of the user embedding with the control embedding;
obtaining a second likelihood the user will perform the desired action when the user is presented with the content item from a combination of the control embedding and the treatment embedding with the user embedding; and
determining the lift prediction as a difference between the first likelihood and the second likelihood; and
presenting the content item to the user for viewing if the lift prediction is equal to or above a predetermined threshold.

### Claim 21 (depends on 20)

The method of claim 20, wherein the set of user embeddings, the set of control embeddings, and the set of treatment embeddings are stored before receiving the request to generate the lift prediction for the user and the content item.

### Claim 22 (depends on 20)

The method of claim 20, further comprising not presenting the content item to the user for viewing if the lift prediction is less than the predetermined threshold.
