One-class recommendation system with hinged pairwise distance loss and orthogonal representation
The one-class recommendation system addresses performance issues by using similar pairs with pairwise distance and orthogonality loss terms, ensuring accurate predictions without dissimilar pairs, thus improving training efficiency and accuracy.
Patent Information
- Application Number
- JP2023108336
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-10-27
- Filing Date
- 2023-06-30
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2043-06-30
AI Technical Summary
Existing one-class recommendation systems face performance issues when trained solely on similar user-item pairs without dissimilar pairs, leading to collapsed solutions or requiring large numbers of potentially false dissimilar pairs, which slows training and impairs performance.
A one-class recommendation system trained using only similar user-item pairs, incorporating a pairwise distance loss term to maintain average pairwise distances in vector space and an orthogonality loss term to reduce dimension correlation, avoiding broken and partially broken solutions.
The proposed method achieves improved performance and efficiency by preventing collapsed solutions while reducing the need for dissimilar pairs, enhancing prediction accuracy with less training data.
Smart Images

Figure 0007573072000021 
Figure 0007573072000022 
Figure 0007573072000023
Abstract
Description
[Technical field]
[0001] This invention relates generally to machine learning based recommendation systems, and more specifically to one-class recommendation systems that are trained using only similar user-item pairs and an objective function that includes pairwise distance and orthogonal loss terms.
[0002] [Related Applications] This application claims the benefit of U.S. Provisional Application No. 63 / 392,826, entitled "One Class Recommendation Systems with the Hinge Pairwise Distance Loss and Orthogonal Representations," filed July 27, 2022, the contents of which are incorporated by reference as if fully set forth herein. [Background technology]
[0003] Recommender systems (RS) are used on many shopping platforms. The goal of a recommender system is to utilize known user feedback about an item and predict unknown user feedback. This feedback is often called user-item interaction and can be implicit (e.g., purchased / clicked) or explicit (e.g., rating 1-5). The predicted feedback can be used to recommend items on the shopping platform to the user or to provide targeted advertising for the item.
[0004] In the case of implicit feedback, which is a common scenario in the real world, we only know whether a user has interacted with an item (clicked on it, purchased it, etc.). The goal of a one-class recommender system is to solve the implicit "one class" feedback prediction problem. This problem is called the "one class" problem because "no interaction" between a user and an item in the training set does not necessarily mean that the user does not like the item. This means that there is no information about the user's interactions. The reason is that the set of items in the recommender system is huge and the user cannot see all the items. The user can only see a small subset of items and subsequently interact with a small number of those items.
[0005] There are three main steps in training an RS model to predict user-item interactions. The first step is to learn user and item vector representations. This can be done by learning user and item matrices from user and item IDs, by learning user and item multi-layer perceptrons (MLPs) from user-item interaction vectors and / or side information, or by learning a graph neural network from a bipartite user-item graph.
[0006] The second step is to model an interaction score from the user and item vector representations. Common methods for computing an interaction score are (1) taking the dot product of the user and item representations, (2) computing the cosine similarity of the user and item representations, and (3) applying a neural network over the concatenated user and item representations.
[0007] The third step is to optimize a loss function that produces smaller values when the RS model outputs larger user-item interaction scores for similar user-item pairs compared to dissimilar user-item pairs. Various types of loss functions have been used in known solutions. The mean squared error (MSE) loss and binary cross-entropy (BCE) directly minimize the difference between the predicted scores and the actual scores. The Bayesian personalized rank (BPR) loss does not directly map the interaction scores of similar pairs to the actual scores, but instead tries to make them larger than the interaction scores of dissimilar pairs. The contrastive learning loss tries to bring the representations of similar user-item pairs closer to each other and to move the representations of dissimilar user-item pairs further apart.
[0008] In a recommender system trained on implicit user-item feedback, "similar user-item pairs" are user-item pairs with known interactions, such as purchasing the item or clicking on the item, by the users. "Dissimilar user-item pairs" are user-item pairs with no known interactions and where a negative relationship between the user and the item is assumed for training purposes.
[0009] All the above loss functions require both similar and dissimilar pairs of users to train the model. The reason is that, as shown in FIG. 1A, these loss functions have both (1) an attractive loss term that effectively minimizes the distance in vector space between the user vector representation and the item vector representation for each similar user-item pair in the training dataset, and (2) a repulsive loss term that effectively maximizes the distance in vector space between the user vector representation and the item vector representation for each dissimilar user-item pair in the training dataset. If these loss functions are trained using only similar pairs, only the attractive loss term is used. As shown in FIG. 1B, the result is a collapsed solution. That is, all representations are mapped to the same point in the latent space, and the model predicts the same interaction score for all pairs. The performance of the collapsed solution is as bad as that of assigning random representations to users and items. To avoid broken solutions, dissimilar pairs are essential in training RS models using any of these traditional loss functions.
[0010] A one-class recommender system only has access to known implicit interactions. The remaining interactions are unknown. To create a dissimilar set of user-item pairs, a common approach is to randomly select a set of user-item pairs with unknown interactions and consider those pairs as dissimilar. Another strategy is to find hard-negatives, i.e. pairs with unknown interactions that the model has difficulty classifying as dissimilar.
[0011] Creating dissimilar pairs from user-item pairs with unknown interactions is problematic for two main reasons. First, a large number of dissimilar pairs is needed to obtain reasonable results, which slows down training. Second, pairs with no interaction do not necessarily mean that the user does not like the item. Using a large number of dissimilar pairs hurts performance, since some of the pairs may be pairs that the user would have an affinity for if they knew about the item ("false dissimilar pairs"). The problem is more severe in hard-negative methods, since "false dissimilar pairs" are, by definition, difficult to classify as dissimilar and are erroneously considered hard negatives. Summary of the Invention [Problem to be solved by the invention]
[0012] Therefore, a solution is needed that allows training of RS models without dissimilar pairs while still avoiding broken solutions and achieving state-of-the-art results. [Means for solving the problem]
[0013] The present disclosure relates to a one-class recommendation system that is trained using only similar user-item pairs and no dissimilar user-item pairs. In addition to the broken solutions mentioned above, partially broken solutions discussed below are also avoided in training the recommendation system by using a loss function that includes a pairwise distance loss term and an orthogonality loss term. The pairwise distance loss avoids broken solutions by maintaining the average pairwise distance between all vector representations in the vector space larger than a margin. The orthogonality loss term avoids partially broken solutions by reducing correlation between dimensions in the vector space.
[0014] In one embodiment, a method for training a one-class recommendation model and using the model to predict interaction values of users and items includes the following steps: (a) obtaining a training data set including user data and item data of only similar user-item pairs; the training dataset does not contain dissimilar user-item pairs; Similar user-item pairs are user-item pairs that have known interactions, A dissimilar user-item pair is a user-item pair with no known interactions. Steps and (b) applying the model to the similar user-item pair data in the training data set to obtain a predicted interaction value for each of the similar user-item pairs, the predicted interaction value comprising generating a vector representation in a vector space of the users and the items in the training data set; (c) The loss terms: an attractive loss term that minimizes the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset; a pairwise distance loss term that maintains an average pairwise distance in the vector space between all vector representations in the training dataset greater than a margin; an orthogonality loss term that reduces correlation between dimensions in the vector space; Calculating a loss value of the model using a loss function including: (d) adjusting a set of trainable parameters of the model to reduce the loss value; repeating steps (b)-(d) for a number of iterations; using the trained model to obtain user-item interaction value predictions for user and item pairs whose interaction values are unknown; Includes. [Brief description of the drawings]
[0015] [Figure 1A] FIG. 1 is a block diagram showing a prior art loss function. [Figure 1B] FIG. 1 is a block diagram showing a prior art loss function. [Diagram 2] 1 is a flowchart illustrating a method for training a one-class recommendation model according to one embodiment. [Diagram 3] FIG. 1 is a block diagram illustrating a novel loss function for training a one-class recommendation model. [Figure 4A-4B] 1 is a flowchart illustrating a method for making recommendations using a one-class recommendation model during a prediction phase. [Diagram 5] FIG. 1 is a block diagram of an exemplary recommender system architecture according to one embodiment. [Figure 6] FIG. 1 is a block diagram illustrating an exemplary recommendation model architecture according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] The present disclosure relates to a one-class recommender system that is trained using only similar user-item pairs and no dissimilar user-item pairs. A "similar user-item pair" is a user-item pair that has a known interaction, such as a user purchasing an item or clicking an item. A dissimilar user-item pair is a user-item pair that has no known interaction and a negative relationship between the user and the item is assumed for training purposes. As discussed in more detail below, the broken solutions discussed above are avoided in training the recommender system by using a loss function that includes a pairwise distance loss term and an orthogonality loss term. The pairwise distance loss avoids the broken solutions by maintaining the average pairwise distance between all vector representations in the vector space larger than a margin. The orthogonality loss term avoids the broken solutions partially by reducing the correlation between dimensions in the vector space.
[0017] The methods described herein are performed by a computer system ("system" or "recommender system"). Both the training and prediction phases of this recommender system are described below. During the training phase, a machine learning model used by the recommender system is trained to predict user-item interactions. During the prediction phase, this model is used to predict user-item interactions for user-item pairs with unknown interactions.
[0018] 1. Mathematical notation In terms of the mathematical notation used herein, the user-item interaction matrix can be expressed as
number
number
number
number
number
[0019] 2.1 Class recommendation model The recommender system uses a machine learning model to predict user-item interaction values ("model" or "one-class recommendation model"). Figure 6 shows an example model architecture according to one embodiment. The model includes a user neural network encoder 640 that generates a user vector representation 660 from user input data 605. The model also includes an item neural network encoder 620 that generates an item vector representation 650 from input item data 615. In a particular embodiment, the predicted interaction value 680 of the user and item is the dot product 670 of the user and item representations. In other embodiments, the predicted interaction value is obtained by taking the cosine similarity of the user and item representations, or by concatenating the representations and applying a neural network to the concatenated representation. Training the model includes learning the parameters of the user neural network encoder and the item neural network encoder that provide the most accurate prediction.
[0020] 3. Training Phase FIG. 2 illustrates a method for training a one-class recommendation model used by a recommender system to make user-item interaction predictions.
[0021] 3.1 Applying a one-class recommendation model to training data with only similar pairs The system obtains a training dataset (step 210) that includes only similar user-item pairs and does not include dissimilar user-item pairs. As described above, similar user-item pairs are user-item pairs that have known interaction values, such as user-item pairs that users click or purchase. The training dataset includes user data and item data for each user-item pair. For example, the user data can include a user ID and / or a user-item interaction vector, and the item data can include side item data such as item description, item price, item category, and item image. This data is the input of the one-class recommendation model.
[0022] The system applies the one-class recommendation model to the user-item pair data in the training dataset to obtain a predicted interaction value for each similar user-item pair (step 220).
[0023] 3.2 Calculating model losses As shown in Figure 3, the system calculates a loss value for the model using a loss function that includes (1) an attractive loss term, (2) a pairwise distance loss term, and (3) an orthogonal loss term (step 230). The 2D mapping shown in Figure 3 is for ease of illustration only. In reality, the user representations and item representations are mapped to a vector space with much more dimensions (e.g., 100 dimensions). The terms "loss function" and "objective function" are used interchangeably herein.
[0024] The three loss terms are discussed in more detail below.
[0025] 3.2.1 Induced loss term For each similar user-item pair in the training data, the attractive loss term minimizes the distance in vector space between the user vector representation and the item vector representation of that pair. The attractive loss term may be an attractive loss term in a loss function used in known solutions. For example, the attractive loss term may be an attractive loss term in a mean squared error loss or a contrast loss. These are mathematically defined below.
[0026] The attractive loss term for the mean squared error loss:
number
[0027] Contrast loss induced loss term:
number
[0028] 3.2.2 Pairwise distance loss term The pairwise distance loss term maintains the average pairwise distance between all vector representations in the vector space greater than a margin, which prevents broken solutions.
[0029] The average pairwise distance is based on the distances between all user-user, item-item, and user-item representations in the vector space. In one embodiment, the pairwise distance loss term is the hinge pairwise distance loss described below.
[0030] As mentioned above, the d-dimensional representation of all m users and all n items is
number
number
number
number
[0031] d p calculates the average distance between all user-user, item-item, and user-item representations, and calculates the distance between user and item similarity pairs.
number
number
[0032] In one embodiment, the average pairwise distance d p Computing d involves computing the distances between all user-user, item-item, and user-item representations. pA faster way to compute is to compute the sum of the variances of each dimension. The formula below shows that computing the sum of twice the variances of each dimension is equivalent to computing the average pairwise distances between all user-user, item-item, and user-item representations.
[0033] Let the q-th dimension of the l-th representation be z l,q and the pairwise distance in the qth dimension is
number
number
[0034]
number
number
[0035] Thus, twice the variance of a dimension is equal to the average pairwise distances of user-user representations, item-item representations, and user-item representations in that dimension. In the broken scenario, the variance of each dimension is zero, and to avoid this broken scenario, the sum of the variances of the dimensions must be greater than the margin.
[0036] In summary, the average pairwise distance between all representations, d p can be calculated by computing the sum of the two variances of each dimension. The hinge pairwise loss term is the average pairwise distance d p is included in the loss (objective) function used to train the model to ensure that is greater than the margin.
[0037] 3.2.3 Orthogonality loss term Combining the attraction term and the pairwise loss term in the objective function avoids broken solutions, but these two terms alone may still result in a "partially broken solution." A partially broken solution returns only two sets of representations for the entire set of users. In other words, every user and item is essentially mapped to one of two representations. If the two sets of representations are far enough apart, the average variance of the dimensions will be smaller than the margin m required by the pairwise loss term. p Requiring the average pairwise distance to be greater than the margin is insufficient to prevent partially broken solutions in some scenarios. Unfortunately, partially broken solutions also lead to poor predictions.
[0038] A third loss term, the orthogonality loss term, is used to avoid partially broken solutions. In partially broken solutions, there exists a linear relationship between the dimensions of the vector space Z, and thus the dimensions in the vector space are highly correlated, which means that one dimension predicts another. The orthogonality term makes the dimensions in the vector space orthogonal, thus reducing the correlation between the dimensions. The orthogonality term can be mathematically expressed as follows:
number
[0039] By combining the pairwise distance loss term with the orthogonality term, both corrupt and partially corrupt solutions are prevented in training the model.
[0040] 3.2.4 Mathematical Expressions The objective function with all three loss terms, namely, attractive loss term, pairwise distance loss term, and orthogonality loss term, can be mathematically expressed as follows:
number
[0041] In the above equation, the attractive loss term is the attractive term of the control loss function. Other attractive loss terms can also be used, such as the attractive term of the mean squared error loss function as shown in the alternative objective function below.
number
[0042] 3.3 Adjustment of model parameters and model optimization After calculating the loss in step 230, the system adjusts a set of trainable parameters of the model to reduce the loss (step 240). The system repeats steps 210-240 for a number of iterations to optimize the model (step 250). These steps can be repeated until convergence is reached or for a fixed number of iterations.
[0043] 4.0 Prediction Phase In the prediction phase, the trained model can be used to recommend users to shops for targeted advertising or to recommend items to users on e-commerce platforms.
[0044] 4A illustrates a method for recommending users to a shop in a prediction phase. The system uses the trained model to obtain user-item interaction value predictions for user-item pairs on the e-commerce platform whose interaction values are unknown (step 410). The system recommends one or more test users to the shop based on the items sold by the shop on the e-commerce platform and the respective predicted interaction values of the multiple test users (step 420).
[0045] 4B illustrates a method for recommending one or more items to a test user. The system uses the trained model to obtain user-item interaction value predictions for user-item pairs on the e-commerce platform with unknown interaction values (step 430). The system then recommends one or more items to the test user based on the test user and the respective predicted interaction values of a plurality of items on the e-commerce platform (step 440).
[0046] 5.0 Example System Architecture FIG. 5 shows an exemplary system architecture of the recommendation system. As described above, the recommendation system includes a one-class recommendation model 530 that predicts user-item interactions for user-item pairs. The inputs to the model are user data 510, such as user ID and / or user-interaction vector, and item data 520, such as side item data (e.g., item description, item price, item category, and item image). The predictions of the model are output in the form of user-item interaction scores. A recommendation module 540 receives the user-item interaction scores from the prediction model 530 and uses these scores to recommend users to shops or recommend items to users, as described above with respect to FIG. 4A and FIG. 4B. A training module 550 trains the one-class recommendation model 530 according to the method of FIG. 2.
[0047] 6.0 Experiments Demonstrate Improved Performance The provisional application, which is incorporated herein by reference in the Related Applications section, describes the results of an experiment comparing the performance of a recommender system trained according to the method of Fig. 2 using only similar pairs with a conventional recommender system trained using both similar and dissimilar pairs and a conventional objective function. The results of the experiment show that the former system had better performance (recall) with less training data.
[0048] 7.0 General principles The methods described with respect to Figures 2-6 are embodied in software and performed by a computer system (comprising one or more computing devices) executing the software. Those skilled in the art will appreciate that a computer system has one or more physical memory units, disks, or other physical computer-readable storage media that store software instructions, and one or more processors that execute those software instructions. Those skilled in the art will appreciate that a computer system can be a stand-alone computer or a network of computers that cooperate, such as in a client-server architecture.
[0049] Those skilled in the art will recognize that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Accordingly, the above disclosure is intended to be illustrative, but not limiting, of the scope of the invention.
Claims
1. 1. A computer system implemented method for predicting interaction values for users and items using a one-class recommendation model, comprising: Training a one-class recommendation model, (a) obtaining a training data set including user data and item data of only similar user-item pairs; the training dataset does not contain dissimilar user-item pairs; Similar user-item pairs are user-item pairs that have known interactions; A dissimilar user-item pair is a user-item pair with no known interactions; and (b) applying the model to data for the similar user-item pairs in the training data set to obtain a predicted interaction value for each of the similar user-item pairs, where obtaining the predicted interaction value includes generating a vector representation in a vector space of the users and the items in the training data set; (c) The loss terms: an attractive loss term that minimizes the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset; a pairwise distance loss term that maintains an average pairwise distance in the vector space between all vector representations in the training dataset greater than a margin; an orthogonality loss term that reduces correlation between dimensions in the vector space; Calculating a loss value of the model using a loss function including (d) adjusting a set of trainable parameters of the model to reduce the loss value; and (e) repeating steps (b)-(d) for a number of iterations; and and training by performing using the trained model to obtain user-item interaction value predictions for user and item pairs whose interaction values are unknown; A method comprising:
2. 2. The method of claim 1 , wherein the attractive loss term is a contrastive loss based on the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset.
3. 2. The method of claim 1 , wherein the attractive loss term is a mean squared error loss based on the difference between the predicted interaction value and the actual interaction value for each of the similar user-item pairs in the training dataset.
4. The method of claim 1 , wherein the pairwise distance loss term is a hinge pairwise distance loss.
5. The method of claim 1 , wherein the orthogonality loss term makes dimensions in the vector space orthogonal.
6. The trained model is used to predict user-item interactions for user-item pairs on an e-commerce platform where the interaction values are unknown; The method comprises: recommending one or more test users on the e-commerce platform to the shop based on items sold by the shop on the platform and respective predicted interaction values of a plurality of test users; The method of claim 1 further comprising:
7. The trained model is used to predict user-item interactions for user-item pairs on an e-commerce platform where the interaction values are unknown; The method comprises: recommending one or more items on the e-commerce platform to the test user based on the test user and a predicted interaction value for each of a plurality of items on the e-commerce platform; The method of claim 1 further comprising:
8. 1. A computer-implemented method for training a one-class recommendation model to predict interaction values of users and items using training data consisting of only user-item pairs having positive interaction values, comprising: (a) obtaining a training data set including user data and item data of only similar user-item pairs; the training dataset does not contain dissimilar user-item pairs; Similar user-item pairs are user-item pairs that have known interactions; A dissimilar user-item pair is a user-item pair with no known interactions; and (b) applying the model to data for the similar user-item pairs in the training data set to obtain a predicted interaction value for each of the similar user-item pairs, where obtaining the predicted interaction value includes generating a vector representation in a vector space of the users and the items in the training data set; (c) The loss terms: an attractive loss term that minimizes the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset; a pairwise distance loss term that maintains an average pairwise distance in the vector space between all vector representations in the training dataset greater than a margin; an orthogonality loss term that reduces correlation between dimensions in the vector space; Calculating a loss value of the model using a loss function including (d) adjusting a set of trainable parameters of the model to reduce the loss value; and (e) repeating steps (b)-(d) for a number of iterations; and A method comprising:
9. 9. The method of claim 8, wherein the attractive loss term is a contrastive loss based on the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset.
10. 9. The method of claim 8, wherein the attractive loss term is a mean squared error loss based on the difference between the predicted interaction value and the actual interaction value for each of the similar user-item pairs in the training dataset.
11. The method of claim 8 , wherein the pairwise distance loss term is a hinge pairwise distance loss.
12. The method of claim 8 , wherein the orthogonality loss term makes all the vector representations in the training data set orthogonal.
13. A system for predicting user-item interaction value on an electronic commerce platform, comprising: The system comprises: a processor configured to execute programmed instructions using a set of machine code; one or more memory units coupled to the processor; a one-class machine learning recommendation model stored in the one or more memory units of the system, the one-class machine learning recommendation model taking in user inputs and item inputs and outputting a user interaction score corresponding to a predicted user-interaction value of the user and item on the e-commerce platform; Equipped with the model includes computational instructions embodied in the machine code that generate the output; The model includes the following: (a) obtaining a training data set including user data and item data of only similar user-item pairs; the training dataset does not contain dissimilar user-item pairs; Similar user-item pairs are user-item pairs that have known interactions; A dissimilar user-item pair is a user-item pair with no known interactions; and (b) applying the model to data for the similar user-item pairs in the training data set to obtain a predicted interaction value for each of the similar user-item pairs, where obtaining the predicted interaction value includes generating a vector representation in a vector space of the users and the items in the training data set; (c) The loss terms: an attractive loss term that minimizes the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset; a pairwise distance loss term that maintains an average pairwise distance in the vector space between all vector representations in the training dataset greater than a margin; an orthogonality loss term that reduces correlation between dimensions in the vector space; Calculating a loss value of the model using a loss function including (d) adjusting a set of trainable parameters of the model to reduce the loss value; and repeating steps (b)-(d) for a number of iterations; and The system is trained according to a method including:
14. 14. The system of claim 13, wherein the attractive loss term is a contrastive loss based on a distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset.
15. 14. The system of claim 13, wherein the attractive loss term is a mean squared error loss based on the difference between the predicted interaction value and the actual interaction value for each of the similar user-item pairs in the training dataset.
16. The system of claim 13 , wherein the pairwise distance loss term is a hinge pairwise distance loss.
17. The system of claim 13 , wherein the orthogonality loss term makes all of the vector representations in the training data set orthogonal.
18. A non-transitory computer readable medium comprising a computer program that, when executed by a computer system, enables the computer system to perform a method for predicting user-item interaction values on an e-commerce platform that includes products from various shops with different sales volumes, the method comprising: The method comprises: applying a one-class recommendation model to the user data and item data on the e-commerce platform to obtain a predicted user-item interaction value; Including, The one-class recommendation model is implemented in the following manner: (a) obtaining a training data set including user data and item data of only similar user-item pairs; the training dataset does not contain dissimilar user-item pairs; Similar user-item pairs are user-item pairs that have known interactions; A dissimilar user-item pair is a user-item pair with no known interactions; and (b) applying the model to data for the similar user-item pairs in the training data set to obtain a predicted interaction value for each of the similar user-item pairs, where obtaining the predicted interaction value includes generating a vector representation in a vector space of the users and the items in the training data set; (c) The loss terms: an attractive loss term that minimizes the distance in the vector space between the vector representation of the user and the vector representation of the item for each of the similar user-item pairs in the training dataset; a pairwise distance loss term that maintains an average pairwise distance in the vector space between all vector representations in the training dataset greater than a margin; an orthogonality loss term that reduces correlation between dimensions in the vector space; Calculating a loss value of the model using a loss function including (d) adjusting a set of trainable parameters of the model to reduce the loss value; and repeating steps (b)-(d) for a number of iterations; and 16. A non-transitory computer readable medium that has been trained according to
19. 20. The non-transitory computer-readable medium of claim 18, wherein the pairwise distance loss term is a hinge pairwise distance loss.
20. 20. The non-transitory computer-readable medium of claim 18, wherein the orthogonality loss term renders all of the vector representations in the training data set orthogonal.
Citation Information
Patent Citations
Simultaneous learning of inputs and parameters in machine learning-based recommender systems
JP2022063255A
