Information processing system, information processing method, and computer program
The information processing system uses a VAE-based model with a transformer layer to enhance the accuracy of predicting consumer purchases by analyzing time-series purchase data, addressing the limitations of conventional methods in predicting consumer behavior in shopping carts.
Patent Information
- Application Number
- JP2024050389
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-03-26
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2044-03-26
AI Technical Summary
Conventional product prediction technologies based on purchase history have limitations in accuracy, particularly in predicting consumer purchasing behavior in units of shopping carts.
An information processing system utilizing a pre-trained autoencoder-based prediction model with a transformer layer between an embedding layer and a decoding layer, specifically a variational autoencoder (VAE), to predict consumer purchasing behavior by analyzing time-series data of past purchases, incorporating positional encoding and a multi-stage transformer layer to capture temporal dynamics.
Enhances the accuracy of predicting consumer purchases by accounting for the relationship and order of product consumption, enabling probabilistic evaluation of uncertain behavior and improving prediction precision.
Smart Images

Figure 0007565468000008 
Figure 0007565468000009 
Figure 0007565468000010
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an information processing system and an information processing method. [Background technology]
[0002] Conventionally, a technique for selecting a product to be recommended to a consumer based on the consumer's purchase history is known (see, for example, Patent Literature 1). A technique for calculating the purchase probability of a product by machine learning based on the consumer's purchase history is also known.
[0003] There is also a known technology that predicts consumer purchasing behavior on a shopping cart basis, in other words, on a set of items purchased per transaction. This technology makes it possible to recommend items that are likely to be purchased by analyzing items that have been purchased together in the past. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2020-47156 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the conventional technology, even when purchase prediction is based on the purchase history of each shopping cart, there is still room for improvement in prediction accuracy.
[0006] Therefore, according to one aspect of the present disclosure, it is desirable to provide a technology that can predict with high accuracy the products that a consumer will consume or purchase, based on a set of products that the consumer consumed or purchased at each of multiple past points in time. [Means for solving the problem]
[0007] According to one aspect of the present disclosure, there is provided an information processing system. The information processing system includes an acquisition unit and a prediction unit. The acquisition unit is configured to acquire time series data describing a set of products consumed or purchased by a consumer at each of a plurality of time points in a time series. The prediction unit is configured to predict the products that the consumer will consume or purchase based on the time series data.
[0008] According to one aspect of the present disclosure, the prediction unit is configured to predict products that consumers will consume or purchase by inputting time series data into a pre-trained autoencoder (AE)-based prediction model.
[0009] According to one aspect of the present disclosure, the prediction model is a prediction model having a transformer layer between an embedding layer and a decoding layer. This information processing system is capable of predicting with high accuracy the products that a consumer will consume or purchase based on time-series data of a set of products, taking into account the relationships between the products and the order of consumption or purchase.
[0010] According to one aspect of the present disclosure, the predictive model may be a variational autoencoder (VAE) based predictive model, and the predictor may be configured to use the predictive model to probabilistically predict which products a consumer will consume or purchase.
[0011] A variational autoencoder (VAE)-based prediction model can appropriately represent uncertain consumption or purchasing behavior resulting from chance decisions based on consumer mood, product discovery, etc., as probabilistic behavior, making it possible to predict with high accuracy the products that consumers will consume or purchase.
[0012] According to one aspect of the present disclosure, the prediction unit calculates, for each of a plurality of time points t=1, . . . , T−1, a feature vector x u,t , and furthermore, the masked feature vector x for the time t=T to be predicted. u,t By inputting the feature vectors x u,tLet g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t =g φ1 (x u,t )+p t It may be configured to convert it into
[0013] Feature vector x u,t is the element x from v=1 to v=V u,t (v) A feature vector x containing u,t =[x u,t (1) ,…,x u,t (V) ] for each element x from v=1 to v=V u,t (v) is a feature vector x u,t =[x u,t (1) ,…,x u,t (V) ] could be the case.
[0014] The prediction part further computes the embedding representations h 0 u,t The output from the final transformer layer is passed through multiple transformer layers as a transformer layer, and the output is decoded using a pre-trained decoder in the decoding layer to obtain the masked feature vector x u,t Predicted value of x * u,T The prediction unit can be configured to obtain the prediction result based on the prediction result. The prediction unit can be configured to predict the product that the consumer will consume or purchase at the prediction target time t=T. According to such a prediction method, it is possible to predict the product that the consumer will consume or purchase with high accuracy.
[0015] According to another aspect of the present disclosure, there may be provided an information processing method. The information processing method may be executed by a computer. The information processing method may include obtaining time series data describing a set of products consumed or purchased by a consumer over time at each of a plurality of time points. The information processing method may include predicting products that the consumer will consume or purchase based on the time series data.
[0016] According to another aspect of the present disclosure, predicting may include predicting products that consumers will consume or purchase by inputting the time series data into a pre-trained autoencoder (AE)-based prediction model having a transformer layer between an embedding layer and a decoding layer. This information processing method also makes it possible to predict products that consumers will consume or purchase with high accuracy, similar to the information processing system.
[0017] According to another aspect of the present disclosure, the predictive model may be a variational autoencoder (VAE) based predictive model. Predicting may include probabilistically predicting an item that a consumer will consume or purchase.
[0018] According to another aspect of the present disclosure, predicting includes: obtaining a feature vector x for each of a plurality of time points t=1, . . . , T−1, which represents a set of products consumed or purchased by a consumer at a corresponding time point t; u,t , and furthermore, the masked feature vector x for the time t=T to be predicted. u,t By inputting the feature vectors x u,t Let g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t =g φ1 (x u,t )+p t This may include converting the
[0019] Feature vector x u,t is the element x from v=1 to v=V u,t(v) A feature vector x containing u,t =[x u,t (1) ,…,x u,t (V) ] for each element x from v=1 to v=V u,t (v) is a feature vector x that indicates whether the consumer consumed or purchased the vth product at the corresponding time t. u,t =[x u,t (1) ,…,x u,t (V) ] could be the case.
[0020] According to another aspect of the present disclosure, predicting comprises generating an embedded representation h 0 u,t The output from the final transformer layer is passed through multiple transformer layers as a transformer layer, and the output is decoded using a pre-trained decoder in the decoding layer to obtain the masked feature vector x u,t Predicted value of x * u,T , thereby predicting what products the consumer will consume or purchase at the time t=T to be predicted.
[0021] According to yet another aspect of the present disclosure, there may be provided a computer program for causing a computer to at least partially execute the information processing method described above. The computer program may be recorded in a computer-readable recording medium. [Brief description of the drawings]
[0022] [Figure 1] FIG. 1 is a block diagram showing a configuration of an information processing system. [Diagram 2] FIG. 2 is a diagram showing a configuration of purchase history data. [Diagram 3] FIG. 2 is a diagram showing a configuration of basket data. [Figure 4] FIG. 1 is a diagram illustrating a prediction method using a prediction model. [Diagram 5]FIG. 2 is a diagram conceptually showing the configuration of a prediction model. [Figure 6] FIG. 2 is a diagram conceptually illustrating the internal structure of a transformer layer. [Figure 7] 11 is a flowchart showing a model construction process executed by a processor. [Figure 8] 11 is a flowchart showing a prediction process executed by a processor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] Exemplary embodiments of the present disclosure will now be described with reference to the drawings. The information processing system 1 of this embodiment shown in Fig. 1 is a system for predicting products that a consumer will purchase based on the consumer's purchase history. Here, a set of products purchased in one transaction, i.e., a set of purchased products per transaction, is called a basket-based set of products.
[0024] The basket means a shopping basket. The basket unit may be understood as a unit of account. Examples of purchases include purchases at a brick-and-mortar store such as a convenience store or a supermarket, as well as purchases at an online store.
[0025] The information processing system 1 predicts products that are likely to be purchased next by a consumer, taking into account the time series of a basket-based set of products that have been purchased in the past. The information processing system 1 is configured to recommend the purchase of the predicted products to the corresponding consumer.
[0026] For example, in the case of an online store, a product recommendation may be performed by displaying recommended products through the consumer's information terminal when the consumer visits the online store. In another example, a product recommendation may be performed by sending a message (e.g., email, etc.) introducing the recommended products to the consumer's information terminal.
[0027] The information processing system 1 is configured by installing a dedicated computer program in a computer system. The information processing system 1 includes a processor 11, a memory 13, a storage 15, and a communication interface 19. The information processing system 1 is configured as, for example, a server connected to a wide area network.
[0028] The processor 11 executes processes according to computer programs. The memory 13 includes a RAM, and is used as a working area when the processor 11 executes processes. The storage 15 includes a hard disk drive and / or a solid state drive, and stores computer programs and various data.
[0029] The communication interface 19 is configured to be able to communicate with external devices. Examples of the external devices include an administrator terminal, a store terminal, and a consumer terminal. The administrator terminal includes an information terminal of an administrator who manages the information processing system 1.
[0030] The store terminal may be a store terminal having a function of displaying to a consumer information on recommended products obtained through communication with the information processing system 1. The consumer terminal may be an information terminal that enables a consumer to access an online store and purchase products.
[0031] In order to predict products that are likely to be purchased by a consumer, the information processing system 1 stores purchase history data for each of a plurality of consumers in the storage 15. The purchase history data is provided from an external device via the communication interface 19, for example, and stored in the storage 15.
[0032] As shown in Figure 2, the purchase history data for each consumer is associated with a consumer ID, which is the identification information of the corresponding consumer, and includes basket time series data that describes a set of products purchased by the corresponding consumer in basket units and in chronological order.
[0033] The basket time series data is time series data that chronologically describes a set of products purchased by a consumer at each of a plurality of points in time. The basket time series data includes a plurality of basket data.
[0034] A single basket data item describes the purchases of products by a consumer in a single transaction. Each basket data item describes a set of products purchased by a corresponding consumer in a corresponding transaction.
[0035] The basket time series data includes a predetermined number of basket data, starting with the most recent basket data, as the basket data used for prediction. In the basket time series data, the basket data are arranged in accounting order.
[0036] Here, assuming that the number of basket data used for prediction is (T-1), the oldest basket data among the (T-1) basket data is expressed as the basket data at time t=1, and the newest basket data is expressed as the basket data at time t=T-1.
[0037] When a plurality of basket data are arranged in chronological order with the oldest basket data at the top, the basket data positioned at the tth position will hereinafter be referred to as the basket data at time point t.
[0038] In the information processing system 1, products that are likely to be purchased by the consumer at the next purchase time t=T are predicted based on (T-1) basket data from time t=1 to time t=T-1.
[0039] As shown in Fig. 3, each of the basket data has information for a plurality of products, each product being associated with product ID information and describing the purchase volume of the corresponding product. Each of the basket data describes, for each product, the purchase volume of the corresponding product by the corresponding consumer for V products from the first product to the Vth product. The purchase volume indicates the presence or absence of a purchase, with a value of zero indicating no purchase. According to this embodiment, the purchase volume is represented by a binary value of 0 or 1 indicating whether the corresponding product has been purchased by the corresponding consumer.
[0040] In the following, we use x as a variable to represent the purchase amount of the vth product at time t. u,t (v) The index u is the consumer index. The purchase x u,t (v) means the purchase amount of the vth product indicated by the basket data at time t for the corresponding consumer u. That is, purchase x u,t (v) indicates whether the corresponding consumer u purchased the vth product at time t.
[0041] Further, the basket x expressed as follows: u,t is the feature vector x about consumer purchases at time t u,t =[x u,t (1) ,x u,t (2) ,…,x u,t (v) ,…,x u,t (V) ], and the purchases of the first product to the Vth product are x u,t (v) That is, basket x u,t is a feature vector representing the set of products purchased by consumer u during accounting at time t.
[0042] When a consumer purchase is requested to be predicted, the processor 11 calculates an input S for the prediction model 20 based on basket time series data in the corresponding consumer purchase history data. uThe basket sequence S represents the corresponding consumer purchases in basket units and in time series. u ={x u,1 ,x u,2 ,…,x u,t ,…,x u,T-1 ,x u,T}.
[0043] Basket Row S u is the consumer's basket x at multiple points in time t=1,…,T-1 in the past. u,1 ,x u,2 ,…,x u,t=T-1 The basket row S u In addition, the masked basket x u,t=T The element has
[0044] Masked Basket x u,t=T is basket x u,1 ,x u,2 ,…,x u,t=T-1 Unlike , ... u,t=T corresponds to a mask token.
[0045] The processor 11 generates the basket sequence S as shown in FIG. u By inputting the above into the prediction model 20, the consumer's basket x at the next purchase time t=T, which is the time to be predicted, is calculated. u,T Predicted value of x * u,T =[x * u,T (1) ,x * u,T (2) ,…,x * u,T (v) ,…,x * u,T (V) ] is calculated.
[0046] Predicted value x * u,T (v)represents the probability that consumer u will purchase product v at time t=T. Predicted value x * u,T (v) may be understood to be a value that represents the purchase probability of the vth product in the range from 0 to 1.
[0047] The prediction model 20 is a variational autoencoder (VAE)-based prediction model 20 having a transformer structure. Fig. 5 conceptually illustrates the structure of the prediction model 20. The prediction model 20 is particularly constructed as a Mult-VAE-based prediction model 20.
[0048] 5 includes an embedding layer 21 and a decoding layer 25 as a structure corresponding to the VAE. The predictive model 20 includes a plurality of transformer layers 23, in other words, a multi-stage transformer layer 23, between the embedding layer 21 and the decoding layer 25.
[0049] The multi-stage transformer layer 23 includes a first stage transformer layer 23 to an M-th stage transformer layer 23. The Transformer is known as one of deep learning models used in natural language processing.
[0050] The basket sequence S input to the prediction model 20 u ={x u,1 ,x u,2 ,…,x u,t ,…,x u,T-1 ,x u,T} as each element of basket x u,t (t=1,…,T) corresponds to the BOW (Bag-of-Words) vector. u,t is input to the embedding layer 21 and converted into an embedded representation.
[0051] In this embodiment, when formulating the Mult-VAE in the prediction model 20, the consumer basket x u,t ∈S uIt is assumed that the following multinomial distribution is followed:
[0052]
number
[0053] Here, z u,t is basket x u,t is a latent vector of N(), Mult() is a multinomial distribution, N(0,I) is a standard normal distribution, softmax() is a softmax function.
[0054] f θ is a function representation of the MLP (multilayer perceptron) expressed by the parameter θ. f θ (z u,t ) is the latent vector z decoded by the MLP. u,t Corresponds to N u,t is the corresponding basket x u,t According to this formulation, the consumer's log-likelihood is expressed as follows:
[0055]
number
[0056] The true posterior distribution p(z u,t |x u,t ) directly. In this embodiment, θ is estimated using the evidence lower bound (ELBO).
[0057] Posterior distribution p(z u,t |x u,t ) for the approximate distribution q(z u,t ) has a normal distribution N(μ u,t ,σ u,t ), the ELBO objective function is defined as follows. By optimizing the learning parameter φ using this ELBO objective function, the distribution q φ (z u,t|x u,t ) is the true posterior distribution p(z u,t |x u,t ) is a good approximation.
[0058]
number
[0059] In the above equation, E[] denotes the expectation value, and KL() denotes the Kullback-Leibler divergence. According to the present embodiment, a normalization term β is introduced into the KL term.
[0060] As mentioned above, consumer basket x u,t (t=1,…,T) is the pre-trained Mult-VAE encoder g φ1 That is, the basket sequence S u ={x u,1 ,x u,2 ,…,x u,t ,…,x u,T-1 ,x u,T} is input to the embedding layer 21, where the initial hidden vector {g φ1 (x u,1 ),g φ1 (x u,2 ),…,g φ1 (x u,t ),…,g φ1 (x u,T-1 ),g φ1 (x u,T )}.
[0061] Then, the concatenator 27 converts the initial hidden vector {g φ1 (x u,1 ),g φ1 (x u,2 ),…,g φ1 (x u,t ),…,g φ1 (x u,T-1 ),g φ1 (x u,T )} has a positional encoding p t are concatenated. This results in the hidden vector h 0u,t (t=1,…,T) is generated.
[0062]
number
[0063] Position encoding involves embedding absolute position information based on the start point t=1 of the basket sequence, or embedding the embedded position information (p t ) for multiple time points t=1,…,T. u,t Let h be the hidden vector 0 u,t (t=1,…,T) is a feature vector x u,t Let g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t (t=1,…,T).
[0064] Hidden vector h 0 u,t (t=1,…,T) is the matrix H 0 u ={h 0 u,1 ,h 0 u,2 ,…,h 0 u,t ,…,h 0 u,T} and input to a multi-stage transformer layer 23.
[0065] The transformer layer 23 at each stage is a multi-head transformer layer, and includes a multi-head self-attention mechanism 231, a feedforward network 233, and a GELE activation function 235, as shown in FIG.
[0066] For m=1, 2, ..., M, the output H m-1 uis input to the m-th transformer layer 23. The output H m u =Transformer φ2 (H m-1 u ) is input to the (m+1)-th stage of the transformer layer 23 (except when m=M). φ2 corresponds to the learning parameter of the transformer layer 23.
[0067]
number
[0068] H 0 u The output H from the final stage, the Mth stage transformer layer 23, is obtained by passing the M u ={h M u,1 ,h M u,2 ,…,h M u,t ,…,h M u,T}, the parameters μ corresponding to the mean and standard deviation that explain the distribution of purchases at each time point t (t=1, ...T) φ (x u,t ),σ φ (x u,t ) is obtained, and the distribution q φ (z u,t |x u,t ) is obtained.
[0069] distribution q φ (z u,t |x u,t ) corresponds to an approximation of the posterior distribution, where φ=φ1∪φ2 represents the set of parameters φ1 of the embedding layer 21 and φ2 of the transformer layer 23.
[0070]
number
[0071] The diag() corresponds to a square diagonal matrix with the elements of the vector in brackets on the main diagonal. The decoding layer 25 decodes the output H M u By decoding, the output H M u The latent vector z based on u,T By decoding, basket x at time t=T u,T Predicted value of x * u,T =f θ (z u,T ) is calculated and output. As mentioned above, the predicted value x * u,T =[x * u,T (1) ,x * u,T (2) ,…,x * u,T (v) ,…,x * u,T (V) ] represents the probability of purchasing each product at time t = T.
[0072] The prediction model 20 of this embodiment is a basket x u,T A training basket sequence S in which u and further using the ELBO objective function to optimize the parameters θ, φ of the prediction model 20.
[0073] The processor 11 can execute a model construction process shown in Fig. 7 in order to construct the prediction model 20. In the model construction process, the processor 11 acquires, as learning data, purchase history data of a plurality of consumers stored in the storage 15, and generates a learning basket sequence S based on the acquired learning data. u is generated (S110).
[0074] Then, the processor 11 generates a learning basket sequence S uUsing the above, learning is performed to optimize the parameters θ and φ of the prediction model 20 (S120). In this way, the prediction model 20 is constructed.
[0075] The parameters θ and φ of the prediction model 20 can be optimized to maximize the ELBO objective function. The processor 11 uses the equation shown in [Mathematical Expression 3] as the objective function to calculate q φ (z u,t |x u,t ) is the true posterior distribution p(z u,t |x u,t We can learn the parameters θ and φ so that the model is a good approximation of the vector vector θ.
[0076] After the process in S120, the processor 11 stores the learned values of the parameters θ and φ, thereby storing the prediction model 20 (S130). The processor 11 thus executes the model construction process.
[0077] When a prediction instruction is input, the processor 11 further executes a prediction process shown in Fig. 8. The prediction instruction may be input, for example, from a server that manages an online store when a consumer accesses the online store.
[0078] Alternatively, the prediction instruction may be input from an information terminal or a store terminal when a consumer operates a predetermined application program through the information terminal or the store terminal. Alternatively, the prediction instruction may be input periodically from a timer in the information processing system 1. The input may be realized by communication through the communication interface 19.
[0079] When the prediction process is started, the processor 11 identifies a consumer to be predicted (S210). The prediction instruction may include information specifying the consumer to be predicted in the form of, for example, a consumer ID. Then, the processor 11 refers to the purchase history data of the identified consumer and generates a basket sequence S u is generated (S220).
[0080] Then, the processor 11 inputs the basket sequence S u By inputting the above, the basket x at the next purchase time t=T will be u,T Predicted value of x * u,T That is, the processor 11 obtains the basket sequence S u Based on the prediction model 20, the basket x at the next purchase time t=T is calculated. u,T Predicted value of x * u,T is calculated (S230).
[0081] As mentioned above, the predicted value x * u,T =[x * u,T (1) ,x * u,T (2) ,…,x * u,T (v) ,…,x * u,T (V) ] represents the purchase probability of each product from v=1 to v=V. Predicting which product a consumer will purchase is the process of calculating this predicted value x * u,T In other words, this corresponds to calculating the purchase probability of each product.
[0082] In the next step S240, the processor 11 calculates the obtained predicted value x * u,T Based on this, the products v=1 to v=V are sorted in descending order of purchase probability. Processor 11 selects, as recommended products, products to be recommended to the consumer determined in S210 from among multiple products (v=1, ..., V) based on the purchase probability. In this way, processor 11 determines the recommended products.
[0083] According to one example, processor 11 can predict a certain number of products in descending order of purchase probability as products that the consumer is likely to purchase next, and determine them as recommended products for the consumer.
[0084] According to another example, the processor 11 can randomly determine one or more predetermined products as recommended products for the consumer from among a group of products with a purchase probability equal to or higher than a standard. According to yet another example, the processor 11 can statistically predict the number of products that the corresponding consumer will purchase simultaneously, and predict a set of products in a basket unit to be purchased next by selecting the predicted number of products in descending order of purchase probability, and determine the predicted set of products in the basket unit as recommended products.
[0085] In the next step S250, the processor 11 executes a recommendation process for recommending the recommended products determined in step S240 to the corresponding consumer. The recommendation process may be, for example, a process of outputting a list of recommended products to the prediction instruction source as information on the recommended products. Based on the obtained list, the prediction instruction source can suggest the purchase of the recommended products to the consumer through the consumer's information terminal or the store history operated by the consumer.
[0086] The processor 11 may execute, as the recommendation process, a process of generating a message suggesting the purchase of a product to a corresponding consumer and transmitting the message to an information terminal of the consumer who has been registered in advance.
[0087] By executing such a recommendation process, the processor 11 suggests to the consumer the purchase of recommended products so as to encourage the consumer to purchase products that are likely to be purchased next time.
[0088] According to the information processing system 1 of this embodiment described above, since the VAE-based prediction model 20 is used, it is possible to appropriately evaluate uncertain purchasing behavior of consumers probabilistically and predict products that are likely to be purchased with high accuracy.
[0089] In this embodiment, in particular, the position encoding p t By using u,tTaking into account the time series of product purchases, that is, the time series of product purchases, it is possible to predict the product that is likely to be purchased next.
[0090] Such predictions that take into account purchase time series can improve the accuracy of purchase predictions compared to techniques that do not take time series into account and simply predict the next product a consumer will purchase based on a group of products purchased in the past.
[0091] Moreover, in this embodiment, a transformer structure is introduced into the prediction model 20. The introduction of the transformer structure makes it possible to learn interactions between long-term purchased products of a consumer through a self-attention mechanism, thereby realizing purchase prediction and recommendation that take into account temporal dynamics.
[0092] [Other embodiments] The present disclosure is not limited to the above embodiment, and may be implemented in various ways. For example, in the above embodiment, the purchase prediction is performed using the Mult-VAE-based prediction model 20, but instead of the prediction model 20, a denoising autoencoder (DAE)-based prediction model may be used.
[0093] Specifically, a Mult-DAE-based prediction model may be used. The Mult-DAE-based prediction model is u The Mult-DAE-based prediction model may be configured in the same manner as the Mult-VAE-based prediction model 20 described above, except that a probabilistic model is not used as a latent representation of the Mult-DAE-based prediction model. When sufficient training data is available, the Mult-DAE-based prediction model may be used in place of the Mult-VAE-based prediction model 20.
[0094] In addition, in the above embodiment, an example is described in which the prediction result is used to introduce recommended products to consumers, but the present disclosure does not limit the use of the prediction result. The prediction result can be used for various services in which it is meaningful to know the future purchasing behavior of consumers.
[0095] The technology disclosed herein may be used to predict consumption behavior. For example, the information processing system 1 may include history data on the consumer's consumption behavior instead of the purchase history data. The history data may include time-series data that chronologically describes a set of products consumed by the consumer at each of a number of points in time. The processor 11 may predict the products that the consumer will consume based on the time-series data in the same manner as the purchasing behavior described above.
[0096] The function of one component in the above embodiment may be distributed among multiple components. The functions of multiple components may be integrated into one component. Some of the configurations of the above embodiment may be omitted. All aspects included in the technical idea specified by the wording of the claims are embodiments of the present disclosure.
[0097] [Technical idea disclosed in this specification] It can be understood that the present specification discloses the following technical ideas. [Item 1] an acquisition unit configured to acquire time series data describing a set of products consumed or purchased by a consumer over time at each of a plurality of time points; A prediction unit configured to predict products that the consumer will consume or purchase based on the time series data; Equipped with The prediction unit is an information processing system that predicts the products that the consumer will consume or purchase by inputting the time series data into a prediction model that is a pre-trained autoencoder (AE)-based prediction model having a transformer layer between an embedding layer and a decoding layer. [Item 2] Item 1, an information processing system comprising: The prediction model is a variational autoencoder (VAE) based prediction model; The prediction unit is an information processing system that uses the prediction model to probabilistically predict the products that the consumer will consume or purchase. [Item 3] The information processing system according to item 1 or 2, The prediction unit is For each of a number of time points t=1, ..., T-1, a feature vector x indicating a set of products consumed or purchased by the consumer at the corresponding time point t u,t =[x u,t (1) ,…,x u,t (V) ] for each element x from v=1 to v=V u,t (v) is a feature vector x u,t =[x u,t (1) ,…,x u,t (V) ], and further, the masked feature vector x u,t By inputting the above to the embedding layer, the feature vector x u,t Let g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t =g φ1 (x u,t )+p t Convert to The embedded representation h of the plurality of time points t=1, . . . , T 0 u,t The masked feature vector x u,t Predicted value of x * u,T Get This provides an information processing system that predicts the products that the consumer will consume or purchase at the prediction target time t=T. [Item 4] 1. A computer-implemented information processing method, comprising: obtaining time series data describing a set of products consumed or purchased by a consumer over time at each of a plurality of points in time; predicting products that the consumer will consume or purchase based on the time series data; Including, The information processing method includes predicting the products that the consumer will consume or purchase by inputting the time series data into a pre-trained autoencoder (AE)-based prediction model having a transformer layer between an embedding layer and a decoding layer. [Item 5] Item 4. The information processing method according to item 4, The prediction model is a variational autoencoder (VAE) based prediction model; The information processing method, wherein the predicting includes probabilistically predicting products that the consumer will consume or purchase. [Item 6] Item 4 or Item 5, the information processing method comprising: The predicting step comprises: For each of a number of time points t=1, ..., T-1, a feature vector x indicating a set of products consumed or purchased by the consumer at the corresponding time point t u,t =[x u,t (1) ,…,x u,t (V) ] for each element x from v=1 to v=V u,t (v) is a feature vector x u,t =[x u,t (1) ,…,x u,t (V) ], and further, the masked feature vector x u,t By inputting the above to the embedding layer, the feature vector x u,t Let g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t=g φ1 (x u,t )+p t and converting it to The embedded representation h of the plurality of time points t=1, . . . , T 0 u,t The masked feature vector x u,t Predicted value of x * u,T and thereby predicting the products that the consumer will consume or purchase at the time t=T to be predicted; An information processing method comprising: [Item 7] A computer program for causing a computer to execute the information processing method according to item 4 or 5. [Item 8] A computer program for causing a computer to execute the information processing method according to item 6. [Explanation of symbols]
[0098] 1...information processing system, 11...processor, 13...memory, 15...storage, 19...communication interface, 20...prediction model, 21...embedding layer, 23...transformer layer, 25...decoding layer, 27...coupler.
Claims
1. an acquisition unit configured to acquire time series data describing a set of products consumed or purchased by a consumer over time at each of a plurality of time points; A prediction unit configured to predict the products that the consumer will consume or purchase by inputting the time series data into a pre-trained autoencoder (AE)-based prediction model having a transformer layer between an embedding layer and a decoding layer; Equipped with The information processing system, wherein the prediction model is a Mult-VAE (variational autoencoder)-based or Mult-DAE (denoising autoencoder)-based prediction model based on the assumption that the product set follows a multinomial distribution.
2. 2. The information processing system according to claim 1, The prediction unit is For each of a number of time points t=1, . . . , T−1, a feature vector x u,t = [x u,t (1) , …, x u,t (V) ], where each element x from v=1 to v=V u,t (v) is a feature vector x u,t = [x u,t (1) , …, x u,t (V) ], and further the masked feature vector x u,t By inputting the feature vector x u,t Let g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t = g φ1 (x u,t ) + p t Convert to The embedded representation h of the plurality of time points t=1, . . . , T 0 u,t The masked feature vector x is obtained by passing the masked feature vector x through multiple transformer layers as the transformer layer, and decoding the output from the final transformer layer using a pre-trained decoder in the decoding layer. u,t The predicted value of x * u,T Get This provides an information processing system for predicting the products that the consumer will consume or purchase at the prediction target time t=T.
3. 1. A computer-implemented information processing method, comprising: obtaining time series data describing a set of products consumed or purchased by a consumer over time at each of a plurality of points in time; predicting the products that the consumer will consume or purchase by inputting the time series data into a pre-trained autoencoder (AE)-based predictive model having a transformer layer between an embedding layer and a decoding layer; Including, The information processing method, wherein the prediction model is a Mult-VAE (Variational Autoencoder)-based or Mult-DAE (Denoising Autoencoder)-based prediction model based on the assumption that the product set follows a multinomial distribution.
4. 4. The information processing method according to claim 3, The predicting step comprises: For each of a number of time points t=1, . . . , T−1, a feature vector x u,t = [x u,t (1) , …, x u,t (V) ], where each element x from v=1 to v=V u,t (v) is a feature vector x u,t = [x u,t (1) , …, x u,t (V) ], and further the masked feature vector x u,t By inputting the feature vector x u,t Let g be the pre-trained encoder. φ1 and position encoding p t Based on the embedding representation h 0 u,t = g φ1 (x u,t ) + p t and converting it to The embedded representation h of the plurality of time points t=1, . . . , T 0 u,t The masked feature vector x is obtained by passing the masked feature vector x through multiple transformer layers as the transformer layer, and decoding the output from the final transformer layer using a pre-trained decoder in the decoding layer. u,t The predicted value of x * u,T and thereby predicting the products that the consumer will consume or purchase at the time t=T to be predicted; An information processing method comprising:
5. A computer program for causing a computer to execute the information processing method according to claim 3 or 4.
Citation Information
Patent Citations
Sequence recommendation method based on self-attention auto-encoder
CN111127165A
Commodity sequence recommendation method based on deep learning
CN111429234A
Sequence recommendation method based on variational self-attention network
CN111506814A
Self-attention sequence recommendation method fusing time sequence information
CN114493755A
Behavior analysis method, system and equipment of e-commerce user and readable medium
CN115511546A
