Output device, computer program, and output method
The output device optimizes the combination of multiple items by using a Hamiltonian to address the lack of versatility in existing clothing matching systems, enabling versatile recommendations.
Patent Information
- Application Number
- JP2020192709
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-19
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2040-11-19
AI Technical Summary
Existing clothing matching systems lack versatility and are specialized in recommending clothing, failing to provide a comprehensive solution for combining multiple items that satisfy predetermined conditions.
An output device that includes a reception unit for receiving conversation sentences, an extraction unit for extracting words, a generation unit for generating feature quantities and conditions, and an acquisition unit for acquiring and rearranging combinations based on these features and conditions, using a Hamiltonian to optimize the output.
Enables the output of combinations that satisfy predetermined conditions, addressing the limitations of specialized clothing matching systems by providing versatile recommendations for multiple items.
Smart Images

Figure 0007563127000010 
Figure 0007563127000011 
Figure 0007563127000012
Abstract
Description
[Technical field]
[0001] The present invention relates to an output device or the like that outputs a combination of a plurality of things that satisfies a predetermined condition. [Background technology]
[0002] Combinatorial optimization problems are known. An optimization problem is a problem that seeks the best solution among solutions that satisfy certain conditions. A combinatorial optimization problem is an optimization problem whose solution has a combinatorial structure, such as an order or allocation. Various solutions have been proposed for combinatorial optimization problems.
[0003] On the other hand, in the retail industry, proposing a combination of multiple related products to a consumer, for example, fashion coordination, can be said to be solving a combinatorial optimization problem. For example, Patent Document 1 discloses a clothing matching system for generating at least one proposal for a complete set of clothing. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Special Publication No. 2016-502713 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the above clothing matching system is specialized for recommending clothing and lacks versatility. The present invention has been made in view of such circumstances. The purpose of the present invention is to provide an output device or the like that outputs a combination that satisfies a predetermined condition from among a combination of a plurality of items, such as a product or service. [Means for solving the problem]
[0006] An output device according to one aspect of the present application is characterized in that it comprises a reception unit that receives a conversational sentence requesting a recommendation of a combination of things, an extraction unit that extracts a plurality of words from the received conversational sentence based on the results of morphological analysis, a generation unit that generates features and conditions that the thing to be recommended should have based on the extracted words, an acquisition unit that acquires a plurality of combinations of the things to be recommended based on the features and the conditions, and an output unit that sorts and outputs the acquired plurality of combinations according to gains based on the features and the conditions. Effect of the Invention
[0007] In one aspect of the present application, it is possible to output combinations of a plurality of things that satisfy a predetermined condition. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is an explanatory diagram illustrating an example of the configuration of a recommendation system. [Diagram 2] 4 is a block diagram showing an example of a hardware configuration of a recommendation server. FIG. [Diagram 3] FIG. 2 is a block diagram showing an example of a hardware configuration of a user terminal. [Figure 4] FIG. 2 is a block diagram showing an example of functional units included in a recommendation server. [Diagram 5] 13 is a flowchart illustrating an example of a procedure for product feature amount calculation processing. [Figure 6] FIG. 11 is an explanatory diagram showing an example of calculation of a vector indicating a product feature. [Figure 7] FIG. 11 is an explanatory diagram showing an example of calculation of a vector indicating a product feature. [Figure 8] FIG. 11 is an explanatory diagram showing an example of calculation of a vector indicating a product feature. [Figure 9] FIG. 11 is an explanatory diagram showing an example of calculation of a vector indicating a product feature. [Figure 10] 13 is a flowchart illustrating an example of a procedure for a recommendation process. [Figure 11] FIG. 2 is an explanatory diagram showing a procedure for creating a Hamiltonian. [Figure 12]FIG. 2 is an explanatory diagram showing a procedure for creating a Hamiltonian. [Figure 13] FIG. 2 is an explanatory diagram showing a procedure for creating a Hamiltonian. [Figure 14] FIG. 2 is an explanatory diagram showing a procedure for creating a Hamiltonian. [Figure 15] FIG. 11 is an explanatory diagram showing a process for generating a recommended product list. [Figure 16] FIG. 13 is an explanatory diagram showing an example of a recommended product list display screen. [Figure 17] FIG. 13 is an explanatory diagram showing an example of a details screen. [Figure 18] FIG. 11 is an explanatory diagram showing a procedure for updating a Hamiltonian. [Figure 19] FIG. 11 is an explanatory diagram showing a procedure for updating a Hamiltonian. [Figure 20] FIG. 13 is an explanatory diagram showing another example of a Hamiltonian. [Figure 21] FIG. 1 is an explanatory diagram showing an example of a situation in which a recommendation system is used. [Figure 22] FIG. 1 is an explanatory diagram showing an example of a situation in which a recommendation system is used. [Diagram 23] FIG. 1 is an explanatory diagram showing an example of a situation in which a recommendation system is used. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment will be described with reference to the drawings. FIG. 1 is an explanatory diagram showing an example of the configuration of a recommendation system. The recommendation system 100 includes a recommendation server 1 and a user terminal 2. The recommendation server 1 and the user terminal 2 are connected to each other via a network N so that they can communicate with each other. In the following description, a case where a combination of multiple products is recommended will be described, but the same applies to a case where a combination of multiple services is recommended. The same also applies to other combinatorial optimization problems such as the recommendation of sightseeing routes, the recommendation of cooking menus, and production plans in factories.
[0010] The recommendation server 1 is composed of a server computer, a PC (Personal Computer), etc. The recommendation server 1 may also be composed of a multicomputer consisting of multiple computers, a virtual machine virtually constructed by software, or a quantum computer. Furthermore, the functions of the recommendation server 1 may be realized by a cloud service. The user terminal 2 is composed of a tablet computer, a smartphone, a smart speaker, a notebook computer, etc. Although three user terminals 2 are shown in FIG. 1, there may be one, or four or more.
[0011] 2 is a block diagram showing an example of the hardware configuration of the recommendation server 1. The recommendation server 1 includes a control unit 11, a main memory unit 12, an auxiliary memory unit 13, a communication unit 14, and a reading unit 15. The control unit 11, the main memory unit 12, the auxiliary memory unit 13, the communication unit 14, and the reading unit 15 are connected by a bus B.
[0012] The control unit 11 has one or more arithmetic processing devices such as a CPU (Central Processing Unit), an MPU (Micro-Processing Unit), a GPU (Graphics Processing Unit), etc. The control unit 11 reads out and executes a control program 1P (computer program) stored in the auxiliary storage unit 13, thereby performing various information processing, control processing, etc. related to the recommendation server 1, and realizing various functional units.
[0013] The main memory unit 12 is a static random access memory (SRAM), a dynamic random access memory (DRAM), a flash memory, etc. The main memory unit 12 mainly temporarily stores data necessary for the control unit 11 to execute arithmetic processing.
[0014] The auxiliary storage unit 13 is a hard disk or a solid state drive (SSD) or the like, and stores a control program 1P and various databases (DBs) required for the control unit 11 to execute processing. The auxiliary storage unit 13 stores a product information DB 131, a product feature DB 132, a thesaurus 133, and a concept system dictionary 134. The auxiliary storage unit 13 may be an external storage device connected to the recommendation server 1. The various DBs and the like stored in the auxiliary storage unit 13 may be stored in a database server or cloud storage different from the recommendation server 1.
[0015] The product information DB131 stores product information held by the product provider and information on products held by parties other than the product provider. For example, the former is product price, product classification, product specifications, consumption explanation, or product image. For example, the latter is consumer comments or images taken by consumers. The product feature DB132 stores product features. The feature describes the product features and is calculated from the product information stored in the product information DB131.
[0016] For example, the thesaurus 133 is a dictionary that stores a plurality of words that have similar meanings or concepts in association with each other. For example, the concept hierarchy dictionary 134 is a dictionary that specifies the hierarchical and subordinate relationships between concepts.
[0017] The communication unit 14 communicates with the user terminal 2 via the network N. In addition, the control unit 11 may use the communication unit 14 to download the control program 1P from another computer via the network N or the like, and store it in the auxiliary storage unit 13.
[0018] The reading unit 15 reads the portable storage medium 1a including a CD (Compact Disc)-ROM and a DVD (Digital Versatile Disc)-ROM. The control unit 11 may read the control program 1P from the portable storage medium 1a via the reading unit 15 and store it in the auxiliary storage unit 13. The control unit 11 may also download the control program 1P from another computer via a network N or the like and store it in the auxiliary storage unit 13. Furthermore, the control unit 11 may read the control program 1P from the semiconductor memory 1b.
[0019] 3 is a block diagram showing an example of the hardware configuration of a user terminal 2. The user terminal 2 includes a control unit 21, a main memory unit 22, an auxiliary memory unit 23, a communication unit 24, an input unit 25, and a display unit 26. Each component is connected by a bus B.
[0020] The control unit 21 controls each part of the hardware according to a control program 2P stored in the auxiliary storage unit 23. The control unit 21 has one or more arithmetic processing devices such as a CPU, an MPU, a GPU, etc. The control unit 21 provides various functions by reading and executing the control program 2P stored in the auxiliary storage unit 23.
[0021] The main memory unit 22 is an SRAM, a DRAM, a flash memory, etc. The main memory unit 22 mainly temporarily stores data necessary for the control unit 21 to execute arithmetic processing.
[0022] The auxiliary storage unit 23 is a hard disk or an SSD, etc., and stores various data necessary for the control unit 21 to execute processing. The auxiliary storage unit 23 may be an external storage device connected to the user terminal 2. The various DBs, etc. stored in the auxiliary storage unit 23 may be stored in a database server or cloud storage.
[0023] The communication unit 24 communicates with the recommendation server 1 via the network N. In addition, the control unit 21 may use the communication unit 24 to download the control program 2P from another computer via the network N or the like, and store it in the auxiliary storage unit 23.
[0024] The input unit 25 is a keyboard and a mouse. The display unit 26 includes a liquid crystal display panel, etc. The display unit 26 displays a list of recommended products output by the recommendation server 1, etc. The display unit 26 may also be a touch panel display integrated with the input unit 25. The user terminal 2 may perform display on an external display device. The input unit 25 may include a microphone, and the display unit 26 may include a speaker. In particular, when the user terminal 2 is configured as a smart speaker, the user and the user terminal 2 communicate by voice via the microphone and speaker.
[0025] 4 is a block diagram showing an example of functional units included in the recommendation server. The control unit 11 of the recommendation server 1 executes a control program 1P to function as a product feature amount calculation unit 11a, a request reception unit 11b, a condition extraction unit 11c, a Hamiltonian creation unit 11d, an optimization calculation unit 11e, an optimal solution data interpretation unit 11f, an output unit 11g, an OK / NG reception unit 11h, and a Hamiltonian update unit 11i.
[0026] The product feature amount calculation unit 11a calculates feature amounts describing the features of a product from the product information stored in the product information DB131, and stores the calculated feature amounts in the product feature amount DB132.
[0027] The request receiving unit 11b receives a conversation text requesting a product recommendation. The request receiving unit 11b has a dialogue generation function including a chatbot, a voice chatbot, and the like. The request receiving unit 11b receives a user's request for a product from the user terminal 2 using the chatbot or the voice chatbot. The request receiving unit 11b outputs an analysis target text to be processed by the condition extraction unit 11c from the conversation text by the chatbot. The request receiving unit 11b also converts the conversation voice by the voice chatbot into text, and outputs the analysis target text to be processed by the condition extraction unit 11c. When multiple users make a statement in a dialogue by the chatbot or the voice chatbot, the request receiving unit 11b may assign a priority based on the speaker to the analysis target text. For example, a high priority is assigned to an analysis target text corresponding to a speaker with a high frequency of occurrence or a high volume of statements. Also, when one of the multiple speakers is a woman, a high priority (weighting) is assigned to the analysis target text corresponding to the woman. The request receiving unit 11b corresponds to a reception unit.
[0028] The condition extraction unit 11c extracts conditions for selecting products to be recommended from the analysis target text output by the request receiving unit 11b. The condition extraction unit 11c performs morphological analysis, syntactic analysis, and information extraction on the analysis target text using the thesaurus 133 and the concept system dictionary 134 as necessary. The condition extraction unit 11c outputs constraint conditions that must be satisfied by the combination of products to be recommended, and priority conditions that are preferably satisfied. The condition extraction unit 11c corresponds to an extraction unit, a generation unit, and an acquisition unit.
[0029] The Hamiltonian creation unit 11d creates a Hamiltonian for obtaining a combination of products that satisfies the constraint conditions extracted by the condition extraction unit 11c and maximizes the degree of satisfaction of the priority conditions extracted by the condition extraction unit 11c. The Hamiltonian here is expressed as a coefficient of a quadratic expression related to a plurality of binary variables. The optimization calculation unit 11e performs optimization calculation of the Hamiltonian created by the Hamiltonian creation unit 11d. The optimal solution data interpretation unit 11f interprets the optimal solution output by the optimization calculation unit 11e and creates a product list that combines recommended products. The output unit 11g creates screen information including the list created by the optimal solution data interpretation unit 11f and outputs it to the user terminal 2. Specific examples of the processes performed by the Hamiltonian creation unit 11d, the optimization calculation unit 11e, and the optimal solution data interpretation unit 11f will be described later. The Hamiltonian creation unit 11d, the optimization calculation unit 11e, and the optimal solution data interpretation unit 11f correspond to an acquisition unit. The Hamiltonian generating unit 11d corresponds to a function generating unit, and the optimization calculating unit 11e corresponds to a calculating unit.
[0030] The OK / NG receiving unit 11h receives OK / NG information indicating whether the user has accepted (marked OK) or not accepted (marked NG) each product included in the product list from the user terminal 2. The Hamiltonian updating unit 11i updates the Hamiltonian based on the received OK / NG information. Here, the coefficients of the Hamiltonian are updated. The optimization calculation unit 11e performs optimization calculation again based on the updated coefficients. The optimal solution data interpretation unit 11f interprets the new optimal solution output by the optimization calculation unit 11e and creates a product list that combines recommended products. The output unit 11g creates screen information including the list created by the optimal solution data interpretation unit 11f and outputs it to the user terminal 2. A specific example of the process performed by the Hamiltonian updating unit 11i will be described later. The OK / NG receiving unit 11h corresponds to a yes / no receiving unit.
[0031] Next, the process performed by the recommendation system 100 will be described. FIG. 5 is a flowchart showing an example of the procedure of the product feature amount calculation process. The product feature amount calculation process is a process of calculating a feature amount describing the feature of a product from the product information stored in the product information DB 131, and storing the calculated feature amount in the product feature amount DB 132. The control unit 11 of the recommendation server 1 acquires product information to be processed from the product information DB 131 (step S1). The control unit 11 calculates a vector indicating the product feature from the product information (step S2). An example of the calculation will be described later. The control unit 11 normalizes the vector so that the length of the vector becomes 1 (step S3). The control unit 11 stores the normalized vector in the product feature amount DB 132 (step S4). The control unit 11 determines whether or not there is unprocessed product information (step S5). When the control unit 11 determines that there is unprocessed product information (YES in step S5), the process returns to step S1, and the process for the unprocessed product information is repeated. When the control unit 11 determines that there is no unprocessed product information (NO in step S5), the process ends. The product feature amount calculation process is performed when the recommendation system 100 is constructed, and also when new product information is registered in the product information DB 131, when the content of the product information is updated, and so on.
[0032] FIG. 6 is an explanatory diagram showing an example of calculating a vector indicating a product feature. FIG. 6 shows an example of calculating a vector from a product classification. The table shown in FIG. 6 is an example of the product information DB 131 showing product classification. Classification 1 and classification 2 are assigned to each product. V01 to V04 shown in FIG. 6 are vectors expressing the classification. The control unit 11 calculates the total number of values included in classification 1 and the total number of values included in classification 2. The control unit 11 generates a vector with the total value as the number of elements. In the example shown in FIG. 6, classification 1 has seven values, and classification 2 also has seven values. The control unit 11 associates each element of the vector with each value included in classification 1 or classification 2, and sets the value to 0 or 1. For each classification, the control unit 11 sets the value of the element corresponding to the value taken to 1, and sets the value of the other elements to 0.
[0033] In the example shown in Figure 6, "fried food" which can be classified as Class 1 corresponds to the second element, "grilled food" to the third element, "boiled food" to the fourth element, and "drinks" to the seventh element. "Fish" which can be classified as Class 2 corresponds to the eighth element, "pork" to the tenth element, "vegetables" to the twelfth element, and "sake" to the fourteenth element.
[0034] For a product with product ID 1, the value of Category 1 is "Fried food" and the value of Category 2 is "Fish", so the second and eighth elements are 1 and the other elements are 0. For a product with product ID 2, the value of Category 1 is "Grilled food" and the value of Category 2 is "Pork", so the third and tenth elements are 1 and the other elements are 0. Similarly, for a product with product ID 3, the fourth and twelfth elements are 1 and the other elements are 0. For a product with product ID 4, the seventh and 14th elements are 1 and the other elements are 0.
[0035] The control unit 11 normalizes each of the vectors V01 to V04 obtained as described above so that the length of each vector becomes 1. The control unit 11 stores the vectors V1 to V4 obtained by normalization in the product feature DB132.
[0036] FIG. 7 is an explanatory diagram showing an example of calculating a vector indicating product features. FIG. 7 shows an example of calculating a vector from a product classification estimated based on product purchase history. The product purchase history is an aggregate of data collected from POS (Point of Sales) registers. In the example shown in FIG. 7, the average purchasing demographic (gender and age) for each product is calculated from the product purchase history. This calculation is publicly known, so an explanation will be omitted. The gender of the average purchasing demographic for each product obtained is classified as category 3, and the age group as category 4.
[0037] V01 to V04 shown in FIG. 7 are vector representations of categories 3 and 4. The control unit 11 finds the sum of the number of values included in category 3 and the number of values included in category 4. The control unit 11 generates a vector whose number of elements is the sum value. In the example shown in FIG. 7, category 3 has two values, and category 4 has five values. The control unit 11 associates each element of the vector with each value included in category 3 or category 4, and sets the value to 0 or 1. For each category, the control unit 11 sets the value of the element corresponding to the value taken to 1, and sets the value of other elements to 0.
[0038] In the example shown in Figure 7, "Male" corresponds to the first element, and "Female" corresponds to the second element, while "20s" corresponds to the fourth element, "30s" corresponds to the fifth element, "40s" corresponds to the sixth element, and "50s" corresponds to the seventh element, which are possible for Classification 3.
[0039] For a product with product ID 1, the value of category 3 is "Female" and the value of category 4 is "20s", so the second and fourth elements are 1 and the other elements are 0. For a product with product ID 2, the value of category 3 is "Male" and the value of category 4 is "40s", so the first and sixth elements are 1 and the other elements are 0. Similarly, for a product with product ID 3, the second and fifth elements are 1 and the other elements are 0. For a product with product ID 4, the first and seventh elements are 1 and the other elements are 0.
[0040] The control unit 11 normalizes each of the vectors V01 to V04 obtained as described above so that the length of each vector becomes 1. The control unit 11 stores the vectors V1 to V4 obtained by normalization in the product feature DB132.
[0041] FIG. 8 is an explanatory diagram showing an example of calculating a vector indicating a product feature. FIG. 8 shows an example of calculating a vector from a product description. The product description here is assumed to be owned by the product provider. A document vector indicating the text features of the product description of each product is calculated. The method used to express the vector is a well-known technique such as Bag of Words, TF-IDF (Term Frequency Inverse Document Frequency), or LSI (Latent Semantic Indexing), so a description thereof will be omitted. The control unit 11 normalizes each document vector so that the length becomes 1. The control unit 11 stores the normalized vectors V1, V2, ... in the product feature DB 132.
[0042] FIG. 9 is an explanatory diagram showing an example of calculating a vector indicating a product feature. FIG. 9 shows an example of calculating a vector from a social networking service (SNS) comment. The SNS comments are collected from those published on the Internet. The control unit 11 calculates a document vector indicating text features from the SNS comment. The method used is the same as that shown in FIG. 8 above. The control unit 11 normalizes each document vector so that the length becomes 1. The control unit 11 stores the vectors V1, V2, ... obtained after normalization in the product feature DB 132.
[0043] Next, a process in which a user receives a recommendation of multiple products from the recommendation system 100 will be described. FIG. 10 is a flow chart showing an example of the procedure of the recommendation process. The user starts the recommendation process on the user terminal 2. The control unit 21 of the user terminal 2 transmits a dialogue request to the recommendation server 1 (step S11). The control unit 11 of the recommendation server 1 receives the dialogue request (step S12). The control unit 11 transmits a question to the user terminal 2 (step S13). The control unit 21 of the user terminal 2 receives the question and displays it on the display unit 26 (step S14). The user inputs an answer to the question using the input unit 25. The control unit 21 acquires the answer and transmits it to the recommendation server 1 (step S15). The control unit 11 of the recommendation server 1 receives the answer (step S16). The control unit 11 judges whether or not to end the dialogue (step S17). The end is judged when, for example, answers to a set of prepared questions are obtained, when the number of times answers have been received reaches a predetermined number, or when the answer content indicates that the user wishes to end the dialogue, such as "That's all I want." When the control unit 11 determines not to end the dialogue (NO in step S17), it returns the process to step S13 and transmits the next question to the user terminal 2. When the control unit 11 determines to end the dialogue (YES in step S17), it extracts conditions for selecting a product to be recommended from all answers obtained from the user (step S18). The control unit 11 acquires product features and product information of all products that can be candidates for recommendation (step S19). The control unit 11 creates a Hamiltonian (step S20). The control unit 11 performs optimization calculations (step S21). The control unit 11 creates a list of products to be recommended based on the results of the optimization calculations (step S22). The specific process contents of steps S20 to S22 will be described later. The control unit 11 transmits the product list to the user terminal 2 (step S23). The control unit 21 of the user terminal 2 receives the product list and displays it on the display unit 26 (step S24). The user inputs whether or not to accept each displayed product. The user selects whether to proceed with purchasing the product or to redo the recommendation. The control unit 21 obtains the acceptability of each product and the user's instruction, and transmits them to the recommendation server 1 (step S25). The control unit 11 of the recommendation server 1 determines whether the user's instruction is to redo the recommendation (step S26).If the control unit 11 determines that the user's instruction is a redo (YES in step S26), it updates the Hamiltonian based on the propriety of each product (step S27). The control unit 11 returns the process to step S21 and continues the process. The specific process content of step S27 will be described later. If the control unit 11 determines that the user's instruction is not a redo (NO in step S26), it ends the recommendation process and starts a process for purchasing the product specified by the user. This process will be omitted.
[0044] 11 to 14 are explanatory diagrams showing the procedure for creating a Hamiltonian. FIG. 11 is an explanatory diagram showing an example of preprocessing. FIG. 11 shows an example of recommending a combination of menu items at a restaurant. The constraint is the upper limit of the total price (C). The priority condition expresses the user's hobbies and preferences for each menu item. For example, the priority of fried foods is a, and the priority of chicken is b. Also, the feature vector representing the characteristics of fried foods is Va, and the feature vector representing the characteristics of chicken is Vb. In this case, the priority condition U is expressed as U=a×Va+b×Vb. Note that U is normalized so that its length is 1. In this way, the similarity between the feature amount of each product and the priority condition (here, the inner product) becomes the value of each product. The value of each product, the constraint (total price), and the product price required to determine the constraint are preparation data for calculating the Hamiltonian.
[0045] FIG. 12 is an explanatory diagram showing the process related to the variables used in the Hamiltonian. The variables are a sequence x that specifies whether or not to recommend the product i. i (i=1,…,N) and a sequence of auxiliary variables y i (i=1,…,C). N indicates the total number of items to be processed. i is a sequence of C numbers, with the nth number being 1 and the rest being 0. In the Hamiltonian, the sequence x i and sequence y i Integrate and q i (i=1,…,M, where M=N+C).
[0046] FIG. 13 is an explanatory diagram showing the process of obtaining a Hamiltonian from an objective function and constraint conditions. The product value is the inner product shown in FIG. 11, and in FIG. i (i=1,…,N). The product price is c i (i=1,…,N). The combination of products that best meets the priority conditions is the combination that maximizes the total value of the products. Therefore, the objective function is given by equation (1). Maximizing value is equivalent to minimizing the objective function.
[0047]
number
[0048] The constraints can be expressed using auxiliary variables as in equation (2).
[0049]
number
[0050] In the first term of equation (2), there is one auxiliary variable that is 1, and the rest are all 0. The second term indicates the condition for the total price to be less than or equal to C. If the condition is met, the total will be 0, and if not, the total will be greater than 0.
[0051] The Hamiltonian is given by equation (3), which is a linear combination of the objective function and the constraints.
[0052]
number
[0053] The parameter α is set to a large value when strict constraints must be satisfied, but if the parameter α is set to too large, the objective function is likely not to be minimized, so the parameter α is set to an appropriate value.
[0054] Figure 14 shows the Hamiltonian with the variables q i FIG. 3 is an explanatory diagram showing the equation (3) as an arrangement using the variable q iThis can be rearranged to give the formula (4). Note that although const. indicates a constant, it may be omitted during the calculation since the constant has no effect on the optimization calculation.
[0055]
number
[0056] The optimization calculation of the Hamiltonian shown in equation (4) is performed using the coefficient J ij , h i The variable q, which minimizes the quadratic expression i The optimization calculation is performed, for example, by an annealing machine. An annealing machine is a computer or virtual machine that has the function of solving combinatorial optimization problems by quantum annealing. Simulated annealing may be used as a method for solving combinatorial optimization problems. A well-known method for solving combinatorial optimization problems is used, so a description thereof will be omitted.
[0057] FIG. 15 is an explanatory diagram showing the process of generating a list of recommended products. As a result of the optimization calculation, the variable q i The bit string (q1,…,q M As shown in FIG. 12, the first N bits of the bit string are the variable string (x1, ..., x N ) corresponds to x i specifies whether to recommend product i or not, with a value of 0 indicating not recommending it and a value of 1 indicating recommending it. Therefore, the variable sequence (x1,…,x N ), x k = 1 is extracted. Then, product information (product name, price, etc.) of products corresponding to each value of k is obtained from a product information master DB (not shown) to create a product list. The created product list is sent to the user terminal 2 and presented to the user. Note that, in addition to the optimal solution, multiple solutions near the optimal solution may be obtained as a result of the optimization calculation. In this case, multiple product lists are created according to the number of solutions obtained. The multiple created product lists are sorted in ascending order of the objective function value (gain) for the solution on which the product was based, and presented to the user.
[0058] Fig. 16 is an explanatory diagram showing an example of a recommended product list display screen. The list display screen d01 displays a list of recommended products. Three product lists d011 are displayed in Fig. 16. The product lists d011 are hyperlinks, and selecting one of the product lists d011 transitions to a details screen that shows information about the products in the list.
[0059] FIG. 17 is an explanatory diagram showing an example of a detail screen. The detail screen d02 is a screen that displays information about a product in the product list d011 selected by the user. The detail screen d02 includes a product image d021, a product name d022, a product price d023, product specifications d024, an OK box d025, an NG box d026, a retry button d027, and an add to shopping cart button d028. The product image d021 is a thumbnail image of the product, etc. The product name d022 is the product name. The product model, product code, etc. may also be displayed. The product price d023 is the selling price of the product. The product specifications d024 are the product specifications. The OK box d025 is a check box. By checking the OK box d025, the user indicates his / her intention that the corresponding product is a product that meets his / her desires. The NG box d026 is a check box. By checking the NG box d026, the user indicates his / her intention that the corresponding product is not a product that meets his / her desires. Either the OK box d025 or the NG box d026 may be required to be checked, or neither may be allowed to be checked. When the user selects the try again button d027, the status of the OK box d025 and the NG box d026 are sent to the recommendation server 1, and a product list is created taking these statuses into account. When the user selects the add to cart button d028, the products with the OK box d025 checked are added to the shopping cart, and the screen transitions to the payment screen.
[0060] Fig. 18 and Fig. 19 are explanatory diagrams showing the procedure for updating the Hamiltonian. Fig. 18 is an explanatory diagram showing the procedure for calculating the correction parameters. The user-instructed data in Fig. 18 is data obtained from the state of the OK box d025 and the NG box d026 shown in Fig. 17. The t-1th user-instructed data is used to find the correction parameters for creating a Hamiltonian for the tth calculation. The 0th correction parameters (initial conditions) required when t=1 are defined by equation (5).
[0061]
number
[0062] Using the (t-1)th instruction data, the tth correction parameters are calculated using equations (6), (7) and (8).
[0063]
number
[0064]
number
[0065]
number
[0066] Figure 19 is an explanatory diagram showing the corrected Hamiltonian. In the t-th calculation, the Hamiltonian is shown in equation (9). The third and fourth terms have been added to the initial Hamiltonian. Equation (9) can be rearranged to obtain equation (10).
[0067]
number
[0068] The optimization calculation is performed again using the updated Hamiltonian coefficients. The process after the optimization calculation is the same as the process shown in FIG.
[0069] Equation (9) shown in FIG. 19 may be replaced with another equation. FIG. 20 is an explanatory diagram showing another example of the Hamiltonian. Equation (9) may be replaced with the equation shown in FIG. 20. In the equation shown in FIG. 20, the fifth to eighth terms are added to equation (9). This enables optimization calculations that better take into account how the user judges whether a combination of multiple products is desirable or not.
[0070] Next, an example of a usage scenario of the recommendation system 100 is shown. FIG. 21 is an explanatory diagram showing an example of a usage scenario of the recommendation system. FIG. 21 shows a case where the recommendation system 100 functions as a tourist route recommendation system that recommends tourist routes. In this case, the databases referenced are a tourist destination DB, a transportation DB, and the like. In the tourist route recommendation system, a user uses a dialogue tool such as a chatbot to send a preference for a tourist route to the recommendation server 1 (1). The recommendation server 1 extracts conditions from the user's preference (2). The departure time and return time, as well as the departure and return locations, are constraint conditions. Preferences for places to visit, such as "places that children can enjoy" and "restaurants that serve Kyoto-style meals" are desired conditions. The recommendation server 1 finds the optimal tourist route to recommend to the user through optimization calculations (3). The optimal route is displayed on the user terminal 2 (4). The user refers to the tourist spots to visit and states whether or not each tourist spot is acceptable (5). The preference is transmitted to the recommendation server 1 (6). The recommendation server 1 recalculates the optimal route (7). The recalculated optimal route is displayed on the user terminal 2. Steps (5) to (8) are repeated as necessary. When a sequence is included, such as in a tourist route, the sequence can be displayed in bits using a matrix of sequence and locations, as in the table shown in the lower right of Fig. 21. This table shows that the order is to visit B→A→C→D.
[0071] FIG. 22 is an explanatory diagram showing an example of a usage scenario of the recommendation system. FIG. 22 shows a case where the recommendation system 100 functions as a menu recommendation system that recommends a menu of dishes. In this case, the databases referenced are a recipe DB, a food ingredient DB, and the like. In the menu recommendation system, a user uses a dialogue tool such as a chatbot to send a preference for a menu to the recommendation server 1 (1). The recommendation server 1 extracts conditions from the user's preference (2). The number of adults and children who will be eating, and the ingredients to be used, etc. are constraint conditions. Nutritional balance, etc. are desired conditions. The recommendation server 1 determines the menu to be recommended to the user through optimization calculations (3). The optimal menu is displayed on the user terminal 2 (4). The user refers to the menu and states whether or not each dish is acceptable (5). The approval or disapproval is transmitted to the recommendation server 1 (6). The recommendation server 1 recalculates the optimal menu (7). The recalculated optimal menu is displayed on the user terminal 2 (8). (5) to (8) are repeated as necessary.
[0072] FIG. 23 is an explanatory diagram showing an example of a usage scenario of the recommendation system. FIG. 22 shows a case where the recommendation system 100 functions as a production planning system. The production planning system is a system that creates a production plan for each production machine when a product is manufactured through multiple processes using multiple different production machines. In this case, the databases referenced are the item information DB, the machine characteristics DB, etc. In the production planning system, the user transmits conditions such as the production location, the planning period, and the planned production quantity for each product to the recommendation server 1 via the user terminal 2 (1). The recommendation server 1 obtains the production plan for each production machine by optimization calculation (2). The production plan is displayed on the user terminal 2 (3). The user refers to the plan and inputs the matters to be improved into the user terminal 2 (4). The matters to be improved are transmitted to the recommendation server 1 (5). The recommendation server 1 recalculates the production plan (6). The recalculated production plan is displayed on the user terminal 2 (7). (5) to (7) are repeated as necessary.
[0073] In this embodiment, the following effects are achieved. In addition to recommendations that match the user's hobbies and preferences and specific constraint conditions, it is also possible to respond to detailed requests according to the user's situation at that time. In addition to recommending product combinations, it is also possible to use it for optimizing operations that require finding optimal combinations while a large number of variables are intricately correlated, such as production planning for manufactured products, optimization of logistics, and personnel planning, which have been performed based on the experience and intuition of experts. In reality, there are many combinatorial optimization problems in which the constraint conditions and the index to be optimized are not necessarily clear. Since this embodiment can autonomously learn the optimization itself while the system is operating, it can also handle combinatorial optimization problems in which the index to be optimized is not clear.
[0074] The technical features (constituent elements) described in each embodiment can be combined with each other, and by combining them, new technical features can be formed. The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]
[0075] 100 Recommendation Systems 1. Recommended Server 11 Control section 11a Product feature calculation unit 11b Request Reception Section 11c Condition extraction part 11d Hamiltonian creation section 11e Optimization Calculation Department 11f Optimal solution data interpretation section 11g output section 11h NG Reception 11i Hamiltonian Update Section 12 Main memory 13 Auxiliary storage 131 Product information DB 132 Product Feature DB 133 Thesaurus 134 Concept Dictionary 14 Communications Department 15 Reading unit 1P control program 1a Removable storage media 1b Semiconductor memory 2. User terminal
Claims
1. A feature calculation unit that calculates feature amounts related to features of a plurality of things from information on the plurality of things; A reception unit that receives a conversation requesting a recommendation of a combination of things; an extraction unit that extracts a plurality of words from the received conversation sentence based on a result of morphological analysis; A generation unit that generates conditions for selecting things to be recommended based on the extracted words; A function generation unit that generates an objective function based on the feature amount of the thing and the condition; a Hamiltonian generator that generates a Hamiltonian expressed by a quadratic expression based on the objective function and the conditions; a calculation unit that calculates, from among the created Hamiltonians, a Hamiltonian that minimizes the value of the quadratic expression as an optimal solution of the objective function; an acquisition unit that acquires a plurality of combinations of the things to be recommended from among the things based on the optimal solution; an output unit that sorts the acquired multiple combinations according to a gain based on the feature amount and the condition, and outputs the sorted combinations; An output device comprising:
2. The conditions may include constraints that must be met or preferences that are desirable to meet.
2. The output device according to claim 1 .
3. a yes / no acceptance unit that accepts yes / no for each of the things included in the output combination, The acquisition unit acquires the combination of things to be recommended based on the optimal solution and the propriety.
3. The output device according to claim 1 or 2.
4. The conversation sentences include sentences based on speeches by a plurality of people, and weighting of the conditions is performed based on the correspondence between the speakers and the conditions.
4. The output device according to claim 1, wherein the output device is a display device.
5. A computer that can refer to a memory unit that stores items to be recommended, Calculating feature amounts related to features of a plurality of things from information of the plurality of things; Accepts conversations that ask for recommendations on combinations of things, Extracting a plurality of words from the received conversation sentence based on a result of morphological analysis; Generate conditions for selecting things to be recommended based on the extracted words; Generate an objective function based on the feature amount of the thing and the condition; A Hamiltonian expressed by a quadratic formula is generated based on the objective function and the condition; Among the created Hamiltonians, a Hamiltonian that minimizes the value of the quadratic expression is calculated as an optimal solution of the objective function; Obtaining a plurality of combinations of the things to be recommended from among the things based on the optimal solution; The acquired multiple combinations are sorted according to the gain based on the feature amount and the condition, and output. A computer program characterized by causing a process to be performed.
6. A computer capable of referencing a memory unit that stores items to be recommended, Calculating feature amounts related to features of a plurality of things from information of the plurality of things; Accepts conversations that ask for recommendations on combinations of things, Extracting a plurality of words from the received conversation sentence based on a result of morphological analysis; Generate conditions for selecting things to be recommended based on the extracted words; Generate an objective function based on the feature amount of the thing and the condition; A Hamiltonian expressed by a quadratic formula is generated based on the objective function and the condition; Among the created Hamiltonians, a Hamiltonian that minimizes the value of the quadratic expression is calculated as an optimal solution of the objective function; Obtaining a plurality of combinations of the things to be recommended from among the things based on the optimal solution; The acquired multiple combinations are sorted according to the gain based on the feature amount and the condition, and output.
2. An output method comprising:
Citation Information
Patent Citations
Merchandise search device for use in cyber store, cyber store service providing device, media, and information assembly
JP2003216647A
Content search device
JP2014149571A
Going out schedule automatic creation device and method of the same
JP2015092327A
Trip system
JP2016139263A
Garment matching system and method
JP2016502713A
