IP Library › Granted Patent US 12,266,005
Granted Patent B2
US 12,266,005 · App. 18/072,316 · Granted Apr 1, 2025

Identifying candidate replacement items with a source similarity score

Inventors: Ramasubramanian Balasubramanian (San Francisco, CA); Lynn Fink (Chicago, IL); Alexandra Hart (Hinsdale, IL); Sanam Alavizadeh (Chicago, IL); Lauren Scully (San Francisco, CA); Samuel Lederer (Brooklyn, NY); Anna Vitti (Brooklyn, NY); Lukasz Czekaj (North Las Vegas, NV); Joseph Olivier (San Bruno, CA); Michael Prescott (Berkeley, CA); Jeong Eun Woo (Manhasset, NY); Nicole Yin Chuen Lee Altman (Honolulu, HI)
Assignee: Maplebear Inc.
G06Q30/0631G06Q30/0629G06Q30/08
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,266,005
App. No.
18/072,316
Granted
Apr 1, 2025
Kind
B2
Abstract

An online concierge system suggests replacement items when an ordered item may be unavailable. To promote similarity of sources between the replacement item with the ordered item, candidate replacement items are scored, in part, based on a source similarity score based on a source of the candidate replacement item and a source of the ordered item. The source similarity score may be determined by a computer model based on user interactions with item sources. The similarity score may be based on source embeddings that may be determined based on respective item embeddings or may be determined by training source embeddings directly from user-source interactions. The similarity score for a candidate replacement item may be combined with a replacement score indicating the user's likelihood of selecting the candidate replacement item as a replacement to yield a total score for selection as suggestion as a replacement for the ordered item.

Claims (70)

1. A method performed by one or more computer processors, the method comprising:

receiving an order comprising a set of items for a user;

identifying an ordered item from the set of items for suggesting a replacement item to the user;

determining a set of candidate replacement items for the ordered item;

determining a total score for each candidate replacement item in the set of candidate replacement items by:

determining a replacement score for the candidate replacement item indicating a likelihood that the candidate replacement item would be selected by the user as a replacement for the ordered item,

determining a source similarity score indicating a similarity between a first source of the ordered item and a second source of the candidate replacement item, wherein determining the source similarity score comprises:

accessing a first source embedding for the first source, wherein the first source embedding is generated by source embedding layers of a machine-learning model, wherein the machine-learning model comprises the source embedding layers and user embedding layers and is trained to predict user-source interactions based on user data and source feature data associated with a source, wherein the machine-learning model is trained based on training examples comprising source features associated with a source for input to the source embedding layers, user data describing a user for input to the user embedding layers, and a label indicating whether the user interacted with the source,

accessing a second source embedding for the second source, wherein the second source embedding is generated by the source embedding layers of the machine-learning model, and

computing a difference between the first source embedding and the second source embedding, and

combining the replacement score and the source similarity score to generate the total score;

selecting one or more candidate replacement items based on the total scores; and

transmitting information identifying the one or more selected replacement items for display to the user.

2. The method of claim 1 , wherein identifying the ordered item from the set of items for suggesting a replacement item to the user comprises:

applying an item availability model that is trained to predict a likelihood that the ordered item is available at a location for fulfilling the order, the item availability model trained based on training data that describes historical fulfillment of previous orders and availability of items in the previous orders; and

declaring the ordered item to be unavailable based on the predicted likelihood that the ordered item is available.

3. The method of claim 1 , wherein determining the replacement score for each candidate replacement item comprises:

applying a trained replacement model to a set of features describing the candidate replacement item, the trained replacement model configured to output a likelihood that the candidate replacement item would be selected by the user as a replacement for the ordered item,

wherein the replacement model is trained based on training data that describes historical suggestions of replacement items to other users and previous user responses thereto.

4. The method of claim 1 , wherein determining the source similarity score comprises:

generating the first source embedding associated with the first source based on one or more item embeddings of products associated with the first source; and

generating the second source embedding associated with the second source based on one or more item embeddings of products associated with the second source.

5. The method of claim 1 , wherein combining the replacement score and the source similarity score to generate the total score comprises computing a weighted sum of the replacement score and the source similarity score.

6. The method of claim 1 , wherein combining the replacement score and the source similarity score to generate the total score comprises applying a function that decreases as the source similarity score decreases.

7. The method of claim 1 , wherein determining a total score for each candidate replacement item further comprises adjusting the total score by a bid value associated with the respective candidate replacement item.

8. The method of claim 7 , wherein adjusting the total score by a bid value comprises multiplying the bid value by the similarity score.

9. A computer program product comprising a non-transitory computer readable storage medium having instructions encoded thereon that, when executed by a processor, cause the processor to perform steps comprising:

receiving an order comprising a set of items for a user;

identifying an ordered item from the set of items for suggesting a replacement item to the user;

determining a set of candidate replacement items for the ordered item;

determining a total score for each candidate replacement item in the set of candidate replacement items by:

determining a replacement score for the candidate replacement item indicating a likelihood that the candidate replacement item would be selected by the user as a replacement for the ordered item,

determining a source similarity score indicating a similarity between a first source of the ordered item and a second source of the candidate replacement item, wherein determining the source similarity score comprises:

accessing a first source embedding for the first source, wherein the first source embedding is generated by source embedding layers of a machine-learning model, wherein the machine-learning model comprises the source embedding layers and user embedding layers and is trained to predict user-source interactions based on user data and source feature data associated with a source, wherein the machine-learning model is trained based on training examples comprising source features associated with a source for input to the source embedding layers, user data describing a user for input to the user embedding layers, and a label indicating whether the user interacted with the source,

accessing a second source embedding for the second source, wherein the second source embedding is generated by the source embedding layers of the machine-learning model, and

computing a difference between the first source embedding and the second source embedding, and

combining the replacement score and the source similarity score to generate the total score;

selecting one or more candidate replacement items based on the total scores; and

transmitting information identifying the one or more selected replacement items for display to the user.

10. The computer program product of claim 9 , wherein identifying the ordered item from the set of items for suggesting a replacement item to the user comprises:

applying an item availability model that is trained to predict a likelihood that the ordered item is available at a location for fulfilling the order, the item availability model trained based on training data that describes historical fulfillment of previous orders and availability of items in the previous orders; and

declaring the ordered item to be unavailable based on the predicted likelihood that the ordered item is available.

11. The computer program product of claim 9 , wherein determining the replacement score for each candidate replacement item comprises:

applying a trained replacement model to a set of features describing the candidate replacement item, the trained replacement model configured to output a likelihood that the candidate replacement item would be selected by the user as a replacement for the ordered item,

wherein the replacement model is trained based on training data that describes historical suggestions of replacement items to other users and previous user responses thereto.

12. The computer program product of claim 9 , wherein determining the source similarity score comprises:

generating the first source embedding associated with the first source based on one or more item embeddings of products associated with the first source; and

generating the second source embedding associated with the second source based on one or more item embeddings of products associated with the second source.

13. The computer program product of claim 12 , wherein the first source embedding and the second source embedding are jointly trained with a set of user embeddings based on a training set of user-source interactions of users interacting with items having associated sources.

14. The computer program product of claim 9 , wherein combining the replacement score and the source similarity score to generate the total score comprises applying a function that decreases as the source similarity score decreases.

15. The computer program product of claim 9 , wherein determining a total score for each candidate replacement item further comprises adjusting the total score by a bid value associated with the respective candidate replacement item.

16. The computer program product of claim 15 , wherein adjusting the total score by a bid value comprises multiplying the bid value by the similarity score.

17. A system comprising:

one or more processors; and

a non-transitory computer readable storage medium having instructions encoded thereon that, when executed by the one or more processors, cause the one or more processors to perform steps comprising:

receiving an order comprising a set of items for a user;

identifying an ordered item from the set of items for suggesting a replacement item to the user;

determining a set of candidate replacement items for the ordered item;

determining a total score for each candidate replacement item in the set of candidate replacement items by:

determining a replacement score for the candidate replacement item indicating a likelihood that the candidate replacement item would be selected by the user as a replacement for the ordered item,

determining a source similarity score indicating a similarity between a first source of the ordered item and a second source of the candidate replacement item, wherein determining the source similarity score comprises:

accessing a first source embedding for the first source, wherein the first source embedding is generated by source embedding layers of a machine-learning model, wherein the machine-learning model comprises the source embedding layers and user embedding layers and is trained to predict user-source interactions based on user data and source feature data associated with a source, wherein the machine-learning model is trained based on training examples comprising source features associated with a source for input to the source embedding layers, user data describing a user for input to the user embedding layers, and a label indicating whether the user interacted with the source,

accessing a second source embedding for the second source, wherein the second source embedding is generated by the source embedding layers of the machine-learning model, and

computing a difference between the first source embedding and the second source embedding, and

combining the replacement score and the source similarity score to generate the total score;

selecting one or more candidate replacement items based on the total scores; and

transmitting information identifying the one or more selected replacement items for display to the user.

18. The system of claim 17 , wherein identifying the ordered item from the set of items for suggesting a replacement item to the user comprises:

applying an item availability model that is trained to predict a likelihood that the ordered item is available at a location for fulfilling the order, the item availability model trained based on training data that describes historical fulfillment of previous orders and availability of items in the previous orders; and

declaring the ordered item to be unavailable based on the predicted likelihood that the ordered item is available.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2022
From: BALASUBRAMANIAN, RAMASUBRAMANIAN; FINK, LYNN; HART, ALEXANDRA; ALAVIZADEH, SANAM; SCULLY, LAUREN; LEDERER, SAMUEL; VITTI, ANNA; CZEKAJ, LUKASZ; OLIVIER, JOSEPH; PRESCOTT, MICHAEL; WOO, JEONG EUN; YIN CHUEN LEE ALTMAN, NICOLE
To: MAPLEBEAR INC. (DBA INSTACART)
Reel/Frame 062159/0433 →
Continuity (1)
Related Publication 20240177211A1 · May 30, 2024
References Cited (23)
US 8195527B2 · Chowdhary · 2012 [cited by examiner]
US 8301623B2 · Chakrabarti · 2012 [cited by examiner]
US 8548940B1 · Rajaram · 2013 [cited by examiner]
US 8903834B2 · Ciancutti · 2014 [cited by examiner]
US 10664534B2 · Surya · 2020 [cited by examiner]
US 11585892B1 · Spaulding · 2023 [cited by examiner]
US 11803891B2 · Pawar · 2023 [cited by examiner]
US 12008622B2 · Cho · 2024 [cited by examiner]
US 20080294617A1 · Chakrabarti et al. · 2008 [cited by applicant]
US 20100023340A1 · Chowdhary · 2010 [cited by examiner]
US 20120096013A1 · Ciancutti et al. · 2012 [cited by applicant]
US 20130182686A1 · Vedantham · 2013 [cited by examiner]
US 20140136549A1 · Surya · 2014 [cited by examiner]
US 20150066626A1 · Farahat · 2015 [cited by examiner]
US 20150199222A1 · Day-Richter · 2015 [cited by examiner]
US 20210233143A1 · Cho · 2021 [cited by examiner]
US 20210318812A1 · Lidman · 2021 [cited by examiner]
US 20220114640A1 · Pawar · 2022 [cited by applicant]
US 20220319658A1 · Abraham · 2022 [cited by examiner]
US 20230196436A1 · Shatdarshanam Venkata · 2023 [cited by examiner]
US 20240289855A1 · Balasubramanian · 2024 [cited by examiner]
Li, Q., “Market Discipline, Integrity, Information Disclosure and Financial Misconduct,” dissertation, Michigan State University, 2018. (Year: 2018). [cited by examiner]
PCT International Search Report and Written Opinion, PCT Application No. PCT/US2023/33837, Feb. 22, 2024, 7 pages. [cited by applicant]