Graph building using language models
AssigneePaypal, Inc.
InventorsOfek Levy, Yuval Yaron, Masha Goldgamer, Oria Domb
Life of this patent
Estimating the term…
Abstract
The disclosed computer-implemented method may include determining a taxonomy of an object from its textual description and also standardized attributes of the object from the description and the taxonomy using a language model, according to embodiments. The method may also include building a graph data structure by using the standardized attributes for a node and connecting the node to other nodes using edges for common attributes. Various other methods, systems, and computer-readable media are also disclosed.
Claims20
A system comprising:
- a processor;
- and
- a non-transitory computer-readable medium having stored thereon instructions that are executable by the processor to cause the system to perform operations comprising:
- generating item category embeddings for item categories using a language agnostic sentence transformer model;
- identifying embeddings for an item based on a textual description of the item using the language agnostic sentence transformer model;
- matching the embeddings to the item category embeddings to determine a closest item category for the item;
- prompting a language model with the closest item category and the textual description to output standardized attributes of the item;
- and
- building a graph representation of items, wherein the item is represented by a node and edges connect the node to another item node based on shared values for the standardized attributes of the item.
A non-transitory computer-readable medium having stored thereon instructions that are executable by a processor of a computing system to cause the computing system to perform operations comprising:
- selecting a category for an item using a textual description of the item with a first language model;
- identifying a standard list of attributes for the category;
- determining values for the standard list of attributes using the textual description and the category with a second language model;
- and
- graphing a representation of items by adding a node to the graph representation for the item using the values as edges for connecting to other nodes.
A computer-implemented method comprising:
- determining, based on a textual description of an object, a taxonomy of the object using a first language model;
- determining, based on the textual description and the taxonomy of the object, attributes of the object using a second language model;
- and
- adding, based on the attributes, a node corresponding to the object to a graph, wherein the node connects to another node of the graph using edges corresponding to common attributes.
Dependencies are inferred from the claim text.