Messaging device, method, and program
The messaging device uses neural networks to analyze vital and behavioral data to accurately estimate present bias, enabling personalized messaging that effectively promotes healthy behaviors by aligning with individual characteristics, addressing the limitations of existing methods in inducing exercise and health checkups.
Patent Information
- Application Number
- PCT/JP2023/015624
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-24
AI Technical Summary
Existing messaging methods that aim to encourage healthy behaviors by inducing human intervention through messaging do not effectively account for individual characteristics, particularly present bias, leading to limited effectiveness in promoting exercise and health checkups, as they rely on cumbersome questionnaire surveys that are difficult to administer and provide inaccurate bias estimates.
A messaging device and method that utilize a current bias analysis unit to accurately estimate an individual's present bias by processing vital, behavioral, and task data using neural networks, allowing for personalized messaging that reflects the user's personality and behavior patterns without the need for questionnaire surveys.
Enables highly effective messaging by accurately estimating current bias, allowing for personalized and timely interventions that promote healthy behaviors, such as exercise and health checkups, by selecting message content that aligns with the user's current biases and behavior patterns, thereby improving health outcomes.
Smart Images

Figure JP2023015624_24102024_PF_FP_ABST
Abstract
Description
Messaging device, method and program
[0001] One aspect of the present invention relates to a messaging device, method, and program that provides messaging to a user taking into account a present bias.
[0002] Lack of exercise and sedentary lifestyles are causing people's health to deteriorate. According to one survey, the percentage of obese people and people with diabetes in Japan is increasing year by year, while the percentage of people who exercise regularly is decreasing. Since 2020, the percentage of people working from home in Japan has also increased, and this trend is expected to continue in the future. In order to improve and maintain individual health, it is necessary to encourage moderate exercise and health checkups.
[0003] Therefore, methods have been proposed to induce human behavior through intervention using messaging. For example, a technology using framing has been proposed as one such method. Framing emphasizes certain expressions in a message, emphasizing the benefits that can be gained by achieving the behavior described in the message or the losses that can be incurred by not taking the behavior (see, for example, Non-Patent Document 1). However, messaging methods using framing tend to be limited in their effectiveness because they do not take into account individual characteristics.
[0004] Meanwhile, behavioral economics has focused on an index known as present bias as a method for indexing individual characteristics. Present bias is a cognitive bias that leads to overconfidence in patience in the distant future and impatience in the near future. In other words, it is a human psychological trait that causes people to weigh large future benefits against small immediate benefits and choose the latter. People with strong present bias tend to succumb to immediate temptations and tend to postpone the execution of plans. As a result, people with strong present bias are known to be less likely to undergo health checkups due to aversion to immediate hardships, and to have lifestyle habits such as obesity and smoking (see, for example, Non-Patent Document 2).
[0005] One method proposed for estimating present bias is to use a questionnaire. This method involves estimating present bias through a multiple-choice questionnaire. Respondents are asked to choose from multiple options, such as "Would you rather receive X yen today (option A) or Y yen in seven days (option B)?", with Y yen being higher than X yen in both options. Since option B is higher, the question designers then create an "annual interest rate" similar to that of a bank deposit. Focusing on questions where the respondent switched from option A (receive today) to option B (receive in seven days), the respondent's discount rate is assumed to lie between the annual interest rate in the question where the switch occurred and the annual interest rate in the previous question. The average of these two annual interest rates is then used as the time discount rate. Respondents are then asked to answer similar questions set in the more distant future (e.g., 90 days and 97 days), and their time discount rates are measured in the same way. In this case, the strength of present bias can be measured by comparing the time discount rate between today and 7 days from now, and between 90 days from now and 97 days from now (see, for example, non-patent document 3).
[0006] Altmann, S. and Traxler, C. , “Nudges at the dentist”, European Economic Review, Vol. 72, pp. 19-38 (2014). Mischel, Walter et al. “Willpower over the life span: decomposing self-regulation.” Social cognitive and affective neuroscience, Vol. 6, No. 2 (2011): 252-6. Hardisty, David J. et al. “How to measure time preferences: An experimental comparison of three methods.” Judgment and Decision Making Vol. 8 (2013): 236-249.
[0007] However, while estimation methods using multiple-choice questionnaires are less likely to result in divergent responses because respondents' time discount rates are assigned based on an annual interest rate determined in advance by the question designer, they require respondents to answer multiple questions. Furthermore, to prevent respondents from responding randomly (e.g., mindlessly choosing option B), the order of questions is randomly shuffled according to the annual interest rate. This results in multiple instances where options A and B switch, resulting in many respondents being labeled as invalid. Furthermore, requiring respondents to answer multiple questions places a significant burden on them, and because the survey is conducted over a medium- to long-term time interval, it is difficult to detect subtle changes. For this reason, applying individual present bias estimated through multiple-choice questionnaires to messaging cannot be expected to provide effective intervention.
[0008] The present invention has been made in light of the above circumstances, and aims to provide a technology that enables highly effective messaging by enabling accurate estimation of an individual's present bias.
[0009] In order to solve the above problem, a first aspect of the messaging device according to the present invention comprises a present bias analysis unit that analyzes the present bias of a target user, and a messaging control unit that sends a message to the target user.
[0010] The current bias analysis unit includes a first current bias learning processing unit that acquires vital data, behavioral data, and task data of multiple target users over a predetermined period and performs first pre-processing on the acquired vital data, behavioral data, and task data, respectively; a second current bias learning processing unit that generates feature data for multiple target users by combining the pre-processed vital data, behavioral data, and task data for the same target users and by aligning their positions in the time series; and a third current bias learning processing unit that generates a trained current bias analysis model by training a pre-constructed current bias analysis model having a neural network structure using the feature data for the multiple target users and current bias data that is the correct answer.
[0011] The messaging control unit includes a first message learning processing unit that acquires a plurality of pieces of training message data and performs second preprocessing on each piece of acquired training message data to generate a token list constituting the training message data, and a second message learning processing unit that generates a trained message classification model by training a message classification model having a pre-constructed neural network structure using the token list of the plurality of pieces of training message data and preset label data.
[0012] According to a first aspect of the present invention, it is possible to create a current bias analysis model that enables estimation of a target user's current bias using vital data, behavioral data, and task data acquired by a vital sensor or a scheduler in the target user's daily life, without relying on a questionnaire survey. Furthermore, by training a neural network using multiple training message data and their label data, it is possible to automatically create a message classification model for classifying messages to be presented to the target user.
[0013] A messaging device according to a second aspect of the present invention further includes, in its current bias analysis unit, a first current bias estimation processing unit that acquires a vital data series, a behavioral data series, and a task data series related to the target user; a second current bias estimation processing unit that performs the first pre-processing on the acquired vital data series, the behavioral data series, and the task data series, respectively; a third current bias estimation processing unit that generates feature data related to the target user by aligning and combining the vital data series, the behavioral data series, and the task data series after the first pre-processing has been performed, with their positions on a time series; and a fourth current bias estimation processing unit that inputs the feature data related to the target user to the current bias analysis model and obtains current bias estimation data of the target user from the current bias analysis model.
[0014] The messaging control unit further includes a first message selection processing unit that acquires a plurality of pieces of message data for presentation and performs the second pre-processing on each of the acquired message data for presentation to generate a token list constituting the message data for presentation; a second message selection processing unit that inputs the generated token list to the message classification model and obtains data representing a reward and a type of target behavior corresponding to the message data for presentation from the message classification model; a third message selection processing unit that acquires data representing a type of target behavior that the target user is currently performing or plans to perform, and selects the message data for presentation that corresponds to the acquired type of target behavior and has a type of reward that corresponds to the current bias estimation data; and a fourth message selection processing unit that outputs the selected message data for presentation to the target user.
[0015] According to the second aspect of the present invention, the current bias of the target user can be estimated with high accuracy, and by using the estimated current bias, it is possible to select and present message data that reflects the target user's individual personality.
[0016] That is, according to one aspect of the present invention, it is possible to provide a technology that enables highly effective messaging by enabling accurate estimation of an individual's current bias.
[0017] FIG. 1 is a diagram showing the configuration of a system including a messaging device according to an embodiment of the present invention. FIG. 2 is a block diagram showing an example of the hardware configuration of a messaging device according to an embodiment of the present invention. FIG. 3 is a block diagram showing an example of the software configuration of a messaging device according to an embodiment of the present invention. FIG. 4 is a block diagram showing an example of the configuration of a current bias analysis unit and a current bias analysis data storage unit included in the messaging device shown in FIG. 3. FIG. 5 is a block diagram showing an example of the configuration of a messaging control unit and a messaging control data storage unit included in the messaging device shown in FIG. 3. FIG. 6 is a flowchart showing an example of the overall processing procedure and processing content of a current bias analysis model learning process executed by the current bias analysis unit shown in FIG. 4 in the learning phase. FIG. 7 is a flowchart showing an example of the processing procedure and processing content of preprocessing for vital data out of the overall processing procedure shown in FIG. 6. FIG. 8 is a flowchart showing an example of the processing procedure and processing content of preprocessing for behavioral data out of the overall processing procedure shown in FIG. 6. FIG. 9 is a flowchart showing an example of the processing procedure and processing content of preprocessing for task data out of the overall processing procedure shown in FIG. 6. FIG. 10 is a flowchart showing an example of the processing procedure and processing content of data linkage processing out of the overall processing procedure shown in FIG. 6. Fig. 11 is a flowchart showing an example of the processing procedure and processing content of time information extraction processing out of the overall processing procedure shown in Fig. 6. Fig. 12 is a flowchart showing an example of the processing procedure and processing content of current bias analysis model learning processing out of the overall processing procedure shown in Fig. 6. Fig. 13 is a flowchart showing an example of the overall processing procedure and processing content of message classification model learning processing executed by the messaging control unit shown in Fig. 5 in the learning phase. Fig. 14 is a flowchart showing an example of the processing procedure and processing content of message pre-processing out of the processing procedure shown in Fig. 13. Fig. 15 is a flowchart showing an example of the processing procedure and processing content of message classification model learning processing out of the processing procedure shown in Fig. 13.FIG. 16 is a flowchart showing an example of the overall processing procedure and processing content of the current bias analysis processing executed by the current bias analysis unit shown in FIG. 4 in the messaging phase. FIG. 17 is a flowchart showing an example of the overall processing procedure and processing content of the messaging control processing executed by the messaging control unit shown in FIG. 4 in the messaging phase. FIG. 18 is a flowchart showing an example of the processing procedure and processing content of the current bias estimation processing among the processing procedures shown in FIG. 17. FIG. 19 is a flowchart showing an example of the processing procedure and processing content of the message classification processing among the processing procedures shown in FIG. 17. FIG. 20 is a flowchart showing an example of the processing procedure and processing content of the message candidate extraction processing among the processing procedures shown in FIG. 17. FIG. 21 is a flowchart showing an example of the processing procedure and processing content of the message transmission adjustment processing among the processing procedures shown in FIG. 17. FIG. 22 is a diagram showing an example of vital data stored in a vital data storage unit in the current bias analysis data storage unit shown in FIG. 4. FIG. 23 is a diagram showing an example of behavioral data stored in a behavioral data storage unit in the current bias analysis data storage unit shown in FIG. 4. FIG. 24 is a diagram showing an example of task data stored in a task data storage unit in the current bias analysis data storage unit shown in FIG. 4. FIG. 25 is a diagram showing an example of vital data after preprocessing. FIG. 26 is a diagram showing an example of behavioral data after preprocessing. FIG. 27 is a diagram showing an example of task data after preprocessing. FIG. 28 is a diagram showing an example of feature data after combining processing. FIG. 29 is a diagram showing an example of feature data with time information. FIG. 30 is a diagram showing an example of current bias data stored in a current bias data storage unit in the current bias analysis data storage unit shown in FIG. 4. FIG. 31 is a diagram showing an example of a network structure of a current bias analysis model. FIG. 32 is a diagram showing an example of parameters of a current bias analysis model. FIG. 33 is a diagram showing an example of a learning message stored in a learning message data storage unit in the messaging control data storage unit shown in FIG. 5. FIG. 34 is a diagram showing an example of token data stored in a token storage unit in the messaging control data storage unit shown in FIG. 5. FIG. 35 is a diagram showing an example of data after message preprocessing.Fig. 36 is a diagram showing an example of a learning message label stored in a learning message label storage unit in the messaging control data storage unit shown in Fig. 5. Fig. 37 is a diagram showing an example of data after message classification processing. Fig. 38 is a diagram showing an example of extracted message candidate data. Fig. 39 is a diagram showing an example of information stored in a message transmission management information storage unit in the messaging control data storage unit shown in Fig. 5. Fig. 40 is a diagram showing an example of a network structure of a message classification model. Fig. 41 is a diagram showing an example of message classification model data stored in a message classification model storage unit in the messaging control data storage unit shown in Fig. 5.
[0018] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0019] [One Embodiment] (Configuration Example) (1) System FIG. 1 is a diagram showing an example of the configuration of a life assistance system including a messaging device according to one embodiment of the present invention.
[0020] The system according to one embodiment enables data transmission via a network NW between a messaging device SV and user terminals UT1 to UTn used by a plurality of users who are the target of messaging.
[0021] As the user terminals UT1 to UTn, for example, a general-purpose smartphone equipped with an input device, a display device, and a communication application such as a browser or mailer is used.
[0022] The user terminals UT1 to UTn execute pre-installed application programs to transmit to the messaging device SV multiple types of data necessary for estimating the user's current bias. More specifically, the user terminals UT1 to UTn transmit to the messaging device SV vital data measured by a health management application, and behavioral data and task data managed by a scheduler. The user terminals UT1 to UTn also receive message data that reflects the current bias and is transmitted from the messaging device SV.
[0023] As the user terminals UT1 to UTn, in addition to smartphones, wearable terminals, tablet terminals, personal computers, etc. may also be used.
[0024] The network NW includes a wide area network with the Internet at its core, and an access network for accessing the wide area network. Examples of the access network include, but are not limited to, a public communication network using wired or wireless connections, a local area network (LAN) using wired or wireless connections, and a cable television (CATV) network.
[0025] (2) Messaging Device SV (2-1) Overall Configuration FIGS. 2 and 3 are block diagrams showing an example of the overall hardware configuration and software configuration, respectively, of a messaging device SV according to an embodiment of the present invention.
[0026] The messaging device SV is configured by a server computer located on the web or cloud, for example. The messaging device SV has a control unit 1 that uses a hardware processor such as a central processing unit (CPU), and a storage unit having a program storage unit 2 and a data storage unit 3, and a communication interface (hereinafter, interface will be referred to as I / F) unit 4 connected to the control unit 1 via a bus 5.
[0027] The communication I / F unit 4 controls access to the network NW and transmits and receives data under the control of the control unit 1. More specifically, the communication I / F unit 4 is used to receive data indicating the user's vital data, behavioral data, task data, and type of target behavior transmitted from the user terminals UT1 to UTn, and to transmit message data reflecting the estimation result of the user's current bias generated by the control unit 1 to the user terminals UT1 to UTn. The communication I / F unit 4 is also used when acquiring message data from, for example, a system administrator terminal.
[0028] The program storage unit 2 is configured, for example, by combining a non-volatile memory such as a HDD (Hard Disk Drive) or SSD (Solid State Drive) as a storage medium that can be written to and read at any time, with a non-volatile memory such as a ROM (Read Only Memory), and stores various programs necessary to execute various control processes according to one embodiment of the present invention, in addition to middleware such as an OS (Operating System).
[0029] The data storage unit 3 is configured, for example, by combining a non-volatile memory such as an HDD or SSD, which can be written to and read from at any time, as a storage medium, with a volatile memory such as a RAM (Random Access Memory), and the storage area thereof is provided with a current bias analysis data storage unit 30 and a messaging control data storage unit 40 as storage units according to one embodiment.
[0030] The control unit 1 includes, as processing functions for carrying out one embodiment of the present invention, a current bias analysis unit 10 and a messaging control unit 20. Both of these units 10 and 20 are realized by causing a hardware processor in the control unit 1 to execute an application program stored in the program storage unit 2.
[0031] Note that some or all of the processing units provided in the current bias analysis unit 10 and messaging control unit 20 may be realized using hardware such as an LSI (Large Scale Integration) or an ASIC (Application Specific Integrated Circuit).
[0032] In one embodiment, the messaging device SV comprises a current bias analysis section 1A that includes the current bias analysis unit 10 and the current bias analysis data storage section 30, and a messaging control section 1B that includes the messaging control unit 20 and the messaging control data storage section 40.
[0033] (2-2) Current Bias Analysis Unit 1A FIG. 4 is a block diagram showing an example of the configuration of the current bias analysis unit 1A.
[0034] The current bias analysis data storage unit 30 includes a vital data storage unit 31 , a behavioral data storage unit 32 , a task data storage unit 33 , a current bias data storage unit 34 , and an analysis model storage unit 35 .
[0035] The vital data storage unit 31 stores a plurality of vital data measured for a certain period of time for a plurality of users for current bias learning. Similarly, the behavioral data storage unit 32 and the task data storage unit 33 store data representing the behaviors and tasks performed by the plurality of users for the certain period of time for current bias learning.
[0036] The current bias data storage unit 34 stores known data of the current biases of the plurality of users to be learned as training data for current bias learning.
[0037] The analytical model storage unit 35 is used to store data representing the trained current bias analytical model.
[0038] The current bias analysis unit 10 includes the following processing functions necessary for estimating the user's current bias: a vital data preprocessing unit 11, a behavioral data preprocessing unit 12, a task data preprocessing unit 13, a data combination processing unit 14, a time information extraction processing unit 15, an analytical model learning processing unit 16, an analytical model construction processing unit 17, a user data acquisition processing unit 18, and a current bias estimation processing unit 19.
[0039] The vital data preprocessing unit 11 reads vital data of the learning target from the vital data storage unit 31 in the current bias learning phase, and receives a vital data series of the estimation target user transmitted from the user terminals UT1 to UTn in the messaging phase. The vital data preprocessing unit 11 then calculates summary statistics for each time interval of a preset time length for the acquired vital data, and outputs data including the calculation results as preprocessed vital data.
[0040] The behavioral data preprocessing unit 12 reads the behavioral data of the learning target from the behavioral data storage unit 32 during the current bias learning phase, and receives the behavioral data of the target users transmitted from the user terminals UT1 to UTn during the messaging phase. The behavioral data preprocessing unit 12 then aggregates the acquired behavioral data by, for example, deleting identical data or a small number of data, and assigns an behavior ID indicating the type of behavior and time information to the aggregated behavior. The generated data is then output as preprocessed behavioral data.
[0041] The task data preprocessing unit 13 reads task data to be learned from the task data storage unit 33 in the current bias learning phase, and receives task data of the user to be estimated transmitted from the user terminals UT1 to UTn in the messaging phase. The task data preprocessing unit 13 then calculates, for example, the goal achievement rate and goal progress rate for the received task data, aggregates the calculation results for each time interval, and outputs the data obtained as preprocessed task data.
[0042] The data combination processing unit 14 combines the pre-processed vital data, behavioral data, and task data for each user in the same time interval, thereby generating combined feature data for each user.
[0043] The time information extraction processing unit 15 extracts time information represented by "month," "day of the week," "date," and "time" for each time interval from the combined feature data of each user, and generates feature data with time information by adding the extracted time information to the combined feature data.
[0044] The analysis model construction processing unit 17 uses a network structure of a DNN (Deep Neural Network) to construct a current bias analysis model that handles the feature data with time information.
[0045] In the current bias learning phase, the analytical model learning processing unit 16 learns each parameter of the current bias analytical model constructed by the analytical model construction processing unit 17, using the feature data with time information of each user to be learned and the known current bias data of each user to be learned stored in the current bias data storage unit 34. Then, the learned current bias analytical model is stored in the analytical model storage unit 35.
[0046] In the messaging phase, the user data acquisition processing unit 18 acquires the vital data series, behavioral data series, and task data series of the user to be messaged from the user terminals UT1 to UTn used by the estimated user via the communication I / F unit 4.
[0047] In the messaging phase, the current bias estimation processing unit 19 inputs the feature data with time information of the messaging target user generated by the time information extraction processing unit 15 into the trained current bias analysis model stored in the analysis model storage unit 35. Then, the current bias estimation data output from the trained current bias analysis model is output to the messaging control unit 20.
[0048] (2-3) Messaging Control Unit 1B FIG. 5 is a block diagram showing an example of the configuration of the messaging control unit 1B.
[0049] The messaging control data storage unit 40 includes a message data storage unit 41 , a token storage unit 42 , a learning message label storage unit 43 , a message classification model storage unit 44 , and a message transmission history storage unit 45 .
[0050] The message data storage unit 41 stores a plurality of pieces of training message data used for model training in the message training phase and a message list used in the messaging phase, each associated with message identification information (hereinafter, the identification information will be referred to as ID). The message data is represented by, for example, text data.
[0051] The token storage unit 42 stores a plurality of words (tokens) that make up the message data as a token dictionary, each of which is associated with a token ID.
[0052] The training message label storage unit 43 stores, for each message data, data representing a reward type and a target behavior as a training message label in association with a message ID.
[0053] The message classification model storage unit 44 is used to store data representing a trained message classification model.
[0054] The message transmission history storage unit 45 stores transmission history data indicating the number of times a message has been transmitted and the time of the last transmission, in association with the user ID of the transmission destination and the message ID.
[0055] The messaging control unit 20 includes the following processing functions necessary for messaging control: a message acquisition processing unit 21, a message data preprocessing unit 22, a message classification model learning processing unit 23, a message classification model construction processing unit 24, a message classification processing unit 25, a message candidate extraction processing unit 26, and a message transmission adjustment processing unit 27.
[0056] The message acquisition processing unit 21 acquires, for example, from a system administrator terminal, a plurality of pieces of training message data to be used for training the message classification model in the message learning phase, and a message list to be used in the messaging phase, and stores each piece of acquired message data in association with a message ID in the message data storage unit 41. Note that the message data storage unit 41 may be divided into a storage unit that stores training message data and a storage unit that stores the message list.
[0057] The message data preprocessing unit 22 reads message data from the message data storage unit 41 and breaks the read message data into words. The message data preprocessing unit 22 then refers to a token dictionary stored in the token storage unit 42 to extract token IDs corresponding to the words and create a token list for the message. An example of this message data preprocessing will be described in the operation example.
[0058] The message classification model construction processing unit 24 creates data representing the network structure of the message classification model. The network structure of the message classification model is also configured using, for example, a DNN.
[0059] The message classification model learning processing unit 23 reads preprocessed message data from the message data preprocessing unit 22 and message label data from the learning message label storage unit 43, and learns parameters of the message classification model created by the message classification model construction processing unit 24 based on these data. Then, data representing the learned parameters and model structure is stored in the message classification model storage unit 44 as data representing the learned message classification model. An example of the learning process of this message classification model will also be described in the operation example.
[0060] The message classification processing unit 25 inputs the preprocessed message data output from the message data preprocessing unit 22 into the trained message classification model stored in the message classification model storage unit 44, thereby acquiring data representing the reward type (also referred to as reward type) of the message data and the type of target behavior from the trained message classification model. Then, the acquired data representing the reward type and the type of target behavior is output as classified message data.
[0061] Based on the current bias estimation data output from the current bias analysis unit 10 and the data representing the target behavior input from the user terminals UT1 to UTn, the message candidate extraction processor 26 extracts message IDs that meet preset conditions from the classified message data output from the message classification processor 25. Then, the message candidate extraction processor 26 reads out the corresponding message data from the message data storage unit 41 based on the message ID, generates a data table having the read message data, its message ID, reward type, and target behavior as attributes, and outputs the generated data table as message data candidates.
[0062] Based on the message ID and user ID included in the candidate message data, the message transmission adjustment processing unit 27 searches the message transmission history storage unit 45 for the corresponding number of transmissions or latest transmission time. Then, the message transmission adjustment processing unit 27 selects one message ID whose number of transmissions or latest transmission time satisfies a preset transmission condition, and transmits message data corresponding to the selected message ID from the communication I / F unit 4 to the user terminals UT1 to UTn of the target users. After transmitting the message data, the message transmission adjustment processing unit 27 also updates the corresponding number of transmissions and latest transmission time stored in the message transmission history storage unit 45.
[0063] (Example of Operation) Next, an example of operation of the messaging device SV configured as above will be described.
[0064] (1) Current Bias Learning Phase FIG. 6 is a flowchart showing an example of the procedure and content of the learning process executed by the current bias analysis unit 10 of the messaging device SV in the current bias learning phase.
[0065] In the following description, it is assumed that vital data, behavioral data, and task data of multiple users to be learned are stored in advance in the vital data storage unit 31, behavioral data storage unit 32, and task data storage unit 33. It is also assumed that known data of the current biases of the multiple users to be learned is stored in advance in the current bias data storage unit 34.
[0066] In this state, for example, when a system administrator inputs a current bias learning request from an administrator terminal not shown, and the current bias analysis unit 10 of the messaging device SV detects this learning request in step S10, the current bias analysis unit 10 of the messaging device SV sets a current bias learning phase and then executes the learning process of the current bias analysis model as follows.
[0067] (1-1) Pre-processing of vital data First, in step S11, the current bias analysis unit 10 of the messaging device SV pre-processes vital data under the control of the vital data pre-processing unit 11 as follows.
[0068] FIG. 7 is a flowchart showing an example of the processing procedure and processing content of the vital data preprocessing performed by the vital data preprocessing unit 11.
[0069] That is, first, in step S111, the vital data preprocessing unit 11 reads vital data from the vital data storage unit 31. The vital data is, for example, in Fig. 22, for each entry in each row, a measured heart rate and the date and time of measurement associated with user identification information (hereinafter referred to as user ID).
[0070] In step S112, the vital data preprocessing unit 11 sets the start time of each time interval having a predetermined fixed time length for the vital data that has been read, and in step S113 calculates summary statistics of the heart rates measured in the time intervals, such as the mean, standard deviation, maximum, and minimum values of the heart rates.
[0071] Each time the calculation of the summary statistics for one time interval is completed, the vital data preprocessing unit 11 determines in step S114 whether the calculation of the vital data for all time intervals has been completed. If there are any time intervals for which calculation has not been completed, the process returns to step S112, sets the next time interval, and executes the calculation of the summary statistics in step S113. Thereafter, the calculation of the summary statistics for each time interval for which calculation has not been completed is repeated.
[0072] On the other hand, when calculations for all time intervals are completed, the vital data preprocessing unit 11 proceeds to step S115, where it performs an interpolation process on the data between time intervals. Then, in step S116, it outputs the vital data including the interpolated data as preprocessed vital data VD1 to the data combination processing unit 14. Figure 25 shows an example of the preprocessed vital data VD1.
[0073] (1-2) Pre-processing of Behavioral Data Next, in step S12, the current bias analysis unit 10 of the messaging device SV pre-processes the behavioral data under the control of the behavioral data pre-processing unit 12 as follows.
[0074] FIG. 8 is a flowchart showing an example of the processing procedure and processing content of the behavior data pre-processing executed by the behavior data pre-processing unit 12.
[0075] That is, in step S121, the behavioral data preprocessing unit 12 first reads the behavioral data of each user to be learned from the behavioral data storage unit 32. The behavioral data associates the user ID with the content of the behavior and the date and time of its execution for each entry shown as a row in Fig. 23, for example.
[0076] The behavioral data preprocessing unit 12 first compares each entry of the loaded behavioral data to be learned for each user in step S122. If, for example, the same behavior appears consecutively within a preset short period of time, one of the entries is retained and the others are deleted. For example, if a user's behavior "started exercising" appears a predetermined number of times or more within a predetermined time span, only the first occurrence of "started exercising" is retained, and the other identical "started exercising" entries are deemed to have been registered in error and are deleted. The length of the time span can be set arbitrarily by the system administrator.
[0077] Next, in step S123, the behavioral data preprocessing unit 12 compares the behaviors of each entry and deletes entries of behaviors whose observed number is less than a certain number. For example, it counts the number of occurrences of each type of behavior and deletes behaviors whose observed number is less than a predetermined number set by the system administrator. By performing each of the above deletion processes, it is possible to aggregate entries for behavioral data.
[0078] The behavioral data preprocessing unit 12 aggregates the entries of all users in steps S122 and S123. Then, the behavioral entries of all users remaining as a result of the aggregation are temporarily saved, and an behavior ID that identifies the type of each saved behavior is assigned to each saved behavior in step S125.
[0079] Finally, in step S126, the behavioral data preprocessing unit 12 converts the date and time included in each entry of the behavioral data into time information according to the granularity of the time interval defined in the preprocessing of the vital data. Then, in step S127, the behavioral data with the converted time information is output to the data combination unit 14 as preprocessed behavioral data AD1. Figure 26 shows an example of the preprocessed behavioral data AD1.
[0080] (1-3) Pre-processing of Task Data Next, in step S13, the current bias analysis unit 10 of the messaging device SV pre-processes the task data under the control of the task data pre-processing unit 13 as follows.
[0081] FIG. 9 is a flowchart showing an example of the processing procedure and processing content of task data pre-processing executed by the task data pre-processing unit 13.
[0082] That is, first, in step S131, the task data preprocessing unit 13 reads task data from the task data storage unit 33. The task data consists of a user ID, task content, and execution date and time associated with each entry, for example, as shown as a row in Fig. 24. In this example, the task content is related to dieting, and is represented by a current weight indicating the progress of the task, and a target weight.
[0083] The task data preprocessing unit 13 first calculates the goal achievement rate for each entry of the loaded task data in step S132. Then, in step S133, it calculates the goal progress rate for each user. Next, in step S134, the task data preprocessing unit 13 converts the date and time included in each entry of the task data into time information in accordance with the granularity of the time interval previously defined in the vital data preprocessing. Then, in step S135, it outputs the task data with the converted time information to the data combination unit 14 as preprocessed task data TD1. Figure 27 shows an example of the preprocessed task data TD1.
[0084] (1-4) Data Combining Process Next, in step S14, the current bias analysis unit 10 of the messaging device SV performs data combining process as follows under the control of the data combining processor 14.
[0085] FIG. 10 is a flowchart showing an example of the processing procedure and processing content of the data link processing executed by the data link processing unit 14.
[0086] That is, first, in step S141, the data link processing unit 14 receives the preprocessed vital data VD1, behavioral data AD1, and task data TD1 from the vital data preprocessing unit 11, behavioral data preprocessing unit 12, and task data preprocessing unit 13. Then, in step S142, the data link processing unit 14 generates a copy of the preprocessed vital data VD1 and sets this as vital data feature data VD2.
[0087] Next, in step S143, the data link processing unit 14 converts the activity IDs of the preprocessed activity data AD1 into a one-hot representation. For example, a vector with the same dimensions as the number of activity types is prepared, and only the numerical dimension representing the activity ID is converted to "1," and the rest are converted to "0." Then, in step S144, the data link processing unit 14 links the preprocessed activity data AD2, in which the activity ID representation has been converted, to feature data of the vital data for the same user and for the same time period, based on the user ID and time information.
[0088] Furthermore, in step S145, the data combination processing unit 14 combines the preprocessed task data TD2 with feature data of the vital data for the same user and for the same time period based on the user ID and time information. Then, in step S146, the data combination processing unit 14 outputs the combined feature data to the time information extraction processing unit 15.
[0089] FIG. 28 shows an example of the combined feature data, where VD2 indicates pre-processed vital data, AD2 indicates pre-processed behavior data, and TD2 indicates pre-processed task data.
[0090] (1-5) Extraction of Time Information Next, in step S15, the current bias analysis unit 10 of the messaging device SV performs extraction processing of time information under the control of the time information extraction processing unit 15 as follows.
[0091] FIG. 11 is a flowchart showing an example of the processing procedure and processing content of the time information extraction processing executed by the time information extraction processing unit 15.
[0092] That is, first, in step S151, the time information extraction processing unit 15 receives the combined feature data from the data combination processing unit 14. Then, in step S152, the time information extraction processing unit 15 extracts the "month," "day of the week," "date," and "time" that make up the time information for each entry of the combined feature data based on the date and time included in the entry, and adds each of the extracted elements of the time information to the entry of the combined feature data.
[0093] Finally, in step S153, the time information extraction processing unit 15 outputs the combined feature data after the addition of the time information (hereinafter referred to as feature data with time information) to the analysis model learning processing unit 16. Fig. 29 shows an example of feature data with time information output from the time information extraction processing unit 15.
[0094] (1-6) Construction of a Current Bias Analysis Model Next, in step S16, the current bias analysis unit 10 of the messaging device SV constructs a current bias analysis model using the analysis model construction processing unit 17. The current bias analysis model is constructed using, for example, a DNN, and receives feature data for each user as input and outputs an estimate of the strength of the current bias of that user.
[0095] 31 shows an example of the network structure of a current-bias analysis model constructed by the analysis model construction processing unit 17. That is, the current-bias analysis model has a fully connected layer L1 and an embedding layer L2 arranged as input layers, followed in this order by a concatenation processing layer L3, a temporal coding layer L4, a transformer layer L5, and a regression layer L6.
[0096] The fully connected layer L1 extracts abstract features from the continuous values of the input feature data. More specifically, an embedding layer is prepared that takes the number of continuous value data columns as input, converts them into a feature vector with a specific number of dimensions, and outputs it.
[0097] The embedding layer L2 extracts abstract features from the categorical values in the input feature data. For example, an embedding layer with input dimensions equal to the number of types of behavior is prepared, and the layer converts the input dimensions into a feature vector with a specific number of dimensions and outputs it.
[0098] The concatenation processing layer L3 combines two feature vectors output from the fully connected layer L1 and the embedding layer L2. For example, it concatenates the two feature vectors horizontally and outputs the concatenated feature vector.
[0099] The temporal coding layer L4 adds temporal information to the feature vectors. For example, the temporal information in the feature data with temporal information is input to the fully connected layer, and then nonlinearly transformed using an activation function (e.g., a Sigmoid function or a ReLU function) to output the transformed feature vectors.
[0100] The transformer layer L5 further abstracts the abstracted feature vectors as sequence data. Specifically, it sequentially receives the sequence data and repeatedly performs nonlinear transformation on them.
[0101] The regression layer L6 converts the feature vector transformed by the Transformer layer into a scalar value PVout corresponding to the current bias strength and outputs it.
[0102] (1-7) Learning of the current bias analysis model Next, in step S17, the current bias analysis unit 10 of the messaging device SV, under the control of the analysis model learning processing unit 16, executes a process of learning the current bias analysis model constructed by the analysis model construction processing unit 17 as follows.
[0103] FIG. 12 is a flowchart showing an example of the processing procedure and processing content of the current bias analysis model learning processing executed by the analysis model learning processing unit 16.
[0104] That is, first, in step S171, the analytical model learning processing unit 16 receives feature data with time information of the learning target from the time information extraction processing unit 15. Then, in step S172, the analytical model learning processing unit 16 reads known data of the current bias of each user to be learned from the current bias data storage unit 34. Then, in step S173, the analytical model learning processing unit 16 associates each entry of the feature data with the known data of the current bias based on the user ID.
[0105] Next, in step S174, the analytical model training processing unit 16 receives the network structure of the current bias analytical model from the analytical model construction processing unit 17. Then, in step S175, the analytical model training processing unit 16 initializes the parameters of each layer L1 to L6 of the received network structure. Specifically, each parameter is initialized using normal distributed random numbers with a mean of "0" and a standard deviation of "1."
[0106] Next, in step S176, the analytical model learning processing unit 16 learns each parameter of the network structure for each user ID using the input feature data with time information and known data of the current bias. Specifically, each time an entry of feature data with time information is input, each parameter of the network structure is learned and updated using the preprocessed vital data VD2, behavioral data AD2, and task data TD2 included in the entry and the known data of the current bias of the corresponding user to be learned.
[0107] Then, when the analysis model learning processing unit 16 completes the learning and updating process using all entries of the input feature data with time information, it stores the network structure and its parameters for which the learning and updating process has been completed in the analysis model storage unit 35 as a learned current bias analysis model MD in step S177.
[0108] FIG. 32 shows an example of the trained current bias analysis model MD stored in the analysis model storage unit 35.
[0109] (2) Message Learning Phase FIG. 13 is a flowchart showing an example of the processing procedure and processing content of the message classification model learning processing executed by the messaging control unit 20 of the messaging device SV in the message learning phase.
[0110] The following description is based on the assumption that the message data storage unit 41, the token storage unit 42, and the learning message label storage unit 43 store a plurality of learning message data, a token dictionary, and label data in advance.
[0111] In this state, for example, if a system administrator inputs a message learning request from an administrator terminal (not shown) and the messaging control unit 20 of the messaging device SV detects this learning request in step S40, the messaging control unit 20 of the messaging device SV sets a message learning phase and then executes the learning process of the message classification model as follows.
[0112] (2-1) Pre-processing of Message Data First, in step S41, the messaging control unit 20 of the messaging device SV pre-processes the message data under the control of the message data pre-processing unit 22 as follows.
[0113] FIG. 14 is a flowchart showing an example of the processing procedure and processing content of the message data pre-processing executed by the message-data pre-processing unit 22.
[0114] That is, first, in step S411, the message data preprocessing unit 22 reads one piece of message data from the message data storage unit 41. In the message data, for example, as shown in Fig. 33, text data representing each message is associated with a message ID.
[0115] Subsequently, in step S412, the message data preprocessing unit 22 reads the token dictionary from the token storage unit 42. In the token dictionary, each token is registered in association with a token ID, as shown in Fig. 34, for example.
[0116] Next, in step S413, the message data pre-processing unit 22 divides the read message data into multiple words, for example, by morphological analysis, and determines in step S414 whether each divided word is included in the token dictionary. If the result of this determination is that the word is included in the token dictionary, the message data pre-processing unit 22 extracts a corresponding token ID from the token dictionary in step S145. Finally, in step S146, the message data pre-processing unit 22 generates a token list consisting of the extracted token IDs and outputs the generated token list as pre-processed message data.
[0117] Thereafter, each time the message data preprocessing unit 22 reads out a piece of message data from the message data storage unit 41, it performs preprocessing on the message data in accordance with steps S412 to S417 to generate a token list, and outputs the generated token list as preprocessed message data. Figure 35 shows an example of preprocessed message data.
[0118] If the above word is not included in the token dictionary, the message data preprocessing unit 22 issues a new token ID in step S417, which is a number obtained by adding 1 to the number of tokens in the token dictionary, and associates the above word with this token ID and registers it in the token dictionary.
[0119] (2-2) Construction of a Message Classification Model Next, in step S42, the messaging control unit 20 of the messaging device SV constructs a message classification model using the message classification model construction processing unit 24. The message classification model is configured using, for example, a DNN, and receives message token data as input and outputs data representing the reward type of the message and the target action.
[0120] 40 shows an example of the network structure of a message classification model constructed by the message classification model construction processing unit 24. That is, the message classification model has an embedding layer L1 arranged as an input layer, followed in this order by a position coding layer L2, a transformer layer L3, and an output layer L4.
[0121] The embedding layer L1 extracts abstract features from the input token ID. For example, an embedding layer with input dimensions equal to the number of token types is prepared, and the layer converts the input dimensions into a feature vector with a specific number of dimensions and outputs it.
[0122] The position coding layer L2 embeds the position information of the token. More specifically, the position information of the token is transformed by a trigonometric function with a specific frequency and added to the feature vector obtained in the previous layer. Time information is added to the feature vector.
[0123] The transformer layer L3 further abstracts the abstracted feature vectors as sequence data. Specifically, it sequentially receives the sequence data and repeatedly performs nonlinear transformation on them.
[0124] The output layer L4 obtains the desired class labels from the feature vectors transformed by the Transformer layer. For example, it outputs a vector for classifying the reward type of the message and a vector for classifying the target action, and outputs the class label corresponding to the index of the vector with the maximum value.
[0125] (2-3) Learning of Message Classification Model Next, in step S43, the messaging control unit 20 of the messaging device SV, under the control of the message classification model learning processing unit 23, learns the message classification model constructed by the message classification model construction processing unit 24 as follows.
[0126] FIG. 15 is a flowchart showing an example of the processing procedure and processing content of the message classification model learning processing executed by the message classification model learning processing unit 23.
[0127] That is, first, in step S421, the message classification model learning processing unit 23 receives preprocessed message data from the message data preprocessing unit 22. Then, in step S432, label data is read from the learning message label storage unit 43. The label data of the learning message is, for example, as shown in Fig. 36, data indicating a reward type and a target behavior associated with a message ID.
[0128] Next, in step S433, the message classification model learning processor 23 associates the preprocessed message data with the label data having the same message ID. Then, in step S434, the message classification model learning processor 23 acquires the structure data of the message classification model from the message classification model construction processor 24.
[0129] Next, in step S435, the message classification model training processor 23 initializes the parameters of each layer L1 to L4 of the acquired structure data. For example, it initializes random numbers with a normal distribution having a mean of 0 and a standard deviation of 1. Then, in step S436, it trains and updates the parameters using the associated preprocessed message data and label data. The parameter training can be performed using a known technique, such as an error backpropagation algorithm, based on the error between the value output from the output layer L4 and the input label data.
[0130] The message classification model learning unit 23 repeatedly executes the model parameter learning and update process for all preprocessed message data and the corresponding label data, and then stores the finally obtained model parameters and data representing the model structure in the message classification model storage unit 44 as data representing the learned message classification model in step S437.
[0131] FIG. 41 shows an example of a trained message classification model stored in the message classification model storage unit 44.
[0132] (3) Messaging Phase (3-1) Estimation of Current Bias Figure 16 is a flowchart showing an example of the processing procedure and processing content of the current bias estimation processing performed by the current bias analysis unit 10, among the control procedures performed by the control unit 1 of the messaging device SV in the messaging phase.
[0133] For example, suppose that a target user or a system administrator inputs a messaging request for a certain user on the user terminal UT1 or the administrator terminal, the current bias analysis unit 10 of the messaging device SV detects the input of the messaging request in step S20, sets the messaging phase, and first executes the process of estimating the target user's current bias as follows:
[0134] (3-1-1) Acquisition of User Data When the messaging phase is set, the current bias analysis unit 10 first acquires, under the control of the user data acquisition processing unit 18, the user's vital data series, behavioral data series, and task data series for the most recent specified period, for example, via the communication I / F unit 4, which are sent from the user terminal UT1 used by the user who is the messaging target.
[0135] (3-1-2) Pre-processing of Vital Data Series First, in step S21, the current bias analysis unit 10 of the messaging device SV receives the vital data series of the estimation target user from the user data acquisition processing unit 18 under the control of the vital data pre-processing unit 11. Then, as in the case of the current bias learning phase described above, the current bias analysis unit 10 calculates summary statistics for the received vital data series for each predetermined time interval according to the processing procedure and processing content shown in FIG. 7, and generates a pre-processed vital data series including the calculated summary statistics.
[0136] (3-1-3) Pre-processing of Behavioral Data Series Next, in step S22, the control unit 1 of the messaging device SV receives the behavioral data series of the estimation target user from the user data acquisition processing unit 18 under the control of the behavioral data pre-processing unit 12. Then, for the received behavioral data series, similar to the case of the current bias learning phase, the control unit 1 aggregates the behavioral entries of the estimation target user by deleting duplicated behaviors and entries of a small number of behaviors according to the processing procedure and processing content shown in Fig. 8, thereby generating a pre-processed behavioral data series.
[0137] (3-1-4) Task Data Preprocessing Next, in step S23, the current bias analysis unit 10 of the messaging device SV receives the task data series of the estimation target user from the user data acquisition processing unit 18 under the control of the task data preprocessing unit 13. Then, for the received task data series, similar to the case of the current bias learning phase, it calculates the goal achievement rate for each entry and the goal progress rate for each user according to the processing procedure and processing content shown in Fig. 9, thereby generating a preprocessed task data series.
[0138] (3-1-5) Data Combining Processing Next, in step S24, the current bias analysis unit 10 of the messaging device SV receives the preprocessed vital data series, behavioral data series, and task data series under the control of the data combination processing unit 14. Then, similar to the case of the current bias learning phase, the current bias analysis unit 10 combines the preprocessed vital data series, behavioral data series, and task data series by aligning their time positions according to the processing procedure and processing content shown in FIG. 10 , and outputs the combined data as feature data of the estimation target user.
[0139] (3-1-6) Extraction of Time Information Next, in step S25, under the control of the time information extraction processing unit 15, the current bias analysis unit 10 of the messaging device SV extracts time information from the combined feature data of the estimated target user in accordance with the processing procedure and processing content shown in Figure 11, as in the case of the current bias learning phase, and adds the extracted time information to the combined feature data, thereby generating feature data with time information.
[0140] (3-1-7) Estimation of Present Bias Next, in step S26, the present bias analysis unit 10 of the messaging device SV, under the control of the present bias estimation processing unit 19, executes a process of estimating the present bias of the messaging target user as follows.
[0141] FIG. 18 is a flowchart showing an example of the procedure and content of the current bias estimation process executed by the current bias estimation processing unit 19.
[0142] That is, first, in step S261, the current bias estimation processing unit 19 receives feature data with time information of the messaging target user from the time information extraction processing unit 15. Then, in step S262, the current bias estimation processing unit 19 reads out the trained current bias analysis model MD from the analysis model storage unit 35, and in step S263, inputs the feature data with time information of the messaging target user into the read trained current bias analysis model MD.
[0143] As a result, the trained current bias analysis model MD outputs estimated data indicating the strength of the current bias of the messaging target user corresponding to the feature data with time information. In step S264, the current bias estimation processing unit 19 receives the estimated data of the current bias output from the trained current bias analysis model, and outputs the received estimated data to the messaging control unit 20 in step S265.
[0144] (3-1-8) Determination of Completion of Estimation Process In step S27, the current bias analysis unit 10 of the messaging device SV determines whether the estimation process of the current bias strength for all requested messaging target users has been completed. If there are target users for which estimation process has not yet been performed, the process returns to step S21, and thereafter, steps S21 to S27 are repeatedly executed to estimate the current bias of the target users.
[0145] On the other hand, when the process of estimating the strength of the current bias is completed for all users who are the target of messaging, the current bias analysis unit 10 of the messaging device SV returns to the standby state.
[0146] (3-2) Messaging Control FIG. 17 is a flowchart showing an example of the processing procedure and processing content of the messaging control processing executed by the messaging control unit 20 among the control procedures executed by the control unit 1 of the messaging device SV in the messaging phase.
[0147] (3-2-1) Message Pre-Processing First, in step S30, the messaging control unit 20, under the control of the message data pre-processing unit 22, performs the following pre-processing on each message data included in the message list.
[0148] That is, first, in step S411 shown in Fig. 14, the message data preprocessing unit 22 reads a message list to be used in the messaging phase from the message data storage unit 41. Then, similar to the case of the message learning phase described above, the message data preprocessing unit 22 breaks down the read message data into words, extracts token IDs corresponding to these words from the token dictionary, and generates a token list consisting of a list of the extracted token IDs, according to the processing procedure and processing contents of steps S412 to S416 in Fig. 14. Then, the generated token list is output as preprocessed message data. Note that if a word is not included in the token dictionary, this word is ignored as a non-processing target.
[0149] (3-2-2) Message Classification Processing Next, in step S31, the messaging control unit 20, under the control of the message classification processing unit 25, classifies messages as follows.
[0150] FIG. 19 is a flowchart showing an example of the processing procedure and processing contents of the message classification processing executed by the message classification processing unit 25.
[0151] That is, first, in step S311, the message classification processing unit 25 receives preprocessed message data from the message data preprocessing unit 22, and then, in step S312, reads the message classification model from the message classification model storage unit 44. Then, in step S313, the message classification processing unit 25 inputs token data included in the preprocessed message data into the message classification model and obtains data representing the reward type of the message and the target action from the message classification model. Then, in step S314, the message classification processing unit 25 outputs the data representing the reward type of the message and the target action to the message candidate extraction processing unit 26.
[0152] FIG. 37 shows an example of data representing the reward type and target behavior of a message output from the message classification processing unit 25.
[0153] (3-2-3) Extraction of Message Candidates Next, in step S32, the messaging control unit 20 extracts message candidates under the control of the message candidate extraction processing unit 26 as follows.
[0154] FIG. 20 is a flowchart showing an example of the processing procedure and processing content of the message candidate extraction processing executed by the message candidate extraction processing unit 26.
[0155] That is, the message candidate extraction processing unit 26 first receives estimated data on the strength of the current bias from the current bias analysis unit 10 in step S321, and then receives data representing the reward type of the message and the target behavior from the message classification processing unit 25 in step S322.
[0156] Next, in step S323, the message candidate extraction processor 26 refers to the strength of the current bias and the target behavior, and extracts message IDs that meet the conditions from the classified message data. For example, if the strength of the current bias is equal to or greater than a preset threshold, a message ID corresponding to an "immediate reward" reward type is extracted. On the other hand, if the strength of the current bias is less than the threshold, a message ID corresponding to an "delayed reward" reward type is extracted. The threshold can be set arbitrarily by the system administrator.
[0157] Next, in step S324, message candidate extraction processor 26 reads out message data corresponding to the message ID from message data storage unit 41. Then, in step S325, it generates a data table having the message ID, reward type, target action, and message data as attributes, and outputs the generated data table as message candidate data in step S326.
[0158] FIG. 38 shows an example of the structure of message candidate data output from the message candidate extraction processing unit 26 as a result of the above message candidate extraction processing.
[0159] (3-2-4) Message Transmission Adjustment Processing Finally, in step S33, the messaging control unit 20 executes message transmission processing and message transmission count update processing as follows under the control of the message transmission adjustment processing unit 27.
[0160] FIG. 21 is a flowchart showing an example of the processing procedure and processing content of the message transmission adjustment processing executed by the message transmission adjustment processing unit 27.
[0161] That is, first, in step S331, the message transmission adjustment processing unit 27 receives message candidate data from the message candidate extraction processing unit 26, and then in step S332, acquires the user ID of the user who is the target of messaging.
[0162] Next, in step S333, the message transmission adjustment processing unit 27 reads out from the message transmission history storage unit 45 the number of transmissions and the last transmission time corresponding to the message ID and user ID of the candidate data. Then, in step S334, the message transmission adjustment processing unit 27 selects one message ID that satisfies the pre-set transmission condition. Here, the transmission condition is set, for example, as either the message ID corresponding to the message that has been sent the fewest number of times or the message ID with the largest difference between the current time and the last transmission time. Note that the system administrator can arbitrarily decide which to set.
[0163] In step S335, the message transmission adjustment processing unit 27 reads out the message data corresponding to the selected message ID from the message data storage unit 41. Then, the message data that has been read out is transmitted from the communication I / F unit 4 to the user terminal UT1 of the user who is the target of the messaging.
[0164] In addition, after sending the message data, the message sending adjustment processing unit 27 performs an increment process in step S336 to increment the number of sendings corresponding to the corresponding message ID stored in the message sending history storage unit 45 by +1, and updates the last sending time to the current latest time.
[0165] FIG. 39 shows an example of the number of transmissions and the last transmission time stored in the message transmission history storage unit 45 after updating.
[0166] (Operations and Effects) As described above, the messaging device SV according to one embodiment provides the following operations and effects.
[0167] That is, in the present bias learning phase, the messaging device SV first performs predetermined pre-processing on vital data, behavioral data, and task data of multiple users that have been collected and accumulated in advance, and then uses feature data generated by combining the data at the same time position for each user, together with known data on the present bias of each user, to learn a present bias analysis model constructed by DNN, and stores the learned present bias analysis model MD.
[0168] Furthermore, in the message learning phase, the messaging device SV divides each of the multiple message data stored in advance into tokens through pre-processing to generate a token list, and uses this token list and the label data of the corresponding learning message to learn a message classification model constructed by DNN, and stores the message classification model after the learning process.
[0169] Then, in the messaging phase, the messaging device SV first acquires the vital data series, behavioral data series, and task data series of the user to be messaged, performs the above-mentioned specified preprocessing on each of the acquired data series, and then generates feature data of the target user by aligning and combining the time positions, and inputs the generated feature data into the trained current bias analysis model MD to obtain data representing the strength of the current bias of the target user.
[0170] Next, the messaging device SV inputs the token list of the message data included in the message list into the message classification model to classify the reward type and target action of the message data. It then determines the reward type that corresponds to the target action currently being performed by the target user and the strength of the target user's current bias, and selects message data candidates corresponding to this determination result. Furthermore, from the requested message data candidates, it selects message data whose transmission history, such as the number of transmissions and the last transmission time, corresponding to the message ID and the target user's ID satisfies preset transmission conditions, and transmits the selected message data to the user terminal of the target user.
[0171] Therefore, according to one embodiment, the current bias of a target user can be estimated without relying on a questionnaire survey, by using vital data, behavioral data, and task data acquired by vital sensors and schedulers in the target user's daily life.
[0172] According to one embodiment, message data is classified into reward types and target actions, and message data whose classified target actions correspond to the action currently being performed by the target user and whose reward type corresponds to the current bias strength of the target user is selected and presented to the target user. Therefore, message data that takes into account the type of action currently being performed by the target user and the current bias strength can be presented to the target user, thereby enabling effective messaging.
[0173] Moreover, when selecting the message data, the message data that has been sent the fewest number of times in the past or the message data that has been sent the oldest time is selected, so that it is possible to prevent the problem of the same message data being frequently presented to the target user within a relatively short period of time.
[0174] [Other Embodiments] (1) In one embodiment, the functions of the messaging device SV are provided in a single server computer located on the Web or the cloud. However, this is not limiting. The functions of the current bias analysis unit 10 and the messaging control unit 20 of the messaging device SV may be distributed across multiple server computers that can communicate with each other via a network NW, or may be provided in a user terminal or an administrator terminal, for example. In this case, a program for realizing the functions of the messaging device SV may be prepared on the server computer, and the user terminal or administrator terminal may download and use the program as needed.
[0175] (2) In one embodiment, an example has been described in which the messaging device SV is provided with storage units 31 to 33 that store vital data, behavioral data, and task data for learning, and a storage unit 34 that stores current bias data of the user to be learned. However, this is not limiting. The storage units 31 to 3, the current bias analysis data storage unit 30, and the messaging control data storage unit 40 may be provided, for example, in a data accumulation server on the cloud, and the messaging device SV may download each piece of learning data from the data accumulation server when learning the analysis model and the message classification model.
[0176] (3) In the embodiment, the current bias analysis model and the message classification model are constructed using a DNN. However, the current bias analysis model and the message classification model may be constructed using other neural networks such as a convolution neural network (CNN), a recurrent neural network (RNN), or a generative adversarial network (GAN).
[0177] (4) In addition, the functional configuration of the messaging device, the processing procedures and processing contents for executing each function, the types of vital data, the types and contents of actions and tasks, the types and configurations of message data, etc. can be modified and implemented in various ways within the scope of this invention without departing from the essential points.
[0178] Although the embodiments of the present invention have been described in detail above, the above description is merely an example of the present invention in every respect. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. In other words, when implementing the present invention, specific configurations according to the embodiments may be appropriately adopted.
[0179] In short, this invention is not limited to the above-described embodiments, and the components can be modified and embodied in practice without departing from the spirit of the invention. Furthermore, various inventions can be formed by appropriately combining multiple components disclosed in the above-described embodiments. For example, some components may be omitted from all the components shown in the embodiments. Furthermore, components from different embodiments may be appropriately combined.
[0180] SV... messaging device UT1 to UTn... user terminal NW... network 1... control unit 1A... current bias analysis unit 1B... messaging control unit 2... program storage unit 3... data storage unit 4... communication I / F unit 5... bus 10... current bias analysis unit 11... vital data preprocessing unit 12... behavioral data preprocessing unit 13... task data preprocessing unit 14... data combination processing unit 15... time information extraction processing unit 16... analysis model learning processing unit 17... analysis model construction processing unit 18... user data acquisition processing unit 19... current bias estimation processing unit 20... messaging control unit 21... message acquisition processing unit 22... message data preprocessing unit 23... message classification model learning processing unit 24... message classification model construction processing unit 25... message classification processing unit 26... message candidate extraction processing unit 27... message transmission adjustment processing unit 30... current bias analysis data storage unit 31... vital data storage unit 32... behavioral data storage unit 33... task data storage unit 34: Current bias data storage unit 35: Analysis model storage unit 40: Messaging control data storage unit 41: Message data storage unit 42: Token storage unit 43: Learning message label storage unit 44: Message classification model storage unit 45: Message transmission history storage unit
Claims
1. A system comprising: a current bias analysis unit that analyzes a current bias of a target user; and a messaging control unit that performs messaging for the target users, wherein the current bias analysis unit comprises: a first current bias learning processing unit that acquires vital data, behavioral data, and task data over a predetermined period of time for a plurality of target users, and performs a first pre-processing on the acquired vital data, behavioral data, and task data, respectively; a second current bias learning processing unit that generates feature data for the plurality of target users by combining the pre-processed vital data, behavioral data, and task data for the same target users and by aligning their positions in the time series; and a third current bias learning processing unit that generates a trained current bias analysis model by training a pre-constructed current bias analysis model having a neural network structure using the feature data for the plurality of target users and current bias data that is a correct answer, wherein the messaging control unit comprises: a first message learning processing unit that acquires a plurality of training message data, and performs a second pre-processing on each of the acquired training message data to generate a token list constituting the training message data; a second message learning processing unit that generates a learned message classification model by learning a message classification model having a pre-constructed neural network structure using the token list of a plurality of the learning message data and preset label data.
2. The current bias analysis unit further comprises: a first current bias estimation processing unit that acquires a vital data series, a behavioral data series, and a task data series related to the target user; a second current bias estimation processing unit that performs the first pre-processing on the acquired vital data series, the behavioral data series, and the task data series, respectively; a third current bias estimation processing unit that generates feature data related to the target user by aligning and combining the vital data series, the behavioral data series, and the task data series after the first pre-processing, with their positions on a time series; and a fourth current bias estimation processing unit that inputs the feature data related to the target user to the current bias analysis model, and obtains current bias estimation data of the target user from the current bias analysis model; and the messaging control unit further comprises: a first message selection processing unit that acquires a plurality of pieces of message data for presentation, performs the second pre-processing on each of the acquired message data for presentation, and generates a token list constituting the message data for presentation; 2. The messaging device according to claim 1, comprising: a second message selection processing unit that inputs the generated token list into the message classification model and obtains data representing a reward and a type of target behavior corresponding to the message data for presentation from the message classification model; a third message selection processing unit that obtains data representing a type of target behavior that the target user is currently performing or plans to perform, and selects the message data for presentation that corresponds to the obtained type of target behavior and has a type of reward that corresponds to the current bias estimation data; and a fourth message selection processing unit that outputs the selected message data for presentation to the target user.
3. The messaging device of claim 2, wherein the second current bias estimation processing unit performs at least one of data conversion processing, aggregation processing and interpolation processing on the acquired vital data series, behavioral data series and task data series, depending on the characteristics of the data.
4. The messaging device of claim 2, wherein the fourth current bias estimation processing unit extracts time information expressed in multiple units from the feature data relating to the target user based on information indicating the positions on the time series of the vital data series, the behavioral data series, and the task data series, assigns the extracted time information to the feature data, and inputs the feature data with the time information assigned to it to the current bias analysis model.
5. The messaging device of claim 2, wherein the third message selection processing unit extracts a plurality of candidates for the presentation message data that correspond to the type of target behavior of the acquired target user and have a type of reward that corresponds to the current bias estimation data, and selects, from among the plurality of candidates for the presentation message data, one whose sending history satisfies a preset condition as the presentation message data.
6. A messaging method executed by an information processing device, comprising: in a learning phase of a current bias analysis model, a first current bias learning process for acquiring vital data, behavioral data, and task data of a plurality of training target users over a predetermined period, and performing a first pre-processing on the acquired vital data, behavioral data, and task data, respectively; a second current bias learning process for generating feature data relating to the plurality of training target users by combining the pre-processed vital data, behavioral data, and task data of the same training target users and by aligning their positions on the time series; and a third current bias learning process for training a current bias analysis model having a pre-constructed neural network structure using the feature data relating to the plurality of training target users and current bias data that is a correct answer, thereby generating a trained current bias analysis model; and in a learning phase of a message classification model, a first message learning process for acquiring a plurality of training message data, and performing a second pre-processing on each of the acquired training message data, thereby generating a token list constituting the training message data; a second message learning process for generating a learned message classification model by learning a message classification model having a pre-constructed neural network structure using the token list of a plurality of the learning message data and preset label data.
7. In a messaging phase, a first current bias estimation process acquires a vital data series, a behavioral data series, and a task data series related to a target user of messaging; a second current bias estimation process performs the first pre-processing on the acquired vital data series, the behavioral data series, and the task data series, respectively; a third current bias estimation process generates feature data related to the target user by aligning and combining the vital data series, the behavioral data series, and the task data series after the first pre-processing with their positions on a time series; a fourth current bias estimation process inputs the feature data related to the target user to the current bias analysis model and acquires current bias estimation data of the target user from the current bias analysis model; a first message selection process acquires a plurality of message data for presentation, performs the second pre-processing on each of the acquired message data for presentation, and generates a token list constituting the message data for presentation; and a second message selection process inputs the generated token list to the message classification model and acquires data representing a reward and a type of target behavior corresponding to the message data for presentation from the message classification model. The messaging method according to claim 6, further comprising: a third message selection process for acquiring data representing a type of target behavior that is being performed or is scheduled to be performed by the target user, and selecting the presentation message data that corresponds to the acquired type of target behavior and has a type of reward that corresponds to the current bias estimation data; and a fourth message selection process for outputting the selected presentation message data for presentation to the target user.
8. A program for causing a processor included in a messaging device according to any one of claims 1 to 5 to execute a process executed by at least one of the processing units included in said messaging device.
Citation Information
Patent Citations
Processor, processing method, presumption device, presumption method, and program
JP2016115316A
Message transmission apparatus
JP2022055712A
