Information processor, information processing method, and information processing program

The information processing device uses a generative model and reinforcement learning to address the issue of inappropriate document data division, enabling efficient and accurate character string selection for improved user operations.

JP2024145589APending Publication Date: 2024-10-15FUJIFILM CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023058014
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing document processing technologies fail to divide document data at appropriate positions, leading to inefficient user operations during copy operations.

Method used

An information processing device that utilizes a generative model to divide document data into character strings based on evaluation values derived from various matching metrics, and employs reinforcement learning to refine the division process, ensuring accurate and user-friendly document data segmentation.

Benefits of technology

Enables document data to be divided at appropriate positions, enhancing user operation efficiency by supporting accurate and intuitive selection of character strings during copy operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024145589000001_ABST
    Figure 2024145589000001_ABST
Patent Text Reader

Abstract

To provide an information processor, an information processing method, and an information processing program that can divide document data at an appropriate division position.SOLUTION: An information processor generates a first character string set by dividing first document data into pieces of different lengths, uses the first character string set and second document data created from the first document data according to a purpose to derive an evaluation value for each character string constituting the first character string set, and selects, on the basis of the derived evaluation value, a plurality of character strings from the first character string set as correct answer data for a generation model where document data is input and a second character string set including the plurality of character strings included in the input document data is output.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device, an information processing method, and an information processing program. [Background technology]

[0002] Patent Document 1 discloses a technique in which a summarization device that generates a summary from a document analyzes the document to generate document data, and extracts multiple sentences with high importance scores from the generated document data as important sentences. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-121139 A Summary of the Invention [Problem to be solved by the invention]

[0004] For example, when a user performs a copy operation on a character string in document data, the user selects the range of the character string that the user wants to copy. In this case, when the user specifies a specific portion of the document data, such as when the user places the mouse cursor on a specific position in the document data, it is preferable to automatically select the range of the character string that the user desires in order to support the user's operation. In other words, it is preferable to divide the document data at an appropriate division position that the user desires.

[0005] However, in the technology described in Patent Document 1, since the document data is divided according to preset rules such as morphological analysis and syntactic analysis, there are cases where the document data cannot be divided at appropriate division positions.

[0006] The present disclosure has been made in consideration of the above circumstances, and has an object to provide an information processing device, an information processing method, and an information processing program that are capable of dividing document data at appropriate division positions. [Means for solving the problem]

[0007] The information processing device of the present disclosure is an information processing device having at least one processor, which acquires first document data, generates a first set of strings by dividing the first document data into pieces of different lengths, derives an evaluation value for each string that constitutes the first set of strings using the first set of strings and second document data created from the first document data for a specific purpose, and selects multiple strings from the first set of strings as correct answer data for a generation model that uses document data as input and outputs a second set of strings including multiple strings included in the input document data based on the derived evaluation values.

[0008] In addition, the information processing method disclosed herein is a process executed by a processor provided in an information processing device to acquire first document data, generate a first set of strings by partitioning the first document data at different lengths, derive an evaluation value for each string that constitutes the first set of strings using the first set of strings and second document data created from the first document data for a specific purpose, and select, based on the derived evaluation value, multiple strings from the first set of strings as correct answer data for a generative model that uses document data as input and outputs a second set of strings including multiple strings included in the input document data.

[0009] In addition, the information processing program of the present disclosure is configured to cause a processor provided in an information processing device to execute a process of acquiring first document data, generating a first set of strings by dividing the first document data into pieces of different lengths, deriving an evaluation value for each string that constitutes the first set of strings using the first set of strings and second document data created from the first document data for a specific purpose, and selecting, based on the derived evaluation values, multiple strings from the first set of strings as correct answer data for a generative model that uses document data as input and outputs a second set of strings including multiple strings included in the input document data.

[0010] In addition, the information processing device of the present disclosure is an information processing device including at least one processor, in which the processor acquires first document data, uses the document data as input, and generates a set of strings corresponding to the first document data by inputting the first document data to a generative model that outputs a set of strings including multiple strings contained in the input document data, and derives an evaluation value of the set of strings as a reward when performing reinforcement learning on the generative model using the generated set of strings and second document data created from the first document data according to a purpose.

[0011] In addition, the information processing method disclosed herein is a process executed by a processor provided in the information processing device to acquire first document data, input the document data to a generative model that uses the document data as input and outputs a set of strings including a plurality of strings contained in the input document data, thereby generating a set of strings corresponding to the first document data, and use the generated set of strings and second document data created from the first document data for a specific purpose to derive an evaluation value of the set of strings as a reward for reinforcement learning of the generative model.

[0012] In addition, the information processing program of the present disclosure is for causing a processor provided in the information processing device to execute a process of acquiring first document data, inputting the document data into a generative model that uses the document data as input and outputs a set of strings including multiple strings contained in the input document data, thereby generating a set of strings corresponding to the first document data, and using the generated set of strings and second document data created from the first document data for a specific purpose, deriving an evaluation value of the set of strings as a reward when performing reinforcement learning on the generative model. Effect of the Invention

[0013] According to the present disclosure, document data can be separated at appropriate separation positions. [Brief description of the drawings]

[0014] [Figure 1]FIG. 2 is a block diagram showing an example of a hardware configuration of an information processing device. [Diagram 2] FIG. 1 is a diagram for explaining a generation model. [Diagram 3] FIG. 13 is a diagram for explaining a generation model according to a modified example. [Figure 4] 3A and 3B are diagrams showing an example of first document data and second document data. [Diagram 5] 3 is a block diagram showing an example of a functional configuration of the information processing device in a learning phase according to the first embodiment. FIG. [Figure 6] FIG. 4 is a diagram for explaining a generation process of a first character string set according to the first embodiment. [Figure 7] FIG. 11 is a diagram for explaining a process of deriving an evaluation value. [Figure 8] 5 is a flowchart showing an example of a learning process according to the first embodiment. [Figure 9] 1 is a block diagram showing an example of a functional configuration of an information processing device in an operation phase. FIG. [Figure 10] FIG. 4 is a diagram showing an example of a display screen. [Figure 11] FIG. 13 is a diagram showing an example of a display screen according to a modified example. [Figure 12] FIG. 13 is a diagram showing an example of a display screen according to a modified example. [Figure 13] FIG. 13 is a diagram showing an example of a display screen according to a modified example. [Figure 14] FIG. 13 is a diagram showing an example of a display screen according to a modified example. [Figure 15] FIG. 13 is a diagram showing an example of a display screen according to a modified example. [Figure 16] 13 is a flowchart illustrating an example of an operation support process. [Figure 17] FIG. 11 is a block diagram showing an example of a functional configuration of an information processing device in a learning phase according to a second embodiment. [Figure 18] FIG. 11 is a diagram for explaining a process for generating a first character string set according to the second embodiment. [Figure 19] FIG. 11 is a diagram for explaining a character string selection process. [Figure 20] 10 is a flowchart showing an example of a learning process according to the second embodiment. [Figure 21] FIG. 13 is a block diagram showing an example of a functional configuration of an information processing device in a learning phase according to a third embodiment. [Figure 22] 13 is a flowchart showing an example of a learning process according to the third embodiment. [Figure 23] 13A and 13B are diagrams for explaining a process for presenting a character string set according to a modified example. [Figure 24] FIG. 13 is a diagram for explaining a conversion model. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, examples of embodiments for carrying out the technology of the present disclosure will be described in detail with reference to the drawings.

[0016] [First embodiment] First, a hardware configuration of an information processing device 10 according to the present embodiment will be described with reference to Fig. 1. Examples of the information processing device 10 include a computer such as a personal computer or a server computer. As shown in Fig. 1, the information processing device 10 includes a CPU (Central Processing Unit) 20, a memory 21, a storage unit 22, a display 23, an input device 24, and a network I / F (Interface) 25.

[0017] The CPU 20 realizes a functional configuration described below by executing a program stored in a storage unit 22 described below. The CPU 20 is an example of a processor according to the disclosed technology.

[0018] The memory 21 includes a storage unit 22 and a RAM (Random Access Memory) 26. The RAM 26 is a memory for primary storage, and is, for example, a RAM such as an SRAM (Static Random Access Memory) or a DRAM (Dynamic Random Access Memory).

[0019] The storage unit 22 is a non-volatile memory, and is realized by, for example, at least one of a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. An information processing program 30 is stored in the storage unit 22 as a storage medium. The CPU 20 reads the information processing program 30 from the storage unit 22, expands it in the memory 21, and executes the expanded information processing program 30.

[0020] The storage unit 22 also stores a generative model 32, document data 34, and document data 36. The document data 34 is an example of first document data related to the disclosed technology, and the document data 36 is an example of second document data related to the disclosed technology.

[0021] The display 23 is a device for displaying various screens, and is, for example, a liquid crystal display or an EL (Electro Luminescence) display. The input device 24 is a device for a user to input, and is, for example, at least one of a keyboard, a mouse, a microphone for voice input, a touch pad for proximity input including contact, and a camera for gesture input. The network I / F 25 is an interface for connecting to a network. The bus 27 connects the CPU 20, the memory 21, the storage unit 22, the display 23, the input device 24, and the network I / F 25.

[0022] As shown in FIG. 2, the generative model 32 receives document data as input and outputs a set of character strings including a plurality of character strings contained in the input document data. In this embodiment, the generative model 32 outputs a set of character strings by extracting a plurality of different character strings from the input document data, but the disclosed technology is not limited to this aspect. For example, as shown in FIG. 3, the generative model 32 generates symbols (in the example of FIG. 3, <sep>) to output a set of strings including a plurality of different strings separated at the delimiter positions. The generative model 32 is trained in a learning phase, which will be described later, so as to output a set of strings separated at desired delimiter positions.

[0023] The document data 34 is source document data. As shown in Fig. 4, the document data 36 is document data created from the document data 34 for a specific purpose. In this embodiment, the document data 36 is document data obtained by summarizing the document data 34. For example, the document data 36 is created by a user.

[0024] Next, a functional configuration of the information processing device 10 in the learning phase will be described with reference to Fig. 5. As shown in Fig. 5, the information processing device 10 includes an acquisition unit 40, a first generation unit 42, a derivation unit 44, a selection unit 46, a second generation unit 48, and a learning unit 50. The CPU 20 executes the information processing program 30 to function as the acquisition unit 40, the first generation unit 42, the derivation unit 44, the selection unit 46, the second generation unit 48, and the learning unit 50.

[0025] The acquisition unit 40 acquires the document data 34 from the storage unit 22. The first generation unit 42 generates character string sets (hereinafter, referred to as "first character string sets") by dividing the document data 34 into pieces of different lengths. As shown in FIG. 6, the first generation unit 42 according to the present embodiment generates a plurality of first character string sets by dividing the document data 34 into pieces of different lengths. Specifically, the first generation unit 42 generates a plurality of first character string sets by dividing the document data 34 into pieces of different lengths, such as one word at a time or three words at a time. That is, the character strings included in one first character string set do not include overlapping portions. Also, the character strings included in the first character string set A and the character strings included in the first character string set B include overlapping portions, but the lengths of the character strings are different.

[0026] The derivation unit 44 uses the first string set generated by the first generation unit 42 and the document data 36 to derive an evaluation value for each string constituting the first string set. Specifically, as shown in FIG. 7, the derivation unit 44 divides the document data 36 into sentences, and derives the maximum degree of agreement between each sentence included in the document data 36 and the string constituting the first string set as the evaluation value of that string. That is, the evaluation value is a value in which the evaluation is higher as the degree of agreement between each string constituting the first string set and the document data 36 increases. Examples of the degree of agreement include edit distance, BLEU (BiLingual Evaluation Understudy), ROUGE (Recall-Oriented Understudy for Gisting Evaluation), and BERT (Bidirectional Encoder Representations from Transformers) score. Then, the derivation unit 44 derives the sum of the evaluation values ​​of each string constituting the first string set as the evaluation value of the first string set.

[0027] The selection unit 46 selects one of the multiple first character string sets generated by the first generation unit 42 as the correct answer data of the generative model 32 based on the evaluation value derived by the derivation unit 44. In this embodiment, the selection unit 46 selects the character string set having the largest evaluation value derived by the derivation unit 44 from the multiple first character string sets generated by the first generation unit 42 as the correct answer data of the generative model 32.

[0028] The evaluation value of the first character string set may be a value that is higher as each character string constituting the first character string set is longer. For example, the derivation unit 44 may derive a new evaluation value of the first character string set by dividing the evaluation value of the first character string set derived as described above by the number of character strings included in the first character string set. The number of character strings included in the first character string set is smaller as each character string constituting the first character string set is longer. In this way, the derivation unit 44 may set a larger evaluation value as each character string constituting the first character string set is longer by dividing by the number of character strings. The derivation unit 44 may also set a larger evaluation value as the number of characters constituting a character string is larger. The derivation unit 44 may also derive an evaluation value by setting a reference number of characters and deducting points according to the difference between the number of characters constituting a character string and the reference number of characters. The generation model 32 may be prepared for each different reference number of characters. In this case, the derivation unit 44 selects the generation model 32 corresponding to the reference number of characters that is closest to the number of characters in the user's past selection history. In this case, the number of characters in the selection history may be a statistical value such as an average value or a median value.

[0029] Furthermore, at least one of the precision and the recall rate for each sentence in the document data 36 may be used as the evaluation value for each character string in the first set of character strings. The precision here is an index value that indicates the extent to which the content of the character strings in the first set of character strings is covered by the sentences in the document data 36. The recall rate here is an index value that indicates the extent to which the content of the sentences in the document data 36 is covered by the character strings in the first set of character strings.

[0030] The second generating unit 48 inputs the document data 34 acquired by the acquiring unit 40 to the generative model 32, thereby generating a set of character strings corresponding to the document data 34 (hereinafter referred to as a “second set of character strings”).

[0031] The learning unit 50 trains the generative model 32 so as to minimize the error between the second set of character strings generated by the second generating unit 48 and the first set of character strings selected by the selecting unit 46.

[0032] Next, the operation of the information processing device 10 in the learning phase will be described with reference to Fig. 8. The CPU 20 executes the information processing program 30 to execute the learning process shown in Fig. 8. The learning process shown in Fig. 8 is executed, for example, when a command to start execution is input by a user.

[0033] 8, acquisition unit 40 acquires document data 34 from storage unit 22. In step S12, first generation unit 42 generates a first set of character strings by dividing document data 34 acquired in step S10 into strings of different lengths, as described above.

[0034] In step S14, as described above, the derivation unit 44 derives an evaluation value for each character string constituting the first character string set, using the first character string set generated in step S12 and the document data 36. The derivation unit 44 also derives the sum of the derived evaluation values ​​as the evaluation value of the first character string set.

[0035] In step S16, the selection unit 46 selects one of the multiple first string sets generated in step S12 as the correct answer data for the generative model 32 based on the evaluation value derived in step S14, as described above.

[0036] In step S18, the second generation unit 48 generates a second set of strings corresponding to the document data 34 by inputting the document data 34 acquired in step S10 to the generative model 32. In step S20, the learning unit 50 trains the generative model 32 so as to minimize the error between the second set of strings generated in step S18 and the first set of strings selected in step S16. When the process of step S20 ends, the learning process ends. By performing this learning process for each of a plurality of different combinations of document data 34 and document data 36, ​​the accuracy of the generative model 32 is improved.

[0037] Next, a functional configuration of the information processing device 10 in the operation phase will be described with reference to Fig. 9. As shown in Fig. 9, the information processing device 10 includes a third generation unit 60, a reception unit 62, an identification unit 64, and a presentation unit 66. The CPU 20 executes the information processing program 30 to function as the third generation unit 60, the reception unit 62, the identification unit 64, and the presentation unit 66.

[0038] The third generating unit 60 generates a set of character strings by inputting document data to be processed to the generative model 32. The document data to be processed is, for example, document data currently being referenced by the user.

[0039] The accepting unit 62 accepts a position in the document data designated by a user. The user designates a predetermined position in the document data, for example, by performing an operation of placing a mouse cursor on a predetermined position in the document data, or by clicking on the predetermined position in the document data.

[0040] The identifying unit 64 identifies the character string written at the position accepted by the accepting unit 62 from among the character strings included in the set of character strings generated by the third generating unit 60.

[0041] The presenting unit 66 presents the character string identified by the identifying unit 64 to the user. As an example, as shown in FIG. 10, the presenting unit 66 presents the character string identified by the identifying unit 64 to the user by selecting the character string in the document data displayed on the display 23. This can reduce the effort required for the user to select the character string when performing a copy operation. In addition, since the character string is generated by the generative model 32 learned in the learning phase described above, it is delimited at appropriate delimiter positions. Therefore, the user's operation can be effectively supported.

[0042] In the above embodiment, the presenting unit 66 presents the specified character string on the document data to the user by displaying the specified character string in a highlighted manner relative to other character strings, but the disclosed technology is not limited to this embodiment. For example, the presenting unit 66 may display the specified character string in a display frame different from the document data, such as a pop-up display. Furthermore, the presenting unit 66 may write the specified character string on the new document creation screen when the display screen of the document data is specified on a screen on which a display screen of the document data and a new document creation screen of a summary document or the like are displayed. For example, as shown in FIG. 11, a display screen having a document data display screen for displaying the document data and a new document creation screen for creating a new document such as a summary document is presented, and when a position is specified on the document data display screen by a pointer or the like, the presenting unit 66 presents the specified character string written on the above position on the new document creation screen as an editable character string, as shown in FIG. 12. As shown in FIG. 13, the presenting unit 66 may save the selected character string as a part of the new document by receiving a confirmation selection by the user via the input device 24. In the examples of Figures 12 and 13, editable character strings on the new document creation screen are displayed surrounded by dashed lines, and confirmed character strings are displayed without being surrounded by dashed lines; however, the display manner is not limited to this example as long as editable character strings and confirmed character strings can be distinguished.

[0043] Furthermore, the generative model 32 may output a plurality of different delimiter position candidates and the confidence level of each of the plurality of delimiter position candidates. For example, the generative model 32 may output a confidence level of 90% for "7 / 7 (Wed) Factory A Group 2", a confidence level of 70% for "7 / 7 (Wed)", and a confidence level of 50% for "7 / 7 (Wed) Factory A". The third generating unit 60 may have a plurality of generative models 32 with different conditions such as a seed for division or weighting of the length of the character string when generating the learning data, and may output a plurality of different delimiter position candidates for each generative model 32. In this case, the identifying unit 64 identifies a plurality of different character strings according to the position specified by the user. The presenting unit 66 may present the plurality of different character strings identified by the identifying unit 64 to the user. For example, as shown in FIG. 14 and FIG. 15, the presenting unit 66 presents the plurality of identified character strings of different lengths to the user. At this time, the presentation unit 66 may present the specified character string corresponding to the delimiter position candidate derived by the highest priority generation model 32 or the delimiter position candidate with the highest confidence in a selected state, and may select the specified character string corresponding to the delimiter position candidate different from the selected delimiter position candidate by accepting a switching operation by the user, such as a mouse click operation. Note that selecting a character string includes copying a character string and making it possible to reflect the character string in the summary document by a paste operation to the summary document, and reflecting the character string in an editable state in the summary document. In the examples of Figs. 14 and 15, a display mode in which the specified multiple different character strings are presented by a pop-up window is shown, but the display mode is not limited to this example. In the examples of Figs. 14 and 15, the selected character string is surrounded by a dashed line, but the display mode is not limited to this example as long as the selected character string and the non-selected character string can be distinguished.

[0044] Next, the action of the information processing device 10 in the operation phase will be described with reference to Fig. 16. The CPU 20 executes the information processing program 30 to execute the operation support process shown in Fig. 16. The operation support process shown in Fig. 16 is executed with document data as the processing target when a user performs an operation to open a file of document data, such as double-clicking the document data, for example.

[0045] 16, the third generation unit 60 generates a set of character strings by inputting document data to be processed to the generative model 32. In step S32, the receiving unit 62 receives a position in the document data designated by the user.

[0046] In step S34, the identification unit 64 identifies the character string written at the position accepted in step S32 from among the character strings included in the set of character strings generated in step S30. In step S36, the presentation unit 66 presents the character string identified in step S34 to the user, as described above. When the process of step S36 ends, the operation assistance process ends.

[0047] As described above, according to this embodiment, document data can be divided at appropriate division positions, thereby effectively supporting user operations.

[0048] [Second embodiment] A second embodiment of the disclosed technique will be described below. Note that the hardware configuration of the information processing device 10 according to this embodiment is the same as that of the first embodiment, and therefore a description thereof will be omitted.

[0049] The functional configuration of the information processing device 10 in the learning phase will be described with reference to Fig. 17. Functional units having the same functions as those of the information processing device 10 according to the first embodiment are denoted by the same reference numerals and will not be described. As shown in Fig. 17, the information processing device 10 includes an acquisition unit 40, a first generation unit 42A, a derivation unit 44A, a selection unit 46A, a second generation unit 48, and a learning unit 50. The CPU 20 executes the information processing program 30 to function as the acquisition unit 40, the first generation unit 42A, the derivation unit 44A, the selection unit 46A, the second generation unit 48, and the learning unit 50.

[0050] The first generating unit 42A generates a first set of character strings by dividing the document data 34 into segments of different lengths. As shown in FIG. 18, the first generating unit 42A according to the present embodiment generates one first set of character strings by repeatedly dividing the document data 34 into segments of different lengths. Specifically, the first generating unit 42A generates one first set of character strings by repeatedly dividing the document data 34 into segments of a certain length into segments of different lengths, such as dividing the document data 34 into segments of one word and segments of three words. That is, the character strings included in one first set of character strings include character strings that include overlapping portions but have different lengths.

[0051] The derivation unit 44A derives an evaluation value of each character string constituting the first character string set, using the first character string set generated by the first generation unit 42A and the document data 36. The process of deriving this evaluation value is the same as that in the first embodiment, and therefore a description thereof will be omitted.

[0052] The selection unit 46A selects multiple character strings from the first set of character strings generated by the first generation unit 42A as correct answer data for the generative model 32, with no overlapping parts, based on the evaluation value derived by the derivation unit 44A.

[0053] Specifically, as shown in FIG. 19, first, the selection unit 46A lists a combination of a plurality of character strings that have no overlapping parts from the first character string set generated by the first generation unit 42A. FIG. 19 shows an example in which character strings included in the first character string set are divided into three stages, short, medium, and long. Character strings A1 and A2 in FIG. 19 show character strings divided into the shortest length of the three stages, character string B1 shows character strings divided into the intermediate length of the three stages, and character strings C1 and C2 show character strings divided into the longest length of the three stages. Also, the arrow below each character string in FIG. 19 shows the position of the character string in the document data 36, ​​and the length of the arrow shows the length of the character string. Also, the numerical value below the arrow below each character string in FIG. 19 shows the evaluation value derived by the derivation unit 44A for the character string.

[0054] Next, the selection unit 46A derives the sum of the evaluation values ​​of each of the listed combinations of multiple character strings. Then, the selection unit 46A selects the multiple character strings of the combination with the largest derived sum as the supervised data of the generative model 32.

[0055] Next, the operation of the information processing device 10 in the learning phase will be described with reference to Fig. 20. The CPU 20 executes the information processing program 30 to execute the learning process shown in Fig. 20. The learning process shown in Fig. 20 is executed, for example, when a command to start execution is input by a user. Steps in Fig. 20 that execute the same processes as those in Fig. 8 are given the same step numbers and will not be described.

[0056] Steps S12A, S14A, and S16A in Fig. 20 are executed instead of steps S12, S14, and S16 in Fig. 8. In step S12A, first generation unit 42A generates a first set of character strings by dividing document data 34 into strings of different lengths, as described above.

[0057] In step S14A, the derivation unit 44A derives an evaluation value for each character string constituting the first character string set, using the first character string set generated in step S12A and the document data 36. In step S16A, the selection unit 46A selects multiple character strings, without overlapping parts, from the first character string set generated by the first generation unit 42A, as supervised data for the generative model 32, based on the evaluation value derived in step S14A, as described above.

[0058] The functional configuration and operation of the information processing device 10 in the operation phase are the same as those in the first embodiment, and therefore a description thereof will be omitted.

[0059] As described above, according to this embodiment, it is possible to obtain the same effects as in the first embodiment.

[0060] [Third embodiment] A third embodiment of the disclosed technology will be described. Note that the hardware configuration of the information processing device 10 according to this embodiment is the same as that of the first embodiment, and therefore the description will be omitted. In this embodiment, the information processing device 10 causes the generation model 32 to undergo reinforcement learning.

[0061] The functional configuration of the information processing device 10 in the learning phase will be described with reference to Fig. 21. Functional units having the same functions as those of the information processing device 10 according to the first embodiment are denoted by the same reference numerals and will not be described. As shown in Fig. 21, the information processing device 10 includes an acquisition unit 40, a derivation unit 44B, a second generation unit 48A, and a learning unit 50A. The CPU 20 executes the information processing program 30 to function as the acquisition unit 40, the derivation unit 44B, the second generation unit 48A, and the learning unit 50A.

[0062] The second generating unit 48A inputs the document data acquired by the acquiring unit 40 to the generative model 32, thereby generating a set of character strings corresponding to the document data .

[0063] The derivation unit 44B uses the string set generated by the second generation unit 48A and the document data 36 to derive an evaluation value for each string that constitutes the string set. The process of deriving this evaluation value is the same as in the first embodiment, and therefore a description thereof will be omitted. The derivation unit 44B then derives the sum of the evaluation values ​​of the strings that constitute the string set as the evaluation value of the string set. The derivation unit 44B derives this evaluation value of the string set as a reward when performing reinforcement learning on the generation model 32.

[0064] The learning unit 50A performs reinforcement learning on the generative model 32 using the evaluation value derived by the derivation unit 44B as a reward.

[0065] Next, the operation of the information processing device 10 in the learning phase will be described with reference to Fig. 22. The CPU 20 executes the information processing program 30 to execute the learning process shown in Fig. 22. The learning process shown in Fig. 22 is executed, for example, when a command to start execution is input by a user.

[0066] 22, acquisition unit 40 acquires document data 34 from storage unit 22. In step S42, second generation unit 48A inputs document data 34 acquired in step S40 to generative model 32, thereby generating a set of strings corresponding to document data 34.

[0067] In step S44, the derivation unit 44B derives an evaluation value for each string constituting the string set, using the string set generated by the second generation unit 48A and the document data 36. The derivation unit 44B also derives the sum of the derived evaluation values ​​as the evaluation value of the string set. In step S46, the learning unit 50A performs reinforcement learning on the generative model 32, using the evaluation value derived in step S44 as a reward. When the processing of step S46 ends, the learning process ends.

[0068] The functional configuration and operation of the information processing device 10 in the operation phase are the same as those in the first embodiment, and therefore a description thereof will be omitted.

[0069] As described above, according to this embodiment, it is possible to obtain the same effects as in the first embodiment.

[0070] In the first embodiment, the derivation unit 44 may reduce the evaluation value of the derived first string set according to at least one of the amount of strings included in the first string set but not included in the document data 36 (hereinafter referred to as "over-extracted strings") and the amount of strings included in the document data 36 but not included in the first string set (hereinafter referred to as "missing strings"). In this case, for example, the derivation unit 44 reduces the evaluation value of the first string set to a greater extent as the amount of these strings increases. Examples of the amount of strings include the number of strings or the total number of characters in the strings. In the example of FIG. 7, "7 / 8 (Thu) Factory B Group 2 / 3" corresponds to the missing string, and "7 / 12 (Mon) Normal operation" corresponds to the over-extracted string.

[0071] Similarly, in the above third embodiment, the derivation unit 44B may reduce the evaluation value of the derived string set depending on at least one of the amount of over-extracted strings that are included in the string set but not included in the document data 36, ​​and the amount of missing strings that are included in the document data 36 but not included in the string set.

[0072] In this way, the generative model 32 is trained to eliminate some of the over-extraction from the document data 34 rather than completely eliminating it, thereby making it possible to segment the document data at appropriate segmentation positions.

[0073] In addition, when the CPU 20 uses the generation model 32 to present candidate sentences for summary document data from document data 34 corresponding to medical documents such as electronic medical records, if there are too many over-extracted character strings, this will hinder the user from selecting candidate sentences, so the CPU 20 may be configured to remove over-extracted character strings.

[0074] 23, the presenting unit 66 may present to the user a set of character strings generated by inputting the target document data to the generative model 32 as candidate sentences for summary document data that summarizes the target document data. In this case, the user can create summary document data by selecting the presented candidate sentences.

[0075] In this embodiment, a plurality of generative models 32 may be prepared. For example, a plurality of generative models 32 may be prepared that are trained by varying the extent of reduction in the evaluation value of the set of character strings according to the amount of over-extracted character strings. Specifically, for example, the first generative model 32 is a model trained using a set of character strings selected based on an evaluation value that is reduced by 5% for each increase in the number of over-extracted character strings. Also, for example, the second generative model 32 is a model trained using a set of character strings selected based on an evaluation value that is reduced by 10% for each increase in the number of over-extracted character strings. In other words, the tolerance for over-extraction differs for each generative model 32.

[0076] In this case, the CPU 20 may switch the generation model 32 according to the user's selection history for candidate sentences for the summary document data presented using the generation model 32. For example, the CPU 20 may switch the generation model 32 so that the higher the degree of non-selection of candidate sentences by the user for the summary document data, the lower the tolerance for over-extraction is used. Examples of the degree of non-selection include "the number of non-selected character strings / the number of candidate sentences" or "the number of selected character strings / the number of candidate sentences".

[0077] In this case, when the degree to which the user does not select a candidate sentence reaches or exceeds a certain level, the CPU 20 may re-train the generation model 32 using the candidate sentence selected by the user as the correct answer data.

[0078] In the above-described second embodiment, in the process of deriving the evaluation value of a string, the derivation unit 44A may derive an F value such as a ROUGE-F value as the evaluation value, and may use Precision as the penalty, or may reduce the penalty by setting Precision in the calculation of the F value to a multiplication factor greater than or equal to 0 and less than 1.

[0079] In each of the above embodiments, the derivation units 44, 44A, and 44B may change the evaluation value of the character string included in the character string set according to the user's past operation tendency. For example, the derivation units 44, 44A, and 44B may derive the evaluation value based on the user's past operation history such that the longer the length of the character string selected by the user, the higher the evaluation of the longer character string. In this case, a statistical value such as an average value or a median value may be used as the length of the character string selected by the user. The evaluation value may be derived by deducting points according to the difference from the standard number of characters, using the statistical value of the length of the character string selected by the user as the standard number of characters. Alternatively, a plurality of models with different standard numbers of characters may be prepared in advance, and the model may be switched based on the statistical value of the length of the character string selected by the user.

[0080] In each of the above embodiments, the derivation units 44, 44A, and 44B may set the degree of matching between character strings to zero when the degree of matching is equal to or less than a certain value.

[0081] In the third embodiment, the output of the generative model 32 may be input to the conversion model 38, as shown in Fig. 24. The conversion model 38 is a model that receives a set of character strings as an input, and outputs a set of character strings obtained by converting the input set of character strings into a set of character strings in the same writing format as the document data 36. The conversion model 38 is obtained by machine learning using training data. In this case, the derivation unit 44B uses the set of character strings output from the conversion model 38 and the document data 36 to derive an evaluation value for each character string constituting the set of character strings.

[0082] In each of the above-mentioned embodiments, the following various processors can be used as the hardware structure of a processing unit that executes various processes such as each functional unit of the information processing device 10. As described above, the above-mentioned various processors include a CPU, which is a general-purpose processor that executes software (programs) and functions as various processing units, as well as a programmable logic device (PLD), which is a processor whose circuit configuration can be changed after manufacture such as an FPGA (Field Programmable Gate Array), a dedicated electric circuit, which is a processor having a circuit configuration designed specifically for executing specific processes such as an ASIC (Application Specific Integrated Circuit), etc.

[0083] A single processing unit may be configured with one of these various processors, or may be configured with a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Also, multiple processing units may be configured with a single processor.

[0084] As an example of configuring multiple processing units with one processor, first, there is a form in which one processor is configured with a combination of one or more CPUs and software, as typified by computers such as client and server, and this processor functions as multiple processing units. Second, there is a form in which a processor is used that realizes the functions of the entire system including multiple processing units with one IC (Integrated Circuit) chip, as typified by System on Chip (SoC), etc. In this way, the various processing units are configured using one or more of the above various processors as a hardware structure.

[0085] Furthermore, more specifically, the hardware structure of these various processors can be an electric circuit that combines circuit elements such as semiconductor elements.

[0086] In each of the above embodiments, the information processing program 30 is pre-stored (installed) in the storage unit 22, but the present invention is not limited to this. The information processing program 30 may be provided in a form recorded on a recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), or a USB (Universal Serial Bus) memory. The information processing program 30 may be downloaded from an external device via a network.

[0087] The following supplementary notes are further disclosed regarding the above embodiment. (Appendix 1) An information processing device including at least one processor, The processor, Acquire first document data; generating a first set of character strings by dividing the first document data into pieces of different lengths; deriving an evaluation value for each character string constituting the first set of character strings using the first set of character strings and second document data created from the first document data according to a specific purpose; Based on the derived evaluation value, a plurality of character strings are selected from the first character string set as correct answer data for a generative model that receives document data as input and outputs a second character string set including the plurality of character strings contained in the input document data. Information processing device.

[0088] (Appendix 2) The processor, generating a plurality of said first character string sets by dividing said first document data into sets of character strings each having a different length; Selecting one of the first character string sets as correct answer data for the generative model based on the evaluation value. 2. An information processing device according to claim 1.

[0089] (Appendix 3) The processor, deriving an evaluation value of the first set of character strings as a sum of the evaluation values ​​of the character strings constituting the first set of character strings; The derived evaluation value of the first character string set is reduced in accordance with at least one of the amount of character strings that are included in the first character string set but not included in the second document data and the amount of character strings that are included in the second document data but not included in the first character string set. 3. An information processing device according to claim 2.

[0090] (Appendix 4) The processor, Repeating the process of dividing the first document data by different division lengths to generate one first character string set; Based on the derived evaluation value, a plurality of character strings are selected from the first set of character strings as correct answer data for the generative model without overlapping portions. 2. An information processing device according to claim 1.

[0091] (Appendix 5) The evaluation value is a value in which the evaluation is higher as the degree of match between each character string constituting the first character string set and the second document data increases. 5. An information processing device according to any one of claims 1 to 4.

[0092] (Appendix 6) The evaluation value is a value in which the evaluation is higher as each character string constituting the first character string set is longer. An information processing device according to any one of Supplementary Note 1 to Supplementary Note 5.

[0093] (Appendix 7) The processor, generating a second set of strings corresponding to the first document data by inputting the first document data to the generative model; The generative model is trained so as to minimize an error between the second set of character strings and a plurality of character strings selected from the first set of character strings. 7. An information processing device according to any one of claims 1 to 6.

[0094] (Appendix 8) Acquire first document data; generating a first set of character strings by dividing the first document data into pieces of different lengths; deriving an evaluation value for each character string constituting the first set of character strings using the first set of character strings and second document data created from the first document data according to a specific purpose; Based on the derived evaluation value, a plurality of character strings are selected from the first character string set as correct answer data for a generative model that receives document data as input and outputs a second character string set including the plurality of character strings contained in the input document data. An information processing method in which processing is executed by a processor provided in an information processing device.

[0095] (Appendix 9) Acquire first document data; generating a first set of character strings by dividing the first document data into pieces of different lengths; deriving an evaluation value for each character string constituting the first set of character strings using the first set of character strings and second document data created from the first document data according to a specific purpose; Based on the derived evaluation value, a plurality of character strings are selected from the first character string set as correct answer data for a generative model that receives document data as input and outputs a second character string set including the plurality of character strings contained in the input document data. An information processing program for causing a processor provided in an information processing device to execute processing.

[0096] (Appendix 10) An information processing device including at least one processor, The processor, Acquire first document data; generating a set of strings corresponding to the first document data by inputting the first document data into a generative model that receives document data as input and outputs a set of strings including a plurality of character strings included in the input document data; Using the generated set of character strings and second document data created from the first document data according to a purpose, an evaluation value of the set of character strings is derived as a reward when the generative model is subjected to reinforcement learning. Information processing device.

[0097] (Appendix 11) The processor, deriving an evaluation value for each character string constituting the character string set using the character string set and the second document data; deriving an evaluation value of the set of character strings as a sum of the evaluation values ​​of each of the character strings constituting the set of character strings; The derived evaluation value of the string set is reduced in accordance with at least one of the amount of strings that are included in the string set but not included in the second document data and the amount of strings that are included in the second document data but not included in the string set. 11. The information processing device according to claim 10.

[0098] (Appendix 12) Acquire first document data; generating a set of strings corresponding to the first document data by inputting the first document data into a generative model that receives document data as input and outputs a set of strings including a plurality of character strings included in the input document data; Using the generated set of character strings and second document data created from the first document data according to a purpose, an evaluation value of the set of character strings is derived as a reward when the generative model is subjected to reinforcement learning. An information processing method in which processing is executed by a processor provided in an information processing device.

[0099] (Appendix 13) Acquire first document data; generating a set of strings corresponding to the first document data by inputting the first document data into a generative model that receives document data as input and outputs a set of strings including a plurality of character strings included in the input document data; Using the generated set of character strings and second document data created from the first document data according to a purpose, an evaluation value of the set of character strings is derived as a reward when the generative model is subjected to reinforcement learning. An information processing program for causing a processor provided in an information processing device to execute processing. [Explanation of symbols]

[0100] 10. Information processing device 20 CPU 21 Memory 22 Memory section 23 Display 24 Input Devices 25 Network I / F 26 RAM 27 Bus 30 Information Processing Program 32 Generative Model 34, 36 Document Data 38 Conversion Model 40 Acquisition Department 42, 42A 1st generation section 44, 44A, 44B Derivation part 46, 46A Selection section 48, 48A 2nd generation section 50, 50A Learning Section 60 Third generation part 62 Reception 64 Specific part 66 Presentation section< / sep>

Claims

1. An information processing device including at least one processor, The processor, Acquire first document data; generating a first set of character strings by dividing the first document data into pieces of different lengths; deriving an evaluation value for each character string constituting the first character string set using the first character string set and second document data created from the first document data according to a purpose; Based on the derived evaluation value, a plurality of character strings are selected from the first character string set as correct answer data for a generative model that receives document data as input and outputs a second character string set including the plurality of character strings contained in the input document data. Information processing device.

2. The processor, generating a plurality of said first character string sets by dividing said first document data into sets of character strings each having a different length; Selecting one of the first character string sets as correct answer data for the generative model based on the evaluation value. The information processing device according to claim 1 .

3. The processor, deriving an evaluation value of the first set of character strings as a sum of the evaluation values ​​of the character strings constituting the first set of character strings; The derived evaluation value of the first character string set is reduced in accordance with at least one of the amount of character strings that are included in the first character string set but not included in the second document data and the amount of character strings that are included in the second document data but not included in the first character string set. The information processing device according to claim 2 .

4. The processor, generating a first set of character strings by repeatedly dividing the first document data by different lengths; Based on the derived evaluation value, a plurality of character strings are selected from the first set of character strings as correct answer data for the generative model without overlapping portions. The information processing device according to claim 1 .

5. The evaluation value is a value in which the evaluation is higher as the degree of match between each character string constituting the first character string set and the second document data increases. The information processing device according to any one of claims 1 to 4.

6. The evaluation value is a value in which the evaluation is higher as each character string constituting the first character string set is longer. The information processing device according to any one of claims 1 to 4.

7. The processor, generating a second set of strings corresponding to the first document data by inputting the first document data to the generative model; The generative model is trained so as to minimize an error between the second set of character strings and a plurality of character strings selected from the first set of character strings. The information processing device according to any one of claims 1 to 4.

8. Acquire first document data; generating a first set of character strings by dividing the first document data into pieces of different lengths; deriving an evaluation value for each character string constituting the first character string set using the first character string set and second document data created from the first document data according to a purpose; Based on the derived evaluation value, a plurality of character strings are selected from the first character string set as correct answer data for a generative model that receives document data as input and outputs a second character string set including the plurality of character strings contained in the input document data. An information processing method in which processing is executed by a processor provided in an information processing device.

9. Acquire first document data; generating a first set of character strings by dividing the first document data into pieces of different lengths; deriving an evaluation value for each character string constituting the first character string set using the first character string set and second document data created from the first document data according to a purpose; Based on the derived evaluation value, a plurality of character strings are selected from the first character string set as correct answer data for a generative model that receives document data as input and outputs a second character string set including the plurality of character strings contained in the input document data. An information processing program for causing a processor provided in an information processing device to execute processing.

10. An information processing device including at least one processor, The processor, Acquire first document data; generating a set of character strings corresponding to the first document data by inputting the first document data into a generative model that receives document data as input and outputs a set of character strings including a plurality of character strings included in the input document data; Using the generated set of character strings and second document data created from the first document data according to a purpose, an evaluation value of the set of character strings is derived as a reward when the generative model is subjected to reinforcement learning. Information processing device.

11. The processor, deriving an evaluation value for each character string constituting the character string set using the character string set and the second document data; deriving an evaluation value of the set of character strings as a sum of the evaluation values ​​of each of the character strings constituting the set of character strings; The derived evaluation value of the character string set is reduced in accordance with at least one of the amount of character strings that are included in the character string set but not included in the second document data and the amount of character strings that are included in the second document data but not included in the character string set. The information processing device according to claim 10.

12. Acquire first document data; generating a set of character strings corresponding to the first document data by inputting the first document data into a generative model that receives document data as input and outputs a set of character strings including a plurality of character strings included in the input document data; Using the generated set of character strings and second document data created from the first document data according to a purpose, an evaluation value of the set of character strings is derived as a reward when the generative model is subjected to reinforcement learning. An information processing method in which processing is executed by a processor provided in an information processing device.

13. Acquire first document data; generating a set of character strings corresponding to the first document data by inputting the first document data into a generative model that receives document data as input and outputs a set of character strings including a plurality of character strings included in the input document data; Using the generated set of character strings and second document data created from the first document data according to a purpose, an evaluation value of the set of character strings is derived as a reward when the generative model is subjected to reinforcement learning. An information processing program for causing a processor provided in an information processing device to execute processing.

Citation Information

Patent Citations

  • Document summarizing device, document processor, document summarizing method, document processing method, and program

    JP2011138306A

  • Learning device, learning method and learning program

    JP2020086549A

  • Text generation apparatus, text generation method, text generation learning apparatus, text generation learning method and program

    US20220138438A1

  • Summary learning assistance device, summary learning assistance method, and program

    WO2023026444A1

  • Summarizing device, summarizing method, and summarizing program

    JP2019121139A