Determination of hierarchical codes
Abstract
Systems and methods include reception of a plurality of item descriptions associated with a respective hierarchical code which includes a plurality of group codes, extraction of a respective plurality of phrases from each item description, assignment, for each item description, a phrase embedding determined for each of the extracted respective plurality of phrases to each of the plurality group codes included in the hierarchical code associated with the item description, generation of a composite embedding for each of the plurality of group codes based on the phrase embeddings assigned to the group code, and storage of each composite embedding in association with the group code for which the composite embedding was generated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (11 — 3 Independent, 8 Dependent)
- Claim 1Independent Claim
A system comprising: a memory storing processor-executable program code; and at least one processing unit to execute the processor-executable program code to cause the system to: receive a plurality of item descriptions, each of the plurality of item descriptions associated with a respective hierarchical code, wherein each respective hierarchical code includes a plurality of group codes; extract a respective plurality of phrases from each item description; apply an embedding generator to each of the respective plurality of phrases extracted from each item description to generate a multi-dimensional numerical phrase embedding for each of the respective plurality of phrases extracted from each item description; for each item description, assign each phrase embedding determined for each of the respective plurality of phrases extracted from the item description to each of the plurality group codes included in the hierarchical code associated with the item description; generate a composite embedding for each of the plurality of group codes based on the phrase embeddings assigned to the group code and a composition algorithm; store each composite embedding in association with the group code for which the composite embedding was generated; receive a search query including search terms; apply the embedding generator to each of the search terms to generate multi-dimensional numerical search term embeddings; generate a search query composite embedding based on the search term embeddings and the composition algorithm; determine a stored composite embedding based on the search query composite embedding; determine a group code of the plurality of group codes which is stored in association with the determined stored composite embedding; determine item descriptions associated with the determined group code; and generate search results based on the item descriptions.
- Claim 2Depends on #1
The system of claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to: receive a second search query including second search terms; apply the embedding generator to each of the second search terms to generate second multi-dimensional numerical search term embeddings; generate a second search query composite embedding based on the second search term embeddings and the composition algorithm; determine a second stored composite embedding based on the second search query composite embedding; determine a second group code of the plurality of group codes which is stored in association with the determined second stored composite embedding; determine second item descriptions associated with the determined second group code; and generate second search results based on the second item descriptions.
- Claim 3Depends on #1
The system of claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to: receive a second plurality of item descriptions, each of the second plurality of item descriptions associated with a respective hierarchical code which includes a plurality of group codes; extract a second respective plurality of phrases from each of the second plurality of item descriptions; apply a second embedding generator to each of the respective plurality of phrases extracted from each of the second plurality of item descriptions to generate a multi-dimensional numerical second phrase embedding for each of the second respective plurality of phrases extracted from each of the second plurality of item descriptions; for each of the second plurality of item descriptions, assign each second phrase embedding determined for each of the second respective plurality of phrases extracted from the item description to each of the plurality group codes included in the hierarchical code associated with the item description; generate a second composite embedding for each of the plurality of group codes based on the second phrase embeddings assigned to the group code and a second composition algorithm; and store each second composite embedding in association with the group code for which the second composite embedding was generated.
- Claim 4Depends on #3
The system of claim 3, the at least one processing unit to execute the processor-executable program code to cause the system to: receive a second search query including second search terms; apply the second embedding generator to each of the search terms to generate second multi-dimensional numerical search term embeddings; generate a second search query composite embedding based on the second search term embeddings and the second composition algorithm; determine a second stored composite embedding based on the second search query composite embedding; determine a second group code of the plurality of group codes which is stored in association with the determined second stored composite embedding; determine second item descriptions associated with the determined second group code; and generate second search results based on the second item descriptions.
- Claim 5Independent Claim
A method comprising: receiving a plurality of item descriptions, each of the plurality of item descriptions associated with a respective hierarchical code, wherein each respective hierarchical code which includes a plurality of group codes; extracting a respective plurality of phrases from each item description; applying an embedding generator to each of the respective plurality of phrases extracted from each item description to generate a multi-dimensional numerical phrase embedding for each of the respective plurality of phrases extracted from each item description; for each item description, assigning each phrase embedding determined for each of the respective plurality of phrases extracted from the item description to each of the plurality group codes included in the hierarchical code associated with the item description; generating a composite embedding for each of the plurality of group codes based on the phrase embeddings assigned to the group code and a composition algorithm; storing each composite embedding in association with the group code for which the composite embedding was generated; receiving a search query including search terms; applying the embedding generator to each of the search terms to generate multi-dimensional numerical search term embeddings; generating a search query composite embedding based on the search term embeddings and the composition algorithm; determining a stored composite embedding based on the search query composite embedding; determining a group code of the plurality of group codes which is stored in association with the determined stored composite embedding; determining item descriptions associated with the determined group code; and generating search results based on the item descriptions.
- Claim 6Depends on #5
The method of claim 5, further comprising: receiving a second search query including second search terms; applying the embedding generator to each of the second search terms to generate multi-dimensional numerical second search term embeddings; generating a second search query composite embedding based on the second search term embeddings and the composition algorithm; determining a second stored composite embedding based on the second search query composite embedding; determining a second group code of the plurality of group codes which is stored in association with the determined second stored composite embeddings; determining second item descriptions associated with the determined second group code; and generating second search results based on the second item descriptions.
- Claim 7Depends on #5
The method of claim 5, further comprising: receiving a second plurality of item descriptions, each of the second plurality of item descriptions associated with a respective hierarchical code which includes a plurality of group codes; extracting a second respective plurality of phrases from each of the second plurality of item descriptions; applying a second embedding generator to each of the respective plurality of phrases extracted from each of the second plurality of item descriptions to generate determining-a multi-dimensional numerical second phrase embedding for each of the second respective plurality of phrases extracted from each of the second plurality of item descriptions; for each of the second plurality of item descriptions, assigning each second phrase embedding determined for each of the second respective plurality of phrases extracted from the item description to each of the plurality group codes included in the hierarchical code associated with the item description; generating a second composite embedding for each of the plurality of group codes based on the second phrase embeddings assigned to the group code and a second composition algorithm; and storing each second composite embedding in association with the group code for which the second composite embedding was generated.
- Claim 8Depends on #7
The method of claim 7, further comprising: receiving a second search query including second search terms; applying the second embedding generator to each of the search terms to generate multi-dimensional numerical second search term embeddings; generating a second search query composite embedding based on the second search term embeddings and the second composition algorithm; determining a second stored composite embedding based on the second search query composite embedding; determining a second group code of the plurality of group codes which is stored in association with the determined second stored composite embedding; and generating second search results based on the second item descriptions.
- Claim 9Independent Claim
One or more non-transitory media storing program code executable by at least one processing unit of a computing system to cause the computing system to: receive a plurality of item descriptions, each of the plurality of item descriptions associated with a respective hierarchical code, wherein each respective hierarchical code includes a plurality of group codes; extract a respective plurality of phrases from each item description; apply an embedding generator to each of the respective plurality of phrases extracted from each item description to generate a multi-dimensional numerical phrase embedding for each of the respective plurality of phrases extracted from each item description; for each item description, assign each phrase embedding determined for each of the respective plurality of phrases extracted from the item description to each of the plurality group codes included in the hierarchical code associated with the item description; generate a composite embedding for each of the plurality of group codes based on the phrase embeddings assigned to the group code and a composition algorithm; store each composite embedding in association with the group code for which the composite embedding was generated; receive a search query including search terms; apply the embedding generator to each of the search terms to generate multi-dimensional numerical search term embeddings; generate a search query composite embedding based on the search term embeddings and the composition algorithm; determine a stored composite embedding based on the search query composite embedding; determine a group code of the plurality of group codes which is stored in association with the determined stored composite embedding; determine item descriptions associated with the determined group code; and generate search results based on the item descriptions.
- Claim 10Depends on #9
The one or more non-transitory media of claim 9, the at least one processing unit to execute the processor-executable program code to cause the system to: receive a second search query including second search terms; apply the embedding generator to each of the second search terms to generate multi-dimensional numerical second search term embeddings; generate a second search query composite embedding based on the second search term embeddings and the composition algorithm; determine a second stored composite embedding based on the second search query composite embedding; determine a second group code of the plurality of group codes which is stored in association with the determined second stored composite embedding; determine second item descriptions associated with the determined second group code; and generate second search results based on the second item descriptions.
- Claim 11Depends on #9
The one or more non-transitory media of claim 9, the at least one processing unit to execute the processor-executable program code to cause the system to: receive a second plurality of item descriptions, each of the second plurality of item descriptions associated with a respective hierarchical code which includes a plurality of group codes; extract a second respective plurality of phrases from each of the second plurality of item descriptions; apply a second embedding generator to each of the respective plurality of phrases extracted from each of the second plurality of item descriptions to generate a multi-dimensional numerical second phrase embedding for each of the second respective plurality of phrases extracted from each of the second plurality of item descriptions; for each of the second plurality of item descriptions, assign each second phrase embedding determined for each of the second respective plurality of phrases extracted from the item description to each of the plurality group codes included in the hierarchical code associated with the item description; generate a second composite embedding for each of the plurality of group codes based on the second phrase embeddings assigned to the group code and a second composition algorithm; and store each second composite embedding in association with the group code for which the second composite embedding was generated.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to, and the benefit of, U.S. patent application Ser. No. 18/524,810, filed Nov. 30, 2023, the contents of which are incorporated herein by reference for all purposes. BACKGROUND Modern organizations use computing systems for a multitude of tasks. Comprehensive enterprise resource planning systems may be used within most functional units of an organization, including but not limited to manufacturing and logistics, customer resource management, supply chain management, human resource management, and finance. For example, a computing system may allow users to search for items (e.g., products, documents, media, reports, raw materials, inventory) used or for use within such functional units. Generally, a search system compares the search terms of a user search request against known text associated with various items to determine search results consisting of a list of items, possibly ordered according to relevance. The text associated with some items may include a code indicating a category to which the item belongs. In such a case, it is desirable to identify a category from the search terms and to use the identified category to assist generation and/or ordering of the search results. Some systems use machine learning models to attempt to identify an item category code from search terms. Such models are trained based on usage log data (e.g., search terms and associated item selection events), synthetically-generated search terms and associated category codes, and manually-curated training data. These models suffer from a “ cold start ” problem which prevents their effective use until sufficient usage log data has been generated. Moreover, a model trained for one tenant cannot be used for another tenant, due to confidentiality concerns, differences in usages, and differences in how a same item may be described by different tenants. Systems are desired to efficiently determine a category code based on
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (12)
Non-Patent Literature (2)
- The Use of Phrases from Query Texts in Information Retrieval (Year: 2000).
- Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systems (Year: 2020).