Response generation device, method, and program

The response generation system addresses the limitations of conventional devices by converting negative expressions into positive ones and calculating skill points to generate tailored responses, effectively boosting self-esteem and motivation in users.

WO2025028308A1PCT designated stage expired Publication Date: 2025-02-06MITSUI CHEMICALS INC

Patent Information

Application Number
PCT/JP2024/026029
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-03
Filing Date
2024-07-19
Publication Date
2025-02-06

AI Technical Summary

Technical Problem

Conventional response generation devices struggle to effectively address complex human emotions and psychology, often failing to provide adequate responses that boost self-esteem and motivation, especially for users feeling guilty about their actions or thoughts, due to the simplicity of template-based responses and the lack of distinctive wording.

Method used

A response generation system that includes a conversion unit to convert negative expressions into positive ones, a calculation unit to assign points based on skill relationships, and a response generation unit to create sentences that increase self-esteem and motivation, utilizing a conversion dictionary and machine learning models to generate tailored responses.

Benefits of technology

The system effectively generates response sentences that enhance self-esteem and motivation in users by converting negative expressions into positive ones and calculating skill points, providing personalized feedback that addresses users' emotional and psychological complexities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024026029_06022025_PF_FP_ABST
    Figure JP2024026029_06022025_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a conversion unit (34) that converts a negative expression included in a sentence recorded by a user into a positive expression, a calculation unit (36) that calculates points for each of a plurality of predetermined skills on the basis of the relationship between expressions included in the converted sentence and each of the plurality of predetermined skills, and a response generation unit (40) generates a response sentence for the converted sentence on the basis of the converted sentence and the points calculated for each of the plurality of skills.
Need to check novelty before this filing date? Find Prior Art

Description

Response generation device, method, and program

[0001] The present disclosure relates to a response generation device, a response generation method, and a response generation program.

[0002] Conventionally, a device has been proposed that provides information appropriate to the status of a poster who posted a message (for example, JP 2022-155034 A). This device acquires multiple messages posted by the poster, extracts multiple characteristic words that indicate the poster's status from the multiple messages, and compares the multiple characteristic words contained in the multiple messages to identify changes in the status reflected in the multiple messages posted by the poster. This device also creates a response message with content corresponding to the identified changes.

[0003] For example, members of the so-called Generation Z tend to feel guilty because they are unable to recognize the value of their actions, even though they are engaged in activities that are connected to their future or ideal selves. Also, even if they do something because they like it, if it does not lead to any beneficial results, they tend to feel guilty and feel that it is a waste of time.

[0004] In the above-mentioned conventional technology, when extracting information appropriate to the poster's status from the posted text and posting frequency, characteristic words are extracted, and changes in these words are associated with changes in the poster's status and a response based on a template is generated. Furthermore, in the conventional technology, response templates are determined in advance, and a template is selected based on the score to respond. In this case, a standard phrase is extracted from a phrase that indicates a certain characteristic, so a standard phrase related to the phrase is selected, which is a simple process. However, human emotions are complex, and multiple factors affect psychology. Furthermore, if there is no characteristic phrase, a comment may not be made.

[0005] The present disclosure has been made in consideration of the above points, and aims to provide a response generation device, method, and program that can generate response sentences that will increase the self-esteem and improve the motivation of users who feel guilty about their own words and actions.

[0006] The response generation device according to the present disclosure includes a conversion unit that converts negative expressions contained in a sentence recorded by a user into positive expressions, a calculation unit that calculates points for each of a plurality of predetermined skills based on the relationship between the expressions contained in the sentence converted by the conversion unit and each of the plurality of skills, and a response generation unit that generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

[0007] The response generation method according to the present disclosure is a response generation method executed by a response generation device including a conversion unit, a calculation unit, and a response generation unit, wherein the conversion unit converts negative expressions contained in a sentence recorded by a user into positive expressions, the calculation unit calculates points for each of a plurality of predetermined skills based on the relationship between the expressions contained in the sentence converted by the conversion unit and each of the plurality of predetermined skills, and the response generation unit generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

[0008] The response generation program of the present disclosure is a program for causing a computer to function as a conversion unit that converts negative expressions contained in a sentence recorded by a user into positive expressions, a calculation unit that calculates points for each of a plurality of predetermined skills based on the relationship between the expressions contained in the sentence converted by the conversion unit and each of the plurality of skills, and a response generation unit that generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

[0009] The response generation device, method, and program disclosed herein can generate a response that enhances the self-esteem and motivation of a user who feels guilty about their own words, actions, or thoughts.

[0010] 1 is a block diagram showing a schematic configuration of a response generation system. 2 is a block diagram showing a hardware configuration of a response generation device. 3 is a diagram for explaining an overview of services provided by the response generation system. 4 is a diagram showing an example of skill items. 5 is a block diagram showing an example of the functional configuration of a response generation device. 6 is a diagram showing an example of a goal acceptance screen. 7 is a diagram showing an example of a user DB. 8 is a diagram showing an example of a posting screen. 9 is a diagram showing an example of a diary DB. 10 is a diagram showing an example of a conversion dictionary. 11 is a diagram for explaining response generation processing. 12 is a diagram for explaining conversion from a diary to a converted sentence. 13 is a diagram showing an example of a skill correspondence DB. 14 is a diagram showing an example of a point DB. 15 is a diagram for explaining an example of generation of a summary sentence. 16 is a diagram showing an example of a short-term feedback screen. 17 is a diagram showing an example of a long-term feedback screen. 18 is a flowchart showing the flow of initial setting processing. 19 is a flowchart showing the flow of short-term response processing. 20 is a flowchart showing the flow of long-term response processing.

[0011] Hereinafter, an example of an embodiment of the present disclosure will be described with reference to the drawings.

[0012] Fig. 1 is a block diagram showing a schematic configuration of a response generation system 100 according to this embodiment. As shown in Fig. 1, the response generation system 100 includes a response generation device 10 and a plurality of user terminals 90. The response generation device 10 and each of the plurality of user terminals 90 are connected via a network. The response generation system 100 provides a response generation service via an application running on the user terminal 90.

[0013] The user terminal 90 is an information processing terminal used by a user who uses the services provided by the response generation system 100, and includes an information display function, an information input function, and a communication function. The user terminal 90 is realized, for example, by a personal computer, a tablet terminal, a smartphone, or the like.

[0014] Fig. 2 is a block diagram showing the hardware configuration of the response generation device 10. As shown in Fig. 2, the response generation device 10 has a CPU (Central Processing Unit) 12, memory 14, a storage device 16, an input device 18, an output device 20, a storage medium reader 22, and a communication I / F (Interface) 24. Each component is connected to each other via a bus 26 so as to be able to communicate with each other.

[0015] The storage device 16 stores a response generation program for executing a response generation process, including an initial setting process, a short-term response process, and a long-term response process, which will be described later. The CPU 12 is a central processing unit that executes various programs and controls each component. That is, the CPU 12 reads the program from the storage device 16 and executes the program using the memory 14 as a work area. The CPU 12 controls each component and performs various arithmetic processes in accordance with the program stored in the storage device 16.

[0016] The memory 14 is configured with RAM (Random Access Memory) and serves as a working area for temporarily storing programs and data. The storage device 16 is configured with ROM (Read Only Memory), HDD (Hard Disk Drive), SSD (Solid State Drive), etc., and stores various programs including the operating system and various data.

[0017] The input device 18 is a device for performing various inputs, such as a keyboard or a mouse. The output device 20 is a device for outputting various information, such as a display or a printer. A touch panel display may be used as the output device 20 to function as the input device 18.

[0018] The storage medium reading device 22 reads data stored in various storage media such as CD (Compact Disc)-ROM, DVD (Digital Versatile Disc)-ROM, Blu-ray Disc, and USB (Universal Serial Bus) memory, and writes data to the storage media.

[0019] The communication I / F 24 is an interface for communicating with other devices, and uses standards such as Ethernet (registered trademark), FDDI or Wi-Fi (registered trademark), or a communication means using a contracted line.

[0020] Next, an overview of the services provided by the response generation system 100 will be described with reference to FIG.

[0021] An application for using the services provided by the response generation system 100 runs on the user terminal 90. Using this application, users can post free-form writing (hereinafter referred to as "diary") about their own actions, feelings, learning, comments from others, etc. at any time. The response generation device 10 converts the posted diary into positive content. The response generation device 10 also generates a summary that summarizes the diary posts posted during a first short-term period converted into positive content.

[0022] The response generation device 10 also identifies skills related to the generated summary. Skills are abilities related to self-improvement, and examples of these include items such as those shown in FIG. 4 . The response generation device 10 then returns short-term feedback to the user terminal 90 based on the generated summary, the identified skills, etc. Furthermore, the response generation device 10 analyzes the user's strengths and behavioral achievements from the identified skills for a second long-term period, and returns long-term feedback to the user terminal 90.

[0023] In the following description, the short-term first period is one day and the long-term second period is one month, but these periods are not limited to this.

[0024] Next, the functional configuration of the response generating device 10 according to this embodiment will be described.

[0025] Fig. 5 is a block diagram showing an example of the functional configuration of the response generation device 10. As shown in Fig. 5, the response generation device 10 includes, as its functional configuration, a setting unit 32, a conversion unit 34, a calculation unit 36, a summary generation unit 38, and a response generation unit 40. In addition, a predetermined storage area of ​​the response generation device 10 stores a user DB (database) 42, a diary DB 44, a conversion dictionary 46, a skill correspondence DB 48, a points DB 50, and a response generation model 52. Each functional configuration is realized when the CPU 12 reads out a response generation program stored in the storage device 16, expands it into the memory 14, and executes it.

[0026] The setting unit 32 accepts profile information of a user who uses an application provided by the response generating device 10. For example, the setting unit 32 displays a profile acceptance screen (not shown) on the user terminal 90 and accepts the profile information from the user. The profile information includes, for example, the user's name, date of birth, gender, address, etc. Upon accepting the profile information, the setting unit 32 assigns a user ID, which is identification information for the user, and registers the profile information in the user DB 42.

[0027] The setting unit 32 also accepts and sets the skills that the user aims to achieve from among the multiple skills. For example, the setting unit 32 displays a goal acceptance screen 60 as shown in FIG. 6 on the user terminal 90 and accepts the user's selection of a goal and skills necessary to achieve the goal (hereinafter referred to as "target skills"). In the example of FIG. 6, the goal acceptance screen 60 includes a goal input area 62 for freely inputting the user's goal and a skill selection area 64 for selecting target skills related to the input goal from multiple predetermined skills. The user freely inputs abstract goals, such as the type of person the user wants to become, specific goals related to learning or work, goals related to personal development, etc., in text data into the goal input area 62. Setting the goal in this manner clarifies which skills should be selected as target skills from the multiple predetermined skills. In the skill selection area 64, the user selects one or more target skills from the multiple predetermined skills, for example, by checking a checkbox. The setting unit 32 registers the goals and target skills accepted on the goal acceptance screen 60 in the user DB 42.

[0028] 7 shows an example of the user DB 42. The user DB 42 stores profile information such as "user ID" and "name," as well as information such as set "goals" and "goal skills."

[0029] The conversion unit 34 accepts diaries posted by users. For example, the conversion unit 34 displays a posting screen 66 as shown in FIG. 8 on the user terminal 90 and accepts diary posts entered by users in a diary input area 68. The conversion unit 34 converts negative expressions (hereinafter referred to as "negative expressions") included in the accepted diary into positive expressions (hereinafter referred to as "positive expressions") using the conversion dictionary 46. The conversion unit 34 registers the accepted diary and sentences in which negative expressions have been converted into positive expressions (hereinafter referred to as "converted sentences") in the diary DB 44.

[0030] An example of the diary DB 44 is shown in FIG. 9. In the example of FIG. 9, the diary DB 44 includes a table for each user ID. Each table stores a "diary," a "conversion sentence," and a "summary sentence" (described later) in association with the "posting date and time" when the diary was posted by the user identified by the user ID corresponding to the table. In addition, the conversion dictionary 46 stores, for example, a correspondence between "positive expressions" and "negative expressions," as shown in FIG. 10.

[0031] Specifically, when the conversion unit 34 receives a diary post such as that shown in FIG. 11A , it stores the received diary in a table in the diary DB 44 corresponding to the user ID of the corresponding user, in association with the posting date and time. The conversion unit 34 also performs morphological analysis on the received diary to extract content words. The conversion unit 34 searches the “negative expressions” in the conversion dictionary 46 for each extracted content word or a term similar to the content word. A compound word of two or more content words that matches or is similar to a “negative expression” in the conversion dictionary 46 is also included in the search. Furthermore, a term similar to a content word may be, for example, converted into a word vector that semantically expresses the content word, and the term represented by the word vector may have a similarity to the word vector equal to or greater than a predetermined value. When a negative expression that matches or is similar to the extracted content word is searched for in the conversion dictionary 46, the conversion unit 34 acquires a “positive expression” corresponding to the searched negative expression. The conversion unit 34 converts the diary into a converted sentence as shown in FIG. 11(B) by replacing the negative expressions in the diary with the acquired positive expressions.

[0032] A more detailed explanation will be given using the example of post 1 in FIG. 11 . The conversion unit 34 performs morphological analysis on a diary entry such as that shown in FIG. 12A and extracts content words as shown in FIG. 12B . The conversion unit 34 searches for terms matching or similar to each extracted content word registered as a negative expression in the conversion dictionary 46. In this case, if the preceding and following content words form a conjugation, the conversion unit 34 searches for the conjugation as a single content word. For example, the conversion dictionary 46 shown in FIG. 10 registers "gorogoro suru" (to roll around) as a negative expression. Therefore, the conversion unit 34 identifies the extracted content word "gorogoro shimashita" (to roll around) as a negative expression and acquires the corresponding positive expression "to devote myself to resting" (to rest) from the conversion dictionary 46. If a negative expression matching or similar to the extracted content word is not registered in the conversion dictionary 46, the content word is not subject to conversion. In the example of FIG. 12C, among the extracted content words, the underlined content words or their collocations are negative expressions.

[0033] The conversion unit 34 replaces the content word for which a corresponding positive expression has been acquired with the positive expression, as shown in Fig. 12(D). The conversion unit 34 constructs a sentence using the replaced positive expression and the content words not to be converted ("report" and "house" in the example of Fig. 12), thereby generating a converted sentence as shown in Fig. 12(E). Note that positive expressions originally included in the diary before conversion are also included as they are in the converted sentence.

[0034] In the above example, a case where a diary is converted into a converted sentence using the conversion dictionary 46 has been described, but conversion may also be performed using a machine learning model. In this case, a plurality of pairs of a diary and a correct converted sentence into which the diary is converted are prepared, and these are used as training data to train a machine learning model such as a generative AI. Then, the conversion unit 34 may input the received diary into the machine learning model to obtain the converted sentence.

[0035] The calculation unit 36 ​​calculates points for each of a plurality of skills based on the relationship between the terms included in the converted sentence converted by the conversion unit 34 and each of a plurality of predetermined skills. Specifically, the calculation unit 36 ​​refers to the skill correspondence DB 48 to identify skills corresponding to actions, feelings, etc. (hereinafter referred to as "actions, etc.") included in the converted sentence, as shown in FIG. 11C . The skill correspondence DB 48 stores actions, etc. for improving each skill in association with each skill, as shown in FIG. 13 , for example. For example, the calculation unit 36 ​​divides the converted sentence into predetermined units such as sentences or phrases, searches the skill correspondence DB 48 for actions, etc. that match or are similar to the actions, etc. indicated by the divided parts, and identifies skills corresponding to the found actions, etc. The calculation unit 36 ​​calculates the number of times a skill is identified from the converted sentence as the points for each skill.

[0036] The calculation unit 36 ​​registers the calculated points in a points DB 50 such as that shown in Fig. 14. In the example of Fig. 14, the points DB 50 includes a table for each user ID. Each table stores, for a user indicated by the user ID corresponding to that table, a "skill" identified from a converted sentence obtained by converting the diary, in association with the "posting date and time" of the diary, and a "point" represented by the number of times that skill was identified from one converted sentence.

[0037] The summary generation unit 38 generates a summary, for example, as shown in FIG. 11 (D), based on one or more converted sentences converted by the conversion unit 34 from the diaries posted during a first short-term period (here, one day). The summary generation method may be any existing method, such as a method using a pre-trained machine learning model or a method generating the summary based on predetermined rules, and therefore a detailed description thereof will be omitted here. The summary generation unit 38 may also generate a summary directly from multiple converted sentences, or may generate a summary for one day by summarizing each converted sentence and then combining these summaries, as shown in FIG. 15 . The summary generation unit 38 registers the generated summary in the diary DB 44.

[0038] The response generation unit 40 generates response sentences that serve as comments or advice regarding the daily sentence posts, the converted sentences, the summarized sentences, and the points of each skill, based on the diary, the converted sentences, the summarized sentences, and the points of each skill. Specifically, the response generation unit 40 extracts or generates keywords to be input to the response generation model 52, based on the diary, the converted sentences, the summarized sentences, and the points of each skill.

[0039] More specifically, the response generation unit 40 refers to the point DB 50 and tallies up the points for each skill calculated from each converted sentence for one day. For example, assume that the points for each skill have been calculated for a user with user ID: 001, as shown in the point DB 50 of FIG. 14. In this case, the response generation unit 40 tallies up the skill points for one day, as shown in (E) of FIG.

[0040] The response generation unit 40 also extracts or generates keywords that can enhance the user's self-esteem and motivation based on the diary entry, the converted sentence, the summary, and the daily accumulated skill points. For example, the response generation unit 40 extracts words whose parts of speech are nouns contained in the diary entry as essential noun keywords. In the example of FIG. 11 , for example, words such as "report," "part-time job," and "job offer" are extracted. Furthermore, for example, the response generation unit 40 extracts, as positive keywords, parts of the converted sentences that contain positive expressions converted from negative expressions in the original diary entry. In the example of FIG. 11 , for example, "I didn't want to go, but I had no choice but to go" in post 2 is converted into a positive expression, resulting in "I was able to go (to my part-time job)" being extracted as a positive keyword. Furthermore, "I talked too much with the manager and ended up getting home late" in post 2 is converted into a positive expression, resulting in "I was able to talk (to the manager)" being extracted as a positive keyword. In addition, the phrase "I was anxious because I didn't get a job offer" in post 3 is converted into a positive expression, "I'll try my best to get one," which is extracted as a positive keyword.

[0041] The response generation unit 40 also summarizes actions expressed as "I was able to do something" in the converted sentence or the summary sentence, generating a keyword expressing motivation. In the example of FIG. 11 , for example, a keyword expressing motivation, such as "I was able to have a good time at my part-time job," is generated by summarizing the summary sentences "I was able to go (to work)" and "I was able to talk a lot." The response generation unit 40 also generates a self-development keyword in the converted sentence by combining a skill for which points have been calculated by the calculation unit 36 ​​with a self-development expression corresponding to that skill. In the example of FIG. 11 , for example, the self-development keyword "improved self-development" is generated by combining the 2-point skill "self-discipline" with the self-development expression "improvement." The response generation unit 40 also generates a compliment keyword in the converted sentence by combining a skill for which points have been calculated by the calculation unit 36 ​​with a compliment. In the example of FIG. 11, for example, the two-point skill "sincerity" and the compliment "sincerity" are combined to generate a compliment keyword "sincerity / splendid."

[0042] The response generation unit 40 generates a response sentence using a response generation model 52, which is a machine learning model such as a generation AI that has been trained in advance to generate a response sentence based on the input keywords. Specifically, the response generation unit 40 inputs the extracted or generated keywords into the response generation model 52 to generate, for example, a response sentence as shown in (F) of FIG. 11 .

[0043] The response generation unit 40 may refer to the user DB 42 and use the target skill selected by the user as the skill when generating the self-improvement keywords and the praise keywords. The response generation unit 40 may also extract or generate two or more keywords using skills, such as the self-improvement keywords and the praise keywords. This generates a response sentence using keywords corresponding to at least two or more skills. For example, if only a keyword using the skill "ambition" is extracted or generated as a skill-based keyword, a response sentence such as "You're wonderful for being positive and working hard" is generated. On the other hand, if keywords using the two skills "ambition" and "leadership" are extracted or generated, a response sentence such as "It's wonderful to see you working hard and staying positive, but if you share your efforts with everyone on your team, it will inspire your teammates to work hard too" can be generated.

[0044] Furthermore, the response generation model 52 may be a model trained using, instead of keywords, a diary, a converted sentence, a summary, skill points, and a comment that is the correct answer as training data. In this case, the response generation model 52 is configured to generate a response sentence that is a comment when a diary, a converted sentence, a summary, and skill points are input. In this case, the response generation model 52 may be configured so that the above-mentioned keywords are extracted or generated within the response generation model 52. Furthermore, the generation of a response sentence is not limited to using the response generation model 52, and may also be generated by assembling the extracted or generated keywords based on predetermined rules.

[0045] The response generation unit 40 transmits the daily feedback including the summary generated by the summary generation unit 38, information on the points for each skill for one day, and the generated response sentence to the user terminal 90. On the user terminal 90, for example, a short-term feedback screen 70 as shown in Fig. 16 is displayed. In the example of Fig. 16, the short-term feedback screen 70 includes a summary display area 72 in which the daily summary sentence is displayed, a skill display area 74 in which the skills for which points have been calculated are displayed, and a response sentence display area 76 in which the generated response sentence is displayed.

[0046] The response generation unit 40 also generates a response sentence based on the change in points for each of a plurality of skills over a longer second period (here, one month), which is longer than a shorter first period (here, one day). Specifically, the response generation unit 40 identifies skills whose points are increasing over a one-month period. The response generation unit 40 may identify two or more skills, including the target skill selected by the user, from among the skills whose points are increasing. The response generation unit 40 generates a response sentence according to the increase in points for the identified skills. For example, if the points for the skill "ambition" are constantly increasing over the course of a month, the response generation unit 40 generates a response sentence such as "It's great that you always make constant efforts. Your efforts will always be rewarded." Furthermore, if the points are increasing sharply near the end of the month, the response generation unit 40 generates a response sentence such as "You worked hard towards your goal. If you can keep going, it will be a great help."

[0047] The response generation unit 40 may prepare response sentence templates according to the skill and point increase trend in advance, and generate a response sentence using a template selected according to the identified skill and point increase trend. Similarly to the above-described daily response sentence, the response generation unit 40 may generate a response sentence using the response generation model 52. The response generation model 52 used here may be a machine learning model such as a generation AI that is pre-trained to generate a response sentence when one month's worth of points for each skill are input.

[0048] Furthermore, the response generation unit 40 may generate a response sentence including at least one suggestion of a job type, industry, and lifestyle to which the person may be adapted, based on the skill whose points have increased over the past month. In this case, the response generation unit 40 determines in advance the relationship between the improvement of a skill and the job type, industry, lifestyle, etc. to which the person may be adapted. The response generation unit 40 may then identify the skill whose points have increased, and generate a suggestion of a job type, industry, lifestyle, etc. to which the person may be adapted, based on the identified skill and this relationship.

[0049] Furthermore, the response generation unit 40 may generate a response sentence that includes content based on the monthly tally of the points for each skill and content that takes into account the characteristics of the corresponding month in the year. For example, suppose the points for the skill "self-reflection" in March were higher than those in February. In this case, the response generation unit 40 may generate a response sentence for March such as, "This month, my self-reflection has increased compared to last month. This month was a month of a lot of self-reflection, but that reflection has given me the motivation to move forward." Also, suppose the points for the skill "ambition" increased in April. In this case, the response generation unit 40 may generate a response sentence for April such as, "Ambition is increasing. It's wonderful that you were able to welcome the new year with a positive attitude. Let's work hard with this attitude next month." taking into account the year in April.

[0050] In addition, when including comments comparing points on a monthly basis, in order to smooth out the difference in the number of posts per month, you can use a ratio expressed as the sum of the points for each skill in that month to the sum of the points for all skills in that month.

[0051] When the response generation unit 40 generates multiple response sentences, it combines these response sentences into a final response sentence and transmits one-month feedback including the generated response sentences to the user terminal 90. The user terminal 90 displays, for example, a long-term feedback screen 78 as shown in FIG. 17 . In the example of FIG. 17 , the long-term feedback screen 78 includes a response sentence display area 80 in which the generated response sentences are displayed. The response generation unit 40 may also include in the one-month feedback whether the points of the target skill selected by the user have increased based on the points of each skill for one month. In this case, the long-term feedback screen 78 may include a target skill improvement degree display area 82 as shown in FIG. 17 . In the example of FIG. 17 , the improvement degree of the target skill is represented by the number of upward arrows (↑). The improvement degree may be calculated based on the increasing trend of points for each skill over the month, a comparison with points in the previous month, or the like.

[0052] Next, the operation of the response generation system 100 according to this embodiment will be described.

[0053] Fig. 18 is a flowchart showing the flow of initial setting processing executed by the CPU 14 of the response generation device 10. Fig. 19 is a flowchart showing the flow of short-term response processing executed by the CPU 14 of the response generation device 10. Fig. 20 is a flowchart showing the flow of long-term response processing executed by the CPU 14 of the response generation device 10. The CPU 14 reads the response generation program from the storage device 16, expands it in the memory 14, and executes it, causing the CPU 14 to function as each functional component of the response generation device 10 and executes each of the initial setting processing, short-term response processing, and long-term response processing. Note that the response generation processing including the initial setting processing, short-term response processing, and long-term response processing is an example of a response generation method of the present disclosure.

[0054] First, the initial setting process will be described with reference to FIG.

[0055] In step S10, the setting unit 32 displays a profile reception screen on the user terminal 90 and receives profile information from the user. The setting unit 32 then assigns a user ID and registers the profile information in the user DB .

[0056] Next, in step S12, the setting unit 32 displays the goal acceptance screen 60 on the user terminal 90, sets the goal entered in the goal input area 62 of the goal acceptance screen 60, and registers it in the user DB 42. Next, in step S14, the setting unit 32 sets the skill selected in the skill selection area 64 of the goal acceptance screen 60 as the user's target skill, and registers it in the user DB 42, and the initial setting process ends.

[0057] Next, the short-term response process will be described with reference to FIG.

[0058] In step S20, the conversion unit 34 displays the posting screen 66 on the user terminal 90, accepts a diary post entered by the user in the diary input area 68, and registers the diary post in the diary DB 44. Next, in step S22, the conversion unit 34 converts negative expressions contained in the accepted diary into positive expressions and registers the converted sentences in the diary DB 44.

[0059] Next, in step S24, the calculation unit 36 ​​determines whether or not one day, which is the first short-term period, has ended. If one day has not ended, the process returns to step S20, and if one day has ended, the process proceeds to step S26.

[0060] In step S26, the calculation unit 36 ​​refers to the skill correspondence DB 48 to identify skills corresponding to the actions, etc. included in the converted sentences for one day, and calculates the number of times a skill is identified from the converted sentences as points for each skill. The calculation unit 36 ​​then registers the points calculated for the identified skills in the point DB 50. Next, in step S28, the summary generation unit 38 generates a summary sentence for one day based on one or more converted sentences converted from the diary for one day by the conversion unit 34, and registers the summary sentence in the diary DB 44.

[0061] Next, in step S30, the response generation unit 40 refers to the point DB 50 and totals the skill points for one day from the points for each skill calculated from each converted sentence for one day. The response generation unit 40 also extracts or generates keywords that can enhance the user's self-esteem and improve their motivation based on the diary, converted sentences, summary sentences, and the totaled skill points for one day. The response generation unit 40 then inputs the extracted or generated keywords into the response generation model 52 to generate a response sentence.

[0062] Next, in step S32, the response generator 40 transmits the summary, information about the points for each skill for one day, and the feedback for one day including the generated response to the user terminal 90, and the short-term response process ends. As a result, the short-term feedback screen 70 is displayed on the user terminal 90, and the user can check the feedback for one day's posts.

[0063] Next, the long-term response process will be described with reference to FIG.

[0064] In step S40, the response generator 40 determines whether the long-term second period of one month has ended. If the one month has not ended, the determination in this step is repeated. If the one month has ended, the process proceeds to step S42.

[0065] In step S42, the response generation unit 40 identifies skills whose points are increasing over a one-month period. Next, in step S44, the response generation unit 40 generates a response sentence according to the point increase trend of the identified skill, such as whether the increase in points is constant or concentrated at the end of the month.

[0066] Next, in step S46, the response generation unit 40 generates a response sentence including at least one suggestion of a job type, industry, and lifestyle to which the employee may be potentially suited, based on the skills whose points have increased over the past month. Next, in step S48, the response generation unit 40 generates a response sentence including, for example, a comparison with the points from the previous month, based on the results of tallying the points for each skill on a monthly basis. The response generation unit 40 also generates a response sentence including content that takes into account the characteristics of the relevant month of the year.

[0067] Next, in step S50, the response generation unit 40 calculates the degree of improvement of the target skill by comparing the trend in point increases for the target skill over the past month with points for the previous month and the like. Next, in step S52, the response generation unit 40 transmits a final response sentence summarizing the generated response sentences and one-month feedback including the degree of improvement of the target skill to the user terminal 90, and the long-term response processing ends. As a result, a long-term feedback screen 78 is displayed on the user terminal 90, and the user can check the feedback for one month's worth of posts.

[0068] In the above-described long-term response process, the response sentences generated in steps S44 to S48 are combined into a final response sentence, but it is not necessary to generate all of the response sentences. The final response sentence may be a combination of the response sentences generated by executing at least one of steps S44 to S48.

[0069] As described above, according to the response generation system of this embodiment, the response generation device converts negative expressions contained in a diary posted by a user into positive expressions. The response generation device also calculates points for each of a plurality of predetermined skills based on the relationship between the terms contained in the converted converted sentence and each of the plurality of skills. The response generation device then generates a response to the diary based on the diary, the converted sentence, and the points for each of the plurality of skills. This makes it possible to generate a response that increases the self-esteem and motivation of a user who feels guilty about their own words, actions, or thoughts, compared to when a response is generated based on characteristic words contained in the diary.

[0070] <Modification 1> In Modification 1, the content of a diary posted by a user is subjected to sentiment analysis, and it is determined whether each word included in the diary is positive or negative. Then, pairs of words determined to be positive or similar to such words and their corresponding negative expressions are added to the conversion dictionary 46 used in the above embodiment. This makes it easier for the conversion unit 34 to convert negative expressions into positive expressions that the user himself or herself is likely to use.

[0071] In addition, if conversion is performed using a machine learning model rather than the conversion dictionary 46, pairs of words determined to be positive from the diary or words similar to those words and corresponding negative expressions for those words can be added to the training data and the machine learning model can be retrained.

[0072] <Variation 2> For example, users of Generation Z and the like tend to place importance on "being themselves" and "what kind of person they are." Therefore, in Variation 2, the system learns the writing tendencies of each user based on frequently occurring words contained in the sentences entered by the user, and generates a response sentence based on the user's tendencies based on the learning results. Specifically, words that frequently appear in the diary posted by the user and in the goals set by the user are extracted, and these words are included in the keywords. The response generation model 52 is trained to generate a response sentence using these words or positive expressions similar to these words. This makes it possible to generate a response sentence that refers to the user's tendencies and values.

[0073] <Modification 3> In the above embodiment, the case where all of the response generation processing is executed by the response generation device 10 has been described, but in Modification 3, all or part of the functional units of the response generation device 10 are provided in an application running on the user terminal 90. As a result, all or part of the response generation processing is executed by the application on the user terminal 90.

[0074] When all or part of the response generation process is executed on the user terminal 90 side, a storage device provided inside the user terminal 90 or an external storage device is used.

[0075] Furthermore, the response generation process executed by the CPU after reading the software (program) in each of the above embodiments may be executed by various processors other than the CPU. Examples of such processors include programmable logic devices (PLDs) whose circuit configuration can be changed after manufacture, such as field-programmable gate arrays (FPGAs), and dedicated electrical circuits, such as application-specific integrated circuits (ASICs), which are processors with circuit configurations specifically designed to execute specific processes. Furthermore, a digital signal processor (DSP) capable of parallel processing of not only addition but also multiplication may also be used as a processor other than a CPU. The response generation process may be executed by one of these various processors, or by a combination of two or more processors of the same or different types (e.g., multiple FPGAs, or a combination of a CPU and an FPGA). The hardware structure of these various processors is, more specifically, an electrical circuit combining circuit elements such as semiconductor devices.

[0076] In addition, in each of the above embodiments, the response generation program is described as being pre-stored (installed) in a storage device, but this is not limiting. The program may be provided in a form recorded on a recording medium such as a CD-ROM, a DVD-ROM (Digital Versatile Disc Read Only Memory), or a USB (Universal Serial Bus) memory. The program may also be downloaded from an external device via a network.

[0077] The following supplementary items are disclosed:

[0078] (Supplementary Item 1) A response generation device including: a conversion unit that converts negative expressions contained in a sentence recorded by a user into positive expressions; a calculation unit that calculates points for each of a plurality of predetermined skills based on a relationship between an expression contained in the sentence converted by the conversion unit and each of the plurality of skills; and a response generation unit that generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

[0079] (Supplementary Item 2) The response generation device according to Supplementary Item 1, further comprising a summary generation unit that generates a summary of one or more sentences recorded during a predetermined first period and converted by the conversion unit, wherein the response generation unit further uses the summary generated by the summary generation unit to generate the response.

[0080] (Supplementary Item 3) The response generation device according to Supplementary Item 2, wherein the response generation unit generates the response sentence including, from among the sentences converted by the conversion unit or the terms contained in the summary sentence, an expression corresponding to a skill to which points have been added by the calculation unit, and a positive expression corresponding to the expression.

[0081] (Supplementary Item 4) The response generation device according to Supplementary Item 3, wherein the response generation unit generates the response sentence using expressions corresponding to at least two or more skills among the terms included in the summary sentence when there are two or more skills to which points have been added by the calculation unit.

[0082] (Supplementary Item 5) The response generation device according to any one of Supplementary Items 2 to 4, wherein the response generation unit generates the response sentence based on a change in points of each of the plurality of skills in a second period that is longer than the first period.

[0083] (Supplementary Item 6) The response generation device according to Supplementary Item 5, wherein the response generation unit generates the response sentence according to a trend of increase in points for a skill whose points are increasing during the second time period.

[0084] (Supplementary Item 7) The response generation device according to Supplementary Item 5 or Supplementary Item 6, wherein the response generation unit generates the response sentence including a suggestion of at least one of a job type, an industry, and a lifestyle to which the user may be potentially adapted, based on the skill whose points have increased during the second period.

[0085] (Supplementary Item 8) A response generation device according to any one of Supplementary Items 1 to 7, further comprising a setting unit that sets a skill that the user is aiming for from among the plurality of skills, and the response generation unit generates the response sentence related to the skill that the user is aiming for.

[0086] (Supplementary Item 9) The response generation device according to any one of Supplementary Items 1 to 8, wherein the conversion unit converts the sentence recorded by the user based on a correspondence relationship between positive expressions and negative expressions, and adds the positive expressions contained in the sentence recorded by the user to the correspondence relationship.

[0087] (Supplementary Item 10) The response generation device according to any one of Supplementary Items 1 to 9, wherein the response generation unit learns the tendencies of each user's writing based on frequently occurring words contained in sentences recorded by the user, and generates the response sentence based on the tendencies of the user based on the learning results.

Claims

1. A response generation device comprising: a conversion unit that converts negative expressions contained in a sentence recorded by a user into positive expressions; a calculation unit that calculates points for each of a plurality of predetermined skills based on a relationship between the expressions contained in the sentence converted by the conversion unit and each of the plurality of skills; and a response generation unit that generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

2. A response generation device as described in claim 1, further comprising a summary generation unit that generates a summary of one or more sentences recorded during a specified first period and converted by the conversion unit, wherein the response generation unit further uses the summary generated by the summary generation unit to generate the response.

3. The response generation device of claim 2, wherein the response generation unit generates the response sentence including an expression corresponding to a skill to which points have been added by the calculation unit, and a positive expression corresponding to the expression, from among the terms contained in the sentence converted by the conversion unit or the summary sentence.

4. The response generation device of claim 3, wherein when there are two or more skills to which points have been added by the calculation unit, the response generation unit generates the response sentence using expressions corresponding to at least two or more skills among the terms contained in the summary sentence.

5. A response generation device described in any one of claims 2 to 4, wherein the response generation unit generates the response sentence based on changes in points of each of the multiple skills during a second period that is longer than the first period.

6. The response generation device according to claim 5, wherein the response generation unit generates the response sentence according to the trend of increase in points for a skill whose points are increasing during the second period.

7. The response generation device of claim 5, wherein the response generation unit generates the response sentence including at least one suggestion of a job type, industry, and lifestyle that may be suitable based on the skill whose points have increased during the second period.

8. A response generation device as described in any one of claims 1 to 4, further comprising a setting unit that sets a skill that the user is aiming for among the plurality of skills, and the response generation unit generates the response sentence related to the skill that the user is aiming for.

9. A response generation device as described in any one of claims 1 to 4, wherein the conversion unit converts the sentence recorded by the user based on a correspondence relationship between positive expressions and negative expressions, and adds the positive expressions contained in the sentence recorded by the user to the correspondence relationship.

10. A response generation device as described in any one of claims 1 to 4, wherein the response generation unit learns the writing tendencies of each user based on frequent words contained in sentences recorded by the user, and generates the response sentence based on the user's tendencies based on the learning results.

11. A response generation method executed by a response generation device including a conversion unit, a calculation unit, and a response generation unit, wherein the conversion unit converts negative expressions contained in a sentence recorded by a user into positive expressions, the calculation unit calculates points for each of a plurality of predetermined skills based on a relationship between the expressions contained in the sentence converted by the conversion unit and each of a plurality of predetermined skills, and the response generation unit generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

12. A response generation program for causing a computer to function as: a conversion unit that converts negative expressions contained in a sentence recorded by a user into positive expressions; a calculation unit that calculates points for each of a plurality of predetermined skills based on the relationship between an expression contained in the sentence converted by the conversion unit and each of the plurality of skills; and a response generation unit that generates a response sentence to the sentence converted by the conversion unit based on the sentence converted by the conversion unit and the points for each of the plurality of skills calculated by the calculation unit.

Citation Information

Patent Citations

  • Extraction equipment, extraction method and program thereof, support device, and display controller

    JP2016189089A

  • Modifying text according to a specified attribute

    US20210165960A1

Cited By

  • system

    JP2026155637A