Neural network training method

Through the neural network training method, the document update model in the patent field is used to extract key sentences and noun phrases in patent documents, which solves the problems of low efficiency and low accuracy of patent document analysis in the existing technology, and achieves efficient and accurate patent analysis. Literature analysis.

CN118633091APending Publication Date: 2024-09-10LG INNOTEK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280087336.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-11-30
Filing Date
2022-11-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

It is difficult to automatically and efficiently analyze patent documents with existing technology, resulting in high time and cost, and low analysis accuracy and efficiency.

Method used

Using the neural network training method, by training the first neural network, the second neural network and the third neural network, using literature in the patent field for model update and training, key sentences and key noun phrases are extracted to improve the accuracy and efficiency of analysis.

Benefits of technology

It significantly improves the analysis accuracy and reasoning efficiency of patent documents, reduces training time and data volume, generates key noun phrases with rich meanings, and improves user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633091A
    Figure CN118633091A
Patent Text Reader

Abstract

The neural network training method according to an embodiment comprises the steps of: training a first neural network based on first input data; training a second neural network based on the second input data by applying a parameter value of the first neural network according to a training result of the first neural network; and training a third neural network based on third input data by applying the parameter value of the first neural network, the first input data including patent field documents, the second input data including a plurality of patent documents and first tag data obtained by marking key statements corresponding to the plurality of patent documents, respectively, the third input data comprises a plurality of key statements and second label data obtained by marking key noun phrases corresponding to the key statements respectively.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments relate to a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium. Background Art

[0002] Patents are elements of intellectual property protection and are a system applied to most disciplines such as management, economics, computer engineering, and mechanical engineering. Patents give inventors exclusive rights to the economic value of their inventions by giving them the right not to have their intellectual property infringed, thereby motivating inventors to disclose new technologies and ideas. In recent years, with the advancement of technology, many patents have been registered in various fields.

[0003] Here, patent registration may be allowed only if it is determined that a particular claim has new and inventive subject matter compared to the prior art. Therefore, in order to prepare the scope of the claims at the early stage of preparing a patent application, it is necessary to perform a rough prior patent analysis.

[0004] Prior patent analysis is the process of analyzing whether the claims that specify the scope of the invention to be protected by the inventor infringe the scope of other previously registered patents. However, such prior patent analysis is a job that requires a lot of manpower and expertise. That is, the prior patent analysis process includes data collection, information search, and technical understanding, and for this purpose, knowledge of complex fields is required.

[0005] In addition, the patent documents to be analyzed include a large amount of content and include specific terms in the technical and legal patent fields. Therefore, analyzing patent documents usually requires a lot of human resources, time and cost. This shows that there is a need for auxiliary tools that can be used in the patent processing and analysis process. Specifically, this shows the urgency and importance of developing technologies that can automate the analysis of patent documents so as to effectively alleviate the difficulties and limitations in terms of time and cost. Summary of the invention

[0006]

Technical issues

[0007] This embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can automatically analyze patent documents.

[0008] In addition, the present embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can improve the analysis accuracy of patent documents.

[0009] In addition, the present embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can improve patent analysis performance by using a neural network model specifically for analyzing patent documents.

[0010] In addition, the present embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can automatically analyze the specific implementation part including technical details rather than the abstract part or the claim part of the patent document.

[0011] In addition, the present embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can improve the training efficiency and reasoning efficiency of a neural network model by summarizing patent documents using a summary algorithm.

[0012] In addition, the present embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can automatically provide key sentences and key noun phrases included in a patent document using a neural network model specifically used for patent document analysis.

[0013] In addition, the present embodiment provides a neural network training method, an artificial intelligence device, and a computer program stored in a computer-readable storage medium that can provide key noun phrases that implicitly represent key sentences in patent documents.

[0014] The technical problems to be solved by the proposed embodiments are not limited to the above-mentioned technical problems, and other technical problems not mentioned can be clearly understood by those skilled in the art to which the proposed embodiments belong based on the following description.

[0015]

Technical solution

[0016] A method for training a neural network according to an embodiment includes: training a first neural network based on first input data; training a second neural network based on second input data by applying parameter values ​​of the first neural network according to a training result of the first neural network; and training a third neural network based on third input data by applying the parameter values ​​of the first neural network, wherein the first input data includes documents in the patent field, wherein the second input data includes a plurality of patent documents and first label data obtained by marking key sentences corresponding to each of the plurality of patent documents, and wherein the third input data includes a plurality of key sentences and second label data obtained by marking key noun phrases corresponding to each of the plurality of key sentences.

[0017] In addition, training the first neural network includes: using documents in the patent field to obtain multiple corpora, and using the multiple corpora to train the first neural network.

[0018] In addition, training the second neural network includes applying parameter values ​​of the first neural network as initial values ​​of parameter values ​​of the second neural network, and updating the parameter values ​​of the second neural network by performing training based on the second input data.

[0019] In addition, training the second neural network includes expanding the second input data, wherein expanding the second output data includes: copying label data obtained by marking key sentences corresponding to each of the multiple patent documents; and adding the copied label data as first label data for each patent document.

[0020] In addition, training the third neural network includes applying parameter values ​​of the first neural network as initial values ​​of parameter values ​​of the third neural network, and updating the parameter values ​​of the third neural network by performing training based on the third input data.

[0021] Additionally, training the second neural network includes obtaining summary data in which each of the plurality of patent documents included in the second input data is summarized.

[0022] In addition, training the first neural network includes changing parameter values ​​of the neural network trained based on the literature in the general field to parameter values ​​corresponding to the literature in the patent field.

[0023] In addition, the first to third neural networks include deep learning neural networks (DNN).

[0024] In addition, the model structures of the first neural network to the third neural network are the same.

[0025] In addition, the model structures of the first neural network to the third neural network include a T5 model.

[0026] At the same time, according to the embodiment, the artificial intelligence device includes: a first neural network for extracting key sentences included in the patent document; and a second neural network for extracting key noun phrases from the key sentences extracted by the first neural network, and wherein the parameter values ​​of the first neural network are trained and updated based on first input data in a state where the parameter values ​​of a training neural network trained to process documents in the patent field are used as initial values, and the parameter values ​​of the second neural network are trained and updated based on second input data in a state where the parameter values ​​of the trained neural network are used as initial values, the first input data includes multiple patent documents and first label data obtained by marking key sentences corresponding to each of the multiple patent documents, and the second input data includes multiple key sentences and second label data obtained by marking key noun phrases corresponding to the multiple key sentences.

[0027] In addition, the first neural network extracts key sentences from abstract data summarizing the patent document.

[0028]

Beneficial effects

[0029] The embodiment updates the first neural network trained in the literature of the general field using a model dedicated to the literature of the patent field. This means that the literature of the patent field includes specialized terms that are not included in the literature of the general field, and when the first neural network trained in the literature of the general field is used to analyze the patent literature, its training accuracy or reasoning accuracy may decrease. Therefore, the embodiment updates the parameter values ​​of the neural network corresponding to the literature of the patent field. Therefore, the embodiment can improve the training accuracy and reasoning accuracy of the patent literature, thereby improving user satisfaction.

[0030] In addition, the embodiment trains the second neural network for extracting key sentences from the patent document. At this time, the embodiment does not perform training using the entire range of the patent document included in the second input data to learn the second neural network 420, but uses summary data that summarizes the patent document to learn the second neural network 420. In the case of using the summary data to train the second neural network 420 through experiments, the training efficiency can be improved by effectively reducing the number of sentences included in the patent document. In addition, the embodiment can also improve the performance of the second neural network 420 by first filtering out the content that adversely affects the training of the second neural network 420 from the content of the entire range of the patent document included in the second input data.

[0031] In addition, the embodiment can effectively reduce unnecessary data within the document by summarizing the sentences as described above, and can effectively reduce the training time of the second neural network 420 by setting a minimum ratio so that as many important sentences as possible are included and then performing the training of the second neural network 420.

[0032] In addition, the embodiment applies the parameter values ​​obtained by the first neural network 410 as the initial values ​​of the parameter values ​​of the second neural network 420. Preferably, the embodiment extracts the finally updated parameter values ​​of the first neural network 410 for training the second neural network 420, and applies the extracted parameter values ​​as the initial values ​​of the parameter values ​​of the second neural network 420. In addition, the embodiment applies the parameter values ​​of the first neural network 410 as the initial values ​​to the parameter values ​​of the second neural network 420, so that the training of the second neural network 420 specifically for analyzing the documents in the patent field can be performed more efficiently, and therefore, the training time can be significantly reduced or the training accuracy can be improved.

[0033] In addition, the embodiment performs training of a third neural network for extracting key noun phrases from key sentences of patent documents.

[0034] In this case, the embodiment applies the generation method instead of the sentence extraction method to the third neural network 430. In the embodiment, some words in the key sentence included in the third input data are not included in the key noun phrase as its label data, but the key noun phrase includes new words not included in the key sentence. In this way, the embodiment can generate the key noun phrase in the corresponding key sentence more flexibly. This enables the key noun phrase to be newly generated based on the content of the entire sentence, rather than finding the key noun phrase within the sentence. Therefore, by generating the key noun phrase in a direction that is semantically similar to the reference key noun phrase, the embodiment can have an advantage of having a low error rate compared to the extraction method. Therefore, compared with the extraction method that extracts some words included in the key sentence as the key noun phrase, the embodiment can generate a key noun phrase that is richer in meaning and implicitly expresses the entire document content, thereby improving user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a diagram illustrating an artificial intelligence system according to an embodiment.

[0036] Figure 2 yes Figure 1 A block diagram of an example of an artificial intelligence device.

[0037] Figure 3 is a diagram showing the structure of a neural network according to an embodiment.

[0038] Figure 4 is a diagram illustrating a training process of a first neural network according to an embodiment.

[0039] Figure 5 is a diagram illustrating a training process of a second neural network according to an embodiment.

[0040] Figure 6 is a diagram illustrating a training process of a third neural network according to an embodiment.

[0041] Figure 7 is a flowchart for sequentially describing an inference method according to an embodiment. DETAILED DESCRIPTION

[0042] Hereinafter, the embodiments disclosed in this specification will be described in detail with reference to the accompanying drawings, but the same or similar components are represented by the same figure numerals regardless of the figure numbers, and their repeated descriptions will be omitted. The component suffixes "module" and "part" used in the following description are given or mixed together only in consideration of the ease of writing the specification, and do not have the meaning or function of distinguishing each other by themselves. In addition, when describing the embodiments disclosed in this specification, in the case where it is determined that the detailed description of the relevant known technology will unnecessarily obscure the main purpose of the embodiments disclosed in this specification, its detailed description will be omitted. In addition, the drawings are only used to facilitate the understanding of the embodiments disclosed in this specification, and the technical scope disclosed in this specification is not limited by the drawings, and should be understood to include all modifications, equivalents and alternatives that fall within the spirit and scope of the present invention.

[0043] It will be understood that although the terms “first”, “second”, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element.

[0044] It will be understood that when an element is referred to as being "connected" or "coupled" to another element, the element may be directly connected or coupled to the other element, or there may be intervening elements. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, it will be understood that there are no intervening elements.

[0045] As used herein, a singular expression includes a plural expression unless the context clearly indicates otherwise.

[0046] It will be understood that the terms “include,” “comprises,” or “has” specify the presence of the features, integers, steps, operations, elements, components, and / or groups thereof disclosed in the present specification, but do not exclude the possibility of the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0047] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0048] Figure 1 is a diagram showing an artificial intelligence system according to an embodiment, and Figure 2 yes Figure 1 A block diagram of an example of an artificial intelligence device of an embodiment of the present invention. Here, the artificial intelligence system may also be referred to as a patent document analysis system, which performs training to analyze patent documents through deep learning and analyzes input data (e.g., patent documents to be analyzed) based on the above training results. In addition, the artificial intelligence system also performs professional training in the patent field. In addition, the artificial intelligence system may be referred to as a system for extracting key information of patent documents, which extracts key sentences from patent documents by reflecting the training results and extracts key noun phrases from the extracted key sentences.

[0049] In the following, reference will be made to Figure 1 An artificial intelligence system according to an embodiment is briefly described.

[0050] The artificial intelligence system according to the embodiment includes an electronic device 100 , a database 200 , and an artificial intelligence device 300 .

[0051] The electronic device 100 may be referred to as a user terminal. According to an embodiment, the electronic device 100 may access an application, a website, etc. that provides a patent document analysis function. The electronic device 100 may input information of a target to be analyzed by the accessed application or website.

[0052] In this case, the information of the target to be analyzed may be a patent document number (e.g., at least one of an application number, a patent number, and a publication number). Alternatively, the information of the target to be analyzed may be a search keyword for searching patent documents in a specific technical field. Alternatively, the user may input a specific patent document to be analyzed as information through the electronic device 100.

[0053] The electronic device 100 may include all terminals capable of accessing applications or websites through a network.

[0054] For example, the electronic device 100 may include at least one of a smart phone, a tablet PC, a mobile phone, a video phone, an e-book reader, a desktop PC, a notebook PC, a netbook computer, a workstation, a server, a PDA, a portable multimedia player (PMP), an MP3 player, a medical device, a camera device, or a wearable device. The wearable device may include at least one of an accessory type (e.g., a watch, a ring, a bracelet, an anklet, a necklace, glasses, contact lenses, or a head mounted device (HMD)), a fabric or clothing integrated type (e.g., an electronic garment), a body attached type (e.g., a skin pad or a tattoo), or a bio-implanted circuit.

[0055] For example, the electronic device 100 may include at least one of a television, a digital video disc (DVD) player, an audio, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave, a washing machine, an air purifier, a set-top box, a home automation control panel, a security control panel, a media box (e.g., Samsung Home Sync™, Apple TV™, or Google TV™), a game console (e.g., Xbox™, PlayStation™), an electronic dictionary, an electronic key, a camera, or an electronic photo frame.

[0056] For example, the electronic device 100 may include at least one of the following: various medical devices (for example, various portable medical devices (for example, blood glucose meters, heart rate meters, blood pressure meters or thermometers), MRA (magnetic resonance angiography), MRI (magnetic resonance imaging), CT (computed tomography), photographers, ultrasound, etc.)), navigation devices, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), car infotainment devices, ship electronic equipment (for example, ship navigation devices, gyrocompasses, etc.), avionics devices (avionics devices), security devices, vehicle hosts, industrial or household robots, drones, ATMs of financial institutions, points of sale (POS) of stores, or Internet of Things devices (for example, light bulbs, various sensors, sprinkler devices, fire alarms, street lights, toasters, training equipment, hot water tanks, heaters, boilers, etc.).

[0057] The database 200 may be connected to the electronic device 100 or the artificial intelligence device 300 via a network.

[0058] The database 200 may receive the analysis target information and transmit the patent document corresponding to the analysis target information to the artificial intelligence device 300 or the electronic device 100 .

[0059] For example, the database 200 may receive analysis target information from the electronic device 100. To this end, the analysis target information input to the electronic device 100 may be provided to the database 200 through a network. In addition, the database 200 may search for patent documents corresponding to the received analysis target information and send the searched patent documents to any one of the electronic device 100 and the artificial intelligence device 300.

[0060] As another example, the database 200 may receive analysis target information from the artificial intelligence device 300. To this end, the analysis target information input to the electronic device 100 may be provided to the artificial intelligence device 300 through a network. In addition, the artificial intelligence device 300 may access the database 200 through a network to receive a patent document corresponding to the analysis target information.

[0061] The database 200 includes at least one database and thus may store a plurality of previously filed patent documents.

[0062] Preferably, the database 200 may include a plurality of databases. For example, the database 200 may include a first database to an Nth database.

[0063] In addition, the first database may be a database operated by the Korean Intellectual Property Office (KIPO) or a database operated by a person who has received a service from the Korean Intellectual Property Office. In addition, the first database may store patent documents submitted with the Korean Intellectual Property Office as a receiving office.

[0064] For example, the second database may be a database operated by the United States Patent and Trademark Office (USPTO), or a database operated by a person who has received services from the United States Patent and Trademark Office. In addition, the second database may store patent documents submitted with the United States Patent and Trademark Office as a receiving office.

[0065] The third database may be a database operated by the European Patent Office (EPO), or a database operated by a person who has received services from the European Patent Office. In addition, the third database may store patent documents submitted with the European Patent Office as a receiving office.

[0066] The fourth database may be a database operated by the Japan Patent Office (JPO), or a database operated by a person who has received a service from the Japan Patent Office. In addition, the fourth database may store patent documents submitted with the Japan Patent Office as a receiving office.

[0067] In addition, database 200 may also include a database storing patent documents submitted with China, Germany, the United Kingdom, France, India, Canada, Australia, Singapore, Mexico and other countries as receiving offices.

[0068] Here, the scope of the present invention is not limited by the number or type of databases constituting the database 200 , and this is obvious to those skilled in the art to which the present invention pertains.

[0069] The artificial intelligence device 300 may receive patent documents from the database 200 or the electronic device 100, analyze the provided patent documents, and perform an operation of extracting key features.

[0070] For example, the artificial intelligence device 300 may refer to a device that trains an artificial neural network using a machine learning algorithm or performs an operation of analyzing patent documents using a trained artificial neural network.

[0071] The artificial intelligence device 300 stores a plurality of artificial neural networks. For example, the artificial intelligence device 300 may store the first to third artificial neural networks. The artificial intelligence device 300 may deeply learn the first to third artificial neural networks based on input data. The artificial intelligence device 300 may perform an operation of extracting key sentences and key noun phrases included in the provided patent document by performing an inference operation using the first to third artificial neural networks that have been deeply learned.

[0072] Therefore, the artificial intelligence device 300 is also referred to as a computing device, which includes multiple artificial neural networks, executes multiple artificial neural networks according to input data to train each artificial neural network in the artificial neural networks, and uses patent documents and the trained artificial neural networks to perform a series of operations to extract key sentences and key noun phrases included in the patent documents.

[0073] The artificial intelligence device 300 may include a communication unit 310 , a memory 320 , and a processor 330 .

[0074] The communication unit 310 may communicate with at least one of the electronic device 100 and the database 200 to receive input data. In this case, the input data may be input data for training, and differently, the input data may be input data for reasoning. The training operation and reasoning operation of the artificial intelligence device 300 will be described in more detail below.

[0075] The communication unit 310 may communicate with the electronic device 100 or the database 200 through a wireless data communication method. As the wireless data communication method, a technical standard or communication method for mobile communication (e.g., Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Code Division Multiple Access 2000 (CDMA2000), Enhanced Voice Data Optimized or Enhanced Voice Data Only (EV-DO), Wideband CDMA (WCDMA), High Speed ​​Downlink Packet Access (HSDPA), HSUPA (High Speed ​​Uplink Packet Access), Long Term Evolution (LTE), LTE-A (Long Term Evolution Advanced), etc.) may be used.

[0076] In addition, the communication unit 310 may use wireless Internet technology to communicate with any one of the electronic device 100 and the database 200. For example, the wireless Internet technology may include wireless LAN (wireless LAN), wireless fidelity (Wi-Fi), wireless fidelity (Wi-Fi) direct connection, digital living network alliance (DLNA), wireless broadband (WiBro), world interoperability for microwave access (WiMAX), high speed downlink packet access (HSUPA), long term evolution (LTE-Advanced), etc.

[0077] In addition, the communication unit 310 can communicate with any one of the electronic device 100 and the database 200 using short-range communication. For example, Bluetooth TM , Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra-Wideband (UWB), ZigBee, NFC (Near Field Communication), Wi-Fi (Wireless Fidelity), Wi-Fi Direct, and wireless Universal Serial Bus (USB) technologies support short-range communication.

[0078] The memory 320 may include a model storage unit 321. For example, the memory 320 may store a model 321a that is currently being trained by the processor 330 or has been trained by the processor 330. The memory 320 may include at least one type of storage medium: a flash memory type, a hard disk type, a micro multimedia card, a card memory (e.g., an SD or XD memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, and an optical disk. In addition, the artificial intelligence device 300 may operate in association with a network storage that performs a storage function of the memory 320 on the Internet.

[0079] The processor 330 may control the overall operation of the artificial intelligence device 300. The processor 330 may process signals, data, and information input or output through each of the above components, drive an application program stored in the memory 320 to provide specific information to the electronic device 100, or provide a specific function performed by the electronic device 100.

[0080] The processor 330 may include one or more cores, which may include a processor for data analysis and deep learning, such as a central processing unit (CPU) of a computing device, a general purpose graphics processing unit (GPGPU), a tensor processing unit (TPU). According to an embodiment of the present invention, the processor 330 may read a computer program stored in the memory 320 to extract key sentences and key noun phrases included in a specific patent document.

[0081] In an embodiment, the processor 330 may train the first to third artificial neural networks through a separate process. In this case, the processor 330 may use a summary algorithm to summarize the data input to the first to third artificial neural networks. The summary algorithm may include a TextRank algorithm, but is not limited thereto. The TextRank algorithm may construct a word graph or a sentence graph, and then use PageRank, which is a graph ranking algorithm, to summarize the patent document.

[0082] The processor 330 may perform calculations for training the first to third artificial neural networks. For example, the processor 330 may perform a series of operations for training through deep learning, such as processing input data for training in the first to third artificial neural networks and updating weights or parameters of the neural networks through loss function calculations.

[0083] In addition, the processor 330 may perform reasoning operations using a neural network whose weights / parameters have been updated or trained. For example, the processor 330 may use a patent document corresponding to the information to be analyzed as input data, and accordingly execute the trained artificial neural network stored in the memory 320. In this way, the processor 330 extracts key sentences and key noun phrases included in the patent document. In addition, when extracting the key noun phrases and key sentences, the processor 330 may provide information about the key noun phrases and key sentences to the electronic device 100 through the communication unit 310.

[0084] Hereinafter, the artificial intelligence device 300 will be described in more detail.

[0085] Before describing the artificial intelligence device 300 of the present application, artificial intelligence will be described as follows. Artificial intelligence refers to the field of studying artificial intelligence or the methodology that can create artificial intelligence, and machine learning refers to the field of studying the methodology for defining and solving various problems covered in the field of artificial intelligence. Machine learning is also defined as an algorithm that improves task performance through continuous experience. Artificial neural network (ANN) is a model used in machine learning and can refer to an overall model with problem-solving capabilities composed of artificial neurons (nodes) formed in a network by combining synapses. An artificial neural network can be defined by the connection pattern between neurons in different layers, the training process for updating model parameters, and the activation function for generating output values.

[0086] The artificial neural network may include an input layer, an output layer, and optionally one or more hidden layers. Each layer includes one or more neurons, and the artificial neural network may include synapses connecting neurons. In the artificial neural network, each neuron may output a function value of an activation function for an input signal, a weight, and a bias input through a synapse.

[0087] Model parameters are those determined through training and include the weights of synaptic connections and the deflections of neurons. In addition, hyperparameters are those that must be set before training in a machine learning algorithm and include the training rate, number of iterations, mini-batch size, and initialization function.

[0088] The purpose of training an artificial neural network may be to determine model parameters that minimize a loss function. For example, the artificial intelligence device 300 in the embodiment may perform a training operation to determine parameters that minimize the loss function of each artificial neural network from the first artificial neural network to the third artificial neural network. The loss function may be used as an indicator for determining optimal model parameters during the training process of the artificial neural network.

[0089] Depending on the training method, machine learning can be categorized into supervised training, unsupervised training, and reinforcement training.

[0090] Supervised training refers to a method of training an artificial neural network in a state where labels for training data are given, and the label may mean the correct answer (or result value) that the artificial neural network must infer when the training data is input to the artificial neural network. Unsupervised training may mean a method of training an artificial neural network in a state where labels for training data are not given. Reinforcement training may mean a training method in which an agent defined in an environment is trained to select an action or sequence of actions that maximizes the cumulative compensation in each state.

[0091] In an artificial neural network, machine learning implemented as a deep neural network (DNN) including multiple hidden layers may be referred to as deep learning, which is a part of machine learning. In addition, embodiments may train a neural network through deep learning and use its training results to perform reasoning.

[0092] At the same time, the deep learning neural network (DNN) in the embodiment may refer to a neural network that includes multiple hidden layers in addition to the input layer and the output layer. In the case of using a deep neural network, the potential structure of the data can be identified. The deep neural network used in the embodiment may include a convolutional neural network (CNN), a recursive neural network (RNN), an autoencoder, a generative adversarial network (GAN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a Q network, a U network, a Siamese network, etc.

[0093] Meanwhile, in this specification, an operation model, a neural network, a network function and a neural network may be used as the same meaning. In addition, a data structure may include a neural network, and a data structure including a neural network may be stored in a computer-readable medium. A data structure including a neural network may also include data input to the neural network, weights of the neural network, hyperparameters of the neural network, data obtained from the neural network, activation functions associated with each node or layer of the neural network, and loss functions for training the neural network. A data structure including a neural network may include any component of the disclosed components. That is, a data structure including a neural network may include all or any combination of the following: for example, data input to the neural network, weights of the neural network, hyperparameters of the neural network, data obtained from the neural network, activation functions associated with each node or layer of the neural network, loss functions for training the neural network, etc. In addition to the above configuration, a data structure including a neural network may also include any other information for determining the characteristics of the neural network. In addition, the data structure may include all forms of data used or generated in the calculation process of the neural network, and is not limited to the above. A computer-readable medium may include a computer-readable recording medium and / or a computer-readable transmission medium. A neural network may include a group of interconnected computing units, which may generally be referred to as nodes. These nodes may also be referred to as neurons. A neural network is configured to include at least one node.

[0094] Meanwhile, the data structure may include data input to the neural network. The data structure including the data input to the neural network may be stored in a computer-readable medium. The data input to the neural network may include training data input during the neural network training process and / or input data input to the trained neural network. The data input to the neural network may include data that has been preprocessed and / or data to be preprocessed. Preprocessing may include a data processing process for inputting data to the neural network. Accordingly, the data structure may include data to be processed and data generated by preprocessing. The above data structures are examples only, and the present disclosure is not limited thereto. The data structure may include the weights of the neural network. The weights of the neural network mean parameters, and the data structure including the weights of the neural network may be stored in a computer-readable medium. The neural network may include multiple weights. The weights may be variable and may be changed by training to perform the desired function of the neural network. For example, in the case where one or more input nodes are interconnected with an output node through each link, the output node may determine the output node value based on the value of the input node connected to the output node and the parameter set in the link corresponding to each input node.

[0095] In addition, the weights may include weights that change during the neural network training process and / or weights when the neural network training is completed. The weights that change during the neural network training process may include weights at the beginning of the training cycle and / or weights that change during the training cycle. The weights when the neural network training is completed may include weights at the end of the training cycle. Therefore, the data structure including the weights of the neural network may include such a data structure, which includes weights that change during the neural network training process and / or weights when the neural network training is completed. Therefore, it is assumed that the above-mentioned weights and / or combinations of weights are included in the data structure including the weights of the neural network.

[0096] The data structure including the weights of the neural network can be stored in a computer-readable storage medium (e.g., a memory or a hard disk) after a serialization process. Serialization can be a process of storing a data structure in the same or different computing device and then reconfiguring the data structure again to convert it into a usable form. The computing device can serialize the data structure to transmit and receive data over a network. The data structure including the weights of the serialized neural network can be reconstructed in the same computing device or another computing device by deserialization. The data structure including the weights of the neural network is not limited to serialization. In addition, the data structure including the weights of the neural network can include a data structure (e.g., a B-tree, a dictionary tree (Trie), a multi-way search tree, an AVL tree, and a red-black tree) in a non-linear data structure for improving operational efficiency while minimizing the resources of the computing device.

[0097] Hereinafter, the training and inference operations of a neural network according to an embodiment will be described in detail.

[0098] Figure 3 is a diagram showing the structure of a neural network according to an embodiment.

[0099] Reference Figure 3 , the neural network 400 according to the embodiment may include first to third neural networks 410, 420, and 430. In this case, the first to third neural networks 410, 420, and 430 may be trained by deep learning according to input data. And finally at least one of the trained first to third neural networks 410, 420, and 430 may be used to infer the result value of the input data for analysis of patent documents.

[0100] As described above, in an embodiment, the first to third neural networks 410, 420, and 430 may be deep learning neural networks. Specifically, the first to third neural networks 410, 420, and 430 may include an artificial intelligence module for performing natural language processing for analysis of patent documents. For example, the first to third neural networks 410, 420, and 430 may be a T5 model. However, in an embodiment, the type of model constituting the first to third neural networks 410, 420, and 430 is not limited to 'T5', and other models in the artificial intelligence model for performing natural language processing may be used.

[0101] Therefore, the training process in the embodiment may include a first process of training the first neural network 410, a second process of training the second neural network 420, and a third process of training the third neural network 430. In this case, each of the first process to the third process may be sequentially performed using a time difference. However, the embodiment is not limited thereto, and at least two of the first process to the third process may be performed simultaneously.

[0102] Preferably, in an embodiment, the first process of training the first neural network 410 may be preferentially executed. In an embodiment, the second process of training the second neural network 420 and the third process of training the third neural network 430 may be simultaneously executed using the training result value of the first process.

[0103] In this case, the first process may mean a process of performing training specifically for patent documents on the first neural network 410. For example, the first process may mean a training process for updating the parameters or weights of the neural network to a state specifically for patent document analysis.

[0104] The second process may refer to a training process of extracting key sentences from the patent document for the second neural network 420. For example, the second process may refer to a process of training or deep learning the second neural network 420 to extract or infer key sentences that are keywords in the content included in the entire scope of the patent document.

[0105] The third process may refer to a training process for extracting or inferring key noun phrases from key sentences included in the patent document for the third neural network 430. For example, the third process may refer to a process of training or deep learning the third neural network 430 to extract or infer key noun phrases from key sentences included in the patent document.

[0106] Hereinafter, a process of training or deeply learning the first neural network 410, the second neural network 420, and the third neural network 430 through the first process to the third process will be described in detail.

[0107] Figure 4 is a diagram illustrating a training process of a first neural network according to an embodiment.

[0108] Reference Figure 4 , an embodiment preferentially uses a neural network having a model for general natural language processing, and performs a deep learning or training process to update the general neural network to a state specifically for processing patent documents.

[0109] In this case, the first process may be referred to as a preprocessing process for training or deep learning the second neural network 420 and the third neural network 430 .

[0110] The artificial intelligence model of the first neural network 410 is the same as the artificial intelligence model of the second neural network 420 and the artificial intelligence model of the third neural network 430. The first process of training or deep learning the first neural network 410 may be to improve the inference accuracy in the subsequent process while improving the training accuracy of the second neural network 420 and the third neural network 430.

[0111] In this case, the second neural network 420 in the embodiment needs to perform the task of determining key sentences and extracting key sentences, and the third neural network 430 needs to perform the task of generating new natural language meaning the keywords in the key sentences. Specifically, the second neural network 420 and the third neural network 430 in the embodiment should be able to perform training and reasoning for natural language understanding and natural language generation.

[0112] To this end, the baseline of the model structure of the second neural network 420 and the third neural network 430 in the embodiment can use the T5 model structure with high performance in both natural language understanding and natural language generation. However, the present embodiment is not limited thereto, and the second neural network 420 and the third neural network 430 can use other model structures with high performance in natural language generation and natural language understanding other than the T5 model structure.

[0113] Meanwhile, as described above, the model structure of the first neural network 410 may be the same as the model structures of the second neural network 420 and the third neural network 430 .

[0114] However, during the training process, input data input to the first neural network 410 and the training method of the first neural network 410 may be different from input data input to each of the second neural network 420 and the third neural network 430 and the training method of each of the second neural network 420 and the third neural network 430.

[0115] In this case, the embodiment may perform the process of training or deeply learning the second neural network 420 and the third neural network 430 without the need for the first process of training or deeply learning the first neural network 410. That is, the training process of the first neural network 410 may be regarded as a process for improving the training accuracy and inference accuracy of the second neural network 420 and the third neural network 430.

[0116] The first process may enable training of the first neural network 410 based on input data in a state where a model trained through a general domain is set as a base value (eg, a parameter value or a weight value) of a network function.

[0117] To this end, as the beginning of the first process, the first input data is input to the first neural network 410 (S110). The first input data may be provided by the electronic device 100, or may be provided differently by the database 200. However, the embodiment is not limited thereto, and the first input data may utilize data stored in the artificial intelligence device 300.

[0118] The first input data may be specific data in a patent field. For example, the first input data may be a specific patent document used to train the first neural network 410.

[0119] In this case, the embodiment does not use a certain range of partial documents within the first input data to perform training of the first neural network 410, but uses the content of the entire range of the first input data to perform training of the first neural network 410.

[0120] For example, the first input data is a patent document in a patent field. In addition, the document in the patent field is divided into a plurality of identification items. For example, the document in the patent field is divided into a background description item, a specific implementation item, an abstract item, and a claim item. In addition, because there are many lengthy and unnecessary noises in the document in the patent field, the patent document analysis system in the comparative example is analyzed based on the claim item or the abstract item in the above-mentioned identification item. However, the document in the general patent field includes most of the important contents in the specific implementation item. Therefore, if the analysis is not performed based on the specific implementation item in the document in a specific patent field, it is difficult to obtain an accurate analysis result of the document.

[0121] Therefore, in order to train the first neural network 410, the implementation method does not refer only to the content of a specific scope in the literature of the patent field, but trains the first neural network 410 by referring to the entire scope (especially, the content of the specific implementation items).

[0122] In this case, the documents in the patent field include many specialized terms that are not included in the documents in the general field. Therefore, when the documents in the patent field are directly analyzed by applying a neural network having a model trained using the documents in the general field, there may be relatively low training accuracy and inference accuracy.

[0123] Therefore, the embodiment updates the parameter values ​​or weights of the first neural network 410 into a model structure specifically used for analyzing documents in the patent field through the first process.

[0124] Meanwhile, when the first input data is input in the training process of the first neural network 410, the embodiment may perform a process of processing the first input data. Preferably, the embodiment may perform a process of generating a corpus used in the literature of the patent field according to the first input data or extracting from the first input data (S120). Here, the corpus may mean language data in which the text based on the application solution in the natural language processing technology is collected in a computer-readable form. The corpus may also be represented as a word group. In an embodiment, the first neural network 410 is not trained by directly using the first input data. That is, the embodiment enables the first neural network 410 to be trained by obtaining a corpus corresponding to the literature of the patent field from the first input data and using the corpus. In this case, as the number of corpora increases, the accuracy of the natural language that the first neural network 410 can recognize or understand increases, and accordingly, the training accuracy and the reasoning accuracy can be increased.

[0125] Next, the embodiment performs training of the first neural network 410 using first input data (preferably, a corpus obtained from literature in the patent field) (S130).

[0126] In this case, the training of the first neural network 410 can be performed by an unsupervised training method. Preferably, in an embodiment, in order to train the first neural network 410, the first input data is used for training in a state where the first input data does not include label data (e.g., correct answer data).

[0127] The training method of the first neural network 410 will be briefly described as follows: The first neural network 410 may mask a portion of the first input data, and thus, training may be performed based on a loss function according to whether the masked portion of the first neural network 410 is accurately generated.

[0128] That is, the training process of the first neural network 410 is described in more detail as follows. The first input data may be unlabeled data, which may be referred to as X=x1, x2, . . . , x n .

[0129] In addition, in the embodiment, X=x1, x2, . . . , x n Partial word in span s i ={x j :x j +span j} is used as a special token i >Replacement, and a corrupted sentence X' can be generated through this process.

[0130] Furthermore, as a training process of the first neural network 410, the first neural network 410 may receive the above X' as input and train to generate process, is the set of replaced words (e.g., a span set).

[0131] Here, span j Meaning relative to j th The span length of maskingspan. When it is defined as the masking span, the training object of the model θ in the corresponding processor can be expressed as the following formula 1.

[0132] [Formula 1]

[0133]

[0134] in,

[0135] In addition, in the step of pre-training the first neural network 410 through the corresponding object, the embodiment can perform pre-training on several subtasks at the same time. This refers to the process of pre-processing all tasks such as natural language understanding into one sequential input / output data and training the neural network model in a text-to-text form through the corresponding data. Therefore, the embodiment can have a consistent training object in the training process of the first neural network 410 trained through the first process and the second neural network 420 and the third neural network 430 trained through the second process and the third process.

[0136] Meanwhile, in the first process, as shown in the following formula 2, the preprocessed input sequence can be The output sequence generated by the model θ of the first neural network 410 is generated by a sequence-to-sequence autoregressive process Here, sequence-to-sequence (Seq2Seq) training means performing model training that converts a sequence from a specific field (eg, a general field) into another field (eg, a patent field).

[0137] ​[Formula 2]

[0138]

[0139] In addition, the training of the first neural network 410 can be performed in a direction that minimizes the cross entropy loss between the embedding representation of the output sequence generated by Equation 2 and the actual reference output sequence.

[0140] And the implementation method can perform the first process of training the first neural network 410 through the above process.

[0141] In addition, the model structure of the first neural network 410 can be converted from a structure for analyzing documents in the general field to a model structure for analyzing documents in the patent field through the first process.

[0142] For example, the parameter value of the first neural network 410 may be updated to a state specifically used for analyzing documents in the patent field through the first process ( S140 ).

[0143] Meanwhile, in an embodiment, the second neural network 420 and the third neural network 430 are subsequently trained using the parameter value of the first neural network 410 updated through the first process.

[0144] Next, the second process and the third process for training the second neural network 420 and the third neural network 430 will be described. Figure 5 is a diagram illustrating a training process of a second neural network according to an embodiment.

[0145] In this case, the second process of training the second neural network 420 and the third process of training the third neural network 430 may be performed simultaneously or sequentially.

[0146] The second process of training the second neural network 420 will be described as follows.

[0147] The embodiment may input second input data (S210) for training the second neural network 420. The second input data may include patent documents for training and label data that is correct answer data in the patent documents.

[0148] For example, the second input data consists of patent documents and label data of the patent documents as a set, and may have a form including a plurality of such sets.

[0149] For example, the second input data may include a first data set and a second data set, the first data set including a first patent document and first label data marking key sentences in the first patent document, and the second data set including a second patent document and second label data marking key sentences in the second patent document. In this case, it has been described that the second input data includes two data sets, but is not limited thereto. For example, the second input data may include three or more data sets to improve the training accuracy of the second neural network 420.

[0150] At the same time, when the second input data is input, the embodiment may perform a process of generating summary data summarizing the second input data (S220). Specifically, the embodiment may perform a process of summarizing the patent documents in each data set included in the second input data. For example, the embodiment obtains summary data summarizing the patent documents included in the second input data using a summary algorithm. In this case, the summary algorithm may include a TextRank algorithm, but is not limited thereto. The TextRank algorithm may construct a word graph or a sentence graph, and then summarize the patent documents using PageRank, which is a graph ranking algorithm.

[0151] That is, the embodiment trains the second neural network 420 using summary data summarizing the patent document, rather than performing training using the entire range of the patent document included in the second input data for training the second neural network 420. The embodiment experimentally confirms that in the case of training the second neural network 420 using summary data, the training efficiency can be improved by effectively reducing the number of sentences included in the patent document. In addition, the embodiment can further improve the performance of the second neural network 420 by first filtering out the content that adversely affects the training of the second neural network 420 from the content of the entire range of the patent document included in the second input data.

[0152] In summary, when the second input data is input, the embodiment does not immediately apply the second input signal as the training data of the second neural network 420, but pre-processes the second input data before training the second neural network 420. And the embodiment can effectively summarize the patent document included in the second input data by assigning relative importance to the sentences in the patent document included in the second input data and applying a graph-based method that summarizes the entire document by using the importance. In this case, the summary method implemented by the summary algorithm can be shown as shown in the following formula 3.

[0153] [Formula 3]

[0154]

[0155] Here, WS(Vi ) refers to the statement V i The importance score of the sentence (V i With V i ). In addition, in an embodiment, summary data of the first input data can be obtained by obtaining all WS values ​​of sentences included in the patent document, arranging the sentences based on the corresponding WS values, and selecting sentences with high WS values ​​in the document.

[0156] In addition, the embodiment can effectively reduce unnecessary data within the document through the sentence summarization as described above, and can effectively reduce the training time of the second neural network 420 by setting a minimum ratio so that important sentences are included as much as possible and then performing the training of the second neural network 420.

[0157] On the other hand, in the case where the patent document is over-generalized when obtaining the summary data, the label data may not be included in the obtained summary data. In other words, according to the summary result of the patent document, the correct answer data may not be included in the summary data. Therefore, the embodiment obtains the summary data by applying TextRank using different thresholds. In addition, the minimum summary ratio in which the label data is not omitted in the summary data is checked according to the acquisition result of the summary data, and the corresponding threshold is applied to obtain the summary data.

[0158] On the other hand, the embodiment may selectively use the corresponding input data according to whether the label data is included in the summary data obtained by the summary algorithm. For example, even in the case where the threshold applied by the summary algorithm is low, the label data may be omitted in the summary data. In addition, in this case, this means that even if the patent document is not over-summarized, the label data is omitted, and thus the second neural network 420 may not be effectively trained.

[0159] Therefore, in the case where the label data is included in the summary data summarized by the summary algorithm, the embodiment uses the label data as training data for training the second neural network 420. In addition, in the case where the label data is not included in the summary data summarized by the summary algorithm, it can be excluded from the training data used for training the second neural network 420.

[0160] On the other hand, the embodiment confirms whether training using summary data obtained based on the TextRank algorithm has higher performance than training using original data without summarization.

[0161] That is, in an embodiment, the summarized data and the unsummarized original data are respectively applied to the training of the second neural network 420 to continue the training, and the embodiment confirms the training result accordingly.

[0162] In addition, the embodiment confirms that the neural network with the model trained with the summary data can have better performance than the model trained with the original data. In addition, this shows that the number of sentences in each document can be effectively reduced by the summary algorithm, and thus the training time can be effectively reduced, and the overall performance of the model can be improved. In addition, in this way, the computing power and GPU resources used to train the second neural network 420 can be effectively reduced.

[0163] Next, an embodiment performs training of a second neural network 420 using second input data including a set of summary data and its label data.

[0164] To this end, the embodiment applies the parameter values ​​obtained by the first neural network 410 as the initial values ​​of the parameter values ​​of the second neural network 420 (S230). Preferably, the embodiment extracts the finally updated parameter values ​​of the first neural network 410 for training the second neural network 420, and applies the extracted parameter values ​​as the initial values ​​of the parameter values ​​of the second neural network 420. Also, the embodiment applies the parameter values ​​of the first neural network 410 as the initial values, so that the training of the second neural network 420 specifically for analyzing the documents in the patent field can be performed more efficiently, and therefore, the training time can be significantly reduced or the training accuracy can be improved.

[0165] Thereafter, in an embodiment, in a state where the parameter values ​​of the first neural network 410 are applied as initial parameter values ​​of the second neural network 420, the second neural network 420 is trained using the second input data (preferably summary data) (S240).

[0166] To this end, an embodiment may utilize a model that quantitatively measures the importance of a sentence. That is, the embodiment marks the case where a specific sentence is used as a key sentence as "1" for summary data and a data set including its label data, and marks the case where the specific sentence is not a key sentence as "0". Then, the embodiment may perform training of the second neural network 420 by training a process that regresses the label value for each sentence through the model. To this end, the second neural network 420 may have a model of an encoder structure. Furthermore, the second neural network 420 may encode the input sentence and score whether the corresponding sentence is an important sentence (e.g., label = 1) or an unimportant sentence (e.g., label = 0) between 0 and 1, respectively. In this case, the output X of the model and the score x for determining the importance of the corresponding sentence may be calculated by the process shown in Formula 4 below.

[0167] [Formula 4]

[0168]

[0169] In addition, the embodiment performs training of the second neural network 420 in a direction that minimizes the cross entropy loss between the actual label data and the label data obtained through the training process within the corresponding document. In this case, in the reasoning step of extracting key sentences for a specific analyzed patent document using the second neural network 420, the score x can be used as a determination metric.

[0170] In this way, the embodiment checks the importance of sentences within the patent document, measures the importance for each sentence in the document, and performs key sentence extraction training and inference by selecting the N sentences with the highest importance.

[0171] In the training process of the second neural network 420, the loss function is calculated by comparing the output data obtained through training with the label data. And, in the case where the loss function is greater than the preset threshold, the second neural network 420 is retrained. Alternatively, in the case where the loss function is less than the preset threshold, the training process can be completed and thus proceed to the next step.

[0172] However, the second neural network 420 is trained by the extraction method. In this case, when training is performed by the extraction method, label imbalance may be a great constraint on performance improvement. This is because: due to the characteristics of the specific implementation items of the patent document, the number of sentences included in the entire document is very large, and the number of key sentences to be extracted from the document is very small. This has excellent classification performance for general sentences other than key sentences, but in the case of extracting key sentences, the classification accuracy of key sentences may be reduced. That is, due to the characteristics of the patent document, the data with importance "0" is relatively more than the data with importance "1", and for this reason, if the second neural network 420 is trained without an additional preprocessing process, the training accuracy may be reduced.

[0173] Therefore, the embodiment can perform upscaling on the key sentence data. Accordingly, a method can be performed in which, among the first summary data and the label data of the first summary data used to perform the training of the second neural network 420, the label data in the first summary data is copied and added to the first summary data. Therefore, the embodiment enables training to be performed in a state where the frequency of data labeled "1" and the frequency of data labeled "0" in the summary data are similarly matched, and therefore, the training accuracy can be improved.

[0174] In this case, for the scaling value used to perform the expansion (e.g., the number of label data copied), a comparative experiment is performed to obtain the optimal scaling value under the state of applying each scaling value, and the obtained scaling value is applied. In this way, the implementation can effectively improve the accuracy of determining the importance of each sentence in the document, and thus generate a high-performance model for extracting key sentences.

[0175] In addition, the embodiment updates the parameter values ​​(S250) according to the training results of the second neural network 420. For example, in the embodiment, the initial values ​​of the parameter values ​​of the second neural network 420 are the same as the parameter values ​​of the first neural network 410, and the parameter values ​​of the first neural network 410 are the parameter values ​​of the model for analyzing the patent field document obtained based on the model for analyzing the general field document.

[0176] Therefore, the embodiment can update the parameter values ​​of the second neural network 420 to the parameter values ​​of the model for extracting key sentences in the patent document through the training process of the second neural network 420 as described above.

[0177] Next, the third neural network 430 for training the third neural network 430 will be described as follows.

[0178] The third process of the third neural network 430 may be performed simultaneously with the second process of the second neural network 420, and differently, the third process of the third neural network 430 may be performed after the second process for training the second neural network 420 is completed.

[0179] The embodiment may input third input data for training (S310) of the third neural network 430. The third input data may include key sentences included in the patent document for training, and label data of correct answer data as key noun phrases in the key sentences.

[0180] For example, the third input data may be in a form in which key sentences included in a patent document and label data of the key sentences consist of one set, and include a plurality of such sets.

[0181] For example, the third input data may include a first data set and a second data set, the first data set including a first key sentence and a first label data marking a key noun phrase in the first key sentence, and the second data set including a second key sentence and a second label data marking a key noun phrase in the second key sentence. In this case, it has been described that the third input data includes two data sets, but is not limited thereto. For example, the third input data may include three or more data sets in order to improve the training accuracy of the third neural network 430.

[0182] Next, embodiments may perform training of the third neural network 430 by using the third input data.

[0183] In this case, corresponding to the second process for training the second neural network 420, the embodiment applies the parameter values ​​acquired through the first neural network 410 as the initial values ​​of the parameter values ​​of the third neural network 430 (S320). Preferably, the embodiment extracts the final updated parameter values ​​of the first neural network 410, and applies the extracted final updated parameter values ​​as the initial values ​​of the parameter values ​​of the third neural network 430 to train the third neural network 430. In addition, by applying the parameter values ​​of the third neural network 430 as the initial values ​​to the parameter values ​​of the first neural network 410, the embodiment can more efficiently perform training specifically for analyzing documents in the patent field in the third neural network 430, and therefore, can significantly reduce the training time or improve the training accuracy.

[0184] Meanwhile, the third neural network 430 may perform training using the third input data by using the parameter values ​​of the first neural network 410 as initial values ​​( S330 ).

[0185] In this case, the training of the third neural network 430 may be performed in a manner of generating key noun phrases by a method similar to Formula 2 used to train the first neural network 410. For example, the training of the third neural network 430 may be performed by training the third input data through a training objective as shown in Formula 5 below.

[0186] [Formula 5]

[0187]

[0188] This refers to a method of preprocessing the key noun phrases and sequences used to extract the key noun phrases in the third input data into a sequence S, K and training it on a sequence-to-sequence basis.

[0189] During the training process of the third neural network 430, the loss function is calculated by comparing the output data obtained through the training with the label data. And, in the case where the loss function is greater than the preset threshold, the third neural network 430 is retrained. Alternatively, in the case where the loss function is less than the preset threshold, the training process can be completed and the next step can be entered accordingly.

[0190] In this case, the embodiment applies the generation method instead of the sentence extraction method to the third neural network 430. In the embodiment, some words in the key sentence included in the third input data are not included in the key noun phrase as its label data, but the key noun phrase includes new words not included in the key sentence. In this way, the embodiment can generate the key noun phrase in the key sentence more flexibly. This enables the key noun phrase to be newly generated so that the key noun phrase can be covered based on the content of the entire sentence, rather than finding the key noun phrase within the sentence. Therefore, the embodiment generates a key noun phrase that is semantically similar to the reference key noun phrase, and in this way, the embodiment can have an advantage of having a low error rate compared to the extraction method. Therefore, compared with the extraction method that extracts some words included in the key sentence as the key noun phrase, the embodiment can generate a key noun phrase that is more semantically rich and implicitly expresses the entire document content, and therefore, user satisfaction can be improved.

[0191] Therefore, an embodiment may generate key noun phrases for the third neural network 430 based on words considering the entire context of the key sentence rather than some words included in the key sentence. For example, the noun phrase "locking claw breaks" may be generated as the noun phrase "locking claw disconnects" or "locking claw cuts", and the noun phrase "ensure slurry viscosity" may be generated as "enhance slurry viscosity".

[0192] In addition, the embodiment updates the parameter value (S340) according to the training result of the third neural network 430. For example, the initial value of the parameter value of the third neural network 430 is the same value as the parameter value of the first neural network 410, and the parameter value is the parameter value of the model for analyzing the document in the patent field obtained based on the model for analyzing the document in the general field.

[0193] Therefore, embodiments may update the parameter values ​​of the third neural network 430 to the parameter values ​​of the model for extracting key noun phrases from key sentences through the training process of the third neural network 430 as described above.

[0194] The training process of the neural network of the present application as described above is summarized as follows.

[0195] The embodiment updates the first neural network trained in the literature of the general field using a model dedicated to the literature of the patent field. This means that the literature of the patent field includes specialized terms that are not included in the literature of the general field, and in the case where the first neural network trained in the literature of the general field is used to analyze the patent literature, its training accuracy or reasoning accuracy may be reduced. Therefore, the embodiment updates the parameter value of the neural network corresponding to the literature of the patent field. Therefore, the embodiment can improve the training accuracy and reasoning accuracy of the patent literature, thereby improving user satisfaction.

[0196] In addition, the embodiment performs training of a second neural network for extracting key sentences from patent documents. At this time, the embodiment does not perform training using the entire range of patent documents included in the second input data to train the second neural network 420, but uses summary data that summarizes the patent documents to learn the second neural network 420. In the case of using summary data to train the second neural network 420 through experiments, the training efficiency can be improved by effectively reducing the number of sentences included in the patent documents. In addition, the embodiment can further improve the performance of the second neural network 420 by first filtering out the content that adversely affects the training of the second neural network 420 from the content of the entire range of patent documents included in the second input data.

[0197] In addition, the embodiment can effectively reduce unnecessary data within the document by summarizing the sentences as described above, and can effectively reduce the training time of the second neural network 420 by setting a minimum ratio so that as many important sentences as possible are included and then performing the training of the second neural network 420.

[0198] In addition, the embodiment applies the parameter values ​​obtained by the first neural network 410 as the initial values ​​of the parameter values ​​of the second neural network 420. Preferably, the embodiment extracts the finally updated parameter values ​​of the first neural network 410 for training the second neural network 420, and applies the extracted parameter values ​​as the initial values ​​of the parameter values ​​of the second neural network 420. In addition, the embodiment applies the parameter values ​​of the first neural network 410 as the initial values ​​to the parameter values ​​of the second neural network 420, so that the training of the second neural network 420 specifically for analyzing the documents in the patent field can be performed more efficiently, and therefore, the training time can be significantly reduced or the training accuracy can be improved.

[0199] In addition, the embodiment performs training of a third neural network for extracting key noun phrases from key sentences of patent documents.

[0200] In this case, the embodiment applies the generation method instead of the sentence extraction method to the third neural network 430. In the embodiment, some words in the key sentence included in the third input data are not included in the key noun phrase as its label data, but the key noun phrase includes new words not included in the key sentence. In this way, the embodiment can generate the key noun phrase in the corresponding key sentence more flexibly. This enables the key noun phrase to be newly generated based on the content of the entire sentence, rather than finding the key noun phrase within the sentence. Therefore, by generating the key noun phrase in a direction that is semantically similar to the reference key noun phrase, the embodiment can have an advantage of having a low error rate compared to the extraction method. Therefore, compared with the extraction method that extracts some words included in the key sentence as the key noun phrase, the embodiment can generate a key noun phrase that is richer in meaning and implicitly expresses the entire document content, thereby improving user satisfaction.

[0201] Meanwhile, the embodiment may perform an inference process using the second neural network 420 and the third neural network 430 whose parameter values ​​are updated through the training process. The inference process may mean a process of performing inference after analyzing a specific analysis target requested by a user using a trained neural network.

[0202] In this case, the embodiment may use the trained second neural network 420 and the third neural network 430 for reasoning, but is not limited thereto. For example, the second neural network 420 and the third neural network 430 may be used for training purposes to continuously perform training and perform an operation of updating using parameter values ​​corresponding thereto. In addition, in the reasoning process, a separate neural network may be used instead of the training neural network, such as the second neural network 420 and the third neural network 430. In this case, in the case where the training neural network and the reasoning neural network are separately configured, the reasoning neural network may receive the final updated parameter value from the training neural network and apply the final updated parameter value to reason about the analysis target. However, the neural network for which training has been completed basically does not require additional training, or simple additional training may be performed only in specific cases. Therefore, the embodiment does not distinguish between the training neural network and the reasoning neural network as described above and uses the training neural network and the reasoning neural network together.

[0203] Therefore, embodiments may perform reasoning using the second neural network 420 and the third neural network 430 during the reasoning process.

[0204] Figure 7 is a flowchart sequentially describing an inference method according to an embodiment.

[0205] Reference Figure 7In an embodiment, data about an object to be analyzed is input (S310). In this case, the data may be input in various ways. For example, when information to be analyzed in the electronic device 100 (e.g., a document number of a patent document) is input, the artificial intelligence device 300 may search for a patent document corresponding to the information from the database 200 and receive the searched patent document. Alternatively, the patent document to be analyzed may be directly input from the electronic device 100 to the artificial intelligence device 300.

[0206] Alternatively, the information to be analyzed may be input into the database 200 through the electronic device 100. In addition, the database 200 may provide patent documents corresponding to the input information to the artificial intelligence device 300 as input data.

[0207] Next, the embodiment obtains summary data of the input data using a summary algorithm (S320). For example, the embodiment may obtain summary data of the input data using a summary algorithm used in the training process.

[0208] Next, in an embodiment, key sentences may be extracted from the summary data by using the trained second neural network 420 ( S330 ). In addition, the second neural network 420 may output the extracted key sentences as input data of the third neural network 430 .

[0209] Thereafter, the embodiment may generate key noun phrases according to the key sentences using the third neural network 430 for which training has been completed.

[0210] The operations may be performed simultaneously and are not limited to the order in which they are performed. The present disclosure described above may be implemented as computer-readable code in a medium having a program recorded thereon. Computer-readable media include all types of recording devices storing data readable by a computer system. Examples of computer-readable media include hard disk drives (HDDs), solid state disks (SSDs), silicon disk drives (SODDs), ROMs, RAMs, CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and the like. In addition, the computer may include a processor of a terminal.

[0211] The characteristics, structures, and effects described in the above embodiments are included in at least one embodiment, but are not limited to one embodiment. In addition, a person skilled in the art to which the embodiments belong may even combine or modify the characteristics, structures, and effects, etc. described in each of these embodiments relative to other embodiments. Therefore, it should be understood that the contents related to such combinations and such modifications are included in the scope of the embodiments.

[0212] The above description focuses on the embodiments, but is only illustrative and does not limit the embodiments. It will be appreciated by those skilled in the art that various modifications and applications not described above are possible without departing from the basic features of the embodiments. For example, each component specifically indicated in the embodiments may be modified and implemented. In addition, it should be understood that the differences associated with such changes and applications are included within the scope of the embodiments defined in the appended claims.

Claims

1. A method for training a neural network, include: training a first neural network based on the first input data; According to the training result of the first neural network, training a second neural network based on second input data by applying parameter values ​​of the first neural network; as well as training a third neural network based on third input data by applying the parameter values ​​of the first neural network, Wherein, the first input data includes documents in the patent field, The second input data includes a plurality of patent documents and first label data obtained by labeling key sentences corresponding to each of the plurality of patent documents, and The third input data includes a plurality of key sentences and second label data obtained by labeling a key noun phrase corresponding to each of the plurality of key sentences.

2. The method according to claim 1, in, Training the first neural network includes: Using the patent literature to obtain multiple corpora, and The first neural network is trained using the plurality of corpora.

3. The method according to claim 1, in, Training the second neural network includes: applying the parameter values ​​of the first neural network as initial values ​​of the parameter values ​​of the second neural network, and The parameter values ​​of the second neural network are updated by performing training based on the second input data.

4. The method according to claim 1, in, Training the second neural network includes augmenting the second input data, Wherein, expanding the second input data comprises: copying label data obtained by labeling key sentences corresponding to each of the plurality of patent documents; and The copied label data is added as the first label data of each patent document.

5. The method according to claim 1, in, Training the third neural network comprises: applying the parameter values ​​of the first neural network as initial values ​​of the parameter values ​​of the third neural network, and The parameter values ​​of the third neural network are updated by performing training based on the third input data.

6. The method according to claim 1, in, Training the second neural network includes obtaining summary data in which each of the plurality of patent documents included in the second input data is summarized.

7. The method according to claim 1, in, Training the first neural network includes: changing parameter values ​​of the neural network trained according to documents in the general field into parameter values ​​corresponding to documents in the patent field.

8. The method according to claim 1, in, The first to third neural networks include deep learning neural networks (DNNs).

9. The method according to claim 8, in, The model structures of the first neural network to the third neural network are the same.

10. The method according to claim 9, in, The model structures of the first neural network to the third neural network include a T5 model.