This disclosure relates generally relates to a gender attribute assignment using a multimodal neural graph.
Items in an item catalog often have attributes values that describe the item. Items often do not have a gender attribute value. Adding gender attribute values to items in a catalog database can be a time-consuming manual process.
To facilitate further description of the embodiments, the following drawings are provided in which:
For simplicity and clarity of illustration, the drawing figures illustrate the general manner of construction, and descriptions and details of well-known features and techniques may be omitted to avoid unnecessarily obscuring the present disclosure. Additionally, elements in the drawing figures are not necessarily drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help improve understanding of embodiments of the present disclosure. The same reference numerals in different figures denote the same elements.
The terms “first,” “second,” “third,” “fourth,” and the like in the description and in the claims, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms “include,” and “have,” and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, device, or apparatus that comprises a list of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to such process, method, system, article, device, or apparatus.
The terms “left,” “right,” “front,” “back,” “top,” “bottom,” “over,” “under,” and the like in the description and in the claims, if any, are used for descriptive purposes and not necessarily for describing permanent relative positions. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the apparatus, methods, and/or articles of manufacture described herein are, for example, capable of operation in other orientations than those illustrated or otherwise described herein.
The terms “couple,” “coupled,” “couples,” “coupling,” and the like should be broadly understood and refer to connecting two or more elements mechanically and/or otherwise. Two or more electrical elements may be electrically coupled together, but not be mechanically or otherwise coupled together. Coupling may be for any length of time, e.g., permanent or semi-permanent or only for an instant. “Electrical coupling” and the like should be broadly understood and include electrical coupling of all types. The absence of the word “removably,” “removable,” and the like near the word “coupled,” and the like does not mean that the coupling, etc. in question is or is not removable.
As defined herein, two or more elements are “integral” if they are comprised of the same piece of material. As defined herein, two or more elements are “non-integral” if each is comprised of a different piece of material.
As defined herein, “approximately” can, in some embodiments, mean within plus or minus ten percent of the stated value. In other embodiments, “approximately” can mean within plus or minus five percent of the stated value. In further embodiments, “approximately” can mean within plus or minus three percent of the stated value. In yet other embodiments, “approximately” can mean within plus or minus one percent of the stated value.
In many embodiments, gender attribute assignment can be used to provide a gender label for an item. The gender label can be a gender attribute of the item.
Turning to the drawings,
Continuing with
As used herein, “processor” and/or “processing module” means any type of computational circuit, such as but not limited to a microprocessor, a microcontroller, a controller, a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a graphics processor, a digital signal processor, or any other type of processor or processing circuit capable of performing the desired functions. In some examples, the one or more processors of the various embodiments disclosed herein can comprise CPU 210.
In the depicted embodiment of
In some embodiments, network adapter 220 can comprise and/or be implemented as a WNIC (wireless network interface controller) card (not shown) plugged or coupled to an expansion port (not shown) in computer system 100 (
Although many other components of computer system 100 (
When computer system 100 in
Although computer system 100 is illustrated as a desktop computer in
Turning ahead in the drawings,
In many embodiments, system 300 can include a gender attribute system 310 and/or a web server 320. Gender attribute system 310 and/or web server 320 can each be a computer system, such as computer system 100 (
In a number of embodiments, each of gender attribute system 310 and/or web server 320 can be a special-purpose computer programed specifically to perform specific functions not associated with a general-purpose computer, as described in greater detail below.
In some embodiments, web server 320 can be in data communication through Internet 330 with one or more user computers, such as user computers 340 and/or 341. Internet 330 can be a public or private network. In some embodiments, user computers 340-341 can be used by users, such as users 350 and 351, which also can be referred to as customers, in which case, user computers 340 and 341 can be referred to as customer computers. In many embodiments, web server 320 can host one or more sites (e.g., web sites) that allow users to browse and/or search for items (e.g., products), to add items to an electronic shopping cart, and/or to order (e.g., purchase) items, in addition to other suitable activities.
In some embodiments, an internal network that is not open to the public can be used for communications between gender attribute system 310 and/or web server 320 within system 300. Accordingly, in some embodiments, gender attribute system 310 (and/or the software used by such systems) can refer to a back end of system 300, which can be operated by an operator and/or administrator of system 300, and web server 320 (and/or the software used by such system) can refer to a front end of system 300, and can be accessed and/or used by one or more users, such as users 350-351, using user computers 340-341, respectively. In these or other embodiments, the operator and/or administrator of system 300 can manage system 300, the processor(s) of system 300, and/or the memory storage unit(s) of system 300 using the input device(s) and/or display device(s) of system 300.
In certain embodiments, user computers 340-341 can be desktop computers, laptop computers, a mobile device, and/or other endpoint devices used by one or more users 350 and 351, respectively. A mobile device can refer to a portable electronic device (e.g., an electronic device easily conveyable by hand by a person of average size) with the capability to present audio and/or visual data (e.g., text, images, videos, music, etc.). For example, a mobile device can include at least one of a digital media player, a cellular telephone (e.g., a smartphone), a personal digital assistant, a handheld digital computer device (e.g., a tablet personal computer device), a laptop computer device (e.g., a notebook computer device, a netbook computer device), a wearable user computer device, or another portable computer device with the capability to present audio and/or visual data (e.g., images, videos, music, etc.). Thus, in many examples, a mobile device can include a volume and/or weight sufficiently small as to permit the mobile device to be easily conveyable by hand. For examples, in some embodiments, a mobile device can occupy a volume of less than or equal to approximately 1790 cubic centimeters, 2434 cubic centimeters, 2876 cubic centimeters, 4056 cubic centimeters, and/or 5752 cubic centimeters. Further, in these embodiments, a mobile device can weigh less than or equal to 15.6 Newtons, 17.8 Newtons, 22.3 Newtons, 31.2 Newtons, and/or 44.5 Newtons.
Exemplary mobile devices can include (i) an iPod®, iPhone®, iTouch®, iPad®, MacBook® or similar product by Apple Inc. of Cupertino, California, United States of America, (ii) a Blackberry® or similar product by Research in Motion (RIM) of Waterloo, Ontario, Canada, (iii) a Lumia® or similar product by the Nokia Corporation of Keilaniemi, Espoo, Finland, and/or (iv) a Galaxy™ or similar product by the Samsung Group of Samsung Town, Seoul, South Korea. Further, in the same or different embodiments, a mobile device can include an electronic device configured to implement one or more of (i) the iPhone® operating system by Apple Inc. of Cupertino, California, United States of America, (ii) the Blackberry® operating system by Research In Motion (RIM) of Waterloo, Ontario, Canada, (iii) the Palm® operating system by Palm, Inc. of Sunnyvale, California, United States, (iv) the Android™ operating system developed by the Open Handset Alliance, (v) the Windows Mobile™ operating system by Microsoft Corp. of Redmond, Washington, United States of America, or (vi) the Symbian™ operating system by Nokia Corp. of Keilaniemi, Espoo, Finland.
Further still, the term “wearable user computer device” as used herein can refer to an electronic device with the capability to present audio and/or visual data (e.g., text, images, videos, music, etc.) that is configured to be worn by a user and/or mountable (e.g., fixed) on the user of the wearable user computer device (e.g., sometimes under or over clothing; and/or sometimes integrated with and/or as clothing and/or another accessory, such as, for example, a hat, eyeglasses, a wrist watch, shoes, etc.). In many examples, a wearable user computer device can include a mobile device, and vice versa. However, a wearable user computer device does not necessarily include a mobile device, and vice versa.
In specific examples, a wearable user computer device can include a head mountable wearable user computer device (e.g., one or more head mountable displays, one or more eyeglasses, one or more contact lenses, one or more retinal displays, etc.) or a limb mountable wearable user computer device (e.g., a smart watch). In these examples, a head mountable wearable user computer device can be mountable in close proximity to one or both eyes of a user of the head mountable wearable user computer device and/or vectored in alignment with a field of view of the user.
In more specific examples, a head mountable wearable user computer device can include (i) Google Glass™ product or a similar product by Google Inc. of Menlo Park, California, United States of America; (ii) the Eye Tap™ product, the Laser Eye Tap™ product, or a similar product by ePI Lab of Toronto, Ontario, Canada, and/or (iii) the Raptyr™ product, the STAR1200™ product, the Vuzix Smart Glasses M100™ product, or a similar product by Vuzix Corporation of Rochester, New York, United States of America. In other specific examples, a head mountable wearable user computer device can include the Virtual Retinal Display™ product, or similar product by the University of Washington of Seattle, Washington, United States of America. Meanwhile, in further specific examples, a limb mountable wearable user computer device can include the iWatch™ product, or similar product by Apple Inc. of Cupertino, California, United States of America, the Galaxy Gear or similar product of Samsung Group of Samsung Town, Seoul, South Korea, the Moto 360 product or similar product of Motorola of Schaumburg, Illinois, United States of America, and/or the Zip™ product, One™ product, Flex™ product, Charge™ product, Surge™ product, or similar product by Fitbit Inc. of San Francisco, California, United States of America.
In many embodiments, gender attribute system 310 and/or web server 320 can each include one or more input devices (e.g., one or more keyboards, one or more keypads, one or more pointing devices such as a computer mouse or computer mice, one or more touchscreen displays, a microphone, etc.), and/or can each include one or more display devices (e.g., one or more monitors, one or more touch screen displays, projectors, etc.). In these or other embodiments, one or more of the input device(s) can be similar or identical to keyboard 104 (
Meanwhile, in many embodiments, gender attribute system 310 and/or web server 320 also can be configured to communicate with and/or include one or more databases and/or other suitable databases. The one or more databases can include an item database that contains information about items or SKUs (stock keeping units), for example, among other data as described herein. The one or more databases can be stored on one or more memory storage units (e.g., non-transitory computer readable media), which can be similar or identical to the one or more memory storage units (e.g., non-transitory computer readable media) described above with respect to computer system 100 (
The one or more databases can each include a structured (e.g., indexed) collection of data and can be managed by any suitable database management systems configured to define, create, query, organize, update, and manage database(s). Exemplary database management systems can include MySQL (Structured Query Language) Database, PostgreSQL Database, Microsoft SQL Server Database, Oracle Database, SAP (Systems, Applications, & Products) Database, and IBM DB2 Database.
Meanwhile, communication between gender attribute system 310 and/or web server 320, and/or the one or more databases, can be implemented using any suitable manner of wired and/or wireless communication. Accordingly, system 300 can include any software and/or hardware components configured to implement the wired and/or wireless communication. Further, the wired and/or wireless communication can be implemented using any one or any combination of wired and/or wireless communication (e.g., ring, line, tree, bus, mesh, star, daisy chain, hybrid, etc.) and/or protocols (e.g., personal area network (PAN) protocol(s), local area network (LAN) protocol(s), wide area network (WAN) protocol(s), cellular network protocol(s), powerline network protocol(s), etc.). Exemplary PAN protocol(s) can include Bluetooth, Zigbee, Wireless Universal Serial Bus (USB), Z-Wave, etc.; exemplary LAN and/or WAN protocol(s) can include Institute of Electrical and Electronic Engineers (IEEE) 802.3 (also known as Ethernet), IEEE 802.11 (also known as WiFi), etc.; and exemplary wireless cellular network protocol(s) can include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Evolution-Data Optimized (EV-DO), Enhanced Data Rates for GSM Evolution (EDGE), Universal Mobile Telecommunications System (UMTS), Digital Enhanced Cordless Telecommunications (DECT), Digital AMPS (IS-136/Time Division Multiple Access (TDMA)), Integrated Digital Enhanced Network (iDEN), Evolved High-Speed Packet Access (HSPA+), Long-Term Evolution (LTE), WiMAX, etc. The specific communication software and/or hardware implemented can depend on the network topologies and/or protocols implemented, and vice versa. In many embodiments, exemplary communication hardware can include wired communication hardware including, for example, one or more data buses, such as, for example, universal serial bus(es), one or more networking cables, such as, for example, coaxial cable(s), optical fiber cable(s), and/or twisted pair cable(s), any other suitable data cable, etc. Further exemplary communication hardware can include wireless communication hardware including, for example, one or more radio transceivers, one or more infrared transceivers, etc. Additional exemplary communication hardware can include one or more networking components (e.g., modulator-demodulator components, gateway components, etc.).
In some embodiments, gender attribute system 310 can be a general-purpose computer or a special-purpose computer programmed to perform specific functions and/or applications.
Turning ahead in the drawings,
In these or other embodiments, one or more of the activities of method 400 can be implemented as one or more computing instructions configured to run at one or more processors and configured to be stored at one or more non-transitory computer-readable media. Such non-transitory computer-readable media can be part of a computer system such as gender attribute system 310 and/or web server 320. The processor(s) can be similar or identical to the processor(s) described above with respect to computer system 100 (
Referring to
In some embodiments, method 400 also can include a block 420 of generating text embeddings using a text embedding model to represent the respective item description and the respective attribute values for the each item of the set of items. In many embodiments, text descriptions and item attributes for an item can be item data from an item database. In some embodiments, images of items can be image data from the item database. In many embodiments, the text embeddings can be based on the text of the attribute values (e.g., attributes) for each of the items, such attributes as brand, color, age demographics, age group, fabric material, size, pattern, item type, keywords, and other suitable attributes. In some embodiments, the text of the attribute values can be preprocessed (e.g., normalized) by converting the text to lower case and removing words frequently used in the text (e.g., stop words).
In several embodiments, the text embedding model can be a Bidirectional Encoder Representations from Transformers (“BERT”). In some embodiments, an output from the text embedding model can include a vector representation. In some embodiments, the vector representation can be the text descriptions of at least item attributes for an item transformed to a vector representation using BERT and/or another suitable vector encoder.
In many embodiments, method 400 further can include a block 430 of generating a graph of the set of items from the item catalog database connected by a set of edges. In some embodiments, each pair of items of the set of items that is connected by a respective edge of the set of edges in the graph has been viewed together in one or more respective sessions. In various embodiments, the respective edge can include a weight comprising a co-view count. In a number of embodiments, the set of edges can include (a) one or more unlabeled-unlabeled edges, (b) one or more labeled-unlabeled edges, and (c) one or more labeled-labeled edges.
In several embodiments, items from a same gender together can be viewed together more frequently than items from another gender during a single visit (e.g., session) to a website. In many embodiments, a gender label for an item on a graph can be propagated to another unlabeled item on the graphs. For example, a gender label for a red dress on the graph can be propagated to other dresses connected to the red dress on the graph. In various embodiments, propagating the gender label from one item to another on the graph can be used for training data for the text embedding model to predict the gender label, and training the data for the text embedding model can be based on the attribute information of the one item. In some embodiments, an item with as assigned gender label can include gender attribute values. In several embodiments, an unlabeled item without a gender label can include no gender attribute values. In various embodiments, an unlabeled item can include a conflict in labels or an inconsistency between attribute values.
In several embodiments, generating a graph of the set of items from the item catalog database connected by a set of edges can include vertices and/or nodes in the graph that represent item vectors. In many embodiments, an edge can be created between the vertices when two items (e.g., products) are viewed together in a visit to a website. In some embodiments, a weight can be applied to an edge to account for a co-view count of items viewed together during a visit to a website. In many embodiments, the co-view count can include a number of times an item was co-viewed with another item over a predetermined number of sessions. In some embodiments, the set of edges connecting two vertices can be defined as sets of unlabeled-unlabeled edges (e.g., εUU), sets of labeled-unlabeled edges (e.g., εLU), and/or sets of labeled-labeled edges, (e.g., εLL). In many embodiments, a graph of a set of items representing item vectors can be defined as shown in equation 1:
G=(V,E,W) Equation (1)
where G represents a graph of a set of items connecting pairs of co-viewed items, V represents vertices (e.g., nodes), E represents edges, and W represents weights applied to the edges, such as based on a co-view count.
In some embodiments, co-view data can include historical transactions stored in a transaction database. In many embodiments, creating a graph can be based on co-view data to create the pairs of items that are co-viewed by joining together the pairs of items with edges. The joining of the pairs of items with edges can be based on whether a gender label was assigned to an item (e.g., node).
In various embodiments, method 400 additionally can include a block 440 of training the text embedding model and a machine learning model using a neural loss function based on the graph.
In some embodiments, block 440 of training the text embedding model and the machine learning model using the neural loss function based on the graph can include training the machine learning model with the neural loss function based on first distances between first text embeddings for first pairs of nodes connected by the one or more labeled-labeled edges, second distances between second text embeddings for second pairs of nodes connected by the one or more labeled-unlabeled edges, third distances between third text embeddings for third pairs of nodes connected by the one or more unlabeled-unlabeled edges, and a softmax loss cost function for fourth text embeddings of nodes of the graph that are labeled.
In many embodiments, block 440 of training the text embedding model and a machine learning model using a neural loss function based on the graph can include determining distances between text embeddings and pairs of nodes connected by the one or more edges, such as labeled-labeled, labeled-unlabeled, and/or unlabeled-unlabeled edges. In some embodiments, input for training data can include hyperparameters. In some embodiments, training text embeddings using a text embedding model can be determined using equation 2.
where Y represents inputs (attributes), Z represents an output of an gender label (male, female, or unisex), d represents a distance between vector representations between two nodes, wUV represents a weight of the edges between node u and node v, α1, α2, α3 represent hyperparameters, hθ(yu) represents BERT output for node u, and hθ(yv) represents BERT output for node v, εUU represents sets of unlabeled-unlabeled edges, εLU represents sets of labeled-unlabeled edges, εLL represents sets of labeled-labeled edges, c represents a cost function, n represents vertices, and V represents the set of vertices (e.g., nodes).
In some embodiments, vector representations can be used to determine neural graph loss between pairs of items that are labeled-labeled edges, as shown in equation 3:
α1Σ(u,v)∈ε
In many embodiments, vector representations can be used to determine a neural graph loss between pairs of items that can be labeled-unlabeled edges, as shown in equation 4:
α2Σ(u,v)∈ε
In various embodiments, vector representations can be used to determine neural graph loss between pairs of items that can be unlabeled-unlabeled edges as shown in equation 5.
α3Σ(u,v)∈ε
In many embodiments, softmax loss for labeled nodes can be determined using equation 6.
In several embodiments, method 400 optionally can include block 450 of training an image embedding model based on images of items from the item catalog database using loss equations to minimize a distance between text representations and image representations for the items. In many embodiments, block 450 can be implemented as shown in method 800 of
In some embodiments, determining a structured loss, including a deep structured loss, can be used as training data in a machine learning model, as trained, can be determined using equation 7.
where m, λ1, λ2, λ3 represent hyper parameters, d represents a distance function, and i, j, k, represent index for elements in a set.
In many embodiments, a bi-directional ranking constraint can be used as a variable for generating a structured loss can be determined using equations 8 and 9.
d(xi,yj)+m<d(xi,yk)∀yj∈Yi+,∀yk∈Yi− Equation (8)
where xi represents a training image Yi+ represents a positive sentence, and Yi− represents a negative sentence.
d(xj′,yi′)+m<d(xk′,yi′)∀xj′∈Xi+,∀xk′∈Xi− Equation (9)
where yi′ represents a training sentence, Xi′+ represents a positive image, and Xi′− represents a negative image.
In many embodiments, structure-preserving constraints can be used as a variable for generating a structured loss can be determined by equations 10 and 11.
d(xi,xj)+m<d(xi,xk)∀xj∈N(xi),∀xk∉N(xi) Equation (10)
where N(xi) represents images described by the same sentence as xi, and N(yi′) represents sentences describing the same image as yi′.
d(yi′,yj′)+m<d(yi′,yk′)∀yj′∈N(yi′),∀yk′∈N(yi′) Equation (11)
In many embodiments, softmax loss can apply to labeled nodes and not apply to unlabeled nodes.
In many embodiments, method 400 further can include a block 460 of automatically determining, based on the machine learning model, as trained, a gender label for each first item of the set of items in which the gender classification is unlabeled and in which a respective quantity of respective attribute values for the each first item is at least a predetermined threshold
In some embodiments, method 400 additionally can include an optional block 470 of determining, based on an image embedding model, as trained, a gender label for each second item of the set of items that does not meet the predetermined threshold. In many embodiments, image data can be used for predicting a gender label for an item when an item has less than five (5) item attributes.
In various embodiments, method 400 also can include an optional block 471 of transforming an image into a second vector representing the image using a residual neural network (“ResNet”). In many embodiments, transforming an image into a second vector can include extracting images and/or item images from item attributes.
In many embodiments, training image embeddings can include text vector representations and image vector representing input into an item embedding space, as shown in
In some embodiments, method 400 further can include an optional block 475 of receiving a selection of an anchor item from a user. In a number of embodiments, the anchor item can include a first gender label.
In several embodiments, method 400 additionally can include an optional block 480 of determining one or more recommended items that match the first gender label based on the gender labels determined by the machine learning model.
In a number of embodiments, method 400 also can include an optional block 485 of sending instructions to display the one or more recommended items to the user.
Turning to the next drawing,
In many embodiments, gender attribute system 310 can include a communication system 511. In a number of embodiments, communication system 511 can at least partially perform block 410 (
In several embodiments, gender attribute system 310 also can include a database system 512. In various embodiments, database system 512 can at least partially perform block 410 (
In some embodiments, gender attribute system 310 also can include a text model system 513. In many embodiments, text model system 513 can at least partially perform block 420 (
In some embodiments, gender attribute system 310 also can include an image model system 514. In many embodiments, image model system 514 can at least partially perform block 450 (
In some embodiments, gender attribute system 310 also can include a graph system 515. In many embodiments, graph system 515 can at least partially perform block 430 (
In several embodiments, web server 320 can include a webpage system 521. Webpage system 521 can at least partially perform sending instructions to user computers (e.g., 350-351 (
Turning ahead in the drawings,
In many embodiments, each of the nodes can include a vector representation of the item. For example, node 601 can be a vector representation of an item that is a red dress. The other nodes similarly can be for items that are dresses. In a number of embodiments, each node can be a vector representation of an item co-viewed with one or more other items and/or other nodes. Each node can be a labeled item or an unlabeled item, depending on whether the item has a gender label.
In some embodiments, graph 600 can be used to determine a gender label for one or more unlabeled nodes when the unlabeled nodes are connected to a labeled node. For example, node 601 is connected to nodes 602, 603, and 605, indicating that nodes 602, 603, and 605 were co-viewed with node 601 in one or more sessions. The vector representations of each of the nodes, 601, 602, 603, and 605 represent a respective item that is a respective women's dress. For some nodes, a gender classification is unlabeled, thus referred to as an unlabeled node. For example a gender label of female was assigned to node 601 (e.g., labeled node) and was co-viewed with an unlabeled node 603. Graph 600 can propagate the female gender label from node 601 to node 603 because both of nodes 601 and 603 are connected by an edge. In another example, two unlabeled nodes connected by an edge can remain unlabeled. For example, unlabeled node 607 and unlabeled node 608 can be connected to each other. Labeled node 604 can be connected to labeled node 603 and unlabeled node 607. A gender label from labeled node 603 can be propagated to unlabeled node 607, to change unlabeled node 607 into labeled node 607 with a gender label of female. Subsequently, newly labeled node 607 being connected to unlabeled node 608 and labeled node 606 can result in unlabeled node 608 being changed into labeled node 608, and so forth.
In some embodiments, training a machine learning model using a neural loss function can be based on input data, such as distances between embeddings for pairs of nodes connected by one or more labeled-labeled edges, labeled-labeled edges, and unlabeled-unlabeled edges.
Turning ahead in the drawings,
In these or other embodiments, one or more of the activities of method 700 can be implemented as one or more computing instructions configured to run at one or more processors and configured to be stored at one or more non-transitory computer-readable media. Such non-transitory computer-readable media can be part of a computer system such as gender attribute system 310 and/or web server 320. The processor(s) can be similar or identical to the processor(s) described above with respect to computer system 100 (
In many embodiments, method 700 can include a block 701 of retrieving attributes and item data for items stored in an item database (e.g., product database).
In some embodiments, method 700 also can include a block 702 of extracting text and/or image data from the attribute and item data for items store in the item database.
In various embodiments, method 700 further can include a block 703 of embedding text and/or image data into vector representations of the items using text embedding model, such as BERT. In many embodiments, text embeddings and/or vector representations can be used as training data in a machine learning model, as trained. In some embodiments, transforming an image into a vector can include using ResNet.
In several embodiments, method 700 additionally can include a block 704 of inputting the text embeddings and the data from the graph into a machine learning model to determine a gender label for an item.
In many embodiments, method 700 also can include a block 705 of retrieving historical transactions from a transaction database.
In some embodiments, method 700 further can include a block 706 of retrieving co-view data from the historical transactions to determine pairs of items viewed together during a session on a website. In many embodiments, pairs of items that were viewed and/or ordered (e.g., purchased) together during a session on a web site can be considered as co-viewed.
In various embodiments, method 700 additionally can include a block 707 of a creating a graph based on the co-view data of pairs of items co-viewed together. In many embodiments, the pairs of items can be a labeled item or an unlabeled item. In some embodiments, the connectivity between the nodes of each co-viewed item can be used as training data for a machine learning model for determining a gender label for an item.
In several embodiments, method 700 can include a block 708 of inputting the image embeddings and the data from the graph into a machine learning model to determine a gender label for an item. In some embodiments, block 708 can be used when text data for an item is insufficient for block 704 to produce reliable results. For example, block 708 can be used when the number of text attributes for an item is fewer than four.
Turning ahead in the drawings,
In these or other embodiments, one or more of the activities of method 800 can be implemented as one or more computing instructions configured to run at one or more processors and configured to be stored at one or more non-transitory computer-readable media. Such non-transitory computer-readable media can be part of a computer system such as gender attribute system 310 and/or web server 320. The processor(s) can be similar or identical to the processor(s) described above with respect to computer system 100 (
In many embodiments, method 800 can include a block 801 of receiving an image of an item as input for training data for a machine learning model.
In some embodiments, method 800 can include a block 802 of transforming the image into a representation vector using a residual neural network (ResNet) and/or another suitable image embedding model.
In many embodiments, method 800 can include a block 803 of receiving output data of representation vectors based on text embeddings using a text embedding model, such as BERT.
In various embodiments, method 800 can include a block 804 of transforming the representation vectors using a normalization technique, such as L2 normalization to input as training data for a machine learning model.
In several embodiments, method 800 can include a block 805 of training the two vectors (e.g., the representation vector for the image embeddings generated in block 802 and the representation vector for the text embeddings) in an image embedding model for determining a gender label of an item based on image data. For example, a loss equation, such as equation 7 described above, can be used.
In various embodiments, method 800 can include a block 806 of applying a softmax classifier to the loss output to train the image embedding model.
Referring to the drawings
In these or other embodiments, one or more of the activities of method 900 can be implemented as one or more computing instructions configured to run at one or more processors and configured to be stored at one or more non-transitory computer-readable media. Such non-transitory computer-readable media can be part of a computer system such as gender attribute system 310 and/or web server 320. The processor(s) can be similar or identical to the processor(s) described above with respect to computer system 100 (
In many embodiments, method 900 can include a block 901 of receiving an image of an item to predict a gender label from image embeddings.
In several embodiments, method 900 can include a block 902 of transforming the image received in block 901 into a representation vector using ResNet.
In some embodiments, method 900 can include a block 903 of a inputting the representation vector for the image into the image embedding model, as trained, to determine a gender label for the item based on the image. In particular, in one embodiment, block 903 can include using the representation vector for the image to determine the gender label for the item based on the image.
In various embodiments, method 900 can include a block 904 of applying the softmax classifier during to determine the gender label.
Turning ahead in the drawings,
Referring to the drawings
In many embodiments, the techniques described herein can provide several technological improvements. Conventionally, many online websites do not use gender attributes as a basis to select items to recommend to a user. When catalog data includes gender attribute data, it can include noisy gender attribute coverage often resulting with few items with reliable gender attribute coverage. A machine learning model can be trained to scale gender assignment across a catalog to reduce the number of recommendation errors based on recommending items for one gender intended to be recommended to another gender. The machine learning model can be trained to handle newly added items to a catalog reducing processing resources when a gender label is assigned simultaneously during processing to add the item to the catalog database. For example, an online catalog can include approximately one hundred million items and/or items at any given period of time.
In a number of embodiments, the techniques described herein can advantageously provide a consistent user experience by dynamically providing gender-aware recommendations of items in an online catalog increasing the visibility of items previously not discovered by the user. For example, an online catalog can include approximately one hundred million items and/or items at any given period of time.
In many embodiments, the techniques described herein can be used continuously at a scale that cannot be handled using manual techniques. For example, the number of daily and/or monthly visits to the content source can exceed approximately ten million and/or other suitable numbers, the number of registered users to the content source can exceed approximately one million and/or other suitable numbers, and/or the number of items sold on the website can exceed approximately ten million (10,000,000) approximately each day.
In a number of embodiments, the techniques described herein can solve a technical problem that arises only within the realm of computer networks, as determining a gender label for an item for which the gender classification is unlabeled in an online catalog does not exist outside the realm of computer networks. Moreover, the techniques described herein can solve a technical problem that cannot be solved outside the context of computer networks. Specifically, the techniques described herein cannot be used outside the context of computer networks, in view the text embedding model and a machine learning model using a neural loss function used in this invention, and because an online catalog that can power and/or feed an online website that is part of the techniques described herein would not exist.
Various embodiments can include a system. The system can include one or more processors and one or more non-transitory computer-readable media storing computing instructions configured to run on the one or more processors and perform certain acts. The acts can include receiving from an item catalog database a respective item description and respective attribute values for each item of a set of items. A gender classification of the respective attribute values for the each item of the set of items can be either labeled or unlabeled. The acts also can include generating text embeddings using a text embedding model to represent the respective item description and the respective attribute values for the each item of the set of items. The acts further can include generating a graph of the set of items from the item catalog database connected by a set of edges. Each pair of items of the set of items that can be connected by a respective edge of the set of edges in the graph has been viewed together in one or more respective sessions. The respective edge can include a weight that can include a co-view count. The set of edges can include (a) one or more unlabeled-unlabeled edges, (b) one or more labeled-unlabeled edges, and (c) one or more labeled-labeled edges. The acts further can include training the text embedding model and a machine learning model using a neural loss function based on the graph. The acts additionally can include automatically determining, based on the machine learning model, as trained, a gender label for each first item of the set of items in which the gender classification is unlabeled. The gender classification can include a respective quantity of respective attribute values for the each first item is at least a predetermined threshold.
Several embodiments can include a method. The method can be implemented via execution of computing instructions configured to run at one or more processors and stored at one or more non-transitory computer-readable media. The method can include receiving from an item catalog database a respective item description and respective attribute values for each item of a set of items. A gender classification of the respective attribute values for the each item of the set of items can be either labeled or unlabeled. The method also can include generating text embeddings using a text embedding model to represent the respective item description and the respective attribute values for the each item of the set of items. The method further can include generating a graph of the set of items from the item catalog database connected by a set of edges. Each pair of items of the set of items that can be connected by a respective edge of the set of edges in the graph has been viewed together in one or more respective sessions. The respective edge can include a weight that can include a co-view count and the set of edges comprises (a) one or more unlabeled-unlabeled edges, (b) one or more labeled-unlabeled edges, and (c) one or more labeled-labeled edges. The method also can include training the text embedding model and a machine learning model using a neural loss function based on the graph. The method further can include automatically determining, based on the machine learning model, as trained, a gender label for each first item of the set of items. The gender label for each first item of the set of items can include whether the gender classification is unlabeled. The gender classification can include a respective quantity of respective attribute values for the each first item is at least a predetermined threshold.
A number of embodiments include a system. The system including one or more processors and one or more non-transitory computer-readable media storing computing instructions that, when executed on the one or more processors, cause the one or more processors to perform certain acts. The acts can include receiving a respective item description and at least one respective attribute value for each item of a set of items. The acts also can include generating at least one respective text embedding using a text embedding model for each item of the set of items. The acts further can include generating a graph of the set of items based on at least co-view data to create pairs of items that are co-viewed by joining respective pairs of items that are connected by a set of edges. Each pair of items joined by a respective edge of the set of edges in the graph can be viewed together in one or more respective sessions. The respective edge includes a respective weight including a co-view count of a respective pair of items. The acts additionally can include training the text embedding model and a machine learning model using a neural loss function based on the graph. The acts also can include automatically determining, using the machine learning model, as trained, a label for each item of the set of items.
Various embodiments include a method. The method being implemented via execution of computing instructions configured to run on one or more processors and stored at one or more non-transitory computer-readable media. The method can include receiving a respective item description and at least one respective attribute value for each item of a set of items. The method also can include generating at least one respective text embedding using a text embedding model for each item of the set of items. The method further can include generating a graph of the set of items based on at least co-view data to create pairs of items that are co-viewed by joining respective pairs of items that are connected by a set of edges. Each pair of items joined by a respective edge of the set of edges in the graph can be viewed together in one or more respective sessions. The respective edge includes a respective weight including a co-view count of a respective pair of items. The method additionally can include training the text embedding model and a machine learning model using a neural loss function based on the graph. The method also can include automatically determining, using the machine learning model, as trained, a label for each item of the set of items.
Although gender attribute assignment using a multimodal neural graph has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes may be made without departing from the spirit or scope of the disclosure. Accordingly, the disclosure of embodiments is intended to be illustrative of the scope of the disclosure and is not intended to be limiting. It is intended that the scope of the disclosure shall be limited only to the extent required by the appended claims. For example, to one of ordinary skill in the art, it will be readily apparent that any element of
Replacement of one or more claimed elements constitutes reconstruction and not repair. Additionally, benefits, other advantages, and solutions to problems have been described with regard to specific embodiments. The benefits, advantages, solutions to problems, and any element or elements that may cause any benefit, advantage, or solution to occur or become more pronounced, however, are not to be construed as critical, required, or essential features or elements of any or all of the claims, unless such benefits, advantages, solutions, or elements are stated in such claim.
Moreover, embodiments and limitations disclosed herein are not dedicated to the public under the doctrine of dedication if the embodiments and/or limitations: (1) are not expressly claimed in the claims; and (2) are or are potentially equivalents of express elements and/or limitations in the claims under the doctrine of equivalents.
This application is a continuation of U.S. application Ser. No. 16/779,545, filed Jan. 31, 2020. U.S. application Ser. No. 16/779,545 is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
8645224 | Engle | Feb 2014 | B2 |
10373618 | Mohajer et al. | Aug 2019 | B2 |
20030028451 | Ananian | Feb 2003 | A1 |
20180121988 | Hiranandani et al. | May 2018 | A1 |
20190026812 | Levy et al. | Jan 2019 | A9 |
20190385054 | Zuev | Dec 2019 | A1 |
20200234086 | Taha | Jul 2020 | A1 |
20200279105 | Muffat | Sep 2020 | A1 |
20200311798 | Forsyth | Oct 2020 | A1 |
20200320769 | Chen | Oct 2020 | A1 |
20210264203 | Fuxman | Aug 2021 | A1 |
Entry |
---|
“Multi-modal Embedding for Main Product Detection in Fashion”, IEEE International Conference on Computer Vision Workshops (ICCVW), 2017) (Year: 2017). |
“Multi-modal Embedding for Main Product Detection in Fashion”, IEEE International Conference on Computer Vision Workshops (ICCVW), 2017) (Year: 2017) 2017. |
Number | Date | Country | |
---|---|---|---|
20230177591 A1 | Jun 2023 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16779545 | Jan 2020 | US |
Child | 18103862 | US |