INFORMATION PROCESSING APPARATUS
An information processing apparatus of the present disclosure includes an input unit that inputs a plurality of pieces of first text data related to a predetermined field, and a generation unit that generates, for each piece of the first text data, second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
Latest NEC Corporation Patents:
- INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, AND NON-TRANSITORY COMPUTER-READABLE MEDIUM
- INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND NON-TRANSITORY COMPUTER-READABLE MEDIUM
- DEVICES, METHODS, AND MEDIUM FOR COMMUNICATION
- MAGNETIC FIELD MEASUREMENT DEVICE
- ENDOSCOPIC EXAMINATION SUPPORT DEVICE, ENDOSCOPIC EXAMINATION SUPPORT METHOD, AND RECORDING MEDIUM
This application is based upon and claims the benefit of priority from Japanese patent application No. 2025-086631, filed on May 23, 2025, the disclosure of which is incorporated herein in its entirety by reference.
TECHNICAL FIELDThe present disclosure relates to an information processing apparatus.
BACKGROUND ARTSystems that output answers to input questions, such as Q&A (Question and Answer) systems and knowledge databases, are in use. For example, in Patent Literature 1, an input question is analyzed and documents are searched based on the analysis result, and an answer is generated.
Patent Literature 1: JP 2004-126814A
SUMMARYHowever, the technique described in Patent Literature 1 does not take into account sensitive information such as personal information contained in the searched documents, and there is a potential risk that sensitive information may leak through the answer. On the other hand, when concealment of sensitive information is taken into consideration, there is a risk that information necessary for answering the question will also be concealed. As a result, a problem arises in that it is difficult to generate a useful answer to the question. Moreover, such a problem may arise not only when generating an answer to a question, but also when generating any kind of text data.
Accordingly, an example object of the present disclosure is to solve the above-described problem that it is difficult to generate useful text data while suppressing leakage of sensitive information.
An information processing apparatus according to one aspect of the present disclosure is configured to include
an input unit that inputs a plurality of pieces of first text data related to a predetermined field, and
a generation unit that generates, for each piece of the first text data, second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
Further, an information processing method according to one aspect of the present disclosure is configured to include, by an information processing apparatus,
inputting a plurality of pieces of first text data related to a predetermined field, and
for each piece of the first text data, generating second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
Further, a program according to one aspect of the present disclosure is configured to cause an information processing apparatus to execute processing to
input a plurality of pieces of first text data related to a predetermined field, and
for each piece of the first text data, generate second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
With the configurations described above, the present disclosure makes it possible to generate useful text data while suppressing leakage of sensitive information.
A first example embodiment of the present disclosure will be described with reference to the drawings. Note that the drawings may be relevant to any of the example embodiments.
An information processing apparatus 10 of the present disclosure is used to generate text data such as answers to questions (Q&A), as an example. For example, in this example embodiment, it is assumed that text data that provides answers to questions in the medical-care field is generated. In this case, as an answer to a question, text data such as an explanation of the causes related to a physical condition or an explanation of how to cope with the physical condition can be generated.
However, the information processing apparatus 10 according to the present disclosure is not limited to generating text data serving as an answer to a question. It may generate text data of any contents as long as the text data corresponds to the content of the input text data. Further, the information processing apparatus 10 of the present disclosure is not limited to generating text data in the medical-care field, and may generate text data in any field.
Hereinafter, an example of a configuration and operation of the information processing apparatus 10 according to this example embodiment will be described. The information processing apparatus 10 is configured of one or a plurality of information processing apparatus each provided with an arithmetic unit and a memory unit. Then, as illustrated in
The assumed-question generation unit 11 (input unit) generates assumed questions (first text data) that are configured of text data and represents questions that can be assumed in a predetermined field for which generation is desired (step S1 in
Specifically, the assumed question generation unit 11 requests a large language model (LLM) to generate a plurality of questions that are assumed in relation to the field corresponding to the domain information D1. In this example embodiment, as an example, the assumed-question generation unit 11 requests a prompt such as "As inquiries from patients in the medical-care field, please generate a large number of possible questions (statistical questions) regarding illnesses and treatments" to the large language model. In this way, the assumed-question generation unit 11 can obtain, as an example, the following assumed questions from the large language model.
Assumed questions"What should I do if I have severe chest or abdominal pain and vomiting?"
"Recently, I have had no appetite and have lost weight. What could be the cause?"
"Rashes have appeared in various places on my body. What should I do?"
"When I wake up in the morning, my neck hurts and is hard to move. Is there any recommended treatment?"
"Recently, my hands and feet often feel numb. Should I be worried?"
Furthermore, when generating an assumed question D2, the assumed-question generation unit 11 generates the assumed question D2 without using the data contained in the connected database 20. Here, a plurality of pieces of sample data (a predetermined data group) related to patients’ diseases and treatments are stored in the database 20, and it is assumed that the sample data includes sensitive information such as personal information including the patient’s name, age, medical history, and the like. Therefore, when the assumed question D2 is generated without using the data in the database 20, the assumed question D2 not containing sensitive information such as personal information is generated as described above. At this time, if the large language model is in a state where it is unable to collect data from the database 20, the data in the database 20 will not be used when the large language model generates the assumed question D2. Further, the assumed-question generation unit 11 may ensure that the data in the database 20 is not used when the large language model generates the assumed question D2 by requesting the large language model to generate the assumed question D2 without using the data in the database 20.
Here, the large language model may be installed in the information processing apparatus 10. Alternatively, the large language model may be constructed on an external server connected to the information processing apparatus 10 via a network, and the information processing apparatus 10 may access the external server to use the large language model. However, the large language model may be any language model configured to output some text data in response to an input question.
It should be noted that the assumed-question generation unit 11 is not necessarily limited to generating the assumed questions D2 using a large language model, and the assumed questions D2 may be generated by any method. For example, a large number of assumed questions D2 that constitute statistical questions may be prepared in advance in accordance with the content of the domain information D1, and the assumed questions D2 may be extracted from the prepared assumed questions D2. Alternatively, the assumed-question generation unit 11 may obtain and use the assumed questions D2 that have already been prepared for a specific field without receiving input of the domain information D1.
Furthermore, the assumed question D2 described above is not necessarily limited to the content of a question, and may be text data of any content. For example, the assumed-question generation unit 11 may generate any text data according to the content of the domain information D1.
The clustering unit 12 clusters (classifies into clusters) sample data in the database 20 on the basis of the assumed questions D2 having been generated or prepared as described above (step S2 in
Specifically, the clustering unit 12 first converts each piece of sample data in the database 20 and each assumed question D2 into vector data, respectively. For example, the clustering unit 12 converts the text data constituting each piece of sample data and each assumed question D2 into a vector representation (embedding vector) by means of a natural language processing model. Then, the clustering unit 12 performs processing in which, for each assumed question D2, a plurality of highly relevant pieces of sample data are grouped into a single cluster on the basis of the similarity or distance between the vectors of the sample data and the assumed questions D2. As one example, the similarity or distance between the vector of a specific assumed question D2 and the vector of each piece of sample data is calculated, and a plurality of pieces of sample data whose similarity or distance with respect to the specific assumed question D2 falls within a predetermined range are clustered so as to belong to the same cluster.
Here,
However, the clusters described above are not limited to being generated by the clustering unit 12 as described above. For example, a cluster may be generated so as to consist of pieces of similar sample data in the database 20 in accordance with the similarity between vectors of the pieces of sample data, without using the assumed question D2 described above. A cluster may also be preset by another processing according to the content of the sample data.
Note that a predetermined data group consisting of a plurality of pieces of sample data stored in the database 20 to be clustered as described above is, as will be described later, a data group that serves as the basis for generating a corresponding text D3 with respect to the assumed question D2. The predetermined data group stored in the database 20 is a data group related to a specific field corresponding to the assumed question D2. However, the data group to be clustered into a cluster, as described above, is not necessarily limited to a data group stored in the database 20, and may be any data group related to a specific field corresponding to the assumed question D2 collected from any location, such as a data group collected from the web.
The synthetic data generation unit 13 (generation unit) uses the sample data in the cluster corresponding to each assumed question D2 to generate a corresponding text D3 (second text data) with respect to the assumed question D2 (step S3 in
Here, the processing by the synthetic data generation unit 13 will be described with reference to
In response to it, as illustrated in
Note that the synthetic data generation unit 13 may explicitly instruct, in the prompt P input to the large language model, to generate the corresponding text through synthesis while keeping at least a part of the text included in the sample data of the extracted cluster. In particular, the synthetic data generation unit 13 may instruct to generate the corresponding text through synthesis while keeping the text that is similar to the text of the assumed question D2 and is included in the sample data of the extracted cluster. As a result, the large language model generates an answer that contains text that is included in the sample data of the extracted cluster and retains text similar to the text of the assumed question D2. In the example in
However, the synthetic data generation unit 13 is not limited to requesting generation of corresponding text that retains text similar to the text of the assumed question D2. For example, to the "reference text" in the prompt P of
In addition, the synthetic data generation unit 13 is not limited to generating the corresponding text D3 using a large language model, and may generate the corresponding text D3 by any method. For example, the corresponding text D3 may be generated by synthesizing pieces of sample data included in the extracted cluster using another method.
The corresponding text D3 that is generated as described above may be text data of any content. For example, the synthetic data generation unit 13 may generate arbitrary text data having a content corresponding to some text data related to the assumed question D2.
As described above, in the present disclosure, the corresponding text D3 (second text data) is generated by synthesizing sample data that has been clustered corresponding to the assumed question D2 (first text data). By synthesizing sample data to generate the corresponding text D3 as described above, it is possible to conceal sensitive information in the answer. In addition, since the corresponding text D3 is generated using sample data of the cluster corresponding to the assumed question D2, it is possible to generate the corresponding text D3 that includes a content useful for the assumed question D2.
In this example embodiment, text data is generated by a large language model using sample data stored in the database 20, and it can be utilized as RAG (Retrieval-Augmented Generation). Accordingly, by using the technology of the present disclosure, even when utilizing RAG, it is possible to generate text data including a useful content while keeping sensitive information confidential.
Second Example EmbodimentNext, a second example embodiment of the present disclosure will be described. An information processing apparatus according to this example embodiment is provided with a second database that stores pieces of corresponding text D3 generated corresponding to the respective assumed questions D2 as described above. The information processing apparatus has a function of receiving a question from a user, extracting from the second database an answer corresponding to the question, and presenting the extracted answer to the user.
That is to say, in the first example embodiment described above, the corresponding text D3 is generated for each of a number of assumed questions D2, and in this example embodiment, the generated pieces of corresponding text D3 are stored in the second database. Then, by utilizing the second database that stores the corresponding text D3, it is possible to provide the corresponding text D3 in response to the question from the user.
Third Example EmbodimentNext, a third example embodiment of the present disclosure will be described with reference to the drawings. In this example embodiment, an outline of the information processing apparatus and the like described in the above example embodiments is shown. It should be noted that the drawings may be relevant to any of the example embodiments.
First, a hardware configuration of an information processing apparatus 100 in the present disclosure will be described. The information processing apparatus 100 has a configuration similar to that of a general information processing apparatus and, as one example, is equipped with the following hardware configuration as illustrated in
- a CPU (Central Processing Unit) 101 (arithmetic logic unit);
- a ROM (Read Only Memory) 102 (memory unit);
- a RAM (Random Access Memory) 103 (memory unit);
- programs 104 loaded into RAM 103;
- a storage device 105 that stores the programs 104;
- a drive device 106 that performs reading from and writing into a storage medium 110 external to the information processing apparatus;
- a communication interface 107 that connects to a communication network 111 external to the information processing apparatus;
- an input/output interface 108 that performs input and output of data; and
- a bus 109 that connects the components.
The information processing apparatus 100 can construct and be provided with an input unit 121 and a generation unit 122 illustrated in
The input unit 121 inputs a plurality of pieces of first text data related to a predetermined field (step S101 in
As described above, in the present disclosure, the second text data is generated by synthesizing a plurality of pieces of data corresponding to the first text data. By generating the second text data while synthesizing the pieces of data in this way, it is possible to conceal sensitive information. In addition, since the second text data is generated using a plurality of pieces of data corresponding to the first text data, it is possible to generate second text data having a content useful to the first text data.
In addition, at least one or more functions of the input unit 121 and the generating unit 122 may be performed by an information processing apparatus installed and connected anywhere on the network, that is to say, may be performed by so-called cloud computing.
The aforementioned programs can be stored using various types of non-transitory computer-readable media and provided to a computer. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, and hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), read only memories (CD-ROMs), CD-Rs, CD-R/Ws, and semiconductor memories (e.g., mask ROMs, programmable ROMs (PROMs), Erasable PROMs (EPROMs), flash ROMs, and random access memories (RAMs)). In addition, a program may be provided to a computer by various types of transitory computer-readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. A transitory computer-readable medium may provide a program to a computer via a wired communication channel such as an electric wire and an optical fiber, or a wireless communication channel.
The present disclosure has been described above with reference to the example embodiments. However, the present disclosure is not limited to the example embodiments described above. The configuration and details of the present disclosure can be changed in a variety of ways that those skilled in the art can understand within the scope of the present disclosure. Furthermore, the respective example embodiments described above may be combined with other example embodiments as appropriate.
Supplementary NotesThe whole or part of the example embodiments disclosed above can be described as the following supplementary notes. Outlines of the configurations of an information processing apparatus, an information processing method, and a program according to the present disclosure will be described below. However, the present disclosure is not limited to the configurations described in the following supplementary notes.
Note that some or all of the configurations described in Supplementary Notes 2 to 8 that are dependent on the Supplementary Note 1 below and the functions provided by these configurations may likewise be made dependent on other Supplementary Notes 9 and 13 in the same manner as Supplementary Notes 2 to 8. Furthermore, not limited to Supplementary Notes 1, 9, and 13, within a range that does not depart from the respective embodiments described above, some or all of the configurations described as supplementary notes and the functions provided by these configurations may likewise be made dependent on similar hardware, software, various recording means for recording software, or systems.
Supplementary Note 1An information processing apparatus comprising:
- an input unit that inputs a plurality of pieces of first text data related to a predetermined field; and
- a generation unit that generates, for each piece of the first text data, second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
The information processing apparatus according to supplementary note 1, wherein
the generation unit generates the second text data by the synthesizing while retaining at least part of information included in the plurality of pieces of data corresponding to the first text data.
Supplementary Note 3The information processing apparatus according to supplementary note 1, wherein
the input unit inputs the first text data related to the predetermined field, the first text data being prepared on a basis of information other than information included in the predetermined data group.
Supplementary Note 4The information processing apparatus according to supplementary note 1, further comprising
a clustering unit that generates, for each piece of the first text data, a cluster including a plurality of pieces of data corresponding to the first text data in the predetermined data group, wherein
the generation unit generates the second text data by synthesizing a plurality of pieces of data included in the cluster corresponding to the first text data.
Supplementary Note 5The information processing apparatus according to supplementary note 2, wherein
the generation unit generates the second text data by the synthesizing while retaining information that is similar to the first text data and is included in the plurality of pieces of data corresponding to the first text data.
Supplementary Note 6The information processing apparatus according to supplementary note 3, wherein
the input unit inputs the first text data corresponding to a question that is assumed in the predetermined field.
Supplementary Note 7The information processing apparatus according to supplementary note 4, wherein
for each piece of the first text data, the clustering unit generates the cluster including a plurality of pieces of data located within a predetermined range centered on the first text data in a predetermined space.
Supplementary Note 8The information processing apparatus according to supplementary note 4, wherein
for each piece of the first text data, the clustering unit generates the cluster including a plurality of data similar to the first text data according to a preset criterion.
Supplementary Note 9An information processing method comprising, by an information processing apparatus:
- inputting a plurality of pieces of first text data related to a predetermined field; and
- for each piece of the first text data, generating second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
The information processing method according to supplementary note 9, further comprising, by the information processing apparatus,
generating the second text data by the synthesizing while retaining information included in the plurality of pieces of data corresponding to the first text data.
Supplementary Note 11The information processing method according to supplementary note 9, further comprising, by the information processing apparatus,
inputting the first text data related to the predetermined field, the first text data being prepared on a basis of information other than information included in the predetermined data group.
Supplementary Note 12The information processing method according to supplementary note 9, further comprising, by the information processing apparatus:
- for each piece of the first text data, generating a cluster including a plurality of pieces of data corresponding to the first text data in the predetermined data group; and
- generating the second text data by synthesizing a plurality of pieces of data included in the cluster corresponding to the first text data.
A program for causing an information processing apparatus to execute processing to:
- input a plurality of pieces of first text data related to a predetermined field; and
- for each piece of the first text data, generate second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
10 information processing apparatus
11 assumed-question generation unit
12 clustering unit
13 synthesis data generation unit
20 database
100 information processing apparatus
101 CPU
102 ROM
103 RAM
104 programs
105 storage device
106 drive device
107 communication interface
108 input/output interface
109 bus
110 storage medium
111 communication network
121 input unit
122 generation unit
Claims
1. An information processing apparatus comprising:
- at least one memory configured to store instructions; and
- at least one processor configured to execute the instructions to: input a plurality of pieces of first text data related to a predetermined field; and for each piece of the first text data, generate second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
2. The information processing apparatus according to claim 1, wherein the at least one processor is configured to execute the instructions to generate the second text data by the synthesizing while retaining at least part of information included in the plurality of pieces of data corresponding to the first text data.
3. The information processing apparatus according to claim 1, wherein the at least one processor is configured to execute the instructions to input the first text data related to the predetermined field, the first text data being prepared on a basis of information other than information included in the predetermined data group.
4. The information processing apparatus according to claim 1, wherein the at least one processor is configured to execute the instructions to:
- for each piece of the first text data, generate a cluster including a plurality of pieces of data corresponding to the first text data in the predetermined data group; and
- generate the second text data by synthesizing a plurality of pieces of data included in the cluster corresponding to the first text data.
5. The information processing apparatus according to claim 2, wherein the at least one processor is configured to execute the instructions to generate the second text data by the synthesizing while retaining information that is similar to the first text data and is included in the plurality of pieces of data corresponding to the first text data.
6. The information processing apparatus according to claim 3, wherein the at least one processor is configured to execute the instructions to input the first text data corresponding to a question that is assumed in the predetermined field.
7. The information processing apparatus according to claim 4, wherein the at least one processor is configured to execute the instructions to, for each piece of the first text data, generate the cluster including a plurality of pieces of data located within a predetermined range centered on the first text data in a predetermined space.
8. The information processing apparatus according to claim 4, wherein the at least one processor is configured to execute the instructions to, for each piece of the first text data, generate the cluster including a plurality of data similar to the first text data according to a preset criterion.
9. An information processing method comprising, by an information processing apparatus:
- inputting a plurality of pieces of first text data related to a predetermined field; and
- for each piece of the first text data, generating second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
10. The information processing method according to claim 9, further comprising, by the information processing apparatus, generating the second text data by the synthesizing while retaining information included in the plurality of pieces of data corresponding to the first text data.
11. The information processing method according to claim 9, further comprising, by the information processing apparatus, inputting the first text data related to the predetermined field, the first text data being prepared on a basis of information other than information included in the predetermined data group.
12. The information processing method according to claim 9, further comprising, by the information processing apparatus:
- for each piece of the first text data, generating a cluster including a plurality of pieces of data corresponding to the first text data in the predetermined data group; and
- generating the second text data by synthesizing a plurality of pieces of data included in the cluster corresponding to the first text data.
13. A non-transitory computer-readable storage medium storing thereon a program comprising instructions for causing an information processing apparatus to execute processing to:
- input a plurality of pieces of first text data related to a predetermined field; and
- for each piece of the first text data, generate second text data by synthesizing a plurality of pieces of data corresponding to the first text data included in a predetermined data group related to the predetermined field.
Type: Application
Filed: May 13, 2026
Publication Date: Nov 26, 2026
Applicant: NEC Corporation (Tokyo)
Inventors: Junki MORI (Tokyo), Kazuya KAKIZAKI (Tokyo)
Application Number: 19/675,686