Information providing device, information providing method, and information providing program
Patent Information
- Application Number
- JP2024133865
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-24
- Filing Date
- 2024-08-09
- Publication Date
- 2025-03-07
AI Technical Summary
【0007】 実施形態の一態様によれば、特定分野に特化した言語モデルを有効に活用することができる。
Smart Images

Figure 2025031607000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosed embodiments relate to an information providing device, an information providing method, and an information providing program. [Background technology]
[0002] 2. Description of the Related Art Conventionally, there is known a system that uses a language model to generate an answer to a question input by a user (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Special Publication No. 2022-503838 Summary of the Invention [Problem to be solved by the invention]
[0004] While conventional technology generates answers based on news articles, it does not take into account the use of language models specialized for specific domains.
[0005] The present invention has been made in view of the above, and has an object to effectively utilize a language model specialized for a specific field. [Means for solving the problem]
[0006] An information providing device according to one aspect of an embodiment includes a language model generated by learning data stored in a database relating to accounting cases, and includes a discussion section in which accounting-related discussions are held using a plurality of accountant accounts making different claims that are set in the language model which generates answers to input prompts, and a judging section which judges the merits of the claims based on the results of the discussion by the discussion section using a judge account set in the language model. Effect of the Invention
[0007] According to one aspect of the embodiment, a language model specialized for a specific field can be effectively utilized. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an overview of an information providing device according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram illustrating an example of the configuration of an information providing device according to the embodiment. [Diagram 3] FIG. 3 is a flowchart illustrating a processing procedure executed by the information providing device according to the embodiment. [Figure 4] FIG. 4 is a flowchart illustrating a processing procedure executed by the information providing device according to the embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of a computer hardware configuration that functions as an information providing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The present invention will be described below through embodiments, but the following embodiments do not limit the scope of the invention according to the claims. In addition, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0010] A process flow of the information providing device according to the embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram for explaining an overview of the information providing device according to the embodiment. Fig. 1 shows a configuration of an information providing system 1 including an information providing device 10 according to the embodiment.
[0011] 1, the information provision system 1 includes an information provision device 10 and an accounting matter database 20. The accounting matter database 20 is a database that stores data related to various laws. For example, the accounting matter database 20 stores data related to various laws related to accounting and past court decisions.
[0012] The information providing device 10 is a device to which various devices, including an accounting case database 20, are plugged in. In the information providing system 1, in which the various devices include various servers, vehicles, smartphones, and other devices, the information providing device 10 realizes the highest level of artificial intelligence by being plugged in to each device.
[0013] For example, in the information provision system 1, the information provision device 10 and each device including the accounting matter database 20 incorporate semiconductor chips manufactured by the same manufacturer. Each of these semiconductor chips may itself perform machine learning or deep learning.
[0014] In addition, the semiconductor chips used in the information providing device 10 and the accounting matter database 20 are chips of a size suitable for each housing. For example, assuming that the chip size of the information providing device 10 is XL size, L size is used for servers and vehicles, and S or M size is used for user terminals. For terminals with housing sizes even smaller than the user terminals, SS size is used and is put into a SoC (System on a chip) to form a single chip. Note that the number of tiles for each size is 200 tiles for the XL size, 50 tiles for the L size, 20 tiles for the M size, 10 tiles for the S size, and 2 tiles for the SS size, but these are examples and are not limited to the above. If it is desired to attach accessories such as a camera or a microphone to the user terminal, a chip dedicated to accessories other than the semiconductor chip may be set in an empty space near the semiconductor chip in the SoC.
[0015] In this way, in the information providing system 1, the use of semiconductor chips made by the same manufacturer in various devices connected to the information providing device 10 makes it possible to keep the information providing system 1 secure. In other words, in the information providing system 1, hacking, virus infection, and deep fakes can be avoided with a high degree of accuracy, and privacy between the information providing device 10 and data source providers including the accounting matter database 20 can be ensured.
[0016] In this embodiment, the information providing device 10 learns a model based on a data source acquired from the accounting matter database 20. The model is a language model. For example, ChatGPT by OpenAI is known as a language model (Reference: https: / / openai.com / blog / chatgpt). The language model may be a language model such as GAN (Generative Adversarial Networks) or VAE (Variational Autoencoder) that uses a neural network.
[0017] In this embodiment, the language model generates a text response to a text of a query (hereinafter, a prompt) input by a user. The language model is trained in advance using a data source. The language model may be trained by known machine learning techniques.
[0018] This enables the language model to generate answers based on the data source. In this embodiment, the information providing device 10 plugs in to the accounting matter database 20 (step S1) and learns the language model based on the data stored in the accounting matter database 20 (step S2).
[0019] In this way, the information providing device 10 trains the language model on various data stored in the accounting case database 20. As a result, the language model generates a response to an input prompt based on the learned legal cases. In other words, the information providing device 10 can generate a language model specialized for the legal field.
[0020] In this embodiment, a language model specialized for the legal field is used to design a virtual accounting firm. Specifically, in this embodiment, the accounts (roles) of "Accountants A to C", "National Tax Agency" and "Judge System" are set in advance by system prompts. "Accountants A to C" are accounts that make different claims. "National Tax Agency" is an account that participates in the discussion between Accountants A to C from the perspective of the National Tax Agency. As will be described later, "National Tax Agency" may decide the theme of the discussion between Accountants A to C. "Judge System" is an account that judges the merits of the claims of Accountants A to C.
[0021] In this embodiment, the assertions made by each of the accountants A to C accounts are input as a prompt into the language model, and the system prompt is set so that the other accountant accounts can debate the input prompt.
[0022] This setting enables "Accountants A to C" to spontaneously hold discussions using the language model. For example, as shown in FIG. 1, the topic of discussion is set by the "National Tax Agency" (step S3). The topic here corresponds to the content of the consultation that the company wishes to have with its accountant. The topic may be related to the accounting matters that the company is currently facing, or it may be a fictitious topic.
[0023] "Accountants A to C" debate along the theme set by the "National Tax Agency" (Step S4). For example, "Accountants A to C" each make different claims and debate the logic that supports those claims. For example, "Accountants A to C" debate with each other by developing logic that supports their claims from related laws and past precedents.
[0024] After that, the "judging system" makes a judgment based on the content of the discussion (step S5). For example, when a certain termination condition is met, such as when the discussion reaches a deadlock, the "judging system" judges which accountant's argument is superior. For example, the "judging system" checks the relevant laws and past legal precedents to judge the merits of each accountant's argument.
[0025] The "judging system" then judges the arguments and logic of each accountant based on past precedents, etc., and selects the best argument. In this way, the information providing device 10 learns the language model based on the data acquired from the accounting case database 20.
[0026] The information providing device 10 then uses the language model to hold a discussion among the accounts set in advance, and derives a conclusion from the discussion content. For example, the information providing device 10 can hold such discussions many times, compared to discussions between actual accountants. For example, it is possible to hold discussions on the same topic many times, and have the claims of the winner of one discussion and the claims of the winner of the second discussion debate each other.
[0027] In other words, the information providing device 10 can improve each assertion by repeating such discussions. This enables the information providing device 10 to make more meaningful assertions than an actual accountant.
[0028] Therefore, the information providing device 10 according to the embodiment can effectively utilize a language model specialized for a specific field.
[0029] The configuration of the information providing device 10 will be described with reference to Fig. 2. Fig. 2 is a functional block diagram showing an example of the configuration of the information providing device according to the embodiment.
[0030] As shown in FIG. 2, the information providing device 10 includes a communication unit 11, a storage unit 12, and a control unit 13.
[0031] The communication unit 11 transmits and receives information to and from the accounting matter database 20 and the like via the network.
[0032] The storage unit 12 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk drive (HDD), a solid state drive (SSD), an optical disk, etc. The storage unit 12 stores various programs and various data. The storage unit 12 stores language model information 121.
[0033] The language model information 121 is information about a language model. For example, the language model information 121 is information about parameters for constructing a language model. Such parameters are, for example, weights and biases of a neural network.
[0034] The control unit 13 is a controller, and includes, for example, a microcomputer having a CPU (Central Processing Unit), ROM (Read Only Memory), RAM, input / output ports, and various other circuits. The control unit 13 may also be configured with hardware such as integrated circuits, for example, an ASIC (Application Specific Integrated Circuit) and an FPGA (Field Programmable Gate Array). The control unit 13 has an acquisition unit 31, a generation unit 32, a discussion unit 33, and a judging unit 34.
[0035] The acquiring unit 31 acquires data from a data source provider. For example, the acquiring unit 31 acquires data related to legal cases from the accounting matter database 20 (see FIG. 1). For example, the acquiring unit 31 acquires data every time the accounting matter database 20 is updated.
[0036] The generation unit 32 generates a language model. Specifically, the generation unit 32 learns the language model based on a data source related to legal cases. The generation unit 32 also updates the parameters of the model through learning. The generation unit 32 may regenerate the model at each learning timing, or may reflect the data source difference from the previous learning in the model.
[0037] The discussion unit 33 uses a language model generated by learning data stored in a database related to legal cases, which generates answers to input prompts, to hold a discussion between multiple accountant accounts, each with different arguments.
[0038] First, the discussion unit 33 generates multiple accountant accounts, a tax bureau account, and a judge system account by system prompts of the language model. For example, each accountant account is set to make a different claim, and is further set to make a discussion to support its own claim.
[0039] The National Tax Agency account is set to set the topic of discussion. The National Tax Agency account may be set to participate in the discussions of each accountant account from the perspective of the National Tax Agency. The judgement system account is set to judge the results of discussions by each accountant account, or the results of discussions by each accountant account and the National Tax Agency account.
[0040] The discussion unit 33 sets the theme of the discussion after setting these accounts. For example, the theme of the discussion may be one arbitrarily set by the user. For example, in this case, data that the user requests from an accountant may be input to the language model as a theme.
[0041] Furthermore, the discussion unit 33 may set the consultation content set by the user as the topic of discussion.
[0042] The judging unit 34 uses a language model to judge the claims based on the results of the discussion by the discussion unit 33. The judging unit 34 corresponds to a judge system account. The judging unit 34 judges the claims of each accountant account when the discussion between the accountant accounts reaches a boiling point.
[0043] For example, the judging unit 34 inputs each claim made by each accountant account as a prompt into the language model, and judges which of these claims is superior.
[0044] More specifically, the judging unit 34 judges the best argument by comparing it with related laws and past precedents using a language model. The judgment result by the judging unit 34 is output to a user terminal (not shown) of the user.
[0045] Next, a process procedure executed by the information providing device 10 according to the embodiment will be described with reference to Fig. 3 and Fig. 4. Fig. 3 and Fig. 4 are flowcharts showing a process procedure executed by the information providing device 10 according to the embodiment.
[0046] First, the procedure for generating a language model will be described with reference to Fig. 3. As shown in Fig. 3, the information providing device 10 first acquires data related to legal cases from the accounting case database 20 (step S101). Next, the information providing device 10 generates a language model based on the data acquired from the accounting case database 20 (step S102), and ends the process.
[0047] Next, the discussion process using the language model will be described with reference to Fig. 4. As shown in Fig. 4, the information providing device 10 first determines a topic of discussion (step S111). Then, the information providing device 10 starts a discussion between the accountants (step S112).
[0048] Next, the information providing device 10 determines whether the discussion between each accountant account has ended (step S113), and if it determines that the discussion has not ended (step S113; No), it repeatedly executes the processing of step S113 until the discussion ends.
[0049] Furthermore, when it is determined that the discussion among the accountants' accounts has ended (step S113; Yes), the information providing device 10 judges each argument based on the discussion result (step S114), and ends the process.
[0050] According to this embodiment, by setting up a virtual accounting firm using a language model trained based on data stored in the accounting matter database 20, it is possible to effectively utilize language models specialized in specific fields.
[0051] 5 is a diagram showing an example of a computer hardware configuration functioning as an information providing device. A program installed in the computer 1200 can cause the computer 1200 to function as one or more "parts" of the device according to the present embodiment, or cause the computer 1200 to execute operations or one or more "parts" associated with the device according to the present embodiment, and / or cause the computer 1200 to execute a process or steps of the process according to the present embodiment. Such a program can be executed by the CPU 1212 to cause the computer 1200 to execute specific operations associated with some or all of the blocks of the flowcharts and block diagrams described herein.
[0052] The computer 1200 according to this embodiment includes a CPU 1212, a RAM 1214, and a graphic controller 1216, which are connected to each other by a host controller 1210. The computer 1200 also includes input / output units such as a communication interface 1222, a storage device 1224, a DVD drive, and an IC card drive, which are connected to the host controller 1210 via an input / output controller 1220. The DVD drive may be a DVD-ROM drive, a DVD-RAM drive, etc. The storage device 1224 may be a hard disk drive, a solid state drive, etc. The computer 1200 also includes input / output units such as a ROM 1230 and a keyboard, which are connected to the input / output controller 1220 via an input / output chip 1240.
[0053] The CPU 1212 operates according to a program stored in the ROM 1230 and the RAM 1214, thereby controlling each unit. The graphic controller 1216 acquires image data generated by the CPU 1212 into a frame buffer or the like provided in the RAM 1214 or into itself, and causes the image data to be displayed on the display device 1218.
[0054] The communication interface 1222 communicates with other electronic devices via a network. The storage device 1224 stores programs and data used by the CPU 1212 in the computer 1200. The DVD drive reads programs or data from a DVD-ROM or the like and provides them to the storage device 1224. The IC card drive reads programs and data from an IC card and / or writes programs and data to an IC card.
[0055] The ROM 1230 stores therein a boot program or the like that is executed by the computer 1200 upon activation, and / or a program that depends on the hardware of the computer 1200. The input / output chip 1240 may also connect various input / output units to the input / output controller 1220 via a USB port, a parallel port, a serial port, a keyboard port, a mouse port, and the like.
[0056] The programs are provided by a computer-readable storage medium such as a DVD-ROM or an IC card. The programs are read from the computer-readable storage medium, installed in the storage device 1224, the RAM 1214, or the ROM 1230, which are also examples of computer-readable storage media, and executed by the CPU 1212. Information processing described in these programs is read by the computer 1200, and brings about cooperation between the programs and the various types of hardware resources described above. An apparatus or method may be constructed by implementing operations or processing of information according to the use of the computer 1200.
[0057] For example, when communication is performed between the computer 1200 and an external device, the CPU 1212 may execute a communication program loaded in the RAM 1214 and instruct the communication interface 1222 to perform communication processing based on the processing described in the communication program. Under the control of the CPU 1212, the communication interface 1222 reads transmission data stored in a transmission buffer area provided in the RAM 1214, the storage device 1224, a DVD-ROM, or a recording medium such as an IC card, and transmits the read transmission data to the network, or writes reception data received from the network to a reception buffer area or the like provided on the recording medium.
[0058] Furthermore, the CPU 1212 may cause all or a necessary portion of a file or database stored in an external recording medium such as the storage device 1224, a DVD drive (DVD-ROM), an IC card, etc. to be read into the RAM 1214, and perform various types of processing on the data on the RAM 1214. The CPU 1212 may then write back the processed data to the external recording medium.
[0059] Various types of information, such as various types of programs, data, tables, and databases, may be stored in the recording medium and undergo information processing. The CPU 1212 may perform various types of processing on the data read from the RAM 1214, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described throughout this disclosure and specified by the instruction sequence of the program, and write back the results to the RAM 1214. The CPU 1212 may also search for information in a file, database, etc. in the recording medium. For example, when a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 1212 may search for an entry whose attribute value of the first attribute matches a specified condition from among the plurality of entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.
[0060] The above-mentioned programs or software modules may be stored in a computer-readable storage medium on the computer 1200 or in the vicinity of the computer 1200. In addition, a recording medium such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable storage medium, thereby providing the programs to the computer 1200 via the network.
[0061] The blocks in the flowcharts and block diagrams in the present embodiment may represent stages of a process in which an operation is performed or "parts" of an apparatus responsible for performing the operation. Particular stages and "parts" may be implemented by dedicated circuitry, programmable circuitry provided with computer readable instructions stored on a computer readable storage medium, and / or a processor provided with computer readable instructions stored on a computer readable storage medium. The dedicated circuitry may include digital and / or analog hardware circuits, and may include integrated circuits (ICs) and / or discrete circuits. The programmable circuitry may include reconfigurable hardware circuits, such as, for example, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), and the like, including AND, OR, XOR, NAND, NOR, and other logical operations, flip-flops, registers, and memory elements.
[0062] A computer-readable storage medium may include any tangible device capable of storing instructions that are executed by a suitable device, such that a computer-readable storage medium having instructions stored thereon comprises an article of manufacture that includes instructions that can be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of computer-readable storage media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer-readable storage media may include floppy disks, diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), electrically erasable programmable read-only memories (EEPROMs), static random access memories (SRAMs), compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), Blu-ray disks, memory sticks, integrated circuit cards, and the like.
[0063] The computer readable instructions may include either assembler instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk®, JAVA®, C++, etc., and conventional procedural programming languages such as the “C” programming language or similar programming languages.
[0064] Computer readable instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, or to a programmable circuit, either locally or over a local area network (LAN), a wide area network (WAN), such as the Internet, etc., to cause the processor of the general purpose computer, special purpose computer, or other programmable data processing apparatus, or to a programmable circuit, to execute the computer readable instructions to generate means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.
[0065] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications or improvements can be made to the above embodiments. It is clear from the claims that such modifications or improvements can also be included in the technical scope of the present invention.
[0066] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and may be realized in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is explained using "first," "next," etc. for convenience, it does not mean that it is essential to perform the process in this order. [Explanation of symbols]
[0067] 1 Information provision system 10 Information provision device 11 Communications Department 12 Storage section 13 Control section 20 Accounting Case Database 31 Acquisition Department 32 Generation part 33 Discussion Department 34 Judges 121 Language Model Information
Claims
1. A discussion section that holds discussions on accounting matters using a plurality of accountant accounts making different claims set in a language model that is generated by learning data stored in a database related to accounting matters and that generates answers to input prompts; a judging section that judges the merits of the claims based on the results of the discussion by the discussion section using a judge account set in the language model; An information providing device comprising:
2. The discussion section: The discussion is carried out by including the IRS account set in the language model.
2. The information providing device according to claim 1.
3. The judging section includes: Judging will be based on relevant laws or past precedents stored in the database.
2. The information providing device according to claim 1.
4. An information providing method executed by an information providing device, comprising: A discussion process in which a language model is generated by learning data stored in a database related to accounting cases, and a discussion process is performed on accounting cases using a plurality of accountant accounts making different claims set in the language model that generates answers to input prompts; a judging step of judging the merits and demerits of the claims based on the discussion results of the discussion step by a judge account set in the language model; Methods of providing information, including:
5. A discussion step in which a language model is generated by learning data stored in a database related to accounting cases, and a discussion step in which a discussion on accounting is conducted by a plurality of accountant accounts making different claims set in the language model that generates answers to input prompts; a judge step of judging the merits of the claims based on the discussion results of the discussion step by a judge account set in the language model; An information providing program that causes a computer to execute the above.
Citation Information
Patent Citations
Dialogue generation method and device, computer device and program
JP2022503838A