Information providing device, information providing method, and information providing program

JP2025031587APending Publication Date: 2025-03-07SOFTBANK GROUP CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024127743
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-24
Filing Date
2024-08-02
Publication Date
2025-03-07

AI Technical Summary

Benefits of technology

【0007】 実施形態の一態様によれば、特定分野に特化した言語モデルを有効に活用することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025031587000001_ABST
    Figure 2025031587000001_ABST
Patent Text Reader

Abstract

To effectively utilize a language model specialized in a specific field.SOLUTION: An information processing device according to an embodiment comprises a discussion unit and a judging unit. The discussion unit holds a discussion on a legal case by a plurality of lawyer accounts set in a language model generated by learning the data stored in a database on legal cases and for generating an answer for the input prompt, each lawyer account making different representations. The judging unit judges superiority of representations on the basis of the discussion results by the discussion unit by a judging account set in the language model.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

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 legal cases, the language model generating answers to input prompts, a discussion section in which legal cases are discussed by a plurality of lawyer accounts making different claims, and a judge section in which a judge account set in the language model judges the merits of the claims based on the results of the discussion by the discussion section. 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 a legal case database 20. The legal case database 20 is a database that stores data related to various laws. For example, the legal case database 20 stores data related to various laws related to civil cases and criminal cases, and data related to past precedents.

[0012] The information providing device 10 is a device to which various devices, including a legal 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 legal case database 20 incorporate semiconductor chips manufactured by the same manufacturer. Each of these semiconductor chips may perform machine learning or deep learning by itself.

[0014] In addition, the semiconductor chips used in the information providing device 10 and the legal case 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 this is an example and is 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 legal case database 20 can be ensured.

[0016] In this embodiment, the information providing device 10 learns a model based on a data source acquired from a legal case database 20. The model is a language model. As a language model, for example, ChatGPT by OpenAI Inc. is known (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 allows the language model to generate answers based on the data source. In this embodiment, the information providing device 10 plugs in to the legal case database 20 (step S1) and trains the language model based on the data stored in the legal case database 20 (step S2).

[0019] In this manner, the information providing device 10 trains the language model on various data stored in the legal 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 law firm. Specifically, in this embodiment, the accounts (roles) of "Lawyers A to C", "Prosecutor" and "Judge System" are set in advance by system prompts. "Lawyers A to C" are accounts that make different arguments. "Prosecutor" is an account that decides the topic of discussion between Lawyers A to C. Note that the "Prosecutor" may also play the role of plaintiff and make arguments for the plaintiff's side. "Judge System" is an account that judges the merits of the arguments of Lawyers A to C.

[0021] In this embodiment, the assertions made by the lawyers A to C accounts are input as prompts into the language model, and the system prompts are set so that the other lawyer accounts debate the input prompts.

[0022] Such settings enable "Lawyers A to C" to spontaneously hold a discussion using the language model. For example, as shown in FIG. 1, the "Prosecutor" sets the topic of the discussion (step S3). The topic here corresponds to the content of the consultation with the corporate lawyer. The topic may be related to a litigation case that the company is currently facing, or may be a fictitious topic.

[0023] "Lawyers A to C" debate along the theme set by the "Prosecutor" (Step S4). For example, "Lawyers A to C" each make different claims and debate the logic that supports those claims. For example, "Lawyers A to C" debate 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 debate (step S5). For example, when a certain termination condition is met, such as when the debate reaches a deadlock, the "judging system" judges which judgment system's argument is superior. For example, the "judging system" checks the relevant laws and past precedents to judge the merits of each lawyer's argument.

[0025] The "judging system" judges the arguments and logic of each lawyer 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 legal case database 20.

[0026] The information providing device 10 then uses the language model to hold a debate among the accounts set in advance, and derives a conclusion from the debate content. For example, the information providing device 10 is capable of holding such a debate many times, compared to a debate between actual lawyers. For example, it is possible to hold a debate on the same topic many times, and have the claim of the winner of one debate and the claim of the winner of the second debate debate each other.

[0027] In other words, the information providing device 10 can improve each argument by repeating such discussions. This enables the information providing device 10 to make more meaningful arguments than an actual lawyer.

[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 communications unit 11 transmits and receives information to and from the legal case 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 legal case database 20 (see FIG. 1). For example, the acquiring unit 31 acquires data every time the legal case 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 is a language model generated by learning data stored in a database related to legal cases, and uses the language model to generate answers to input prompts, and holds discussions between multiple lawyer accounts, each with different arguments.

[0038] First, the discussion unit 33 generates multiple lawyer accounts, prosecutor accounts, and judge system accounts through system prompts of the language model. For example, each lawyer account is set to make a different argument, and is further set to make a debate to support its own argument.

[0039] The prosecutor account is set to set the theme of the debate. The prosecutor account may debate with each lawyer account as the plaintiff. The judge system account is set to judge the results of the debate by each lawyer account, or the results of the debate by each lawyer account and the prosecutor 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 when the user requests a lawyer may be input to the language model as a theme.

[0041] The discussion unit 33 may also set the consultation content set by the user as the topic of discussion. For example, the consultation content here may be a consultation on whether or not a client company should file a lawsuit, or a consultation on the contract content that is advantageous to the client company.

[0042] The judge unit 34 uses a language model to judge the arguments based on the results of the discussion by the discussion unit 33. The judge unit 34 corresponds to a judge system account. The judge unit 34 judges the arguments of each lawyer account when the discussion between the lawyer accounts reaches a boiling point.

[0043] For example, the judging unit 34 inputs each claim by each lawyer 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 arguments by using a language model in light of relevant laws and past precedents. In addition, when the topic of the discussion is whether or not to proceed with a lawsuit, the judging unit 34 determines the conclusion based on the results of the discussion by each lawyer's account.

[0045] In addition, when the topic of the discussion is the contents of the contract, the judging unit 34 determines the draft of the contract based on the discussion results of each lawyer account. The result by the judging unit 34 is output to the user terminal of the user (not shown).

[0046] 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.

[0047] 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 legal case database 20 (step S101). Next, the information providing device 10 generates a language model based on the data acquired from the legal case database 20 (step S102), and ends the process.

[0048] 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 by each lawyer account (step S112).

[0049] Next, the information providing device 10 determines whether the discussion among the lawyer accounts 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.

[0050] Furthermore, when it is determined that the discussion by each lawyer account has ended (step S113; Yes), the information providing device 10 judges each argument based on the discussion result (step S114), and ends the process.

[0051] According to this embodiment, a virtual law firm is set up using a language model trained based on data stored in the legal case database 20, making it possible to effectively utilize language models specialized for specific fields.

[0052] 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.

[0053] 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.

[0054] 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] 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.

[0059] 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.

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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.

[0066] 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.

[0067] 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]

[0068] 1 Information provision system 10 Information provision device 11 Communications Department 12 Storage section 13 Control section 20 Legal Case Database 31 Acquisition Department 32 Generation part 33 Discussion Department 34 Judges 121 Language Model Information

Claims

1. a discussion section for holding discussions on legal cases using a plurality of lawyer accounts making different claims set in a language model that is generated by learning data stored in a database related to legal cases 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 conducted by including the prosecutor 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. The discussion section: Discuss whether or not a client company should file a lawsuit 2. The information providing device according to claim 1.

5. The discussion section: Discuss the details of potential litigation between the client company and other companies and the details of contracts to avoid or win litigation. The judging section includes: Draft contract terms based on judgement results 2. The information providing device according to claim 1.

6. 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 legal cases, and a discussion process is performed on legal cases using a plurality of lawyer accounts each making a different argument 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:

7. a discussion step in which a discussion on a legal case is conducted by a plurality of lawyer accounts making different claims set in a language model generated by learning data stored in a database related to legal cases, the language model generating 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