IP Library › Granted Patent US 12,705,264
Granted Patent B2
US 12,705,264 · App. 18/327,399 · Granted Aug 11, 2026

Search system for providing search results using query understanding and semantic binary signatures

Inventor: Mingkuan Liu (San Jose, CA)
Assignee: eBay Inc.
G06F16/325G06F16/24532G06F16/36G06F16/951G06F18/213G06F18/214G06F18/22G06N3/04
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,705,264
App. No.
18/327,399
Granted
Aug 11, 2026
Kind
B2
Abstract

Technology for the improved processing of search queries is provided. In one embodiment, methods may return semantically relevant search results for a search query. During a pre-computing offline processing, an inventory semantic index may be generated and may include inventory binary hashing signatures that are associated with inventory listings, such as goods or services for sell, and the index may be partitioned by categories and shards. When a search query is received, relevant categories are determined using a relevant category recognition service, and a search query binary hashing signature maybe generated for the search query. The relevant categories are searched to determine hamming distances between the inventory binary hashing signatures and the search query binary hashing signature, where the hamming distance indicates semantic relevance.

Claims (69)

1 . A system, the system comprising:

one or more processors; and

one or more computer storage media storing computer-useable instructions that, when used by the one or more processors, cause the one or more processors to execute operations comprising:

accessing a plurality of inventory listings, wherein each inventory listing is associated with a category from a plurality of categories;

employing a semantic-signature-generator to generate inventory binary hashing signatures based on an inventory identifier associated with each of the plurality of inventory listings, wherein the semantic-signature-generator is associated with a semantic-signature generator model that is trained to support generating binary hashing signatures; and

storing the inventory binary hashing signature for each inventory listing in an inventory semantic index, the inventory semantic index is partitioned by the plurality of categories comprising a first partitioned category having a first index identifier and a second partitioned category having a second index identifier,

wherein searching the first partitioned category and the second category comprises employing a parallel processing engine associated with identifying index identifiers, the parallel processing engine utilizes each index identifier to search the first partitioned category and the second partitioned category in parallel,

wherein the parallel processing engine is further associated with searching at least two relevant categories in parallel within the inventory semantic index that is partitioned by the plurality of categories by comparing search query binary hashing signatures to inventory binary hashing signatures for each inventory listing in the at least two relevant categories associated with a selected search query, wherein each of the plurality of categories is associated with an index identifier,

wherein index identifiers are used to initiate and terminate parallel searches, and

wherein the searching by the parallel processing engine continues until the parallel processing engine identifies a boundary defined by a different index identifier for each of the at least two relevant categories searched.

2 . The system of claim 1 , the operations further receiving a search query;

comprising:

generating a search query binary hashing signature of the search query;

identifying a relevant category for the search query;

accessing the inventory semantic index, wherein the inventory semantic index comprises a plurality of inventory listings associated with the relevant category, each inventory listing associated with an inventory binary hashing signature;

determining that the relevant category corresponds to the first partitioned category;

searching the plurality of inventory listings, within the first partitioned category of the inventory semantic index that corresponds to the relevant category, by computing a hamming distance between the search query binary hashing signature and each inventory binary hashing signature for the plurality of inventory listings in the first partitioned category;

based on computing the hamming distance, identifying an inventory listing based on the hamming distance representing a relative semantic similarity between the search query and the inventory listing; and

communicating the inventory listing as a search result for the search query.

3 . The system of claim 1 , wherein a first relevant category includes at least two index identifiers and a second relevant category includes one index identifier, and the parallel processing engine independently stops searching the first relevant category after processing the at least two index identifiers and stops searching the second relevant category after processing the one index identifier.

4 . The system of claim 1 , wherein the inventory semantic index is partitioned by leaf categories of the plurality of categories associated with the plurality of listings.

5 . The system of claim 2 , wherein generating the search query binary hashing signature is performed by the semantic-signature generator, the semantic-signature generator including the semantic-signature-generator model that generates binary hashing signatures from inputs, the semantic-signature-generator model is trained using stored behavioral data so that the binary hashing signatures generated are semantically related based on the stored behavioral data.

6 . The system of claim 2 , wherein identifying the relevant category includes determining a vector representation of the search query and comparing the vector representation of the search query to a vector representation of the relevant category, wherein the relevant category is identified based on a vector distance determined from the comparison.

7 . The system of claim 2 , wherein the inventory semantic index includes a plurality of shards that partition the relevant category, and wherein searching the relevant category of the inventory semantic index comprises employing the parallel processing engine to search inventory listings associated with each shard of the plurality of shards in parallel.

8 . The system of claim 2 , wherein computing the hamming distance comprises determining a number of differences between a set of binary digits representing the search query binary hashing signature and a set of binary digits representing the inventory binary hashing signature.

9 . One or more computer storage media having computer-executable instructions embodied thereon that, when executed, by one or more processors, cause the one or more processors to perform a method, the method comprising:

accessing a plurality of inventory listings, wherein each inventory listing is associated with a category from a plurality of categories;

employing a semantic-signature-generator to generate inventory binary hashing signatures based on an inventory identifier associated with each of the plurality of inventory listings, wherein the semantic-signature-generator is associated with a semantic-signature generator model that is trained to support generating binary hashing signatures; and

storing the inventory binary hashing signature for each inventory listing in an inventory semantic index, the inventory semantic index is partitioned by the plurality of categories comprising a first partitioned category having a first index identifier and a second partitioned category having a second index identifier,

wherein searching the first partitioned category and the second category comprises employing a parallel processing engine associated with identifying index identifiers, the parallel processing engine utilizes each index identifier to search the first partitioned category and the second partitioned category in parallel,

wherein the parallel processing engine is further associated with searching at least two relevant categories in parallel within the inventory semantic index that is partitioned by the plurality of categories by comparing search query binary hashing signatures to inventory binary hashing signatures for each inventory listing in the at least two relevant categories associated with a selected search query,

wherein each of the plurality of categories is associated with an index identifier,

wherein index identifiers are used to initiate and terminate parallel searches, and

wherein the searching by the parallel processing engine continues until the parallel processing engine identifies a boundary defined by a different index identifier for each of the at least two relevant categories searched.

10 . The media of claim 9 , the method further comprising:

receiving a search query;

generating a search query binary hashing signature of the search query;

identifying a relevant category for the search query;

accessing the inventory semantic index, wherein the inventory semantic index comprises a plurality of inventory listings associated with the relevant category, each inventory listing associated with an inventory binary hashing signature;

determining that the relevant category corresponds to the first partitioned category;

searching the plurality of inventory listings, within the first partitioned category of the inventory semantic index that corresponds to the relevant category, by computing a hamming distance between the search query binary hashing signature and each inventory binary hashing signature for the plurality of inventory listings in the first partitioned category;

based on computing the hamming distance, identifying an inventory listing based on the hamming distance representing a relative semantic similarity between the search query and the inventory listing; and

communicating the inventory listing as a search result for the search query.

11 . The media of claim 10 , wherein generating the search query binary hashing signature is performed by the semantic-signature generator, the semantic-signature generator including the semantic-signature-generator model that generates binary hashing signatures from inputs, the semantic-signature-generator model is trained using stored behavioral data so that the binary hashing signatures generated are semantically related based on the stored behavioral data.

12 . The media of claim 10 , wherein identifying the relevant category includes determining a vector representation of the search query and comparing the vector representation of the search query to a vector representation of the relevant category, wherein the relevant category is identified based on a vector distance determined from the comparison.

13 . The media of claim 10 , wherein a first relevant category includes at least two index identifiers and a second relevant category includes one index identifier, and the parallel processing engine independently stops searching the first relevant category after processing the at least two index identifiers and stops searching the second relevant category after processing the one index identifier.

14 . The media of claim 10 , wherein computing the hamming distance comprises determining a number of differences between a set of binary digits representing the search query binary hashing signature and a set of binary digits representing the inventory binary hashing signature.

15 . A computer-implemented method for processing search queries, the method comprising:

accessing a plurality of inventory listings, wherein each inventory listing is associated with a category from a plurality of categories;

employing a semantic-signature-generator to generate inventory binary hashing signatures based on an inventory identifier associated with each of the plurality of inventory listings, wherein the semantic-signature-generator is associated with a semantic-signature generator model that is trained to support generating binary hashing signatures; and

storing the inventory binary hashing signatures for each inventory listing in an inventory semantic index, the inventory semantic index is partitioned by the plurality of categories comprising a first partitioned category having a first index identifier and a second partitioned category having a second index identifier,

wherein searching the first partitioned category and the second category comprises employing a parallel processing engine associated with identifying index identifiers, the parallel processing engine utilizes each index identifier to search the first partitioned category and the second partitioned category in parallel,

wherein the parallel processing engine is further associated with searching at least two relevant categories in parallel within the inventory semantic index that is partitioned by the plurality of categories by comparing search query binary hashing signatures to inventory binary hashing signatures for each inventory listing in the at least two relevant categories associated with a selected search query,

wherein each of the plurality of categories is associated with an index identifier,

wherein index identifiers are used to initiate and terminate parallel searches, and

wherein the searching by the parallel processing engine continues until the parallel processing engine identifies a boundary defined by a different index identifier for each of the at least two relevant categories searched.

16 . The method of claim 15 , the method further comprising:

receiving a search query;

generating a search query binary hashing signature of the search query;

identifying a relevant category for the search query;

accessing the inventory semantic index, wherein the inventory semantic index comprises a plurality of inventory listings associated with the relevant category, each inventory listing associated with an inventory binary hashing signature;

determining that the relevant category corresponds to the first partitioned category;

searching the plurality of inventory listings, within the first partitioned category of the inventory semantic index that corresponds to the relevant category, by computing a hamming distance between the search query binary hashing signature and each inventory binary hashing signature for the plurality of inventory listings in the first partitioned category;

based on computing the hamming distance, identifying an inventory listing based on the hamming distance representing a relative semantic similarity between the search query and the inventory listing; and

communicating the inventory listing as a search result for the search query.

17 . The method of claim 16 , wherein generating the search query binary hashing signature is performed by the semantic-signature generator, the semantic-signature generator including the semantic-signature-generator model that generates binary hashing signatures from inputs, the semantic-signature-generator model is trained using stored behavioral data so that the binary hashing signatures generated are semantically related based on the stored behavioral data.

18 . The method of claim 16 , wherein identifying the relevant category includes determining a vector representation of the search query and comparing the vector representation of the search query to a vector representation of the relevant category, wherein the relevant category is identified based on a vector distance determined from the comparison.

19 . The method of claim 16 , wherein a first relevant category includes at least two index identifiers and a second relevant category includes one index identifier, and the parallel processing engine independently stops searching the first relevant category after processing the at least two index identifiers and stops searching the second relevant category after processing the one index identifier.

20 . The method of claim 16 , wherein computing the hamming distance comprises determining a number of differences between a set of binary digits representing the search query binary hashing signature and a set of binary digits representing the inventory binary hashing signature.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2023
From: LIU, MINGKUAN
To: EBAY INC.
Reel/Frame 063864/0970 →
Continuity (2)
Continuation 16133144 · Sep 17, 2018
Related Publication 20230306047A1 · Sep 28, 2023
References Cited (114)
US 6006221A · Liddy et al. · 1999 [cited by applicant]
US 6321189B1 · Masuichi et al. · 2001 [cited by applicant]
US 6523026B1 · Gillis · 2003 [cited by applicant]
US 8266150B1 · Lin et al. · 2012 [cited by applicant]
US 8473532B1 · Ben · 2013 [cited by applicant]
US 8774509B1 · Yagnik et al. · 2014 [cited by applicant]
US 8885984B1 · Lavi et al. · 2014 [cited by applicant]
US 9141882B1 · Cao et al. · 2015 [cited by applicant]
US 9224386B1 · Weber · 2015 [cited by applicant]
US 9665628B1 · Dubey et al. · 2017 [cited by applicant]
US 9684653B1 · Bhagat · 2017 [cited by applicant]
US 10262048B1 · Cappiello · 2019 [cited by applicant]
US 10268752B2 · Liu et al. · 2019 [cited by applicant]
US 10296380B1 · Garcia · 2019 [cited by examiner]
US 10346546B2 · Tetreault et al. · 2019 [cited by applicant]
US 10437996B1 · Li et al. · 2019 [cited by applicant]
US 10599701B2 · Liu · 2020 [cited by applicant]
US 10635727B2 · Liu et al. · 2020 [cited by applicant]
US 10740573B2 · Tetreault et al. · 2020 [cited by applicant]
US 11227004B2 · Liu · 2022 [cited by applicant]
US 11698921B2 · Liu · 2023 [cited by applicant]
US 20040167897A1 · Kuhlmann · 2004 [cited by examiner]
US 20050033616A1 · Vavul · 2005 [cited by examiner]
US 20050216516A1 · Calistri-yeh et al. · 2005 [cited by applicant]
US 20060122872A1 · Stevens et al. · 2006 [cited by applicant]
US 20070294223A1 · Gabrilovich et al. · 2007 [cited by applicant]
US 20080243777A1 · Stewart et al. · 2008 [cited by applicant]
US 20090016600A1 · Eaton · 2009 [cited by examiner]
US 20090024623A1 · Broder et al. · 2009 [cited by applicant]
US 20090138454A1 · Rayner et al. · 2009 [cited by applicant]
US 20090210368A1 · Deo et al. · 2009 [cited by applicant]
US 20100010973A1 · Harrington · 2010 [cited by applicant]
US 20100198841A1 · Parker et al. · 2010 [cited by applicant]
US 20100228733A1 · Harrison et al. · 2010 [cited by applicant]
US 20110029525A1 · Knight · 2011 [cited by applicant]
US 20110085739A1 · Zhang et al. · 2011 [cited by applicant]
US 20110213802A1 · Singh et al. · 2011 [cited by applicant]
US 20110229031A1 · Ranganathan · 2011 [cited by applicant]
US 20120131139A1 · Siripurapu et al. · 2012 [cited by applicant]
US 20130013601A1 · Kabiljo et al. · 2013 [cited by applicant]
US 20130013603A1 · Parker et al. · 2013 [cited by applicant]
US 20130091138A1 · Liensberger et al. · 2013 [cited by applicant]
US 20130318014A1 · Ismalon · 2013 [cited by applicant]
US 20140156567A1 · Scholtes · 2014 [cited by applicant]
US 20150082156A1 · Rollins et al. · 2015 [cited by applicant]
US 20150100527A1 · Ryan · 2015 [cited by applicant]
US 20150142807A1 · Hofmann et al. · 2015 [cited by applicant]
US 20150186495A1 · Abbas et al. · 2015 [cited by applicant]
US 20150199339A1 · Mirkin et al. · 2015 [cited by applicant]
US 20150278254A1 · Bhardwaj et al. · 2015 [cited by applicant]
US 20150310497A1 · Valin et al. · 2015 [cited by applicant]
US 20150331929A1 · El-saban et al. · 2015 [cited by applicant]
US 20150339756A1 · Konik et al. · 2015 [cited by applicant]
US 20150363688A1 · Gao et al. · 2015 [cited by applicant]
US 20160012124A1 · Ruvini et al. · 2016 [cited by applicant]
US 20160042296A1 · Shan et al. · 2016 [cited by applicant]
US 20160063122A1 · Asur et al. · 2016 [cited by applicant]
US 20160078057A1 · De · 2016 [cited by applicant]
US 20160078507A1 · Shivaswamy et al. · 2016 [cited by applicant]
US 20160155069A1 · Hoover et al. · 2016 [cited by applicant]
US 20160179933A1 · Dimassimo et al. · 2016 [cited by applicant]
US 20160179945A1 · Lastra Diaz et al. · 2016 [cited by applicant]
US 20160196340A1 · Cheslow · 2016 [cited by applicant]
US 20160224893A1 · Parker, Jr. et al. · 2016 [cited by applicant]
US 20160225053A1 · Romley et al. · 2016 [cited by applicant]
US 20160232238A1 · Sweeney et al. · 2016 [cited by applicant]
US 20170083602A1 · Liu · 2017 [cited by applicant]
US 20170091240A1 · Yu et al. · 2017 [cited by applicant]
US 20170124618A1 · Roeseler et al. · 2017 [cited by applicant]
US 20170177712A1 · Kopru et al. · 2017 [cited by applicant]
US 20170235824A1 · Liu · 2017 [cited by applicant]
US 20170372398A1 · Kopru et al. · 2017 [cited by applicant]
US 20180032611A1 · Cameron et al. · 2018 [cited by applicant]
US 20180052908A1 · Liu et al. · 2018 [cited by applicant]
US 20180052928A1 · Liu et al. · 2018 [cited by applicant]
US 20180107685A1 · Kale et al. · 2018 [cited by applicant]
US 20180107902A1 · Yang et al. · 2018 [cited by applicant]
US 20180108066A1 · Kale et al. · 2018 [cited by applicant]
US 20180114144A1 · Miranda et al. · 2018 [cited by applicant]
US 20180157681A1 · Yang · 2018 [cited by examiner]
US 20180276495A1 · Yu et al. · 2018 [cited by applicant]
US 20190037257A1 · Nelson et al. · 2019 [cited by applicant]
US 20190179891A1 · Rangarajan · 2019 [cited by applicant]
US 20190362021A1 · Balduino et al. · 2019 [cited by applicant]
US 20200073968A1 · Zhang et al. · 2020 [cited by applicant]
US 20200089808A1 · Liu · 2020 [cited by applicant]
US 20200218750A1 · Liu · 2020 [cited by applicant]
US 20210056266A1 · Ma et al. · 2021 [cited by applicant]
CN 101251841A · 2008 [cited by applicant]
CN 101281520A · 2008 [cited by applicant]
CN 102057371A · 2011 [cited by applicant]
CN 102156686A · 2011 [cited by applicant]
CN 102402561A · 2012 [cited by applicant]
CN 102439590A · 2012 [cited by applicant]
CN 108431809A · 2018 [cited by applicant]
CN 108701118A · 2018 [cited by applicant]
JP 20155027A · 2015 [cited by applicant]
WO 2017112482A1 · 2017 [cited by applicant]
WO 2017112650A1 · 2017 [cited by applicant]
WO 2017139575A1 · 2017 [cited by applicant]
WO 2018035139A1 · 2018 [cited by applicant]
Liu,“CatReco based on sequence semantic embedding and active learning”, eBay Wiki, Accessed on Nov. 23, 2015, 4 pages. [cited by applicant]
Bahdanau et al., “Neural Machine Translation by Jointly Learning to Align and Translate”, Published as a conference paper at ICLR 2015, 2015, pp. 1-15. [cited by applicant]
Burch,“How to Calculate Hamming Distance”, Retrieved from the Internet URL: <https://sciencing.com/how-to-calculate-hamming-distance-12751770.html>, Jun. 20, 2018, pp. 1-2. [cited by applicant]
Cho et al., “Learning Phrase Representations using RNN EncoderDecoder for Statistical Machine Translation”, arXiv:1406.1078, Sep. 3, 2014, 15 pages. [cited by applicant]
Douze et al., “Polysemous Codes”, Retrieved from the Internet URL: <https://arxiv.org/pdf/1609.01882.pdf>, Oct. 10, 2016, pp. 1-18. [cited by applicant]
Gao et al., “Learning Continuous Phrase Representations for Translation Modeling”, Microsoft Research, 2014, pp. 699-709. [cited by applicant]
Juarfsky,“Language Modelling”, Accessed Jun. 18, 2021 from <https://web.archive.org/web/20160508024626/https://web.stanford .edu/class/cs 124/lec/languagemodeling .pdf>, 2016, 88 Pages. [cited by applicant]
Kait,“New in iOS 8 : A Faster Way to Save With Pocket 5.6”, Retrieved from the Internet URL: <https://getpocket.com/blog/2014/09/coming-soon-in-ios-8-a-faster-way-to-save-with-pocket-5-6/>, Sep. 15, 2014, 3 pages. [cited by applicant]
Lin et al., “Deep Learning of Binary Hash Codes for Fast Image Retrieval”, Retrieved from the Internet URL: <http://www.iis.sinica.edu.tw/~kevinlin311.tw/cvprw15.pdf>, 2015, pp. 1-9. [cited by applicant]
Mino et al., “Learning Bilingual Phrase Representations with Recurrent Neural Networks”, In Proceedings of MT Summit XV, vol. 1, Miami, Florida, USA, Oct. 30-Nov. 3, 2015, pp. 44-55. [cited by applicant]
Selby,“Standard Mathematical Tables”, Nineteenth Edition Published 1971 by The Chemical Rubber Co., 1971. [cited by applicant]
Sutskever et al., “Sequence to Sequence Learning with Neural Networks”, arXiv: 1409.3215, Dec. 14, 2014, pp. 1-9. [cited by applicant]
Xia et al., “Research on Personalized Recommendation System for e-commerce based on Web Log Mining and User Browsing Behaviors”, published in 2010 International Conference on Computer Application and System Modeling (IC… [cited by applicant]