[go: up one dir, main page]

WO2025058222A1 - Method for structuring unstructured data using artificial intelligence - Google Patents

Method for structuring unstructured data using artificial intelligence Download PDF

Info

Publication number
WO2025058222A1
WO2025058222A1 PCT/KR2024/010659 KR2024010659W WO2025058222A1 WO 2025058222 A1 WO2025058222 A1 WO 2025058222A1 KR 2024010659 W KR2024010659 W KR 2024010659W WO 2025058222 A1 WO2025058222 A1 WO 2025058222A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
data
summary information
text data
dataset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/KR2024/010659
Other languages
French (fr)
Korean (ko)
Inventor
이찬중
장은찬
우현기
임준영
김소연
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Evidnet Co ltd
Original Assignee
Evidnet Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Evidnet Co ltd filed Critical Evidnet Co ltd
Publication of WO2025058222A1 publication Critical patent/WO2025058222A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/26Discovering frequent patterns
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0475Generative networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/096Transfer learning
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records

Definitions

  • the present disclosure relates to a technology for processing data, and more specifically, to a method for using artificial intelligence technology to format unstructured data and store the formatted data in a database.
  • Korean Patent Publication No. 10-2006-0062680 (published on June 12, 2006) discloses a method for converting medical data.
  • the present disclosure has been made in response to the aforementioned background technology, and seeks to provide a method of using artificial intelligence technology to standardize unstructured data and store the standardized data in a database.
  • a method performed in a computing device may include: obtaining first text data including unstructured data extracted from a medical record database; obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; and obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined item from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, wherein the dataset is formed in a structured format including columns including the predetermined items and rows including the at least one text corresponding to each column.
  • the predetermined first prompt may include a request sentence for requesting the first summary information generation model to output summary information of the first text data.
  • the first summary information generation model can be trained to generate summary information for input text data using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and the predetermined first prompt.
  • the first summary information generation model may be trained to make the first output information similar to the summary information of the second text data by comparing the first output information output by inputting the second text data and the predetermined first prompt with the summary information of the second text data.
  • the summary information of the second text data may be output by the pre-trained second summary information generation model in response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model.
  • the pre-trained second summary information generation model can be pre-trained to output summary information including text corresponding to the predetermined item from the third text data, using third text data including unstructured data extracted from a medical record database and the predetermined first prompt.
  • the summary information of the text data output by the second summary information generation model in response to inputting the text data and the prompt to the second summary information generation model can be used as ground truth data in the learning process of the first summary information generation model.
  • the predetermined items may include personal information including at least one of age or gender; physical condition information related to a body; and disease condition information related to a disease.
  • the pre-trained information classification model may include a natural language processing model that is pre-trained to process natural language contained in text data to classify the text into predetermined categories.
  • the step of obtaining the dataset may include the step of determining whether a pattern exists in the summary information of the first text data; and the step of obtaining the dataset by differently applying the methodology of obtaining the dataset based on whether the pattern exists.
  • the step of acquiring the dataset may include a step of acquiring the dataset in which text included in the summary information of the first text data is classified into predetermined items by using a regular expression corresponding to a pattern, if a pattern exists in the summary information of the first text data.
  • the step of obtaining the dataset may include a step of obtaining the dataset in which text included in the summary information of the first text data is classified by predetermined items using the pre-learned information classification model, if a pattern does not exist in the summary information of the first text data.
  • the method may further include: a step of comparing the at least one text classified by the at least one predetermined item with the reference information determined for each of the at least one predetermined item; a step of removing the at least one error text from the dataset if there is at least one error text among the at least one text that does not conform to the reference information determined for each of the at least one predetermined item as a result of comparing the at least one text; and a step of storing the dataset from which the at least one error text has been removed.
  • a processor in a computing device, a processor; and a memory, wherein the processor is capable of performing the following operations: obtaining first text data including unstructured data extracted from a medical record database; obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; and obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, wherein the dataset is formed in a structured format including columns composed of the predetermined items and rows composed of the at least one text corresponding to each column.
  • a computer program stored in a computer-readable storage medium may include operations including: obtaining first text data including unstructured data extracted from a medical record database; obtaining summary information of the first text data from the first text data by inputting the first text data and a first predetermined prompt into an artificial intelligence-based first summary information generation model; and obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, the dataset being in a structured format including columns including the predetermined items and rows including the at least one text corresponding to each column.
  • the present disclosure can reduce the burden of work required for conversion or interpretation by medical staff, thereby providing faster and more accurate results to patients.
  • the present disclosure can increase the accuracy of diagnosis and data reliability by reducing human errors or inconsistencies that may occur during data entry and conversion processes.
  • the present disclosure can contribute to improving medical quality by enabling smooth information sharing among various medical institutions and medical professionals by standardizing medical records.
  • the present disclosure can reduce computing resources generated from unstructured data, and the technology for converting big data can be expected to have a cost-saving effect on medical research and artificial intelligence-based research.
  • FIG. 1 is a diagram illustrating a computing device for performing standardization of unstructured data using artificial intelligence according to some embodiments of the present disclosure.
  • FIG. 2 is a diagram illustrating an exemplary structure of an artificial intelligence-based model according to some embodiments of the present disclosure.
  • FIG. 3 is a diagram illustrating a method for formalizing unstructured data using artificial intelligence, performed on a computing device according to some embodiments of the present disclosure.
  • FIG. 4 is a diagram schematically illustrating a process of formalizing unstructured data using artificial intelligence, performed in a computing device according to some embodiments of the present disclosure.
  • FIG. 5 illustrates a simplified, general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented.
  • a component may be, but is not limited to, a procedure running on a processor, a processor, an object, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and the computing device may both be components.
  • One or more components may reside within a processor and/or a thread of execution.
  • a component may be localized within a single computer.
  • a component may be distributed between two or more computers.
  • such components may execute from various computer-readable media having various data structures stored therein.
  • the components may communicate via local and/or remote processes, for example, by a signal comprising one or more data packets (e.g., data from one component interacting with another component in a local system, a distributed system, and/or data transmitted via a network such as the Internet to another system via the signal).
  • a signal comprising one or more data packets (e.g., data from one component interacting with another component in a local system, a distributed system, and/or data transmitted via a network such as the Internet to another system via the signal).
  • first, second, or third, N are used to distinguish at least one entity.
  • entities expressed as first and second may be the same or different from each other.
  • FIG. 1 is a diagram illustrating a computing device for performing standardization of unstructured data using artificial intelligence according to some embodiments of the present disclosure.
  • the configuration of the computing device (100) illustrated in FIG. 1 is only a simplified example.
  • the computing device (100) may include other configurations for performing a computing environment of the computing device (100), and only some of the disclosed configurations may constitute the computing device (100).
  • a computing device (100) may be a device for performing formalization of unstructured data.
  • the computing device (100) may be a device that performs a process of formalizing unstructured data and storing the formalized data by utilizing artificial intelligence.
  • the computing device (100) may include any form of server or user terminal.
  • a computing device (100) may include a processor (110), a memory (130), and a network unit (150).
  • the processor (110) may be composed of one or more cores and may include a processor for performing operations related to processing data, such as a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), or a tensor processing unit (TPU) of the computing device (100).
  • a processor for performing operations related to processing data such as a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), or a tensor processing unit (TPU) of the computing device (100).
  • the processor (110) can typically control the overall operation of the computing device (100).
  • the processor (110) can process signals, data, information, etc. input or output through components included in the computing device (100) or run an application program stored in the memory (130), thereby providing or processing appropriate information or functions to the user.
  • the memory (130) may store any form of information generated or determined by the processor (110) and/or any form of information received by the network unit (150).
  • the memory (130) may store a database.
  • the database may be a collection of data stored in a form that can be processed by the computing device (100).
  • the memory (130) may include at least one type of storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, 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 (EEPROM), a Programmable Read-Only Memory (PROM), a magnetic memory, a magnetic disk, and/or an optical disk.
  • the computing device (100) may also operate in relation to web storage that performs the storage function of the memory (130) on the internet.
  • the description of the memory described above is only an example, and the present disclosure is not limited thereto.
  • the memory (130) may be operated by the processor (110).
  • the network unit (150) may include any wired or wireless communication network capable of transmitting and receiving any type of data and signals, etc., in the network expressed in the present disclosure.
  • the techniques described in this specification may be used not only in the networks mentioned above, but also in other networks.
  • FIG. 2 is a diagram illustrating an exemplary structure of an artificial intelligence-based model according to some embodiments of the present disclosure.
  • artificial intelligence-based model e.g., summary information generation model, information classification model, etc.
  • computational model e.g., neural network, network function, and neural network
  • neural network e.g., neural network, network function, and neural network
  • a neural network may be composed of a set of interconnected computational units, which may generally be referred to as nodes. These nodes may also be referred to as neurons.
  • a neural network is composed of at least one node. The nodes (or neurons) that make up the neural network may be interconnected by one or more links.
  • one or more nodes connected through a link can form a relationship of input node and output node relatively.
  • the concept of input node and output node is relative, and any node in an output node relationship to one node can be in an input node relationship in a relationship to another node, and vice versa.
  • the input node-to-output node relationship can be created based on a link.
  • One or more output nodes can be connected to one input node through a link, and vice versa.
  • the data of the output node can have its value determined based on the data input to the input node.
  • the link interconnecting the input nodes and the output nodes can have a weight.
  • the weight can be variable and can be varied by a user or an algorithm so that the neural network can perform a desired function. For example, when one or more input nodes are interconnected to one output node through each link, the output node can determine the output node value based on the values input to the input nodes connected to the output node and the weight set for the link corresponding to each input node.
  • a neural network is a network in which one or more nodes are interconnected through one or more links to form input node and output node relationships within the neural network.
  • the characteristics of the neural network can be determined. For example, if there are two neural networks with the same number of nodes and links and different weight values for the links, the two neural networks can be recognized as being different from each other.
  • a neural network can be composed of a set of one or more nodes.
  • a subset of the nodes constituting the neural network can form a layer.
  • Some of the nodes constituting the neural network can form a layer based on distances from the initial input node. For example, a set of nodes that are n distances from the initial input node can form an n layer.
  • the distance from the initial input node can be defined by the minimum number of links that must be passed through to reach the node from the initial input node.
  • this definition of a layer is arbitrary for the purpose of explanation, and the order of a layer in a neural network can be defined in a different way than described above.
  • a layer of nodes can be defined by the distance from the final output node.
  • a set of neurons or nodes may be defined as a layer.
  • the initial input node may refer to one or more nodes to which data is directly input without going through a link in a relationship with other nodes in the neural network. Or, in a neural network, in a relationship between nodes based on a link, it may refer to nodes that do not have other input nodes connected by a link.
  • the final output node may refer to one or more nodes that do not have an output node in a relationship with other nodes in the neural network.
  • a hidden node may refer to nodes that constitute the neural network other than the initial input node and the final output node.
  • a neural network may be a neural network in which the number of nodes in an input layer may be the same as the number of nodes in an output layer, and the number of nodes decreases and then increases as it progresses from the input layer to a hidden layer.
  • a neural network may be a neural network in which the number of nodes in an input layer may be less than the number of nodes in an output layer, and the number of nodes decreases as it progresses from the input layer to the hidden layer.
  • a neural network in which the number of nodes in an input layer may be greater than the number of nodes in an output layer, and the number of nodes increases as it progresses from the input layer to the hidden layer.
  • a neural network may be a neural network in a combined form of the neural networks described above.
  • a deep neural network may refer to a neural network that includes multiple hidden layers in addition to an input layer and an output layer. Using a deep neural network, latent structures of data can be identified.
  • a deep neural network may include a convolutional neural network (CNN), a recurrent neural network (RNN), an auto encoder, a generative adversarial network (GAN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a Q network, a U network, a Siamese network, and the like.
  • CNN convolutional neural network
  • RNN recurrent neural network
  • RBM restricted Boltzmann machine
  • DBN deep belief network
  • the AI-based models of the present disclosure may include transformers, generative pre-trained transformers (GPTs), BERT (Bidirectional Encoder Representations from Transformers), and the like.
  • GPTs generative pre-trained transformers
  • BERT Bidirectional Encoder Representations from Transformers
  • the artificial intelligence-based model of the present disclosure can be represented by a network structure of any structure described above, including an input layer, a hidden layer, and an output layer.
  • the neural network that can be used in the artificial intelligence-based model of the present disclosure can be trained by at least one of supervised learning, unsupervised learning, semi-supervised learning, reinforcement learning, federated learning for distributed deep learning, and incremental learning. Training of the neural network can be a process of applying knowledge to the neural network to perform a specific operation.
  • a neural network can be trained in the direction of minimizing the error of the output.
  • training data is repeatedly input into the neural network, the output of the neural network for the training data and the error of the target are calculated, and the error of the neural network is backpropagated from the output layer of the neural network to the input layer in the direction of reducing the error, thereby updating the weights of each node of the neural network.
  • training data in which the correct answer is labeled for each training data is used i.e., labeled training data
  • unsupervised learning the correct answer may not be labeled for each training data.
  • the training data may be data in which each training data is labeled with a category. Labeled training data is input into the neural network, and the error can be calculated by comparing the output (category) of the neural network with the label of the training data.
  • the input learning data can be compared with the output of the neural network to calculate the error.
  • the calculated error is backpropagated in the backward direction (i.e., from the output layer to the input layer) in the neural network, and the connection weights of each node in each layer of the neural network can be updated according to the backpropagation.
  • the amount of change in the connection weights of each node to be updated can be determined according to the learning rate.
  • the calculation of the neural network for the input data and the backpropagation of the error can constitute a learning cycle (epoch).
  • the learning rate can be applied differently depending on the number of repetitions of the learning cycle of the neural network. For example, a high learning rate can be used in the early stage of learning of the neural network to allow the neural network to quickly acquire a certain level of performance, thereby increasing efficiency, and a low learning rate can be used in the later stage of learning to increase accuracy.
  • learning data can generally be a subset of real data (i.e., data to be processed using the learned neural network), and therefore, there can be a learning cycle in which errors for learning data decrease but errors for real data increase.
  • Overfitting is a phenomenon in which excessive learning on learning data increases errors for real data. For example, a neural network that learned cats by showing yellow cats cannot recognize cats when it sees cats other than yellow, which can be a type of overfitting. Overfitting can act as a cause of increasing errors in machine learning algorithms.
  • Various optimization methods can be used to prevent overfitting. To prevent overfitting, methods such as increasing learning data, regularization, dropout that deactivates some nodes of the network during the learning process, and utilizing batch normalization layers can be applied.
  • a computer-readable medium storing a data structure according to one embodiment of the present disclosure is disclosed.
  • the above-described data structure can be stored in a storage unit in the present disclosure, executed by a processor, and transmitted and received by a communication unit.
  • a data structure can refer to the organization, management, and storage of data that enables efficient access and modification of data.
  • a data structure can refer to the organization of data to solve a specific problem (e.g., data retrieval in the shortest time, data storage, data modification).
  • a data structure can also be defined as a physical or logical relationship between data elements designed to support a specific data processing function.
  • a logical relationship between data elements can include a connection relationship between user-defined data elements.
  • a physical relationship between data elements can include an actual relationship between data elements that are physically stored in a computer-readable storage medium (e.g., a persistent storage device).
  • a data structure can specifically include a collection of data, a relationship between data, and a function or command that can be applied to the data.
  • An effectively designed data structure enables a computing device to perform operations while using minimal resources of the computing device. Specifically, a computing device can increase the efficiency of operations, reading, insertion, deletion, comparison, exchange, and searching through an effectively designed data structure.
  • Data structures can be divided into linear data structures and nonlinear data structures depending on the form of the data structure.
  • a linear data structure can be a structure in which only one piece of data is connected after another piece of data.
  • Linear data structures can include lists, stacks, queues, and deques.
  • a list can mean a series of data sets that have an internal order.
  • a list can include a linked list.
  • a linked list can be a data structure in which data is connected in a way that each piece of data has a pointer and is connected in a single line. In a linked list, a pointer can include information on the connection to the next or previous piece of data.
  • a linked list can be expressed as a singly linked list, a doubly linked list, or a circular linked list depending on its form.
  • a stack can be a data listing structure that allows limited access to data.
  • a stack can be a linear data structure in which data can be processed (e.g., inserted or deleted) only at one end of the data structure.
  • Data stored in a stack can be a data structure in which the later it enters, the sooner it comes out (LIFO - Last in First Out).
  • a queue is a data list structure that allows limited access to data, and unlike a stack, it can be a data structure that comes out later (FIFO - First in First Out) as data is stored later.
  • a deck can be a data structure that can process data at both ends of the data structure.
  • a nonlinear data structure can be a structure in which multiple data are connected behind one data.
  • a nonlinear data structure can include a graph data structure.
  • a graph data structure can be defined by vertices and edges, and an edge can include a line connecting two different vertices, and a graph data structure can include a tree data structure.
  • a tree data structure can be a data structure in which there is only one path connecting two different vertices among multiple vertices included in the tree. In other words, it can be a data structure that does not form a loop in a graph data structure.
  • the data structure may include a neural network. And the data structure including the neural network may be stored in a computer-readable medium.
  • the data structure including the neural network may also include preprocessed data for processing by the neural network, 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 learning the neural network, etc.
  • the data structure including the neural network may include any of the components among the above-described configurations.
  • the data structure including the neural network may be configured to include all or any combination of the preprocessed data for processing by the neural network, 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 learning the neural network, etc.
  • the data structure including the neural network may include any other information that determines the characteristics of the neural network.
  • the data structure may include all forms of data used or generated in the computational process of the neural network, and is not limited to the foregoing.
  • the computer-readable medium may include a computer-readable recording medium and/or a computer-readable transmission medium.
  • the neural network may be composed of a set of interconnected computational units, which may generally be referred to as nodes. These nodes may also be referred to as neurons.
  • the neural network is composed of at least one node.
  • 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 neural network after training is completed.
  • the data input to the neural network may include data that has undergone preprocessing and/or data that is the target of preprocessing.
  • the preprocessing may include a data processing process for inputting data to the neural network.
  • the data structure may include data that is the target of preprocessing and data generated by the preprocessing.
  • the above-described data structure is merely an example, and the present disclosure is not limited thereto.
  • the data structure may include weights of the neural network (in this specification, weights and parameters may be used with the same meaning). And the data structure including the weights of the neural network may be stored in a computer-readable medium.
  • the neural network may include a plurality of weights.
  • the weights may be variable and may be variable by a user or an algorithm so that the neural network may perform a desired function. For example, when one or more input nodes are interconnected to one output node by respective links, the output node may determine a data value output from the output node based on values input to the input nodes connected to the output node and weights set for links corresponding to each of the input nodes.
  • the above-described data structure is only an example, and the present disclosure is not limited thereto.
  • the weights may include weights that are variable during the neural network learning process and/or weights that have completed neural network learning.
  • the weights that are variable during the neural network learning process may include weights at the start of the learning cycle and/or weights that are variable during the learning cycle.
  • the weights that have completed neural network learning may include weights that have completed the learning cycle.
  • the data structure including the weights of the neural network may include the data structure including the weights that are variable during the neural network learning process and/or weights that have completed neural network learning. Therefore, the above-described weights and/or combinations of each weight are included in the data structure including the weights of the neural network.
  • the above-described data structures are merely examples and the present disclosure is not limited thereto.
  • the data structure including the weights of the neural network can be stored in a computer-readable storage medium (e.g., memory, hard disk) after going through a serialization process.
  • Serialization can be a process of converting the data structure into a form that can be stored in the same or different computing devices and reconstructed and used later.
  • 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 through deserialization.
  • the data structure including the weights of the neural network is not limited to serialization.
  • the data structure including the weights of the neural network can include a data structure (e.g., B-Tree, R-Tree, Trie, m-way search tree, AVL tree, Red-Black Tree in nonlinear data structures) for increasing the efficiency of computation while minimizing the use of computing device resources.
  • a data structure e.g., B-Tree, R-Tree, Trie, m-way search tree, AVL tree, Red-Black Tree in nonlinear data structures
  • the data structure may include hyperparameters of the neural network. And the data structure including the hyperparameters of the neural network may be stored in a computer-readable medium.
  • the hyperparameters may be variables that are changed by the user.
  • the hyperparameters may include, for example, a learning rate, a cost function, a number of repetitions of a learning cycle, weight initialization (e.g., setting a range of weight values to be weight initialization targets), and the number of Hidden Units (e.g., the number of hidden layers, the number of nodes in the hidden layer).
  • weight initialization e.g., setting a range of weight values to be weight initialization targets
  • Hidden Units e.g., the number of hidden layers, the number of nodes in the hidden layer.
  • a transformer may be considered as a network function for an AI-based model (e.g., a summary information generation model, an information classification model, etc.) according to one embodiment of the present disclosure.
  • the AI-based model may be operated based on a transformer.
  • Such an AI-based model may be operated using, for example, a recurrent neural network to which an attention algorithm is applied or a transformer to which an attention algorithm is applied.
  • the transformer may be composed of an encoder that encodes embedded data and a decoder that decodes the encoded data.
  • the transformer may have a structure that receives a series of data, and outputs a series of data of different types through encoding and decoding steps.
  • the series of data may be processed into a form operable by the transformer.
  • the process of processing the series of data into a form operable by the transformer may include an embedding process. Expressions such as data token, embedding vector, embedding token, etc. may refer to data embedded in a form that can be processed by the transformer.
  • attention algorithms can be classified. For example, if attention is obtained by setting the query, key, and value all to the same, this may mean a self-attention algorithm. If attention is obtained by reducing the dimension of the embedding vector and obtaining individual attention heads for each divided embedding vector to process a series of input data in parallel, this may mean a multi-head attention algorithm.
  • the transformer can be applied to various data domains such as embedded natural language, embedded sequence information, segmented image data, and audio waveforms, and can transform a series of input data into a series of output data.
  • the transformer can embed the data.
  • the transformer can process additional data expressing the relative positional relationship or phase relationship between the series of input data.
  • vectors expressing the relative positional relationship or phase relationship between the input data can be additionally reflected in the series of input data, and the series of input data can be embedded.
  • the relative positional relationship between the series of input data can include, but is not limited to, word order in a natural language sentence, the relative positional relationship of each segmented image, the time order of the segmented audio waveform, and the like.
  • the process of adding information expressing the relative positional relationship or phase relationship between the series of input data can be referred to as positional encoding.
  • FIG. 3 is a diagram illustrating a method of managing a hospitalized patient performed on a computing device according to some embodiments of the present disclosure.
  • Embodiments of the present disclosure may include embodiments for training an artificial intelligence-based model (e.g., a summary information generation model, an information classification model, etc.) and embodiments for actually obtaining an inference result (e.g., summary information of data, a dataset, etc.) through the trained artificial intelligence-based model.
  • an artificial intelligence-based model e.g., a summary information generation model, an information classification model, etc.
  • an inference result e.g., summary information of data, a dataset, etc.
  • the operation of the AI-based model may be described as one of the processes of learning an AI-based model or performing inference using the AI-based model (e.g., generating summary information of data, a dataset, etc.). This has been written for convenience of explanation, and even if it is described as one of the processes of performing learning or performing inference, it should be interpreted as encompassing the other process of either learning or inference.
  • the steps illustrated in FIG. 3 may be performed by the computing device (100). In a further embodiment, the steps in FIG. 3 may be implemented by multiple entities, such as some of the steps illustrated in FIG. 3 being performed at a user terminal and others being performed at a server.
  • the processor (110) of the computing device (100) may obtain first text data including unstructured data.
  • the processor (110) may obtain first text data including unstructured data extracted from a medical record database (S310).
  • the processor (110) may obtain first text data including unstructured data input by a user from a user terminal (or server) different from the computing device (100).
  • the medical records database may be a collection of data related to the medical care of a particular person stored in a form that can be processed by a computing device (100).
  • the processor (110) may obtain unstructured data related to medical care from the medical records database.
  • unstructured data may be data that is not structured and has no defined structure.
  • unstructured data may include video files, audio files, photo files, document files, mail files, etc.
  • unstructured data may include unstructured medical data.
  • the first text data may be unstructured data (e.g., medical data, etc.) expressed in text form.
  • the first text data may include unstructured data extracted from an online and/or offline unpublished medical record database.
  • the text may include words, sentences, and/or paragraphs.
  • the medical data may include information related to medical care of a specific person.
  • the medical data may include variables related to at least one disease in the medical field.
  • the medical data may include data including physical information, health information, and treatment information of a specific person, and may include CT image data, MRI test result data, electrocardiogram measurement result data, and electronic medical record (EMR) data of a specific person.
  • the variables may be related to diseases, such as lifestyle habits (drinking, smoking), family history, age, gender, cholesterol level, and genetic variables.
  • the processor (110) can obtain summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model (S320).
  • the predetermined first prompt may include a request sentence (or, a question sentence) for requesting the first summary information generation model to output summary information of the first text data.
  • the first prompt may include a request sentence composed of a natural language, such as “Generate summary information of the text data that summarizes the text data.”
  • the first prompt may include a request sentence composed of an artificial language, such as a programming language (e.g., a command sentence composed of commands, etc.).
  • the summary information of the first text data may include text corresponding to each predetermined item in the first text data.
  • the predetermined item may include at least one of personal information including at least one of age or gender, physical condition information related to a body, and/or disease condition information related to a disease.
  • personal information may be information about an individual that can identify the individual alone or in combination, such as name, resident registration number, age, gender, etc.
  • the body condition information may be information about an individual's body, such as height, weight, breathing condition, blood pressure, and the like.
  • the disease status information may be information about an individual's disease, such as the name of the disease, the staging of the disease, whether surgery was performed, the name of the surgery, the details of the surgery, and the like.
  • the first summary information generation model may include a Large Language Model (LLM).
  • LLM Large Language Model
  • the Large Language Model (LLM) may refer to a language model having from billions to hundreds of billions of parameters.
  • LLM Large Language Model
  • the Large Language Model (LLM) may achieve relatively higher performance than existing small-scale language models in various aspects of natural language processing, including translation and summarization.
  • the first summary information generation model may be tuned and used by utilizing various fine-tuning techniques, such as Parameter Efficient Fine-Tuning (PEFT) and Low-Rank Adaptation (LoRA).
  • PEFT Parameter Efficient Fine-Tuning
  • LoRA Low-Rank Adaptation
  • the first summary information generation model can be distributedly trained using a plurality of computing devices.
  • the computing device (100) pipelines the training process of the first summary information generation model, and distributes and transmits the plurality of training stages divided through the pipeline to external computing devices different from the computing device (100), thereby allowing the training process of the first summary information generation model to be processed in parallel using a plurality of computing devices.
  • Pipelining may mean dividing a task into several stages and sequentially connecting each stage to organize the entire task.
  • the first summary information generation model can be trained to generate summary information for input text data using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and a predetermined first prompt.
  • the first summary information generation model can be trained to receive second text data and a predetermined first prompt as input and compare the first output information with the summary information of the second text data, thereby making the first output information similar to the summary information of the second text data.
  • the second text data may be unstructured data (e.g., medical data, etc.) expressed in text form.
  • the second text data may include unstructured data extracted from a freely available medical record database, either online and/or offline.
  • the summary information of the second text data may include text corresponding to each predetermined item in the second text data.
  • the summary information of the second text data can be output by the pre-trained second summary information generation model in response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model.
  • the pre-trained second summary information generation model can be pre-trained to output summary information including text corresponding to predetermined items from the third text data, using third text data including unstructured data extracted from a medical record database and a predetermined first prompt.
  • the second summary information generation model may include a pre-trained large-scale language model.
  • the second summary information generation model may use a transformer (GPT series) model, and examples thereof include Google's Bard, Chat-GPT, XLNet, Microsoft's Turing-NLG, CLIP, etc.
  • GPT series transformer
  • LM Language Models
  • the third text data may be unstructured data (e.g., medical data, etc.) expressed in text form.
  • the third text data may include unstructured data extracted from a medical record database that is freely available online and/or offline.
  • the summary information of the third text data may include text corresponding to each predetermined item in the third text data.
  • the summary information of the text data output by the second summary information generation model in response to inputting text data and a prompt to the second summary information generation model, can be used as ground truth data in the learning process of the first summary information generation model.
  • the summary information of the second text data output by the second summary information generation model can be used as ground truth data to be compared with the first output information of the first summary information generation model.
  • the predetermined first prompt may be updated through a fine-tuning process performed in the second summary information generation model. Accordingly, the predetermined first prompt may be a final updated prompt through a fine-tuning process in the learning process of the second summary information generation model.
  • the processor (110) may obtain a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or regular expression (S330).
  • a dataset may mean a collection and/or file of related data for a specific task.
  • a dataset may be structured in the form of a table containing columns and rows.
  • a dataset may be structured in a structured format containing columns consisting of predetermined items and rows consisting of at least one text corresponding to each column.
  • the pre-trained information classification model may include a natural language processing model that is pre-trained to process natural language contained in text data to classify the text into predetermined categories.
  • the natural language processing model may mean an artificial intelligence-based model that mechanically understands and processes natural language.
  • the natural language processing model may utilize BERT (Bidirectional Encoder Representations from Transformers), NER (Named Entity Recognition), etc.
  • BERT Bidirectional Encoder Representations from Transformers
  • NER Named Entity Recognition
  • the natural language processing model is not limited thereto, and various natural language processing models may be used, such as a statistical-based natural language processing model that processes natural language by finding statistical patterns in given text data, a rule-based natural language processing model that processes text based on predefined rules, and a word embedding model that preserves semantic similarity by expressing words as vectors.
  • a regular expression may refer to a formal language used to represent specific strings.
  • a regular expression may represent specific patterns using predetermined metacharacters and symbols.
  • the processor (110) can determine whether a pattern exists in the summary information of the first text data.
  • the processor (110) can obtain the dataset by applying different methodologies for obtaining the dataset based on whether a pattern exists.
  • the processor (110) may obtain a data set in which the text included in the summary information of the first text data is classified by predetermined items using a regular expression corresponding to the pattern. For example, if the summary information of the first text data corresponds to the format of a medical record, the processor (110) may obtain a data set in which the text included in the summary information of the first text data is classified by predetermined items using a regular expression corresponding to the format of the medical record.
  • the processor (110) may input input data including a prompt and text data into a first summary information generation model (440) learned in the manner described above, and obtain summary information of the text data from the first summary information generation model (440).
  • the computing device (100) can increase diagnostic accuracy and data reliability by reducing human errors or inconsistencies that may occur during data entry and conversion.
  • the computing device (100) can reduce computing resources generated from unstructured data, and the technology for converting big data can be expected to have a cost-saving effect on medical research and artificial intelligence-based research.
  • FIG. 5 illustrates a simplified, general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented.
  • Computers typically include a variety of computer-readable media. Any media that can be accessed by a computer can be a computer-readable media, and such computer-readable media includes both volatile and nonvolatile media, transitory and non-transitory media, removable and non-removable media.
  • computer-readable media can include computer-readable storage media and computer-readable transmission media.
  • Computer-readable storage media includes both volatile and nonvolatile media, transitory and non-transitory media, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data.
  • Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be accessed by a computer and used to store the desired information.
  • Computer-readable transmission media typically includes any information delivery media that embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism.
  • modulated data signal means a signal that has one or more of its characteristics set or changed so as to encode information in the signal.
  • computer-readable transmission media includes wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also intended to be included within the scope of computer-readable transmission media.
  • a computer (1102) including a processing unit (1104), a system memory (1106), and a system bus (1108).
  • the system bus (1108) couples system components, including but not limited to the system memory (1106), to the processing unit (1104).
  • the processing unit (1104) may be any of a variety of commercially available processors. Dual processors and other multiprocessor architectures may also be utilized as the processing unit (1104).
  • the system bus (1108) may be any of several types of bus structures that may additionally be interconnected to a memory bus, a peripheral bus, and a local bus using any of a variety of commercial bus architectures.
  • the system memory (1106) includes read-only memory (ROM) (1110) and random access memory (RAM) (1112).
  • ROM read-only memory
  • RAM random access memory
  • a basic input/output system (BIOS) is stored in nonvolatile memory (1110), such as ROM, EPROM, EEPROM, and the BIOS contains basic routines that help transfer information between components within the computer (1102), such as during start-up.
  • the RAM (1112) may also include high-speed RAM, such as static RAM, for caching data.
  • the computer (1102) also includes an internal hard disk drive (HDD) (1114) (e.g., EIDE, SATA)—which may also be configured for external use within a suitable chassis (not shown), a magnetic floppy disk drive (FDD) (1116) (e.g., for reading from or writing to a removable diskette (1118)), and an optical disk drive (1120) (e.g., for reading from or writing to a CD-ROM disk (1122) or other high capacity optical media such as a DVD).
  • the hard disk drive (1114), the magnetic disk drive (1116), and the optical disk drive (1120) may be connected to the system bus (1108) by a hard disk drive interface (1124), a magnetic disk drive interface (1126), and an optical drive interface (1128), respectively.
  • An interface (1124) for implementing an external drive includes at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.
  • drives and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, and the like.
  • the drives and media correspond to storing any data in a suitable digital format. While the description of computer-readable media above has referred to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those skilled in the art will appreciate that other types of media readable by a computer, such as zip drives, magnetic cassettes, flash memory cards, cartridges, and the like, may also be used in the exemplary operating environment, and that any such media may contain computer-executable instructions for performing the methods of the present disclosure.
  • a number of program modules including an operating system (1130), one or more application programs (1132), other program modules (1134), and program data (1136), may be stored in the drive and RAM (1112). All or portions of the operating system, applications, modules, and/or data may also be cached in RAM (1112). It will be appreciated that the present disclosure may be implemented in a variety of commercially available operating systems or combinations of operating systems.
  • a user may enter commands and information into the computer (1102) via one or more wired/wireless input devices, such as a keyboard (1138) and a pointing device such as a mouse (1140).
  • Other input devices may include a microphone, an IR remote control, a joystick, a game pad, a stylus pen, a touch screen, and the like.
  • These and other input devices are often connected to the processing unit (1104) via an input device interface (1142) that is coupled to the system bus (1108), but may be connected by other interfaces such as a parallel port, an IEEE 1394 serial port, a game port, a USB port, an IR interface, and the like.
  • a monitor (1144) or other type of display device is also connected to the system bus (1108) via an interface, such as a video adapter (1146).
  • the computer typically includes other peripheral output devices (not shown), such as speakers, a printer, and so on.
  • the computer (1102) may operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) (1148), via wired and/or wireless communications.
  • the remote computer(s) (1148) may be a workstation, a computing device computer, a router, a personal computer, a portable computer, a microprocessor-based entertainment device, a peer device, or other conventional network node, and may generally include many or all of the components described for the computer (1102), but for simplicity, only the memory storage device (1150) is illustrated.
  • the logical connections illustrated include wired/wireless connections to a local area network (LAN) (1152) and/or a larger network, such as a wide area network (WAN) (1154).
  • LAN and WAN networking environments are common in offices and businesses, and facilitate enterprise-wide computer networks, such as intranets, all of which may be connected to a worldwide computer network, such as the Internet.
  • the computer (1102) When used in a LAN networking environment, the computer (1102) is connected to the local network (1152) via a wired and/or wireless communications network interface or adapter (1156).
  • the adapter (1156) may facilitate wired or wireless communications to the LAN (1152), which may also include a wireless access point installed therein for communicating with the wireless adapter (1156).
  • the computer (1102) When used in a WAN networking environment, the computer (1102) may include a modem (1158), be connected to a communications computing device on the WAN (1154), or have other means for establishing communications over the WAN (1154), such as via the Internet.
  • the modem (1158) which may be internal or external and wired or wireless, is connected to the system bus (1108) via a serial port interface (1142).
  • program modules described for the computer (1102) or portions thereof may be stored in a remote memory/storage device (1150). It will be appreciated that the network connections depicted are exemplary and other means of establishing a communications link between the computers may be used.
  • the computer (1102) is configured to communicate with any wireless device or object that is configured and operates in wireless communication, such as a printer, a scanner, a desktop and/or portable computer, a portable data assistant (PDA), a communication satellite, any equipment or location associated with a wireless detectable tag, and a telephone.
  • wireless communication such as a printer, a scanner, a desktop and/or portable computer, a portable data assistant (PDA), a communication satellite, any equipment or location associated with a wireless detectable tag, and a telephone.
  • PDA portable data assistant
  • the communication may be a predefined structure as in a conventional network, or may simply be an ad hoc communication between at least two devices.
  • Wi-Fi Wireless Fidelity
  • Wi-Fi Wireless Fidelity
  • Wi-Fi is a wireless technology that allows devices, such as computers, to send and receive data, indoors and outdoors, anywhere within the coverage area of a base station, similar to a cell phone.
  • Wi-Fi networks use a wireless technology called IEEE 802.11 (a, b, g, etc.) to provide secure, reliable, and high-speed wireless connections.
  • Wi-Fi can be used to connect computers to each other, to the Internet, and to wired networks (using IEEE 802.3 or Ethernet).
  • Wi-Fi networks can operate in the unlicensed 2.4 and 5 GHz radio bands, at data rates of, for example, 11 Mbps (802.11a) or 54 Mbps (802.11b), or in products that include both bands (dual band).
  • the various embodiments presented herein can be implemented as a method, an apparatus, or an article of manufacture using standard programming and/or engineering techniques.
  • article of manufacture includes a computer program, a carrier, or a medium accessible from any computer-readable storage device.
  • computer-readable storage media include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips, etc.), optical disks (e.g., CDs, DVDs, etc.), smart cards, and flash memory devices (e.g., EEPROMs, cards, sticks, key drives, etc.).
  • the various storage media presented herein include one or more devices and/or other machine-readable media for storing information.
  • It can be used in devices and systems that utilize artificial intelligence technology to format unstructured data and store formatted data in a database.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Molecular Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Epidemiology (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Medical Informatics (AREA)
  • Machine Translation (AREA)

Abstract

A method performed by a computing device according to some embodiments of the present disclosure comprises the steps of: acquiring first text data including unstructured data extracted from a medical record database; acquiring summary information about the first text data from the first text data by inputting the first text data and a predetermined first prompt to a first summary information generation model based on artificial intelligence; and using regular expressions or a pre-trained information classification model based on artificial intelligence to acquire, from the summary information about the first text data, a dataset in which one or more pieces of text included in the summary information about the first text data are classified into predetermined categories, wherein the dataset has a structured format including columns composed of the predetermined categories and rows composed of the one or more pieces of text corresponding to the respective columns.

Description

인공지능을 활용한 비정형 데이터의 정형화 방법A method for formalizing unstructured data using artificial intelligence

본 개시는 데이터를 처리하는 기술에 관한 것으로, 보다 구체적으로, 인공지능 기술을 활용하여 비정형 데이터를 정형화하고, 정형화된 데이터를 데이터베이스에 저장하는 방법에 관한 것이다.The present disclosure relates to a technology for processing data, and more specifically, to a method for using artificial intelligence technology to format unstructured data and store the formatted data in a database.

현재 의료 기록 정보는 수술, 처치, 처방, 문진 등 정보 형태가 다양하고 동일한 의료 용어를 병원이나 의료진에 따라 다른 방식으로 표기되고 있다. 따라서, 의료 기록 정보는 임상연구나 CDW(Clinical Data Warehouse)를 활용한 후향적 연구를 진행할 때 정형화된 데이터로의 변환율이 현저히 떨어진다. Currently, medical record information is diverse in terms of information types such as surgery, treatment, prescription, and questionnaire, and the same medical terms are expressed in different ways depending on the hospital or medical staff. Therefore, when conducting clinical research or retrospective research using CDW (Clinical Data Warehouse), the conversion rate of medical record information into standardized data is significantly low.

따라서, 후향적 연구를 진행할 때 의료 기록 정보를 원활하게 사용하기 위해, 비정형 데이터인 의료 기록 정보를 정형화하기 위한 연구가 요구된다.Therefore, in order to smoothly use medical record information when conducting retrospective studies, research is required to standardize medical record information, which is unstructured data.

대한민국 공개특허 제10-2006-0062680호(2006.06.12. 공개)에는 의료 데이터 변환 방법이 개시되어 있다.Korean Patent Publication No. 10-2006-0062680 (published on June 12, 2006) discloses a method for converting medical data.

본 개시는 전술한 배경기술에 대응하여 안출된 것으로, 인공지능 기술을 활용하여 비정형 데이터를 정형화하고, 정형화된 데이터를 데이터베이스에 저장하는 방법을 제공하고자 한다.The present disclosure has been made in response to the aforementioned background technology, and seeks to provide a method of using artificial intelligence technology to standardize unstructured data and store the standardized data in a database.

본 개시의 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below.

전술한 바와 같은 과제를 해결하기 위한 본 개시의 몇몇 실시예에 따라, 컴퓨팅 장치에서 수행되는 방법으로서, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득하는 단계; 상기 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 상기 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득하는 단계; 및 인공지능 기반의 사전 학습된 정보 분류 모델 또는 정규 표현식(regular expression)을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보로부터, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득하는 단계 -상기 데이터셋은 상기 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 상기 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어짐-;를 포함할 수 있다.According to some embodiments of the present disclosure for solving the above-described problem, a method performed in a computing device may include: obtaining first text data including unstructured data extracted from a medical record database; obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; and obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined item from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, wherein the dataset is formed in a structured format including columns including the predetermined items and rows including the at least one text corresponding to each column.

대안적으로, 상기 사전 결정된 제 1 프롬프트는, 상기 제 1 요약 정보 생성 모델에 상기 제 1 텍스트 데이터의 요약 정보의 출력을 요청하기 위한 요청 문장을 포함할 수 있다.Alternatively, the predetermined first prompt may include a request sentence for requesting the first summary information generation model to output summary information of the first text data.

대안적으로, 상기 제 1 요약 정보 생성 모델은, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 2 텍스트 데이터, 상기 제 2 텍스트 데이터의 요약 정보 및 상기 사전 결정된 제 1 프롬프트를 이용하여, 입력되는 텍스트 데이터에 대한 요약 정보를 생성하도록 학습될 수 있다.Alternatively, the first summary information generation model can be trained to generate summary information for input text data using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and the predetermined first prompt.

대안적으로, 상기 제 1 요약 정보 생성 모델은, 상기 제 2 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 입력 받아 출력되는 제 1 출력 정보와 상기 제 2 텍스트 데이터의 요약 정보를 비교함으로써, 상기 제 1 출력 정보가 상기 제 2 텍스트 데이터의 요약 정보와 유사해지는 방향으로 학습될 수 있다.Alternatively, the first summary information generation model may be trained to make the first output information similar to the summary information of the second text data by comparing the first output information output by inputting the second text data and the predetermined first prompt with the summary information of the second text data.

대안적으로, 상기 제 2 텍스트 데이터의 요약 정보는, 상기 제 2 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 인공지능 기반의 사전 학습된 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 상기 사전 학습된 상기 제 2 요약 정보 생성 모델에 의해 출력될 수 있다.Alternatively, the summary information of the second text data may be output by the pre-trained second summary information generation model in response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model.

대안적으로, 상기 사전 학습된 제 2 요약 정보 생성 모델은, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 3 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 이용하여, 상기 제 3 텍스트 데이터로부터, 상기 사전 결정된 항목에 대응되는 텍스트를 포함하는 요약 정보를 출력하도록 사전 학습될 수 있다.Alternatively, the pre-trained second summary information generation model can be pre-trained to output summary information including text corresponding to the predetermined item from the third text data, using third text data including unstructured data extracted from a medical record database and the predetermined first prompt.

대안적으로, 텍스트 데이터 및 프롬프트를 상기 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 상기 제 2 요약 정보 생성 모델에 의해 출력되는 텍스트 데이터의 요약 정보는, 상기 제 1 요약 정보 생성 모델의 학습 과정에서 정답 데이터(ground truth data)로 사용될 수 있다.Alternatively, the summary information of the text data output by the second summary information generation model in response to inputting the text data and the prompt to the second summary information generation model can be used as ground truth data in the learning process of the first summary information generation model.

대안적으로, 상기 사전 결정된 항목은, 나이 또는 성별 중 적어도 하나를 포함하는 개인 정보; 신체와 관련된 신체 상태 정보; 및 질병과 관련된 질병 상태 정보;를 포함할 수 있다.Alternatively, the predetermined items may include personal information including at least one of age or gender; physical condition information related to a body; and disease condition information related to a disease.

대안적으로, 상기 사전 학습된 정보 분류 모델은, 텍스트 데이터에 포함된 자연어를 처리하여 텍스트를 사전 결정된 항목별로 분류하도록 사전 학습된, 자연어 처리 모델을 포함할 수 있다.Alternatively, the pre-trained information classification model may include a natural language processing model that is pre-trained to process natural language contained in text data to classify the text into predetermined categories.

대안적으로, 상기 데이터셋을 획득하는 단계는, 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는지 여부를 결정하는 단계; 및 상기 패턴이 존재하는지 여부에 기초하여, 상기 데이터셋을 획득하는 방법론을 상이하게 적용함으로써, 상기 데이터셋을 획득하는 단계;를 포함할 수 있다.Alternatively, the step of obtaining the dataset may include the step of determining whether a pattern exists in the summary information of the first text data; and the step of obtaining the dataset by differently applying the methodology of obtaining the dataset based on whether the pattern exists.

대안적으로, 상기 데이터셋을 획득하는 단계는, 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는 경우, 상기 패턴에 대응되는 정규 표현식을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 상기 데이터셋을 획득하는 단계;를 포함할 수 있다.Alternatively, the step of acquiring the dataset may include a step of acquiring the dataset in which text included in the summary information of the first text data is classified into predetermined items by using a regular expression corresponding to a pattern, if a pattern exists in the summary information of the first text data.

대안적으로, 상기 데이터셋을 획득하는 단계는, 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하지 않는 경우, 상기 사전 학습된 정보 분류 모델을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 상기 데이터셋을 획득하는 단계;를 포함할 수 있다.Alternatively, the step of obtaining the dataset may include a step of obtaining the dataset in which text included in the summary information of the first text data is classified by predetermined items using the pre-learned information classification model, if a pattern does not exist in the summary information of the first text data.

대안적으로, 상기 사전 결정된 항목 별로 결정된 기준정보와 상기 사전 결정된 항목 별로 분류된 상기 적어도 하나의 텍스트를 각각 비교하는 단계; 상기 적어도 하나의 텍스트를 각각 비교한 결과, 상기 적어도 하나의 텍스트 중에서 상기 사전 결정된 항목 별로 결정된 기준정보에 부합하지 않는 적어도 하나의 오류 텍스트가 존재하는 경우, 상기 적어도 하나의 오류 텍스트를 상기 데이터셋에서 제거하는 단계; 및 상기 적어도 하나의 오류 텍스트가 제거된 데이터셋을 저장하는 단계;를 더 포함할 수 있다.Alternatively, the method may further include: a step of comparing the at least one text classified by the at least one predetermined item with the reference information determined for each of the at least one predetermined item; a step of removing the at least one error text from the dataset if there is at least one error text among the at least one text that does not conform to the reference information determined for each of the at least one predetermined item as a result of comparing the at least one text; and a step of storing the dataset from which the at least one error text has been removed.

대안적으로, 컴퓨팅 장치에 있어서, 프로세서; 및 메모리를 포함하며, 상기 프로세서는, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득하는 동작; 상기 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 상기 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득하는 동작; 및 인공지능 기반의 사전 학습된 정보 분류 모델 또는 정규 표현식(regular expression)을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보로부터, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득하는 동작 -상기 데이터셋은 상기 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 상기 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어짐-;을 수행할 수 있다.Alternatively, in a computing device, a processor; and a memory, wherein the processor is capable of performing the following operations: obtaining first text data including unstructured data extracted from a medical record database; obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; and obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, wherein the dataset is formed in a structured format including columns composed of the predetermined items and rows composed of the at least one text corresponding to each column.

대안적으로, 컴퓨터 판독가능 저장 매체에 저장되는 컴퓨터 프로그램으로서, 상기 컴퓨터 프로그램은 컴퓨팅 장치에 의해 실행 시 상기 컴퓨팅 장치로 하여금 동작들을 수행하도록 하며, 상기 동작들은: 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득하는 동작; 상기 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 상기 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득하는 동작; 및 인공지능 기반의 사전 학습된 정보 분류 모델 또는 정규 표현식(regular expression)을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보로부터, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득하는 동작 -상기 데이터셋은 상기 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 상기 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어짐-;을 포함할 수 있다.Alternatively, a computer program stored in a computer-readable storage medium, the computer program, when executed by a computing device, may include operations including: obtaining first text data including unstructured data extracted from a medical record database; obtaining summary information of the first text data from the first text data by inputting the first text data and a first predetermined prompt into an artificial intelligence-based first summary information generation model; and obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, the dataset being in a structured format including columns including the predetermined items and rows including the at least one text corresponding to each column.

본 개시는 의료진이 기존에 행했던 변환이나 해석에 소요되는 업무 부담을 줄여 보다 환자에게 신속하고 정확한 결과를 제공할 수 있다.The present disclosure can reduce the burden of work required for conversion or interpretation by medical staff, thereby providing faster and more accurate results to patients.

본 개시는 데이터 입력 및 변환 과정에서 발생할 수 있는 인간적 오류나 불일치를 줄여 진단의 정확성과 데이터 신뢰성을 증대할 수 있다.The present disclosure can increase the accuracy of diagnosis and data reliability by reducing human errors or inconsistencies that may occur during data entry and conversion processes.

본 개시는 의료 기록을 표준화한다는 점에서 다양한 의료기관 및 의료 전문가들 간에 원활한 정보 공유를 가능하게 하고 의료 품질 향상에 이바지할 수 있다.The present disclosure can contribute to improving medical quality by enabling smooth information sharing among various medical institutions and medical professionals by standardizing medical records.

본 개시는 비정형적 데이터에서 발생하는 컴퓨팅 리소스를 줄일 수 있고, 빅데이터를 변환하는 기술은 의료 연구 및 인공지능 기반 연구에 비용적 절감효과를 기대할 수 있다.The present disclosure can reduce computing resources generated from unstructured data, and the technology for converting big data can be expected to have a cost-saving effect on medical research and artificial intelligence-based research.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable from the present disclosure are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by a person skilled in the art to which the present disclosure belongs from the description below.

다양한 양상들이 이제 도면들을 참조로 기재되며, 여기서 유사한 참조 번호들은 총괄적으로 유사한 구성요소들을 지칭하는데 이용된다. 이하의 실시예에서, 설명 목적을 위해, 다수의 특정 세부사항들이 하나 이상의 양상들의 총체적 이해를 제공하기 위해 제시된다. 그러나, 그러한 양상(들)이 이러한 구체적인 세부사항들 없이 실시될 수 있음은 명백할 것이다.Various aspects are now described with reference to the drawings, wherein like reference numerals are used to refer to like elements generally. In the following examples, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more aspects. However, it will be apparent that such aspects may be practiced without these specific details.

도 1은 본 개시의 몇몇 실시예에 따른 인공지능을 활용하여 비정형 데이터의 정형화를 수행하기 위한 컴퓨팅 장치를 설명하기 위한 도면이다.FIG. 1 is a diagram illustrating a computing device for performing standardization of unstructured data using artificial intelligence according to some embodiments of the present disclosure.

도 2는 본 개시의 몇몇 실시예에 따른 인공지능 기반 모델의 예시적인 구조를 나타낸 도면이다.FIG. 2 is a diagram illustrating an exemplary structure of an artificial intelligence-based model according to some embodiments of the present disclosure.

도 3은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는, 인공지능을 활용한 비정형 데이터의 정형화 방법을 나타낸 도면이다.FIG. 3 is a diagram illustrating a method for formalizing unstructured data using artificial intelligence, performed on a computing device according to some embodiments of the present disclosure.

도 4는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는, 인공지능을 활용한 비정형 데이터의 정형화 프로세스를 간략하게 나타낸 도면이다.FIG. 4 is a diagram schematically illustrating a process of formalizing unstructured data using artificial intelligence, performed in a computing device according to some embodiments of the present disclosure.

도 5는 본 개시의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.FIG. 5 illustrates a simplified, general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented.

다양한 실시예들이 이제 도면을 참조하여 설명된다. 본 명세서에서, 다양한 설명들이 본 개시의 이해를 제공하기 위해서 제시된다. 그러나, 이러한 실시예들은 이러한 구체적인 설명 없이도 실행될 수 있음이 명백하다.Various embodiments are now described with reference to the drawings. In this specification, various descriptions are set forth to provide an understanding of the present disclosure. However, it will be apparent that these embodiments may be practiced without these specific descriptions.

본 명세서에서 사용되는 용어 "컴포넌트", "모듈", "시스템" 등은 컴퓨터-관련 엔티티, 하드웨어, 펌웨어, 소프트웨어, 소프트웨어 및 하드웨어의 조합, 또는 소프트웨어의 실행을 지칭한다. 예를 들어, 컴포넌트는 프로세서상에서 실행되는 처리과정(procedure), 프로세서, 객체, 실행 스레드, 프로그램, 및/또는 컴퓨터일 수 있지만, 이들로 제한되는 것은 아니다. 예를 들어, 컴퓨팅 장치에서 실행되는 애플리케이션 및 컴퓨팅 장치 모두 컴포넌트일 수 있다. 하나 이상의 컴포넌트는 프로세서 및/또는 실행 스레드 내에 상주할 수 있다. 일 컴포넌트는 하나의 컴퓨터 내에 로컬화 될 수 있다. 일 컴포넌트는 2개 이상의 컴퓨터들 사이에 분배될 수 있다. 또한, 이러한 컴포넌트들은 그 내부에 저장된 다양한 데이터 구조들을 갖는 다양한 컴퓨터 판독가능한 매체로부터 실행할 수 있다. 컴포넌트들은 예를 들어 하나 이상의 데이터 패킷들을 갖는 신호(예를 들면, 로컬 시스템, 분산 시스템에서 다른 컴포넌트와 상호작용하는 하나의 컴포넌트로부터의 데이터 및/또는 신호를 통해 다른 시스템과 인터넷과 같은 네트워크를 통해 전송되는 데이터)에 따라 로컬 및/또는 원격 처리들을 통해 통신할 수 있다.The terms "component," "module," "system," and the like, as used herein, refer to a computer-related entity, hardware, firmware, software, a combination of software and hardware, or an execution of software. For example, a component may be, but is not limited to, a procedure running on a processor, a processor, an object, a thread of execution, a program, and/or a computer. For example, an application running on a computing device and the computing device may both be components. One or more components may reside within a processor and/or a thread of execution. A component may be localized within a single computer. A component may be distributed between two or more computers. Furthermore, such components may execute from various computer-readable media having various data structures stored therein. The components may communicate via local and/or remote processes, for example, by a signal comprising one or more data packets (e.g., data from one component interacting with another component in a local system, a distributed system, and/or data transmitted via a network such as the Internet to another system via the signal).

더불어, 용어 "또는"은 배타적 "또는"이 아니라 내포적 "또는"을 의미하는 것으로 의도된다. 즉, 달리 특정되지 않거나 문맥상 명확하지 않은 경우에, "X는 A 또는 B를 이용한다"는 자연적인 내포적 치환 중 하나를 의미하는 것으로 의도된다. 즉, X가 A를 이용하거나; X가 B를 이용하거나; 또는 X가 A 및 B 모두를 이용하는 경우, "X는 A 또는 B를 이용한다"가 이들 경우들 어느 것으로도 적용될 수 있다. 또한, 본 명세서에 사용된 "또는", "및/또는"이라는 용어는 열거된 관련 아이템들 중 하나 이상의 아이템의 가능한 모든 조합을 지칭하고 포함하는 것으로 이해되어야 한다.Additionally, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified or clear from the context, "X employs A or B" is intended to mean either of the natural inclusive permutations. That is, if X employs A; X employs B; or X employs both A and B, "X employs A or B" can apply to any of these cases. Furthermore, the terms "or" and "and/or" as used herein should be understood to refer to and include all possible combinations of one or more of the associated items listed.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하는 것으로 이해되어야 한다. 다만, "포함한다" 및/또는 "포함하는"이라는 용어는, 하나 이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다. 또한, 달리 특정되지 않거나 단수 형태를 지시하는 것으로 문맥상 명확하지 않은 경우에, 본 명세서와 청구범위에서 단수는 일반적으로 "하나 또는 그 이상"을 의미하는 것으로 해석되어야 한다.Also, the terms "comprises" and/or "comprising" should be understood to mean the presence of the features and/or components. However, it should be understood that the terms "comprises" and/or "comprising" do not exclude the presence or addition of one or more other features, components, and/or groups thereof. Also, unless otherwise specified or clear from the context to refer to the singular form, the singular form as used in the specification and claims should generally be construed to mean "one or more."

그리고, "A 또는 B 중 적어도 하나"이라는 용어는, "A만을 포함하는 경우", "B 만을 포함하는 경우", "A와 B의 구성으로 조합된 경우"를 의미하는 것으로 해석되어야 한다. And, the term "at least one of A or B" should be interpreted to mean "including only A", "including only B", or "combined in the composition of A and B".

당업자들은 추가적으로 여기서 개시된 실시예들과 관련되어 설명된 다양한 예시적 논리적 블록들, 구성들, 모듈들, 회로들, 수단들, 로직들, 및 알고리즘 단계들이 전자 하드웨어, 컴퓨터 소프트웨어, 또는 양쪽 모두의 조합들로 구현될 수 있음을 인식해야 한다. 하드웨어 및 소프트웨어의 상호교환성을 명백하게 예시하기 위해, 다양한 예시적 컴포넌트들, 블록들, 구성들, 수단들, 로직들, 모듈들, 회로들, 및 단계들은 그들의 기능성 측면에서 일반적으로 위에서 설명되었다. 그러한 기능성이 하드웨어로 또는 소프트웨어로서 구현되는지 여부는 전반적인 시스템에 부과된 특정 어플리케이션(application) 및 설계 제한들에 달려 있다. 숙련된 기술자들은 각각의 특정 어플리케이션들을 위해 다양한 방법들로 설명된 기능성을 구현할 수 있다. 다만, 그러한 구현의 결정들이 본 개시내용의 영역을 벗어나게 하는 것으로 해석되어서는 안 된다.Those skilled in the art should additionally recognize that the various illustrative logical blocks, configurations, modules, circuits, means, logics, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as combinations of electronic hardware, computer software, or both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, blocks, configurations, means, logics, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application. However, such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

제시된 실시예들에 대한 설명은 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 발명을 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이다. 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 발명은 여기에 제시된 실시예 들로 한정되는 것이 아니다. 본 발명은 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다. The description of the disclosed embodiments is provided to enable a person skilled in the art to make or use the present invention. Various modifications to these embodiments will be apparent to a person skilled in the art. The general principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present invention is not limited to the embodiments disclosed herein. The present invention is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

본 개시내용에서의 제 1, 제 2, 또는 제 3 과 같이 제 N으로 표현되는 용어들은 적어도 하나의 엔티티들을 구분하기 위해 사용된다. 예를 들어, 제 1과 제 2로 표현된 엔티티들은 서로 동일하거나 또는 상이할 수 있다.In the present disclosure, terms expressed as first, second, or third, N, are used to distinguish at least one entity. For example, entities expressed as first and second may be the same or different from each other.

도 1은 본 개시의 몇몇 실시예에 따른 인공지능을 활용하여 비정형 데이터의 정형화를 수행하기 위한 컴퓨팅 장치를 설명하기 위한 도면이다.FIG. 1 is a diagram illustrating a computing device for performing standardization of unstructured data using artificial intelligence according to some embodiments of the present disclosure.

도 1에 도시된 컴퓨팅 장치(100)의 구성은 간략화 하여 나타낸 예시일 뿐이다. 본 개시의 일 실시예에서 컴퓨팅 장치(100)는 컴퓨팅 장치(100)의 컴퓨팅 환경을 수행하기 위한 다른 구성들이 포함될 수 있고, 개시된 구성들 중 일부만이 컴퓨팅 장치(100)를 구성할 수도 있다. The configuration of the computing device (100) illustrated in FIG. 1 is only a simplified example. In one embodiment of the present disclosure, the computing device (100) may include other configurations for performing a computing environment of the computing device (100), and only some of the disclosed configurations may constitute the computing device (100).

본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)는 비정형 데이터의 정형화를 수행하기 위한 장치일 수 있다. 예를 들어, 컴퓨팅 장치(100)는 인공지능을 활용하여 비정형 데이터를 정형화하고, 정형화된 데이터를 저장하는 과정을 수행하는 장치일 수 있다. 컴퓨팅 장치(100)는 임의의 형태의 서버 또는 사용자 단말을 포함할 수 있다. A computing device (100) according to some embodiments of the present disclosure may be a device for performing formalization of unstructured data. For example, the computing device (100) may be a device that performs a process of formalizing unstructured data and storing the formalized data by utilizing artificial intelligence. The computing device (100) may include any form of server or user terminal.

컴퓨팅 장치(100)는 프로세서(110), 메모리(130), 네트워크부(150)를 포함할 수 있다.A computing device (100) may include a processor (110), a memory (130), and a network unit (150).

프로세서(110)는 하나 이상의 코어로 구성될 수 있으며, 컴퓨팅 장치(100)의 중앙 처리 장치(CPU: central processing unit), 범용 그래픽 처리 장치(GPGPU: general purpose graphics processing unit), 텐서 처리 장치(TPU: tensor processing unit)등의 데이터의 처리에 관련된 동작을 수행하기 위한 프로세서를 포함할 수 있다.The processor (110) may be composed of one or more cores and may include a processor for performing operations related to processing data, such as a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), or a tensor processing unit (TPU) of the computing device (100).

본 개시의 일 실시예에 따라 프로세서(110)는 신경망의 학습을 위한 연산을 수행할 수도 있다. 예를 들어, 프로세서(110)는 딥러닝(DL: deep learning)에서 학습을 위한 입력 데이터의 처리, 입력 데이터에서의 피쳐 추출, 오차 계산, 역전파(backpropagation)를 이용한 신경망의 가중치 업데이트 등의 신경망의 학습을 위한 계산을 수행할 수 있다. 프로세서(110)의 CPU, GPGPU, 및 TPU 중 적어도 하나가 네트워크 함수의 학습을 처리할 수 있다. 예를 들어, CPU 와 GPGPU가 함께 네트워크 함수의 학습, 네트워크 함수를 이용한 데이터 분류를 처리할 수 있다. 또한, 본 개시의 일 실시예에서 복수의 컴퓨팅 장치들의 프로세서들을 함께 사용하여 네트워크 함수의 학습, 네트워크 함수를 이용한 데이터 분류를 처리할 수도 있다.According to one embodiment of the present disclosure, the processor (110) may perform operations for learning a neural network. For example, the processor (110) may perform calculations for learning a neural network, such as processing input data for learning in deep learning (DL), extracting features from input data, calculating errors, and updating weights of a neural network using backpropagation. At least one of the CPU, GPGPU, and TPU of the processor (110) may process learning of a network function. For example, the CPU and the GPGPU may together process learning of a network function and classification of data using a network function. In addition, in one embodiment of the present disclosure, processors of a plurality of computing devices may be used together to process learning of a network function and classification of data using a network function.

프로세서(110)는 통상적으로 컴퓨팅 장치(100)의 전반적인 동작을 제어할 수 있다. 프로세서(110)는 컴퓨팅 장치(100)에 포함된 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 정보 등을 처리하거나 메모리(130)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다.The processor (110) can typically control the overall operation of the computing device (100). The processor (110) can process signals, data, information, etc. input or output through components included in the computing device (100) or run an application program stored in the memory (130), thereby providing or processing appropriate information or functions to the user.

본 개시의 일 실시예에서, 메모리(130)는 프로세서(110)가 생성하거나 결정한 임의의 형태의 정보 및/또는 네트워크부(150)가 수신한 임의의 형태의 정보를 저장할 수 있다. 일 실시예에서, 메모리(130)는 데이터베이스를 저장하고 있을 수 있다. 데이터베이스는 컴퓨팅 장치(100)가 처리할 수 있는 형태로 저장된 데이터의 집합일 수 있다.In one embodiment of the present disclosure, the memory (130) may store any form of information generated or determined by the processor (110) and/or any form of information received by the network unit (150). In one embodiment, the memory (130) may store a database. The database may be a collection of data stored in a form that can be processed by the computing device (100).

본 개시의 일 실시예에서, 메모리(130)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory, ROM), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크 및/또는 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 컴퓨팅 장치(100)는 인터넷(internet) 상에서 메모리(130)의 저장 기능을 수행하는 웹 스토리지(web storage)와 관련되어 동작할 수도 있다. 전술한 메모리에 대한 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다. 메모리(130)는 프로세서(110)에 의하여 동작 될 수 있다.In one embodiment of the present disclosure, the memory (130) may include at least one type of storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, 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 (EEPROM), a Programmable Read-Only Memory (PROM), a magnetic memory, a magnetic disk, and/or an optical disk. The computing device (100) may also operate in relation to web storage that performs the storage function of the memory (130) on the internet. The description of the memory described above is only an example, and the present disclosure is not limited thereto. The memory (130) may be operated by the processor (110).

본 개시의 일 실시예에 따른 네트워크부(150)는 임의의 형태의 데이터 및 신호 등을 송신 및 수신할 수 있는 임의의 유무선 통신 네트워크가 본 개시 내용에서 표현되는 네트워크에 포함될 수 있다. 본 명세서에서 설명된 기술들은 위에서 언급된 네트워크들뿐만 아니라, 다른 네트워크들에서도 사용될 수 있다.The network unit (150) according to one embodiment of the present disclosure may include any wired or wireless communication network capable of transmitting and receiving any type of data and signals, etc., in the network expressed in the present disclosure. The techniques described in this specification may be used not only in the networks mentioned above, but also in other networks.

도 2는 본 개시의 몇몇 실시예에 따른 인공지능 기반의 모델의 예시적인 구조를 나타낸 도면이다.FIG. 2 is a diagram illustrating an exemplary structure of an artificial intelligence-based model according to some embodiments of the present disclosure.

본 명세서에 걸쳐, 인공지능 기반의 모델(예를 들어, 요약 정보 생성 모델, 정보 분류 모델 등), 연산 모델, 신경망, 네트워크 함수, 뉴럴 네트워크(neural network)는 동일한 의미(상호교환 가능한 의미)로 사용될 수 있다.Throughout this specification, the terms artificial intelligence-based model (e.g., summary information generation model, information classification model, etc.), computational model, neural network, network function, and neural network may be used with the same meaning (interchangeably).

신경망은 일반적으로 노드(node)라 지칭될 수 있는 상호 연결된 계산 단위들의 집합으로 구성될 수 있다. 이러한 노드들은 뉴런(neuron)들로 지칭될 수도 있다. 신경망은 적어도 하나 이상의 노드들을 포함하여 구성된다. 신경망들을 구성하는 노드(또는 뉴런)들은 하나 이상의 링크에 의해 상호 연결될 수 있다.A neural network may be composed of a set of interconnected computational units, which may generally be referred to as nodes. These nodes may also be referred to as neurons. A neural network is composed of at least one node. The nodes (or neurons) that make up the neural network may be interconnected by one or more links.

신경망 내에서, 링크를 통해 연결된 하나 이상의 노드들은 상대적으로 입력 노드 및 출력 노드의 관계를 형성할 수 있다. 입력 노드 및 출력 노드의 개념은 상대적인 것으로서, 하나의 노드에 대하여 출력 노드 관계에 있는 임의의 노드는 다른 노드와의 관계에서 입력 노드 관계에 있을 수 있으며, 그 역도 성립할 수 있다. 상술한 바와 같이, 입력 노드 대 출력 노드 관계는 링크를 중심으로 생성될 수 있다. 하나의 입력 노드에 하나 이상의 출력 노드가 링크를 통해 연결될 수 있으며, 그 역도 성립할 수 있다.In a neural network, one or more nodes connected through a link can form a relationship of input node and output node relatively. The concept of input node and output node is relative, and any node in an output node relationship to one node can be in an input node relationship in a relationship to another node, and vice versa. As described above, the input node-to-output node relationship can be created based on a link. One or more output nodes can be connected to one input node through a link, and vice versa.

하나의 링크를 통해 연결된 입력 노드 및 출력 노드 관계에서, 출력 노드의 데이터는 입력 노드에 입력된 데이터에 기초하여 그 값이 결정될 수 있다. 여기서 입력 노드와 출력 노드를 상호 연결하는 링크는 가중치(weight)를 가질 수 있다. 가중치는 가변적일 수 있으며, 신경망이 원하는 기능을 수행하기 위해, 사용자 또는 알고리즘에 의해 가변 될 수 있다. 예를 들어, 하나의 출력 노드에 하나 이상의 입력 노드가 각각의 링크에 의해 상호 연결된 경우, 출력 노드는 상기 출력 노드와 연결된 입력 노드들에 입력된 값들 및 각각의 입력 노드들에 대응하는 링크에 설정된 가중치에 기초하여 출력 노드 값을 결정할 수 있다.In a relationship between input nodes and output nodes connected through a single link, the data of the output node can have its value determined based on the data input to the input node. Here, the link interconnecting the input nodes and the output nodes can have a weight. The weight can be variable and can be varied by a user or an algorithm so that the neural network can perform a desired function. For example, when one or more input nodes are interconnected to one output node through each link, the output node can determine the output node value based on the values input to the input nodes connected to the output node and the weight set for the link corresponding to each input node.

상술한 바와 같이, 신경망은 하나 이상의 노드들이 하나 이상의 링크를 통해 상호 연결되어 신경망 내에서 입력 노드 및 출력 노드 관계를 형성한다. 신경망 내에서 노드들과 링크들의 개수 및 노드들과 링크들 사이의 연관관계, 링크들 각각에 부여된 가중치의 값에 따라, 신경망의 특성이 결정될 수 있다. 예를 들어, 동일한 개수의 노드 및 링크들이 존재하고, 링크들의 가중치 값이 상이한 두 신경망이 존재하는 경우, 두 개의 신경망들은 서로 상이한 것으로 인식될 수 있다.As described above, a neural network is a network in which one or more nodes are interconnected through one or more links to form input node and output node relationships within the neural network. Depending on the number of nodes and links within the neural network, the relationship between the nodes and links, and the weight values assigned to each link, the characteristics of the neural network can be determined. For example, if there are two neural networks with the same number of nodes and links and different weight values for the links, the two neural networks can be recognized as being different from each other.

신경망은 하나 이상의 노드들의 집합으로 구성될 수 있다. 신경망을 구성하는 노드들의 부분 집합은 레이어(layer)를 구성할 수 있다. 신경망을 구성하는 노드들 중 일부는, 최초 입력 노드로부터의 거리들에 기초하여, 하나의 레이어를 구성할 수 있다. 예를 들어, 최초 입력 노드로부터 거리가 n인 노드들의 집합은, n 레이어를 구성할 수 있다. 최초 입력 노드로부터 거리는, 최초 입력 노드로부터 해당 노드까지 도달하기 위해 거쳐야 하는 링크들의 최소 개수에 의해 정의될 수 있다. 그러나, 이러한 레이어의 정의는 설명을 위한 임의적인 것으로서, 신경망 내에서 레이어의 차수는 상술한 것과 상이한 방법으로 정의될 수 있다. 예를 들어, 노드들의 레이어는 최종 출력 노드로부터 거리에 의해 정의될 수도 있다.A neural network can be composed of a set of one or more nodes. A subset of the nodes constituting the neural network can form a layer. Some of the nodes constituting the neural network can form a layer based on distances from the initial input node. For example, a set of nodes that are n distances from the initial input node can form an n layer. The distance from the initial input node can be defined by the minimum number of links that must be passed through to reach the node from the initial input node. However, this definition of a layer is arbitrary for the purpose of explanation, and the order of a layer in a neural network can be defined in a different way than described above. For example, a layer of nodes can be defined by the distance from the final output node.

본 개시내용의 일 실시예에서, 뉴런들 또는 노드들의 집합은 레이어라는 표현으로 정의될 수 있다.In one embodiment of the present disclosure, a set of neurons or nodes may be defined as a layer.

최초 입력 노드는 신경망 내의 노드들 중 다른 노드들과의 관계에서 링크를 거치지 않고 데이터가 직접 입력되는 하나 이상의 노드들을 의미할 수 있다. 또는, 신경망 네트워크 내에서, 링크를 기준으로 한 노드 간의 관계에 있어서, 링크로 연결된 다른 입력 노드들을 가지지 않는 노드들을 의미할 수 있다. 이와 유사하게, 최종 출력 노드는 신경망 내의 노드들 중 다른 노드들과의 관계에서, 출력 노드를 가지지 않는 하나 이상의 노드들을 의미할 수 있다. 또한, 히든 노드는 최초 입력 노드 및 최후 출력 노드가 아닌 신경망을 구성하는 노드들을 의미할 수 있다.The initial input node may refer to one or more nodes to which data is directly input without going through a link in a relationship with other nodes in the neural network. Or, in a neural network, in a relationship between nodes based on a link, it may refer to nodes that do not have other input nodes connected by a link. Similarly, the final output node may refer to one or more nodes that do not have an output node in a relationship with other nodes in the neural network. In addition, a hidden node may refer to nodes that constitute the neural network other than the initial input node and the final output node.

본 개시의 일 실시예에 따른 신경망은 입력 레이어의 노드의 개수가 출력 레이어의 노드의 개수와 동일할 수 있으며, 입력 레이어에서 히든 레이어(hidden layer, 은닉층)로 진행됨에 따라 노드의 수가 감소하다가 다시 증가하는 형태의 신경망일 수 있다. 또한, 본 개시의 다른 일 실시예에 따른 신경망은 입력 레이어의 노드의 개수가 출력 레이어의 노드의 개수 보다 적을 수 있으며, 입력 레이어에서 히든 레이어로 진행됨에 따라 노드의 수가 감소하는 형태의 신경망일 수 있다. 또한, 본 개시의 또 다른 일 실시예에 따른 신경망은 입력 레이어의 노드의 개수가 출력 레이어의 노드의 개수보다 많을 수 있으며, 입력 레이어에서 히든 레이어로 진행됨에 따라 노드의 수가 증가하는 형태의 신경망일 수 있다. 본 개시의 또 다른 일 실시예에 따른 신경망은 상술한 신경망들의 조합된 형태의 신경망일 수 있다.According to one embodiment of the present disclosure, a neural network may be a neural network in which the number of nodes in an input layer may be the same as the number of nodes in an output layer, and the number of nodes decreases and then increases as it progresses from the input layer to a hidden layer. In addition, according to another embodiment of the present disclosure, a neural network may be a neural network in which the number of nodes in an input layer may be less than the number of nodes in an output layer, and the number of nodes decreases as it progresses from the input layer to the hidden layer. In addition, according to another embodiment of the present disclosure, a neural network in which the number of nodes in an input layer may be greater than the number of nodes in an output layer, and the number of nodes increases as it progresses from the input layer to the hidden layer. In accordance with another embodiment of the present disclosure, a neural network may be a neural network in a combined form of the neural networks described above.

딥 뉴럴 네트워크(DNN: deep neural network, 심층신경망)는 입력 레이어와 출력 레이어 외에 복수의 히든 레이어를 포함하는 신경망을 의미할 수 있다. 딥 뉴럴 네트워크를 이용하면 데이터의 잠재적인 구조(latent structures)를 파악할 수 있다. 딥 뉴럴 네트워크는 컨볼루션 뉴럴 네트워크(CNN: convolutional neural network), 리커런트 뉴럴 네트워크(RNN: recurrent neural network), 오토 인코더(auto encoder), 적대적 생성 네트워크(GAN: Generative Adversarial Network), 제한 볼츠만 머신(RBM: Restricted Boltzmann Machine), 심층 신뢰 네트워크(DBN: deep belief network), Q 네트워크, U 네트워크, 샴 네트워크 등을 포함할 수 있다. 전술한 딥 뉴럴 네트워크의 기재는 예시일 뿐이며, 본 개시는 이에 제한되지 않는다.A deep neural network (DNN) may refer to a neural network that includes multiple hidden layers in addition to an input layer and an output layer. Using a deep neural network, latent structures of data can be identified. A deep neural network may include a convolutional neural network (CNN), a recurrent neural network (RNN), an auto encoder, a generative adversarial network (GAN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a Q network, a U network, a Siamese network, and the like. The description of the above-described deep neural network is only an example, and the present disclosure is not limited thereto.

예시적으로, 본 개시내용의 인공지능 기반의 모델은, 트랜스포머, 생성형 사전학습 트랜스포머(GPT), BERT(Bidirectional Encoder Representations from Transformers) 등을 포함할 수 있다.For example, the AI-based models of the present disclosure may include transformers, generative pre-trained transformers (GPTs), BERT (Bidirectional Encoder Representations from Transformers), and the like.

본 개시내용의 인공지능 기반의 모델은 입력 레이어, 히든 레이어 및 출력 레이어를 포함하는 전술한 임의의 구조의 네트워크 구조에 의해 표현될 수 있다.The artificial intelligence-based model of the present disclosure can be represented by a network structure of any structure described above, including an input layer, a hidden layer, and an output layer.

본 개시내용의 인공지능 기반의 모델에서 사용될 수 있는 뉴럴 네트워크는 지도 학습(supervised learning), 비지도 학습(unsupervised learning), 반-지도 학습(semi-supervised learning), 또는 강화학습(reinforcement learning), 분산 딥러닝을 위한 연합학습(Federated Learning), 점진학습(incremental learning) 중 적어도 하나의 방식으로 학습될 수 있다. 뉴럴 네트워크의 학습은 뉴럴 네트워크가 특정한 동작을 수행하기 위한 지식을 뉴럴 네트워크에 적용하는 과정일 수 있다.The neural network that can be used in the artificial intelligence-based model of the present disclosure can be trained by at least one of supervised learning, unsupervised learning, semi-supervised learning, reinforcement learning, federated learning for distributed deep learning, and incremental learning. Training of the neural network can be a process of applying knowledge to the neural network to perform a specific operation.

뉴럴 네트워크는 출력의 오류를 최소화하는 방향으로 학습될 수 있다. 뉴럴 네트워크의 학습에서 반복적으로 학습 데이터를 뉴럴 네트워크에 입력시키고 학습 데이터에 대한 뉴럴 네트워크의 출력과 타겟의 에러를 계산하고, 에러를 줄이기 위한 방향으로 뉴럴 네트워크의 에러를 뉴럴 네트워크의 출력 레이어에서부터 입력 레이어 방향으로 역전파(backpropagation)하여 뉴럴 네트워크의 각 노드의 가중치를 업데이트 하는 과정이다. 지도 학습의 경우 각각의 학습 데이터에 정답이 라벨링되어있는 학습 데이터를 사용하며(즉, 라벨링된 학습 데이터), 비지도 학습의 경우는 각각의 학습 데이터에 정답이 라벨링되어 있지 않을 수 있다. 즉, 예를 들어 데이터 분류에 관한 지도 학습의 경우의 학습 데이터는 학습 데이터 각각에 카테고리가 라벨링된 데이터일 수 있다. 라벨링된 학습 데이터가 뉴럴 네트워크에 입력되고, 뉴럴 네트워크의 출력(카테고리)과 학습 데이터의 라벨을 비교함으로써 오류(error)가 계산될 수 있다.A neural network can be trained in the direction of minimizing the error of the output. In the training of a neural network, training data is repeatedly input into the neural network, the output of the neural network for the training data and the error of the target are calculated, and the error of the neural network is backpropagated from the output layer of the neural network to the input layer in the direction of reducing the error, thereby updating the weights of each node of the neural network. In the case of supervised learning, training data in which the correct answer is labeled for each training data is used (i.e., labeled training data), and in the case of unsupervised learning, the correct answer may not be labeled for each training data. That is, for example, in the case of supervised learning for data classification, the training data may be data in which each training data is labeled with a category. Labeled training data is input into the neural network, and the error can be calculated by comparing the output (category) of the neural network with the label of the training data.

다른 예로, 데이터 분류에 관한 비지도 학습의 경우 입력인 학습 데이터가 뉴럴 네트워크 출력과 비교됨으로써 오류가 계산될 수 있다. 계산된 오류는 뉴럴 네트워크에서 역방향(즉, 출력 레이어에서 입력 레이어 방향)으로 역전파되며, 역전파에 따라 뉴럴 네트워크의 각 레이어의 각 노드들의 연결 가중치가 업데이트될 수 있다. 업데이트되는 각 노드의 연결 가중치는 학습률(learning rate)에 따라 변화량이 결정될 수 있다. 입력 데이터에 대한 뉴럴 네트워크의 계산과 에러의 역전파는 학습 사이클(epoch)을 구성할 수 있다. 학습률은 뉴럴 네트워크의 학습 사이클의 반복 횟수에 따라 상이하게 적용될 수 있다. 예를 들어, 뉴럴 네트워크의 학습 초기에는 높은 학습률을 사용하여 뉴럴 네트워크가 빠르게 일정 수준의 성능을 확보하도록 하여 효율성을 높이고, 학습 후기에는 낮은 학습률을 사용하여 정확도를 높일 수 있다.As another example, in the case of unsupervised learning for data classification, the input learning data can be compared with the output of the neural network to calculate the error. The calculated error is backpropagated in the backward direction (i.e., from the output layer to the input layer) in the neural network, and the connection weights of each node in each layer of the neural network can be updated according to the backpropagation. The amount of change in the connection weights of each node to be updated can be determined according to the learning rate. The calculation of the neural network for the input data and the backpropagation of the error can constitute a learning cycle (epoch). The learning rate can be applied differently depending on the number of repetitions of the learning cycle of the neural network. For example, a high learning rate can be used in the early stage of learning of the neural network to allow the neural network to quickly acquire a certain level of performance, thereby increasing efficiency, and a low learning rate can be used in the later stage of learning to increase accuracy.

뉴럴 네트워크의 학습에서 일반적으로 학습 데이터는 실제 데이터(즉, 학습된 뉴럴 네트워크를 이용하여 처리하고자 하는 데이터)의 부분집합일 수 있으며, 따라서, 학습 데이터에 대한 오류는 감소하나 실제 데이터에 대해서는 오류가 증가하는 학습 사이클이 존재할 수 있다. 과적합(overfitting)은 이와 같이 학습 데이터에 과하게 학습하여 실제 데이터에 대한 오류가 증가하는 현상이다. 예를 들어, 노란색 고양이를 보여 고양이를 학습한 뉴럴 네트워크가 노란색 이외의 고양이를 보고는 고양이임을 인식하지 못하는 현상이 과적합의 일종일 수 있다. 과적합은 머신러닝 알고리즘의 오류를 증가시키는 원인으로 작용할 수 있다. 이러한 과적합을 막기 위하여 다양한 최적화 방법이 사용될 수 있다. 과적합을 막기 위해서는 학습 데이터를 증가시키거나, 레귤라리제이션(regularization), 학습의 과정에서 네트워크의 노드 일부를 비활성화하는 드롭아웃(dropout), 배치 정규화 레이어(batch normalization layer) 활용 등의 방법이 적용될 수 있다.In learning neural networks, learning data can generally be a subset of real data (i.e., data to be processed using the learned neural network), and therefore, there can be a learning cycle in which errors for learning data decrease but errors for real data increase. Overfitting is a phenomenon in which excessive learning on learning data increases errors for real data. For example, a neural network that learned cats by showing yellow cats cannot recognize cats when it sees cats other than yellow, which can be a type of overfitting. Overfitting can act as a cause of increasing errors in machine learning algorithms. Various optimization methods can be used to prevent overfitting. To prevent overfitting, methods such as increasing learning data, regularization, dropout that deactivates some nodes of the network during the learning process, and utilizing batch normalization layers can be applied.

본 개시의 일 실시예에 따른 데이터 구조를 저장한 컴퓨터 판독가능 매체가 개시된다. 전술한 데이터 구조는 본 개시내용에서의 저장부에 저장될 수 있으며, 프로세서에 의해 실행될 수 있으며 그리고 통신부에 의해 송수신될 수 있다.A computer-readable medium storing a data structure according to one embodiment of the present disclosure is disclosed. The above-described data structure can be stored in a storage unit in the present disclosure, executed by a processor, and transmitted and received by a communication unit.

데이터 구조는 데이터에 효율적인 접근 및 수정을 가능하게 하는 데이터의 조직, 관리, 저장을 의미할 수 있다. 데이터 구조는 특정 문제(예를 들어, 최단 시간으로 데이터 검색, 데이터 저장, 데이터 수정) 해결을 위한 데이터의 조직을 의미할 수 있다. 데이터 구조는 특정한 데이터 처리 기능을 지원하도록 설계된, 데이터 요소들 간의 물리적이거나 논리적인 관계로 정의될 수도 있다. 데이터 요소들 간의 논리적인 관계는 사용자 정의 데이터 요소들 간의 연결관계를 포함할 수 있다. 데이터 요소들 간의 물리적인 관계는 컴퓨터 판독가능 저장매체(예를 들어, 영구 저장 장치)에 물리적으로 저장되어 있는 데이터 요소들 간의 실제 관계를 포함할 수 있다. 데이터 구조는 구체적으로 데이터의 집합, 데이터 간의 관계, 데이터에 적용할 수 있는 함수 또는 명령어를 포함할 수 있다. 효과적으로 설계된 데이터 구조를 통해 컴퓨팅 장치는 컴퓨팅 장치의 자원을 최소한으로 사용하면서 연산을 수행할 수 있다. 구체적으로 컴퓨팅 장치는 효과적으로 설계된 데이터 구조를 통해 연산, 읽기, 삽입, 삭제, 비교, 교환, 검색의 효율성을 높일 수 있다.A data structure can refer to the organization, management, and storage of data that enables efficient access and modification of data. A data structure can refer to the organization of data to solve a specific problem (e.g., data retrieval in the shortest time, data storage, data modification). A data structure can also be defined as a physical or logical relationship between data elements designed to support a specific data processing function. A logical relationship between data elements can include a connection relationship between user-defined data elements. A physical relationship between data elements can include an actual relationship between data elements that are physically stored in a computer-readable storage medium (e.g., a persistent storage device). A data structure can specifically include a collection of data, a relationship between data, and a function or command that can be applied to the data. An effectively designed data structure enables a computing device to perform operations while using minimal resources of the computing device. Specifically, a computing device can increase the efficiency of operations, reading, insertion, deletion, comparison, exchange, and searching through an effectively designed data structure.

데이터 구조는 데이터 구조의 형태에 따라 선형 데이터 구조와 비선형 데이터 구조로 구분될 수 있다. 선형 데이터 구조는 하나의 데이터 뒤에 하나의 데이터만이 연결되는 구조일 수 있다. 선형 데이터 구조는 리스트(List), 스택(Stack), 큐(Queue), 데크(Deque)를 포함할 수 있다. 리스트는 내부적으로 순서가 존재하는 일련의 데이터 집합을 의미할 수 있다. 리스트는 연결 리스트(Linked List)를 포함할 수 있다. 연결 리스트는 각각의 데이터가 포인터를 가지고 한 줄로 연결되어 있는 방식으로 데이터가 연결된 데이터 구조일 수 있다. 연결 리스트에서 포인터는 다음이나 이전 데이터와의 연결 정보를 포함할 수 있다. 연결 리스트는 형태에 따라 단일 연결 리스트, 이중 연결 리스트, 원형 연결 리스트로 표현될 수 있다. 스택은 제한적으로 데이터에 접근할 수 있는 데이터 나열 구조일 수 있다. 스택은 데이터 구조의 한 쪽 끝에서만 데이터를 처리(예를 들어, 삽입 또는 삭제)할 수 있는 선형 데이터 구조일 수 있다. 스택에 저장된 데이터는 늦게 들어갈수록 빨리 나오는 데이터 구조(LIFO-Last in First Out)일 수 있다. 큐는 제한적으로 데이터에 접근할 수 있는 데이터 나열 구조로서, 스택과 달리 늦게 저장된 데이터일수록 늦게 나오는 데이터 구조(FIFO-First in First Out)일 수 있다. 데크는 데이터 구조의 양 쪽 끝에서 데이터를 처리할 수 있는 데이터 구조일 수 있다.Data structures can be divided into linear data structures and nonlinear data structures depending on the form of the data structure. A linear data structure can be a structure in which only one piece of data is connected after another piece of data. Linear data structures can include lists, stacks, queues, and deques. A list can mean a series of data sets that have an internal order. A list can include a linked list. A linked list can be a data structure in which data is connected in a way that each piece of data has a pointer and is connected in a single line. In a linked list, a pointer can include information on the connection to the next or previous piece of data. A linked list can be expressed as a singly linked list, a doubly linked list, or a circular linked list depending on its form. A stack can be a data listing structure that allows limited access to data. A stack can be a linear data structure in which data can be processed (e.g., inserted or deleted) only at one end of the data structure. Data stored in a stack can be a data structure in which the later it enters, the sooner it comes out (LIFO - Last in First Out). A queue is a data list structure that allows limited access to data, and unlike a stack, it can be a data structure that comes out later (FIFO - First in First Out) as data is stored later. A deck can be a data structure that can process data at both ends of the data structure.

비선형 데이터 구조는 하나의 데이터 뒤에 복수개의 데이터가 연결되는 구조일 수 있다. 비선형 데이터 구조는 그래프(Graph) 데이터 구조를 포함할 수 있다. 그래프 데이터 구조는 정점(Vertex)과 간선(Edge)으로 정의될 수 있으며 간선은 서로 다른 두개의 정점을 연결하는 선을 포함할 수 있으며, 그래프 데이터 구조 트리(Tree) 데이터 구조를 포함할 수 있다. 트리 데이터 구조는 트리에 포함된 복수개의 정점 중에서 서로 다른 두개의 정점을 연결시키는 경로가 하나인 데이터 구조일 수 있다. 즉, 그래프 데이터 구조에서 루프(loop)를 형성하지 않는 데이터 구조일 수 있다.A nonlinear data structure can be a structure in which multiple data are connected behind one data. A nonlinear data structure can include a graph data structure. A graph data structure can be defined by vertices and edges, and an edge can include a line connecting two different vertices, and a graph data structure can include a tree data structure. A tree data structure can be a data structure in which there is only one path connecting two different vertices among multiple vertices included in the tree. In other words, it can be a data structure that does not form a loop in a graph data structure.

데이터 구조는 신경망을 포함할 수 있다. 그리고 신경망을 포함한 데이터 구조는 컴퓨터 판독가능 매체에 저장될 수 있다. 신경망을 포함한 데이터 구조는 또한 신경망에 의한 처리를 위하여 전처리(preprocessing)된 데이터, 신경망에 입력되는 데이터, 신경망의 가중치, 신경망의 하이퍼파라미터(hyperparameter), 신경망으로부터 획득한 데이터, 신경망의 각 노드 또는 레이어와 연관된 활성 함수(activation function), 신경망의 학습을 위한 손실 함수(lost function) 등을 포함할 수 있다. 신경망을 포함한 데이터 구조는 상기 개시된 구성들 중 임의의 구성 요소들을 포함할 수 있다. 즉 신경망을 포함한 데이터 구조는 신경망에 의한 처리를 위하여 전처리된 데이터, 신경망에 입력되는 데이터, 신경망의 가중치, 신경망의 하이퍼파라미터, 신경망으로부터 획득한 데이터, 신경망의 각 노드 또는 레이어와 연관된 활성 함수, 신경망의 학습을 위한 손실 함수 등 전부 또는 이들의 임의의 조합을 포함하여 구성될 수 있다. 전술한 구성들 이외에도, 신경망을 포함한 데이터 구조는 신경망의 특성을 결정하는 임의의 다른 정보를 포함할 수 있다. 또한, 데이터 구조는 신경망의 연산 과정에 사용되거나 발생되는 모든 형태의 데이터를 포함할 수 있으며 전술한 사항에 제한되는 것은 아니다. 컴퓨터 판독가능 매체는 컴퓨터 판독가능 기록 매체 및/또는 컴퓨터 판독가능 전송 매체를 포함할 수 있다. 신경망은 일반적으로 노드라 지칭될 수 있는 상호 연결된 계산 단위들의 집합으로 구성될 수 있다. 이러한 노드들은 뉴런들로 지칭될 수도 있다. 신경망은 적어도 하나 이상의 노드들을 포함하여 구성된다.The data structure may include a neural network. And the data structure including the neural network may be stored in a computer-readable medium. The data structure including the neural network may also include preprocessed data for processing by the neural network, 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 learning the neural network, etc. The data structure including the neural network may include any of the components among the above-described configurations. That is, the data structure including the neural network may be configured to include all or any combination of the preprocessed data for processing by the neural network, 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 learning the neural network, etc. In addition to the above-described configurations, the data structure including the neural network may include any other information that determines the characteristics of the neural network. In addition, the data structure may include all forms of data used or generated in the computational process of the neural network, and is not limited to the foregoing. The computer-readable medium may include a computer-readable recording medium and/or a computer-readable transmission medium. The neural network may be composed of a set of interconnected computational units, which may generally be referred to as nodes. These nodes may also be referred to as neurons. The neural network is composed of at least one node.

데이터 구조는 신경망에 입력되는 데이터를 포함할 수 있다. 신경망에 입력되는 데이터를 포함하는 데이터 구조는 컴퓨터 판독가능 매체에 저장될 수 있다. 신경망에 입력되는 데이터는 신경망 학습 과정에서 입력되는 학습 데이터 및/또는 학습이 완료된 신경망에 입력되는 입력 데이터를 포함할 수 있다. 신경망에 입력되는 데이터는 전처리를 거친 데이터 및/또는 전처리 대상이 되는 데이터를 포함할 수 있다. 전처리는 데이터를 신경망에 입력시키기 위한 데이터 처리 과정을 포함할 수 있다. 따라서 데이터 구조는 전처리 대상이 되는 데이터 및 전처리로 발생되는 데이터를 포함할 수 있다. 전술한 데이터 구조는 예시일 뿐 본 개시는 이에 국한되지 않는다.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 neural network after training is completed. The data input to the neural network may include data that has undergone preprocessing and/or data that is the target of preprocessing. The preprocessing may include a data processing process for inputting data to the neural network. Accordingly, the data structure may include data that is the target of preprocessing and data generated by the preprocessing. The above-described data structure is merely an example, and the present disclosure is not limited thereto.

데이터 구조는 신경망의 가중치를 포함할 수 있다(본 명세서에서 가중치, 파라미터는 동일한 의미로 사용될 수 있다). 그리고 신경망의 가중치를 포함한 데이터 구조는 컴퓨터 판독가능 매체에 저장될 수 있다. 신경망은 복수개의 가중치를 포함할 수 있다. 가중치는 가변적일 수 있으며, 신경망이 원하는 기능을 수행하기 위해, 사용자 또는 알고리즘에 의해 가변 될 수 있다. 예를 들어, 하나의 출력 노드에 하나 이상의 입력 노드가 각각의 링크에 의해 상호 연결된 경우, 출력 노드는 상기 출력 노드와 연결된 입력 노드들에 입력된 값들 및 각각의 입력 노드들에 대응하는 링크에 설정된 가중치에 기초하여 출력 노드에서 출력되는 데이터 값을 결정할 수 있다. 전술한 데이터 구조는 예시일 뿐 본 개시는 이에 국한되지 않는다.The data structure may include weights of the neural network (in this specification, weights and parameters may be used with the same meaning). And the data structure including the weights of the neural network may be stored in a computer-readable medium. The neural network may include a plurality of weights. The weights may be variable and may be variable by a user or an algorithm so that the neural network may perform a desired function. For example, when one or more input nodes are interconnected to one output node by respective links, the output node may determine a data value output from the output node based on values input to the input nodes connected to the output node and weights set for links corresponding to each of the input nodes. The above-described data structure is only an example, and the present disclosure is not limited thereto.

제한이 아닌 예로서, 가중치는 신경망 학습 과정에서 가변되는 가중치 및/또는 신경망 학습이 완료된 가중치를 포함할 수 있다. 신경망 학습 과정에서 가변되는 가중치는 학습 사이클이 시작되는 시점의 가중치 및/또는 학습 사이클 동안 가변되는 가중치를 포함할 수 있다. 신경망 학습이 완료된 가중치는 학습 사이클이 완료된 가중치를 포함할 수 있다. 따라서 신경망의 가중치를 포함한 데이터 구조는 신경망 학습 과정에서 가변되는 가중치 및/또는 신경망 학습이 완료된 가중치를 포함한 데이터 구조를 포함할 수 있다. 그러므로 상술한 가중치 및/또는 각 가중치의 조합은 신경망의 가중치를 포함한 데이터 구조에 포함되는 것으로 한다. 전술한 데이터 구조는 예시일 뿐 본 개시는 이에 국한되지 않는다.By way of example and not limitation, the weights may include weights that are variable during the neural network learning process and/or weights that have completed neural network learning. The weights that are variable during the neural network learning process may include weights at the start of the learning cycle and/or weights that are variable during the learning cycle. The weights that have completed neural network learning may include weights that have completed the learning cycle. Accordingly, the data structure including the weights of the neural network may include the data structure including the weights that are variable during the neural network learning process and/or weights that have completed neural network learning. Therefore, the above-described weights and/or combinations of each weight are included in the data structure including the weights of the neural network. The above-described data structures are merely examples and the present disclosure is not limited thereto.

신경망의 가중치를 포함한 데이터 구조는 직렬화(serialization) 과정을 거친 후 컴퓨터 판독가능 저장 매체(예를 들어, 메모리, 하드 디스크)에 저장될 수 있다. 직렬화는 데이터 구조를 동일하거나 다른 컴퓨팅 장치에 저장하고 나중에 다시 재구성하여 사용할 수 있는 형태로 변환하는 과정일 수 있다. 컴퓨팅 장치는 데이터 구조를 직렬화하여 네트워크를 통해 데이터를 송수신할 수 있다. 직렬화된 신경망의 가중치를 포함한 데이터 구조는 역직렬화(deserialization)를 통해 동일한 컴퓨팅 장치 또는 다른 컴퓨팅 장치에서 재구성될 수 있다. 신경망의 가중치를 포함한 데이터 구조는 직렬화에 한정되는 것은 아니다. 나아가 신경망의 가중치를 포함한 데이터 구조는 컴퓨팅 장치의 자원을 최소한으로 사용하면서 연산의 효율을 높이기 위한 데이터 구조(예를 들어, 비선형 데이터 구조에서 B-Tree, R-Tree, Trie, m-way search tree, AVL tree, Red-Black Tree)를 포함할 수 있다. 전술한 사항은 예시일 뿐 본 개시는 이에 국한되지 않는다.The data structure including the weights of the neural network can be stored in a computer-readable storage medium (e.g., memory, hard disk) after going through a serialization process. Serialization can be a process of converting the data structure into a form that can be stored in the same or different computing devices and reconstructed and used later. 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 through deserialization. The data structure including the weights of the neural network is not limited to serialization. Furthermore, the data structure including the weights of the neural network can include a data structure (e.g., B-Tree, R-Tree, Trie, m-way search tree, AVL tree, Red-Black Tree in nonlinear data structures) for increasing the efficiency of computation while minimizing the use of computing device resources. The above are only examples, and the present disclosure is not limited thereto.

데이터 구조는 신경망의 하이퍼파라미터를 포함할 수 있다. 그리고 신경망의 하이퍼파라미터를 포함한 데이터 구조는 컴퓨터 판독가능 매체에 저장될 수 있다. 하이퍼파라미터는 사용자에 의해 가변되는 변수일 수 있다. 하이퍼파라미터는 예를 들어, 학습률(learning rate), 비용 함수(cost function), 학습 사이클 반복 횟수, 가중치 초기화(weight initialization)(예를 들어, 가중치 초기화 대상이 되는 가중치 값의 범위 설정), Hidden Unit의 개수(예를 들어, 히든 레이어의 개수, 히든 레이어의 노드 수)를 포함할 수 있다. 전술한 데이터 구조는 예시일 뿐 본 개시는 이에 국한되지 않는다.The data structure may include hyperparameters of the neural network. And the data structure including the hyperparameters of the neural network may be stored in a computer-readable medium. The hyperparameters may be variables that are changed by the user. The hyperparameters may include, for example, a learning rate, a cost function, a number of repetitions of a learning cycle, weight initialization (e.g., setting a range of weight values to be weight initialization targets), and the number of Hidden Units (e.g., the number of hidden layers, the number of nodes in the hidden layer). The above-described data structure is only an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 인공지능 기반의 모델(예를 들어, 요약 정보 생성 모델, 정보 분류 모델 등)에 대한 네트워크 함수로서 트랜스포머(transformer)가 고려될 수도 있다. 일례로, 인공지능 기반의 모델은 트랜스포머 기반으로 동작될 수 있다. 이러한 인공지능 기반의 모델은 예를 들어, 어텐션(attention) 알고리즘이 적용된 순환 신경망 또는 어텐션 알고리즘이 적용된 트랜스포머를 사용하여 동작될 수 있다.A transformer may be considered as a network function for an AI-based model (e.g., a summary information generation model, an information classification model, etc.) according to one embodiment of the present disclosure. For example, the AI-based model may be operated based on a transformer. Such an AI-based model may be operated using, for example, a recurrent neural network to which an attention algorithm is applied or a transformer to which an attention algorithm is applied.

일 실시예에서, 트랜스포머는 임베딩된 데이터들을 인코딩하는 인코더 및 인코딩된 데이터들을 디코딩하는 디코더로 구성될 수 있다. 트랜스포머는 일련의 데이터(series of data)들을 수신하여, 인코딩 및 디코딩 단계를 거처 상이한 타입의 일련의 데이터들을 출력하는 구조를 지닐 수 있다. 일 실시예에서, 일련의 데이터들은 트랜스포머가 연산가능한 형태로 가공될 수 있다. 일련의 데이터들을 트랜스포머가 연산가능한 형태로 가공하는 과정은 임베딩 과정을 포함할 수 있다. 데이터 토큰, 임베딩 벡터, 임베딩 토큰 등과 같은 표현들은, 트랜스포머가 처리할 수 있는 형태로 임베딩된 데이터들을 지칭하는 것일 수 있다.In one embodiment, the transformer may be composed of an encoder that encodes embedded data and a decoder that decodes the encoded data. The transformer may have a structure that receives a series of data, and outputs a series of data of different types through encoding and decoding steps. In one embodiment, the series of data may be processed into a form operable by the transformer. The process of processing the series of data into a form operable by the transformer may include an embedding process. Expressions such as data token, embedding vector, embedding token, etc. may refer to data embedded in a form that can be processed by the transformer.

트랜스포머가 일련의 데이터들을 인코딩 및 디코딩하기 위하여, 트랜스포머 내의 인코더 및 디코더들을 어텐션 알고리즘을 활용하여 처리할 수 있다. 어텐션 알고리즘이란 주어진 쿼리(Query)에 대하여, 하나 이상의 키(Key)에 대한 유사도를 구하고, 이렇게 주어진 유사도를, 각각의 키(Key)와 대응하는 값(Value)에 반영한 후, 유사도가 반영된 값(Value)들을 가중합하여 어텐션 값을 계산하는 알고리즘을 의미할 수 있다.In order for a transformer to encode and decode a series of data, the encoders and decoders within the transformer can be processed using an attention algorithm. An attention algorithm can mean an algorithm that calculates the similarity for one or more keys for a given query, reflects the similarity given in this way to the values corresponding to each key, and then calculates an attention value by weighting the values to which the similarity is reflected.

쿼리(Query), 키(Key) 및 값(Value)를 어떻게 설정하는가에 따라, 다양한 종류의 어텐션 알고리즘이 분류될 수 있다. 예를 들어, 쿼리, 키 및 값을 모두 동일하게 설정하여 어텐션을 구하는 경우, 이는 셀프-어텐션(self-attention) 알고리즘을 의미할 수 있다. 입력된 일련의 데이터들을 병렬로 처리하기 위해, 임베딩 벡터를 차원을 축소하여, 각 분할된 임베딩 벡터에 대해 개별적인 어텐션 헤드를 구하여 어텐션을 구하는 경우, 이는 멀티-헤드(multi-head) 어텐션 알고리즘을 의미할 수 있다.Depending on how the query, key, and value are set, various types of attention algorithms can be classified. For example, if attention is obtained by setting the query, key, and value all to the same, this may mean a self-attention algorithm. If attention is obtained by reducing the dimension of the embedding vector and obtaining individual attention heads for each divided embedding vector to process a series of input data in parallel, this may mean a multi-head attention algorithm.

일 실시예에서, 트랜스포머는 복수의 멀티-헤드 셀프-어텐션 알고리즘 또는 멀티-헤드 인코더-디코더 알고리즘을 수행하는 모듈들로 구성될 수 있다. 일 실시예에서, 트랜스포머는 임베딩 레이어, 정규화 레이어, 소프트맥스(softmax) 층 등 어텐션 알고리즘이 아닌 부가적인 구성요소들 또한 포함할 수 있다. 어텐션 알고리즘을 이용하여 트랜스포머를 구성하는 방법은 Vaswani et al., Attention Is All You Need, 2017 NIPS에 개시된 방법을 포함할 수 있으며, 이는 여기에 참조로서 통합된다.In one embodiment, the transformer may be composed of modules that perform a plurality of multi-head self-attention algorithms or multi-head encoder-decoder algorithms. In one embodiment, the transformer may also include additional components other than attention algorithms, such as an embedding layer, a normalization layer, a softmax layer, etc. A method for constructing a transformer using an attention algorithm may include a method disclosed in Vaswani et al., Attention Is All You Need, 2017 NIPS, which is incorporated herein by reference.

트랜스포머는 임베딩된 자연어, 임베딩된 시퀀스 정보, 분할된 이미지 데이터, 오디오 파형 등 다양한 데이터 도메인에 적용하여, 일련의 입력 데이터를 일련의 출력 데이터로 변환할 수 있다. 다양한 데이터 도메인을 가진 데이터들을 트랜스포머에 입력가능한 일련의 데이터들로 변환하기 위해, 트랜스포머는 데이터들을 임베딩할 수 있다. 트랜스포머는 일련의 입력 데이터 사이의 상대적 위치관계 또는 위상관계를 표현하는 추가적인 데이터를 처리할 수 있다. 또는 일련의 입력 데이터에 입력 데이터들 사이의 상대적인 위치관계 또는 위상관계를 표현하는 벡터들이 추가적으로 반영되어 일련의 입력 데이터가 임베딩될 수 있다. 일 예에서, 일련의 입력 데이터 사이의 상대적 위치관계는, 자연어 문장 내에서의 어순, 각각의 분할된 이미지의 상대적 위치 관계, 분할된 오디오 파형의 시간 순서 등을 포함할 수 있으나, 이에 제한되지 않는다. 일련의 입력 데이터들 사이의 상대적인 위치관계 또는 위상관계를 표현하는 정보를 추가하는 과정은 위치 인코딩(positional encoding)으로 지칭될 수 있다.The transformer can be applied to various data domains such as embedded natural language, embedded sequence information, segmented image data, and audio waveforms, and can transform a series of input data into a series of output data. In order to transform data having various data domains into a series of data that can be input to the transformer, the transformer can embed the data. The transformer can process additional data expressing the relative positional relationship or phase relationship between the series of input data. Alternatively, vectors expressing the relative positional relationship or phase relationship between the input data can be additionally reflected in the series of input data, and the series of input data can be embedded. In one example, the relative positional relationship between the series of input data can include, but is not limited to, word order in a natural language sentence, the relative positional relationship of each segmented image, the time order of the segmented audio waveform, and the like. The process of adding information expressing the relative positional relationship or phase relationship between the series of input data can be referred to as positional encoding.

데이터를 임베딩하여 트랜스포머로 변환하는 방법의 일 예는 Dosovitskiy, et al., AN IMAGE IS WORTH 16X16 WORDS: TRANSFORMERS FOR IMAGE RECOGNITION AT SCALE에 개시되어 있으며, 해당 문서는 여기에 참조로서 통합된다.An example of how to embed data into a transformer is disclosed in Dosovitskiy, et al., AN IMAGE IS WORTH 16X16 WORDS: TRANSFORMERS FOR IMAGE RECOGNITION AT SCALE, which is incorporated herein by reference.

도 3은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 입원 환자의 관리의 방법을 나타낸 도면이다.FIG. 3 is a diagram illustrating a method of managing a hospitalized patient performed on a computing device according to some embodiments of the present disclosure.

본 개시의 실시예들은, 인공지능 기반의 모델(예를 들어, 요약 정보 생성 모델, 정보 분류 모델 등)을 학습시키기(training) 위한 실시예 및 학습된 인공지능 기반의 모델을 통해 실제로 추론(inference)(예컨대, 데이터의 요약 정보, 데이터셋 등) 결과를 얻기 위한 실시예를 포괄할 수 있다.Embodiments of the present disclosure may include embodiments for training an artificial intelligence-based model (e.g., a summary information generation model, an information classification model, etc.) and embodiments for actually obtaining an inference result (e.g., summary information of data, a dataset, etc.) through the trained artificial intelligence-based model.

본 개시에서 인공지능 기반의 모델을 학습시키는 과정 또는 인공지능 기반의 모델을 이용하여 추론을 수행하는 과정(예컨대, 데이터의 요약 정보, 데이터셋 등을 생성하는 과정) 중 하나의 과정으로 인공지능 기반의 모델의 동작이 설명될 수 있다. 이는 설명의 편의를 위하여 작성된 것으로, 학습을 수행하는 과정 또는 추론을 수행하는 과정 중 하나의 과정으로 기재되었다고 하더라도, 학습 또는 추론 중 다른 하나의 과정을 포괄하는 의도로 해석되어야 한다.In the present disclosure, the operation of the AI-based model may be described as one of the processes of learning an AI-based model or performing inference using the AI-based model (e.g., generating summary information of data, a dataset, etc.). This has been written for convenience of explanation, and even if it is described as one of the processes of performing learning or performing inference, it should be interpreted as encompassing the other process of either learning or inference.

일 실시예에서, 도 3에서 도시되는 단계들은 컴퓨팅 장치(100)에 의해 수행될 수 있다. 추가적인 실시예에서, 도 3에서 도시되는 단계들 중 일부는 사용자 단말에서 수행되고 다른 일부는 서버에서 수행되는 방식과 같이 도 3에서의 단계들은 복수의 엔티티(entity)들에 의해 구현될 수도 있다.In one embodiment, the steps illustrated in FIG. 3 may be performed by the computing device (100). In a further embodiment, the steps in FIG. 3 may be implemented by multiple entities, such as some of the steps illustrated in FIG. 3 being performed at a user terminal and others being performed at a server.

일 실시예에서, 컴퓨팅 장치(100)의 프로세서(110)는 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득할 수 있다. 예를 들어, 프로세서(110)는 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득할 수 있다(S310). 다른 예를 들어, 프로세서(110)는 컴퓨팅 장치(100)와 상이한 사용자 단말(또는, 서버)로부터 사용자에 의해 입력된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득할 수 있다.In one embodiment, the processor (110) of the computing device (100) may obtain first text data including unstructured data. For example, the processor (110) may obtain first text data including unstructured data extracted from a medical record database (S310). For another example, the processor (110) may obtain first text data including unstructured data input by a user from a user terminal (or server) different from the computing device (100).

일 실시예에서, 의료 기록 데이터베이스는 특정 사람의 의료와 관련된 데이터들을 컴퓨팅 장치(100)가 처리할 수 있는 형태로 저장된 데이터의 집합일 수 있다. 프로세서(110)는 의료 기록 데이터베이스로부터 의료와 관련된 비정형 데이터를 획득할 수 있다.In one embodiment, the medical records database may be a collection of data related to the medical care of a particular person stored in a form that can be processed by a computing device (100). The processor (110) may obtain unstructured data related to medical care from the medical records database.

일 실시예에서, 비정형 데이터는 정의된 구조가 없이 정형화되지 않은 데이터일 수 있다. 예를 들어, 비정형 데이터는 동영상 파일, 오디오 파일, 사진 파일, 문서 파일, 메일 파일 등을 포함할 수 있다. 일 실시예에서, 비정형 데이터는 정형화되지 않은 의료 데이터를 포함할 수 있다. In one embodiment, unstructured data may be data that is not structured and has no defined structure. For example, unstructured data may include video files, audio files, photo files, document files, mail files, etc. In one embodiment, unstructured data may include unstructured medical data.

일 실시예에서, 제 1 텍스트 데이터는 텍스트(text) 형태로 표현되는, 정형화되지 않은 데이터(예를 들어, 의료 데이터 등)일 수 있다. 일 실시예에서, 제 1 텍스트 데이터는 온라인 및/또는 오프라인에서 공개되지 않은 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함할 수 있다. 텍스트는 단어(word), 문장(sentence) 및/또는 단락(paragraph)을 포함할 수 있다. 의료 데이터는 특정 사람의 의료에 관련된 정보를 포함할 수 있다. 예를 들어, 의료 데이터는 의료 분야에 있어서 적어도 하나의 질병과 관련된 변수를 포함할 수 있다. 예를 들어, 의료 데이터는 특정 사람의 신체 정보, 건강 정보, 진료 정보 등을 포함하는 데이터로, 특정 사람의 CT 영상 데이터, MRI 검사 결과 데이터, 심전도 측정 결과 데이터, 전자의무기록(Electronic Medical Record, EMR) 데이터 등을 포함할 수 있다. 변수는 생활 습관(음주, 흡연), 가족력, 나이, 성별, 콜레스테롤 수치, 유전자 관련 변수 등 질병과 관련될 수 있다.In one embodiment, the first text data may be unstructured data (e.g., medical data, etc.) expressed in text form. In one embodiment, the first text data may include unstructured data extracted from an online and/or offline unpublished medical record database. The text may include words, sentences, and/or paragraphs. The medical data may include information related to medical care of a specific person. For example, the medical data may include variables related to at least one disease in the medical field. For example, the medical data may include data including physical information, health information, and treatment information of a specific person, and may include CT image data, MRI test result data, electrocardiogram measurement result data, and electronic medical record (EMR) data of a specific person. The variables may be related to diseases, such as lifestyle habits (drinking, smoking), family history, age, gender, cholesterol level, and genetic variables.

프로세서(110)는 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득할 수 있다(S320).The processor (110) can obtain summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model (S320).

사전 결정된 제 1 프롬프트는 제 1 요약 정보 생성 모델에 제 1 텍스트 데이터의 요약 정보의 출력을 요청하기 위한 요청 문장(또는, 질의(question) 문장)을 포함할 수 있다. 예를 들어, 제 1 프롬프트는 “텍스트 데이터를 요약한 텍스트 데이터의 요약 정보를 만들어 줘.” 등의 자연 언어로 구성된 요청 문장을 포함할 수 있다. 다른 예를 들어, 제 1 프롬프트는 프로그래밍 언어 등의 인공 언어로 구성된 요청 문장(예를 들어, 명령어로 구성된 명령문 등)을 포함할 수 있다.The predetermined first prompt may include a request sentence (or, a question sentence) for requesting the first summary information generation model to output summary information of the first text data. For example, the first prompt may include a request sentence composed of a natural language, such as “Generate summary information of the text data that summarizes the text data.” For another example, the first prompt may include a request sentence composed of an artificial language, such as a programming language (e.g., a command sentence composed of commands, etc.).

일 실시예에서, 제 1 텍스트 데이터의 요약 정보는 제 1 텍스트 데이터에서 사전 결정된 항목별로 각각 대응되는 텍스트를 포함할 수 있다.In one embodiment, the summary information of the first text data may include text corresponding to each predetermined item in the first text data.

일 실시예에서, 사전 결정된 항목은 나이 또는 성별 중 적어도 하나를 포함하는 개인 정보, 신체와 관련된 신체 상태 정보 및/또는 질병과 관련된 질병 상태 정보 중 적어도 하나를 포함할 수 있다.In one embodiment, the predetermined item may include at least one of personal information including at least one of age or gender, physical condition information related to a body, and/or disease condition information related to a disease.

일 실시예에서, 개인 정보는 성명, 주민등록번호, 나이, 성별 등과 같이 단독 또는 조합으로 개인을 식별할 수 있는 개인에 관한 정보일 수 있다.In one embodiment, personal information may be information about an individual that can identify the individual alone or in combination, such as name, resident registration number, age, gender, etc.

일 실시예에서, 신체 상태 정보는 키, 체중, 호흡 상태, 혈압 등과 같이 개인의 신체에 관한 정보일 수 있다.In one embodiment, the body condition information may be information about an individual's body, such as height, weight, breathing condition, blood pressure, and the like.

일 실시예에서, 질병 상태 정보는 질병의 명칭, 질병의 병기(staging), 수술 여부, 수술의 명칭, 수술의 내용 등과 같이 개인의 질병에 관한 정보일 수 있다.In one embodiment, the disease status information may be information about an individual's disease, such as the name of the disease, the staging of the disease, whether surgery was performed, the name of the surgery, the details of the surgery, and the like.

일 실시예에서, 제 1 요약 정보 생성 모델은 대규모 언어 모델(LLM: Large Language Model)을 포함할 수 있다. 대규모 언어 모델(LLM: Large Language Model)은 십억 개에서 수천억 개에 이르는 파라미터를 갖는 언어 모델을 의미할 수 있다. 대규모 언어 모델(LLM)은 기존 작은 규모의 언어 모델들보다 번역, 요약 등을 비롯한 자연어 처리 분야의 다방면에서 상대적으로 높은 성능을 달성할 수 있다. 일 실시예에서, 제 1 요약 정보 생성 모델은 PEFT(Parameter Efficient Fine-Tuning), LoRA(Low-Rank Adaptation) 등의 다양한 파인 튜닝(fine-tuning) 기법을 활용하여 튜닝하여 사용될 수도 있다.In one embodiment, the first summary information generation model may include a Large Language Model (LLM). The Large Language Model (LLM) may refer to a language model having from billions to hundreds of billions of parameters. The Large Language Model (LLM) may achieve relatively higher performance than existing small-scale language models in various aspects of natural language processing, including translation and summarization. In one embodiment, the first summary information generation model may be tuned and used by utilizing various fine-tuning techniques, such as Parameter Efficient Fine-Tuning (PEFT) and Low-Rank Adaptation (LoRA).

일 실시예에서, 제 1 요약 정보 생성 모델은 복수의 컴퓨팅 장치들을 사용하여 분산 학습될 수 있다. 예를 들어, 컴퓨팅 장치(100)는 제 1 요약 정보 생성 모델의 학습 과정을 파이프라인화 하고, 파이프라인화를 통해 분할된 복수의 학습 단계들을 컴퓨팅 장치(100)와 상이한 외부 컴퓨팅 장치들에 각각 분산하여 전달함으로써, 제 1 요약 정보 생성 모델의 학습 과정을 복수의 컴퓨팅 장치들을 이용하여 병렬적으로 처리할 수 있다. 파이프라인화는 작업을 여러 단계로 분할하고 각 단계를 순차적으로 연결하여 전체 작업을 조직화하는 것을 의미할 수 있다.In one embodiment, the first summary information generation model can be distributedly trained using a plurality of computing devices. For example, the computing device (100) pipelines the training process of the first summary information generation model, and distributes and transmits the plurality of training stages divided through the pipeline to external computing devices different from the computing device (100), thereby allowing the training process of the first summary information generation model to be processed in parallel using a plurality of computing devices. Pipelining may mean dividing a task into several stages and sequentially connecting each stage to organize the entire task.

일 실시예에서, 제 1 요약 정보 생성 모델은 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 2 텍스트 데이터, 제 2 텍스트 데이터의 요약 정보 및 사전 결정된 제 1 프롬프트를 이용하여, 입력되는 텍스트 데이터에 대한 요약 정보를 생성하도록 학습될 수 있다.In one embodiment, the first summary information generation model can be trained to generate summary information for input text data using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and a predetermined first prompt.

일 실시예에서, 제 1 요약 정보 생성 모델은 제 2 텍스트 데이터 및 사전 결정된 제 1 프롬프트를 입력 받아 출력되는 제 1 출력 정보와 제 2 텍스트 데이터의 요약 정보를 비교함으로써, 제 1 출력 정보가 제 2 텍스트 데이터의 요약 정보와 유사해지는 방향으로 학습될 수 있다.In one embodiment, the first summary information generation model can be trained to receive second text data and a predetermined first prompt as input and compare the first output information with the summary information of the second text data, thereby making the first output information similar to the summary information of the second text data.

일 실시예에서, 제 2 텍스트 데이터는 텍스트 형태로 표현되는, 정형화되지 않은 데이터(예를 들어, 의료 데이터 등)일 수 있다. 일 실시예에서, 제 2 텍스트 데이터는 온라인 및/또는 오프라인에서 무상으로 공개된 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함할 수 있다.In one embodiment, the second text data may be unstructured data (e.g., medical data, etc.) expressed in text form. In one embodiment, the second text data may include unstructured data extracted from a freely available medical record database, either online and/or offline.

일 실시예에서, 제 2 텍스트 데이터의 요약 정보는 제 2 텍스트 데이터에서 사전 결정된 항목별로 각각 대응되는 텍스트를 포함할 수 있다.In one embodiment, the summary information of the second text data may include text corresponding to each predetermined item in the second text data.

일 실시예에서, 제 2 텍스트 데이터의 요약 정보는 제 2 텍스트 데이터 및 사전 결정된 제 1 프롬프트를 인공지능 기반의 사전 학습된 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 사전 학습된 제 2 요약 정보 생성 모델에 의해 출력될 수 있다.In one embodiment, the summary information of the second text data can be output by the pre-trained second summary information generation model in response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model.

일 실시예에서, 사전 학습된 제 2 요약 정보 생성 모델은 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 3 텍스트 데이터 및 사전 결정된 제 1 프롬프트를 이용하여, 제 3 텍스트 데이터로부터, 사전 결정된 항목에 대응되는 텍스트를 포함하는 요약 정보를 출력하도록 사전 학습될 수 있다. In one embodiment, the pre-trained second summary information generation model can be pre-trained to output summary information including text corresponding to predetermined items from the third text data, using third text data including unstructured data extracted from a medical record database and a predetermined first prompt.

일 실시예에서, 제 2 요약 정보 생성 모델은 사전 학습된 대규모 언어 모델을 포함할 수 있다. 예를 들어, 제 2 요약 정보 생성 모델은 트랜스포머(GPT 계열) 모델이 사용될 수 있으며, 예시적으로 구글(Google)의 바드(Bard), 챗(Chat)-GPT, XLNet, 마이크로소프트(Microsoft)의 Turing-NLG, CLIP, 등이 활용될 수 있다. 다만, 제 2 요약 정보 생성 모델은 이에 한정되지 않고 다양한 언어 모델(LM: Language Model)이 사용될 수 있다.In one embodiment, the second summary information generation model may include a pre-trained large-scale language model. For example, the second summary information generation model may use a transformer (GPT series) model, and examples thereof include Google's Bard, Chat-GPT, XLNet, Microsoft's Turing-NLG, CLIP, etc. However, the second summary information generation model is not limited thereto, and various language models (LM: Language Models) may be used.

일 실시예에서, 제 3 텍스트 데이터는 텍스트 형태로 표현되는, 정형화되지 않은 데이터(예를 들어, 의료 데이터 등)일 수 있다. 일 실시예에서, 제 3 텍스트 데이터는 온라인 및/또는 오프라인에서 무상으로 공개된 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함할 수 있다.In one embodiment, the third text data may be unstructured data (e.g., medical data, etc.) expressed in text form. In one embodiment, the third text data may include unstructured data extracted from a medical record database that is freely available online and/or offline.

일 실시예에서, 제 3 텍스트 데이터의 요약 정보는 제 3 텍스트 데이터에서 사전 결정된 항목별로 각각 대응되는 텍스트를 포함할 수 있다.In one embodiment, the summary information of the third text data may include text corresponding to each predetermined item in the third text data.

일 실시예에서, 텍스트 데이터 및 프롬프트를 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 제 2 요약 정보 생성 모델에 의해 출력되는 텍스트 데이터의 요약 정보는, 제 1 요약 정보 생성 모델의 학습 과정에서 정답 데이터(ground truth data)로 사용될 수 있다. 예를 들어, 제 2 요약 정보 생성 모델에 의해 출력되는 제 2 텍스트 데이터의 요약 정보는 제 1 요약 정보 생성 모델의 제 1 출력 정보와 비교되는 정답 데이터로 사용될 수 있다.In one embodiment, in response to inputting text data and a prompt to the second summary information generation model, the summary information of the text data output by the second summary information generation model can be used as ground truth data in the learning process of the first summary information generation model. For example, the summary information of the second text data output by the second summary information generation model can be used as ground truth data to be compared with the first output information of the first summary information generation model.

일 실시예에서, 사전 결정된 제 1 프롬프트는 제 2 요약 정보 생성 모델에서 수행되는 파인 튜닝(Fine-Tuning) 과정을 통해 업데이트 될 수 있다. 따라서, 사전 결정된 제 1 프롬프트는 제 2 요약 정보 생성 모델의 학습과정에서 파인 튜닝 과정을 통해 최종 업데이트된 프롬프트일 수 있다.In one embodiment, the predetermined first prompt may be updated through a fine-tuning process performed in the second summary information generation model. Accordingly, the predetermined first prompt may be a final updated prompt through a fine-tuning process in the learning process of the second summary information generation model.

일 실시예에서, 프로세서(110)는 인공지능 기반의 사전 학습된 정보 분류 모델 또는 정규 표현식(regular expression)을 이용하여, 제 1 텍스트 데이터의 요약 정보로부터, 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득할 수 있다(S330).In one embodiment, the processor (110) may obtain a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or regular expression (S330).

일 실시예에서, 데이터셋은 특정한 작업을 위하여 서로 관련된 자료를 모아 놓은 집합 및/또는 파일을 의미할 수 있다. 데이터셋은 열과 행을 포함하는 테이블(table) 형태로 구성될 수 있다. 예를 들어, 데이터셋은 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어질 수 있다.In one embodiment, a dataset may mean a collection and/or file of related data for a specific task. A dataset may be structured in the form of a table containing columns and rows. For example, a dataset may be structured in a structured format containing columns consisting of predetermined items and rows consisting of at least one text corresponding to each column.

일 실시예에서, 사전 학습된 정보 분류 모델은 텍스트 데이터에 포함된 자연어를 처리하여 텍스트를 사전 결정된 항목별로 분류하도록 사전 학습된, 자연어 처리 모델을 포함할 수 있다.In one embodiment, the pre-trained information classification model may include a natural language processing model that is pre-trained to process natural language contained in text data to classify the text into predetermined categories.

일 실시예에서, 자연어 처리 모델은 자연 언어를 기계적으로 이해하고 처리하는 인공지능 기반의 모델을 의미할 수 있다. 예를 들어, 자연어 처리 모델은 BERT(Bidirectional Encoder Representations from Transformers), NER(Named Entity Recognition) 등을 활용할 수 있다. 다만, 자연어 처리 모델은 이에 한정되지 않으며, 주어진 텍스트 데이터에서 통계적 패턴을 찾아서 자연어를 처리하는 통계 기반 자연어 처리 모델, 사전 정의된 규칙을 기반으로 텍스트를 처리하는 규칙 기반 자연어 처리 모델, 단어를 벡터로 표현하여 의미적 유사성을 보전하는 워드 임베딩(word embedding) 모델 등 다양한 자연어 처리 모델이 사용될 수 있다.In one embodiment, the natural language processing model may mean an artificial intelligence-based model that mechanically understands and processes natural language. For example, the natural language processing model may utilize BERT (Bidirectional Encoder Representations from Transformers), NER (Named Entity Recognition), etc. However, the natural language processing model is not limited thereto, and various natural language processing models may be used, such as a statistical-based natural language processing model that processes natural language by finding statistical patterns in given text data, a rule-based natural language processing model that processes text based on predefined rules, and a word embedding model that preserves semantic similarity by expressing words as vectors.

일 실시예에서, 정규 표현식은 특정한 문자열을 표현하기 위해 사용하는 형식 언어를 의미할 수 있다. 정규 표현식은 사전 결정된 메타 문자와 기호를 사용하여 특정 패턴을 표현할 수 있다.In one embodiment, a regular expression may refer to a formal language used to represent specific strings. A regular expression may represent specific patterns using predetermined metacharacters and symbols.

일 실시예에서, 프로세서(110)는 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는지 여부를 결정할 수 있다.In one embodiment, the processor (110) can determine whether a pattern exists in the summary information of the first text data.

일 실시예에서, 패턴은 특정한 규칙 또는 구조를 나타내는 텍스트의 일련의 문자열일 수 있다. 패턴은 텍스트 내에서 사전 결정된 구조(예를 들어, 서식 등)를 가지는 구조적인 패턴, 텍스트 내에서 사전 결정된 문법 규칙을 가지는 문법적인 패턴 등을 포함할 수 있다. 따라서, 프로세서(110)는 사전 결정된 패턴과 제 1 텍스트 데이터의 요약 정보를 비교함으로써, 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는지 여부를 결정할 수 있다. 일 실시예에서, 제 1 텍스트 데이터의 요약 정보는 사전 결정된 패턴에 대응되는 구조로 구성될 수 있다. 일 실시예에서, 제 1 텍스트 데이터의 요약 정보는 사전 결정된 패턴이 아닌, 비패턴화 된 구조로 구성될 수 있다.In one embodiment, the pattern may be a series of strings of text that represent a particular rule or structure. The pattern may include a structural pattern having a predetermined structure (e.g., format, etc.) within the text, a grammatical pattern having a predetermined grammar rule within the text, etc. Accordingly, the processor (110) may determine whether a pattern exists in the summary information of the first text data by comparing the predetermined pattern with the summary information of the first text data. In one embodiment, the summary information of the first text data may be configured with a structure corresponding to the predetermined pattern. In one embodiment, the summary information of the first text data may be configured with a non-patterned structure, not a predetermined pattern.

일 실시예에서, 프로세서(110)는 패턴이 존재하는지 여부에 기초하여, 데이터셋을 획득하는 방법론을 상이하게 적용함으로써, 데이터셋을 획득할 수 있다.In one embodiment, the processor (110) can obtain the dataset by applying different methodologies for obtaining the dataset based on whether a pattern exists.

일 실시예에서, 프로세서(110)는 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는 경우, 패턴에 대응되는 정규 표현식을 이용하여, 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 데이터셋을 획득할 수 있다. 예를 들어, 프로세서(110)는 제 1 텍스트 데이터의 요약 정보가 의료 기록지의 서식에 대응되는 경우, 의료 기록지의 서식에 대응되는 정규 표현식을 이용하여, 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 데이터셋을 획득할 수 있다.In one embodiment, if a pattern exists in the summary information of the first text data, the processor (110) may obtain a data set in which the text included in the summary information of the first text data is classified by predetermined items using a regular expression corresponding to the pattern. For example, if the summary information of the first text data corresponds to the format of a medical record, the processor (110) may obtain a data set in which the text included in the summary information of the first text data is classified by predetermined items using a regular expression corresponding to the format of the medical record.

일 실시예에서, 프로세서(110)는 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하지 않는 경우, 사전 학습된 정보 분류 모델을 이용하여, 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 데이터셋을 획득할 수 있다.In one embodiment, if there is no pattern in the summary information of the first text data, the processor (110) may obtain a data set in which text included in the summary information of the first text data is classified by predetermined items using a pre-learned information classification model.

일 실시예에서, 프로세서(110)는 사전 결정된 항목 별로 결정된 기준정보와 상기 사전 결정된 항목 별로 분류된 적어도 하나의 텍스트를 각각 비교할 수 있다. 기준정보는 사전 결정된 항목 별로 분류된 텍스트 각각을 검증하기 위해 기준이 되는 정보로, 사전 결정된 항목별로 결정된 열(column)에 관한 정보, 데이터의 타입(type) 정보, 데이터의 범위 정보, 데이터의 길이 정보 등을 포함할 수 있다.In one embodiment, the processor (110) can compare at least one text classified by each predetermined item with the reference information determined for each predetermined item. The reference information is information that serves as a reference for verifying each text classified by each predetermined item, and can include information about a column determined for each predetermined item, type information of data, range information of data, length information of data, etc.

일 실시예에서, 프로세서(110)는 적어도 하나의 텍스트를 각각 비교한 결과, 적어도 하나의 텍스트 중에서 사전 결정된 항목 별로 결정된 기준정보에 부합하지 않는 적어도 하나의 오류 텍스트가 존재하는 경우, 적어도 하나의 오류 텍스트를 데이터셋에서 제거할 수 있다.In one embodiment, the processor (110) may remove at least one error text from the data set if, as a result of comparing at least one text, there is at least one error text that does not meet criteria information determined for each predetermined item among the at least one text.

일 실시예에서, 프로세서(110)는 데이터셋에서 사전 결정된 항목 중에서 제 1 항목으로 분류된 텍스트가 없는 경우(예를 들어, 분류되었던 텍스트가 오류 텍스트로 결정되어 제거된 경우, 텍스트 데이터 또는 텍스트 데이터의 요약 정보에 제 1 항목에 대응되는 텍스트가 없는 경우 등), 데이터셋에서 제 1 항목에 대응되는 제 1 열을 삭제할 수 있다.In one embodiment, the processor (110) may delete a first column corresponding to the first item in the data set if there is no text classified as the first item among the predetermined items in the data set (e.g., if the classified text is determined to be an error text and is removed, if there is no text corresponding to the first item in the text data or the summary information of the text data, etc.).

일 실시예에서, 프로세서(110)는 데이터셋에서 제거된 적어도 하나의 오류 텍스트를 별도의 테이블(예를 들어, 임시 테이블 등)로 구성하고, 메모리(130)에 저장할 수 있다.In one embodiment, the processor (110) may organize at least one error text removed from the dataset into a separate table (e.g., a temporary table, etc.) and store it in memory (130).

일 실시예에서, 프로세서(110)는 적어도 하나의 오류 텍스트가 제거된 데이터셋을 메모리(130)에 저장할 수 있다.In one embodiment, the processor (110) may store a dataset with at least one erroneous text removed in memory (130).

예를 들어, 프로세서(110)는 적어도 하나의 오류 텍스트가 제거된 데이터셋이 사전 결정된 구조(예를 들어, 공통 데이터 모델(common data model, CDM))에 대응되는 경우, 별도의 변환 없이, 적어도 하나의 오류 텍스트가 제거된 데이터셋을 메모리(130)에 저장할 수 있다.For example, if the dataset from which at least one erroneous text has been removed corresponds to a predetermined structure (e.g., a common data model (CDM)), the processor (110) may store the dataset from which at least one erroneous text has been removed in the memory (130) without a separate conversion.

다른 예를 들어, 프로세서(110)는 적어도 하나의 오류 텍스트가 제거된 데이터셋을 사전 결정된 구조로 변환하여 저장할 수 있다.As another example, the processor (110) can transform and store a dataset with at least one erroneous text removed into a predetermined structure.

일 실시예에서, 공통 데이터 모델은 서로 다른 구조의 데이터를 서로 동일한 구조의 데이터로 변환하기 위해 설정된 규격일 수 있다. 예를 들어, 공통 데이터 모델은 서로 다른 병원에 저장된 서로 다른 구조의 전자의무기록 데이터를 서로 동일한 구조의 데이터로 변환하기 위한 규격일 수 있다.In one embodiment, a common data model may be a standard established for converting data of different structures into data of the same structure. For example, a common data model may be a standard for converting electronic medical record data of different structures stored in different hospitals into data of the same structure.

도 4는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는, 인공지능을 활용한 비정형 데이터의 정형화 프로세스를 간략하게 나타낸 도면이다.FIG. 4 is a diagram schematically illustrating a process of formalizing unstructured data using artificial intelligence, performed in a computing device according to some embodiments of the present disclosure.

도 4를 참조하면, 일 실시예에서, 프로세서(110)는 인공지능 기반의 모델들(420, 440)에 입력되는 입력 데이터(410)인 프롬프트(411) 및 텍스트 데이터(412)를 획득할 수 있다. 예를 들어, 프로세서(110)는 사전 결정된 제 1 프롬프트(411) 및 제 2 텍스트 데이터(412)를 획득할 수 있다.Referring to FIG. 4, in one embodiment, the processor (110) may obtain a prompt (411) and text data (412), which are input data (410) input to artificial intelligence-based models (420, 440). For example, the processor (110) may obtain a predetermined first prompt (411) and second text data (412).

일 실시예에서, 프로세서(110)는 제 1 프롬프트(411) 및 제 2 텍스트 데이터(412)를 인공지능 기반의 사전 학습된 제 2 요약 정보 생성 모델(420)에 입력함으로써, 제 2 요약 정보 생성 모델(420)로부터 제 2 텍스트 데이터의 요약 정보(430)를 획득할 수 있다.In one embodiment, the processor (110) may input the first prompt (411) and the second text data (412) into an artificial intelligence-based pre-learned second summary information generation model (420), thereby obtaining summary information (430) of the second text data from the second summary information generation model (420).

일 실시예에서, 프로세서(110)는 제 1 프롬프트(411) 및 제 2 텍스트 데이터(412)를 인공지능 기반의 사전 학습된 제 1 요약 정보 생성 모델(440)에 입력함으로써, 제 1 요약 정보 생성 모델(440)로부터 제 1 출력 정보(450)를 획득할 수 있다.In one embodiment, the processor (110) may obtain first output information (450) from the first summary information generation model (440) by inputting the first prompt (411) and the second text data (412) into the artificial intelligence-based pre-learned first summary information generation model (440).

일 실시예에서, 프로세서(110)는 제 2 텍스트 데이터의 요약 정보(430)와 제 1 출력 정보(450)가 유사해지는 방향으로 제 1 요약 정보 생성 모델(440)을 학습시킬 수 있다. 즉, 프로세서(110)는 제 2 텍스트 데이터의 요약 정보(430)와 제 1 출력 정보(450) 간의 오류를 줄이는 방향으로 제 1 요약 정보 생성 모델(440)을 학습시킬 수 있다. 따라서, 제 2 텍스트 데이터의 요약 정보(430)는 제 1 요약 정보 생성 모델(440)의 학습 과정에서 정답 데이터(즉, 라벨(label))로 사용될 수 있다.In one embodiment, the processor (110) may train the first summary information generation model (440) in a direction in which the summary information (430) of the second text data and the first output information (450) become similar. That is, the processor (110) may train the first summary information generation model (440) in a direction in which the error between the summary information (430) of the second text data and the first output information (450) is reduced. Accordingly, the summary information (430) of the second text data may be used as correct data (i.e., a label) in the training process of the first summary information generation model (440).

일 실시예에서, 프로세서(110)는 프롬프트 및 텍스트 데이터를 포함하는 입력 데이터를 앞서 상술한 방식으로 학습된 제 1 요약 정보 생성 모델(440)에 입력하여, 제 1 요약 정보 생성 모델(440)로부터 텍스트 데이터의 요약 정보를 획득할 수 있다.In one embodiment, the processor (110) may input input data including a prompt and text data into a first summary information generation model (440) learned in the manner described above, and obtain summary information of the text data from the first summary information generation model (440).

프로세서(110)는 인공지능 기반의 사전 학습된 정보 분류 모델(461) 또는 정규 표현식(462)을 포함하는 분류 기법(460)을 이용하여, 텍스트 데이터의 요약 정보로부터 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋(470)을 획득할 수 있다.The processor (110) can obtain a data set (470) in which at least one text included in the summary information of the text data is classified by predetermined items from the summary information of the text data using a classification technique (460) including an artificial intelligence-based pre-learned information classification model (461) or a regular expression (462).

프로세서(110)는 사전 결정된 항목 별로 결정된 기준정보와 사전 결정된 항목 별로 분류된 적어도 하나의 텍스트를 각각 비교한 결과, 적어도 하나의 텍스트 중에서 사전 결정된 항목 별로 결정된 기준정보에 부합하지 않는 적어도 하나의 오류 텍스트가 존재하는 경우, 적어도 하나의 오류 텍스트를 데이터셋(470)에서 제거할 수 있다. 프로세서(110)는 적어도 하나의 오류 텍스트가 제거된 데이터셋(480)을 메모리(130)에 저장할 수 있다.The processor (110) compares the criteria information determined for each predetermined item with at least one text classified for each predetermined item, and if there is at least one error text that does not match the criteria information determined for each predetermined item among the at least one text, the processor (110) can remove the at least one error text from the data set (470). The processor (110) can store the data set (480) from which the at least one error text has been removed in the memory (130).

인공지능을 활용한 비정형 데이터의 정형화 프로세스에 관한 구체적인 설명은 도 1 내지 도 3을 통해 상술한 내용으로 대체될 수 있으며, 중복되는 내용은 생략하였다.A specific description of the process of standardizing unstructured data using artificial intelligence can be replaced with the contents described above through Figures 1 to 3, and redundant contents are omitted.

도 1 내지 3을 참조하여 상술한 바와 같이, 본 개시의 일 실시예에 따른 컴퓨팅 장치(100)는 의료진이 기존에 행했던 변환이나 해석에 소요되는 업무 부담을 줄여 보다 환자에게 신속하고 정확한 결과를 제공할 수 있다.As described above with reference to FIGS. 1 to 3, the computing device (100) according to one embodiment of the present disclosure can provide faster and more accurate results to patients by reducing the burden of work required for conversion or interpretation previously performed by medical staff.

일 실시예에서, 컴퓨팅 장치(100)는 데이터 입력 및 변환 과정에서 발생할 수 있는 인간적 오류나 불일치를 줄여 진단의 정확성과 데이터 신뢰성을 증대할 수 있다.In one embodiment, the computing device (100) can increase diagnostic accuracy and data reliability by reducing human errors or inconsistencies that may occur during data entry and conversion.

일 실시예에서, 컴퓨팅 장치(100)는 의료 기록을 표준화한다는 점에서 다양한 의료기관 및 의료 전문가들 간에 원활한 정보 공유를 가능하게 하고 의료 품질 향상에 이바지할 수 있다.In one embodiment, the computing device (100) may enable seamless information sharing among various medical institutions and medical professionals by standardizing medical records, thereby contributing to improved quality of medical care.

일 실시예에서, 컴퓨팅 장치(100)는 비정형적 데이터에서 발생하는 컴퓨팅 리소스를 줄일 수 있고, 빅데이터를 변환하는 기술은 의료 연구 및 인공지능 기반 연구에 비용적 절감효과를 기대할 수 있다.In one embodiment, the computing device (100) can reduce computing resources generated from unstructured data, and the technology for converting big data can be expected to have a cost-saving effect on medical research and artificial intelligence-based research.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 본 개시에서 기재된 내용으로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable from the present disclosure are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by a person having ordinary skill in the art to which the present disclosure belongs from the contents described in the present disclosure.

도 5는 본 개시의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.FIG. 5 illustrates a simplified, general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented.

본 개시가 일반적으로 컴퓨팅 장치에 의해 구현될 수 있는 것으로 전술되었지만, 당업자라면 본 개시가 하나 이상의 컴퓨터 상에서 실행될 수 있는 컴퓨터 실행가능 명령어 및/또는 기타 프로그램 모듈들과 결합되어 및/또는 하드웨어와 소프트웨어의 조합으로써 구현될 수 있다는 것을 잘 알 것이다.Although the present disclosure has been described above as being generally implemented by a computing device, those skilled in the art will appreciate that the present disclosure may also be implemented in combination with computer-executable instructions and/or other program modules that may be executed on one or more computers and/or as a combination of hardware and software.

일반적으로, 프로그램 모듈은 특정의 태스크를 수행하거나 특정의 추상 데이터 유형을 구현하는 루틴, 프로그램, 컴포넌트, 데이터 구조, 기타 등등을 포함한다. 또한, 당업자라면 본 개시의 방법이 단일-프로세서 또는 멀티프로세서 컴퓨터 시스템, 미니컴퓨터, 메인프레임 컴퓨터는 물론 퍼스널 컴퓨터, 핸드헬드(handheld) 컴퓨팅 장치, 마이크로프로세서-기반 또는 프로그램가능 가전 제품, 기타 등등(이들 각각은 하나 이상의 연관된 장치와 연결되어 동작할 수 있음)을 비롯한 다른 컴퓨터 시스템 구성으로 실시될 수 있다는 것을 잘 알 것이다.In general, program modules include routines, programs, components, data structures, and the like that perform particular tasks or implement particular abstract data types. Furthermore, those skilled in the art will appreciate that the methods of the present disclosure can be practiced with other computer system configurations, including single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which may be operatively connected to one or more associated devices.

본 개시의 설명된 실시예들은 또한 어떤 태스크들이 통신 네트워크를 통해 연결되어 있는 원격 처리 장치들에 의해 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 둘 다에 위치할 수 있다.The described embodiments of the present disclosure can also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

컴퓨터는 통상적으로 다양한 컴퓨터 판독가능 매체를 포함한다. 컴퓨터에 의해 액세스 가능한 매체는 그 어떤 것이든지 컴퓨터 판독가능 매체가 될 수 있고, 이러한 컴퓨터 판독가능 매체는 휘발성 및 비휘발성 매체, 일시적(transitory) 및 비일시적(non-transitory) 매체, 이동식 및 비-이동식 매체를 포함한다. 제한이 아닌 예로서, 컴퓨터 판독가능 매체는 컴퓨터 판독가능 저장 매체 및 컴퓨터 판독가능 전송 매체를 포함할 수 있다. 컴퓨터 판독가능 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보를 저장하는 임의의 방법 또는 기술로 구현되는 휘발성 및 비휘발성 매체, 일시적 및 비-일시적 매체, 이동식 및 비이동식 매체를 포함한다. 컴퓨터 판독가능 저장 매체는 RAM, ROM, EEPROM, 플래시 메모리 또는 기타 메모리 기술, CD-ROM, DVD(digital video disk) 또는 기타 광 디스크 저장 장치, 자기 카세트, 자기 테이프, 자기 디스크 저장 장치 또는 기타 자기 저장 장치, 또는 컴퓨터에 의해 액세스될 수 있고 원하는 정보를 저장하는 데 사용될 수 있는 임의의 기타 매체를 포함하지만, 이에 한정되지 않는다.Computers typically include a variety of computer-readable media. Any media that can be accessed by a computer can be a computer-readable media, and such computer-readable media includes both volatile and nonvolatile media, transitory and non-transitory media, removable and non-removable media. By way of example, and not limitation, computer-readable media can include computer-readable storage media and computer-readable transmission media. Computer-readable storage media includes both volatile and nonvolatile media, transitory and non-transitory media, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be accessed by a computer and used to store the desired information.

컴퓨터 판독가능 전송 매체는 통상적으로 반송파(carrier wave) 또는 기타 전송 메커니즘(transport mechanism)과 같은 피변조 데이터 신호(modulated data signal)에 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터 등을 구현하고 모든 정보 전달 매체를 포함한다. 피변조 데이터 신호라는 용어는 신호 내에 정보를 인코딩하도록 그 신호의 특성들 중 하나 이상을 설정 또는 변경시킨 신호를 의미한다. 제한이 아닌 예로서, 컴퓨터 판독가능 전송 매체는 유선 네트워크 또는 직접 배선 접속(direct-wired connection)과 같은 유선 매체, 그리고 음향, RF, 적외선, 기타 무선 매체와 같은 무선 매체를 포함한다. 상술된 매체들 중 임의의 것의 조합도 역시 컴퓨터 판독가능 전송 매체의 범위 안에 포함되는 것으로 한다.Computer-readable transmission media typically includes any information delivery media that embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism. The term modulated data signal means a signal that has one or more of its characteristics set or changed so as to encode information in the signal. By way of example, and not limitation, computer-readable transmission media includes wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also intended to be included within the scope of computer-readable transmission media.

컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.An exemplary environment for implementing various aspects of the present disclosure is illustrated, including a computer (1102) including a processing unit (1104), a system memory (1106), and a system bus (1108). The system bus (1108) couples system components, including but not limited to the system memory (1106), to the processing unit (1104). The processing unit (1104) may be any of a variety of commercially available processors. Dual processors and other multiprocessor architectures may also be utilized as the processing unit (1104).

시스템 버스(1108)는 메모리 버스, 주변장치 버스, 및 다양한 상용 버스 아키텍처 중 임의의 것을 사용하는 로컬 버스에 추가적으로 상호 연결될 수 있는 몇 가지 유형의 버스 구조 중 임의의 것일 수 있다. 시스템 메모리(1106)는 판독 전용 메모리(ROM)(1110) 및 랜덤 액세스 메모리(RAM)(1112)를 포함한다. 기본 입/출력 시스템(BIOS)은 ROM, EPROM, EEPROM 등의 비휘발성 메모리(1110)에 저장되며, 이 BIOS는 시동 중과 같은 때에 컴퓨터(1102) 내의 구성요소들 간에 정보를 전송하는 일을 돕는 기본적인 루틴을 포함한다. RAM(1112)은 또한 데이터를 캐싱하기 위한 정적 RAM 등의 고속 RAM을 포함할 수 있다.The system bus (1108) may be any of several types of bus structures that may additionally be interconnected to a memory bus, a peripheral bus, and a local bus using any of a variety of commercial bus architectures. The system memory (1106) includes read-only memory (ROM) (1110) and random access memory (RAM) (1112). A basic input/output system (BIOS) is stored in nonvolatile memory (1110), such as ROM, EPROM, EEPROM, and the BIOS contains basic routines that help transfer information between components within the computer (1102), such as during start-up. The RAM (1112) may also include high-speed RAM, such as static RAM, for caching data.

컴퓨터(1102)는 또한 내장형 하드 디스크 드라이브(HDD)(1114)(예를 들어, EIDE, SATA)-이 내장형 하드 디스크 드라이브(1114)는 또한 적당한 섀시(도시 생략) 내에서 외장형 용도로 구성될 수 있음-, 자기 플로피 디스크 드라이브(FDD)(1116)(예를 들어, 이동식 디스켓(1118)으로부터 판독을 하거나 그에 기록을 하기 위한 것임), 및 광 디스크 드라이브(1120)(예를 들어, CD-ROM 디스크(1122)를 판독하거나 DVD 등의 기타 고용량 광 매체로부터 판독을 하거나 그에 기록을 하기 위한 것임)를 포함한다. 하드 디스크 드라이브(1114), 자기 디스크 드라이브(1116) 및 광 디스크 드라이브(1120)는 각각 하드 디스크 드라이브 인터페이스(1124), 자기 디스크 드라이브 인터페이스(1126) 및 광 드라이브 인터페이스(1128)에 의해 시스템 버스(1108)에 연결될 수 있다. 외장형 드라이브 구현을 위한 인터페이스(1124)는 USB(Universal Serial Bus) 및 IEEE 1394 인터페이스 기술 중 적어도 하나 또는 그 둘 다를 포함한다.The computer (1102) also includes an internal hard disk drive (HDD) (1114) (e.g., EIDE, SATA)—which may also be configured for external use within a suitable chassis (not shown), a magnetic floppy disk drive (FDD) (1116) (e.g., for reading from or writing to a removable diskette (1118)), and an optical disk drive (1120) (e.g., for reading from or writing to a CD-ROM disk (1122) or other high capacity optical media such as a DVD). The hard disk drive (1114), the magnetic disk drive (1116), and the optical disk drive (1120) may be connected to the system bus (1108) by a hard disk drive interface (1124), a magnetic disk drive interface (1126), and an optical drive interface (1128), respectively. An interface (1124) for implementing an external drive includes at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.

이들 드라이브 및 그와 연관된 컴퓨터 판독가능 매체는 데이터, 데이터 구조, 컴퓨터 실행가능 명령어, 기타 등등의 비휘발성 저장을 제공한다. 컴퓨터(1102)의 경우, 드라이브 및 매체는 임의의 데이터를 적당한 디지털 형식으로 저장하는 것에 대응한다. 상기에서의 컴퓨터 판독가능 매체에 대한 설명이 HDD, 이동식 자기 디스크, 및 CD 또는 DVD 등의 이동식 광 매체를 언급하고 있지만, 당업자라면 집 드라이브(zip drive), 자기 카세트, 플래쉬 메모리 카드, 카트리지, 기타 등등의 컴퓨터에 의해 판독가능한 다른 유형의 매체도 역시 예시적인 운영 환경에서 사용될 수 있으며 또 임의의 이러한 매체가 본 개시의 방법들을 수행하기 위한 컴퓨터 실행가능 명령어를 포함할 수 있다는 것을 잘 알 것이다.These drives and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, and the like. In the case of a computer (1102), the drives and media correspond to storing any data in a suitable digital format. While the description of computer-readable media above has referred to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those skilled in the art will appreciate that other types of media readable by a computer, such as zip drives, magnetic cassettes, flash memory cards, cartridges, and the like, may also be used in the exemplary operating environment, and that any such media may contain computer-executable instructions for performing the methods of the present disclosure.

운영 체제(1130), 하나 이상의 애플리케이션 프로그램(1132), 기타 프로그램 모듈(1134) 및 프로그램 데이터(1136)를 비롯한 다수의 프로그램 모듈이 드라이브 및 RAM(1112)에 저장될 수 있다. 운영 체제, 애플리케이션, 모듈 및/또는 데이터의 전부 또는 그 일부분이 또한 RAM(1112)에 캐싱될 수 있다. 본 개시가 여러가지 상업적으로 이용가능한 운영 체제 또는 운영 체제들의 조합에서 구현될 수 있다는 것을 잘 알 것이다.A number of program modules, including an operating system (1130), one or more application programs (1132), other program modules (1134), and program data (1136), may be stored in the drive and RAM (1112). All or portions of the operating system, applications, modules, and/or data may also be cached in RAM (1112). It will be appreciated that the present disclosure may be implemented in a variety of commercially available operating systems or combinations of operating systems.

사용자는 하나 이상의 유선/무선 입력 장치, 예를 들어, 키보드(1138) 및 마우스(1140) 등의 포인팅 장치를 통해 컴퓨터(1102)에 명령 및 정보를 입력할 수 있다. 기타 입력 장치(도시 생략)로는 마이크, IR 리모콘, 조이스틱, 게임 패드, 스타일러스 펜, 터치 스크린, 기타 등등이 있을 수 있다. 이들 및 기타 입력 장치가 종종 시스템 버스(1108)에 연결되어 있는 입력 장치 인터페이스(1142)를 통해 처리 장치(1104)에 연결되지만, 병렬 포트, IEEE 1394 직렬 포트, 게임 포트, USB 포트, IR 인터페이스, 기타 등등의 기타 인터페이스에 의해 연결될 수 있다.A user may enter commands and information into the computer (1102) via one or more wired/wireless input devices, such as a keyboard (1138) and a pointing device such as a mouse (1140). Other input devices (not shown) may include a microphone, an IR remote control, a joystick, a game pad, a stylus pen, a touch screen, and the like. These and other input devices are often connected to the processing unit (1104) via an input device interface (1142) that is coupled to the system bus (1108), but may be connected by other interfaces such as a parallel port, an IEEE 1394 serial port, a game port, a USB port, an IR interface, and the like.

모니터(1144) 또는 다른 유형의 디스플레이 장치도 역시 비디오 어댑터(1146) 등의 인터페이스를 통해 시스템 버스(1108)에 연결된다. 모니터(1144)에 부가하여, 컴퓨터는 일반적으로 스피커, 프린터, 기타 등등의 기타 주변 출력 장치(도시 생략)를 포함한다.A monitor (1144) or other type of display device is also connected to the system bus (1108) via an interface, such as a video adapter (1146). In addition to the monitor (1144), the computer typically includes other peripheral output devices (not shown), such as speakers, a printer, and so on.

컴퓨터(1102)는 유선 및/또는 무선 통신을 통한 원격 컴퓨터(들)(1148) 등의 하나 이상의 원격 컴퓨터로의 논리적 연결을 사용하여 네트워크화된 환경에서 동작할 수 있다. 원격 컴퓨터(들)(1148)는 워크스테이션, 컴퓨팅 디바이스 컴퓨터, 라우터, 퍼스널 컴퓨터, 휴대용 컴퓨터, 마이크로프로세서-기반 오락 기기, 피어 장치 또는 기타 통상의 네트워크 노드일 수 있으며, 일반적으로 컴퓨터(1102)에 대해 기술된 구성요소들 중 다수 또는 그 전부를 포함하지만, 간략함을 위해, 메모리 저장 장치(1150)만이 도시되어 있다. 도시되어 있는 논리적 연결은 근거리 통신망(LAN)(1152) 및/또는 더 큰 네트워크, 예를 들어, 원거리 통신망(WAN)(1154)에의 유선/무선 연결을 포함한다. 이러한 LAN 및 WAN 네트워킹 환경은 사무실 및 회사에서 일반적인 것이며, 인트라넷 등의 전사적 컴퓨터 네트워크(enterprise-wide computer network)를 용이하게 해주며, 이들 모두는 전세계 컴퓨터 네트워크, 예를 들어, 인터넷에 연결될 수 있다.The computer (1102) may operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) (1148), via wired and/or wireless communications. The remote computer(s) (1148) may be a workstation, a computing device computer, a router, a personal computer, a portable computer, a microprocessor-based entertainment device, a peer device, or other conventional network node, and may generally include many or all of the components described for the computer (1102), but for simplicity, only the memory storage device (1150) is illustrated. The logical connections illustrated include wired/wireless connections to a local area network (LAN) (1152) and/or a larger network, such as a wide area network (WAN) (1154). Such LAN and WAN networking environments are common in offices and businesses, and facilitate enterprise-wide computer networks, such as intranets, all of which may be connected to a worldwide computer network, such as the Internet.

LAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 유선 및/또는 무선 통신 네트워크 인터페이스 또는 어댑터(1156)를 통해 로컬 네트워크(1152)에 연결된다. 어댑터(1156)는 LAN(1152)에의 유선 또는 무선 통신을 용이하게 해줄 수 있으며, 이 LAN(1152)은 또한 무선 어댑터(1156)와 통신하기 위해 그에 설치되어 있는 무선 액세스 포인트를 포함하고 있다. WAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 모뎀(1158)을 포함할 수 있거나, WAN(1154) 상의 통신 컴퓨팅 디바이스에 연결되거나, 또는 인터넷을 통하는 등, WAN(1154)을 통해 통신을 설정하는 기타 수단을 갖는다. 내장형 또는 외장형 및 유선 또는 무선 장치일 수 있는 모뎀(1158)은 직렬 포트 인터페이스(1142)를 통해 시스템 버스(1108)에 연결된다. 네트워크화된 환경에서, 컴퓨터(1102)에 대해 설명된 프로그램 모듈들 또는 그의 일부분이 원격 메모리/저장 장치(1150)에 저장될 수 있다. 도시된 네트워크 연결이 예시적인 것이며 컴퓨터들 사이에 통신 링크를 설정하는 기타 수단이 사용될 수 있다는 것을 잘 알 것이다.When used in a LAN networking environment, the computer (1102) is connected to the local network (1152) via a wired and/or wireless communications network interface or adapter (1156). The adapter (1156) may facilitate wired or wireless communications to the LAN (1152), which may also include a wireless access point installed therein for communicating with the wireless adapter (1156). When used in a WAN networking environment, the computer (1102) may include a modem (1158), be connected to a communications computing device on the WAN (1154), or have other means for establishing communications over the WAN (1154), such as via the Internet. The modem (1158), which may be internal or external and wired or wireless, is connected to the system bus (1108) via a serial port interface (1142). In a networked environment, program modules described for the computer (1102) or portions thereof may be stored in a remote memory/storage device (1150). It will be appreciated that the network connections depicted are exemplary and other means of establishing a communications link between the computers may be used.

컴퓨터(1102)는 무선 통신으로 배치되어 동작하는 임의의 무선 장치 또는 개체, 예를 들어, 프린터, 스캐너, 데스크톱 및/또는 휴대용 컴퓨터, PDA(portable data assistant), 통신 위성, 무선 검출가능 태그와 연관된 임의의 장비 또는 장소, 및 전화와 통신을 하는 동작을 한다. 이것은 적어도 Wi-Fi 및 블루투스 무선 기술을 포함한다. 따라서, 통신은 종래의 네트워크에서와 같이 미리 정의된 구조이거나 단순하게 적어도 2개의 장치 사이의 애드혹 통신(ad hoc communication)일 수 있다.The computer (1102) is configured to communicate with any wireless device or object that is configured and operates in wireless communication, such as a printer, a scanner, a desktop and/or portable computer, a portable data assistant (PDA), a communication satellite, any equipment or location associated with a wireless detectable tag, and a telephone. This includes at least Wi-Fi and Bluetooth wireless technologies. Accordingly, the communication may be a predefined structure as in a conventional network, or may simply be an ad hoc communication between at least two devices.

Wi-Fi(Wireless Fidelity)는 유선 없이도 인터넷 등으로의 연결을 가능하게 해준다. Wi-Fi는 이러한 장치, 예를 들어, 컴퓨터가 실내에서 및 실외에서, 즉 기지국의 통화권 내의 아무 곳에서나 데이터를 전송 및 수신할 수 있게 해주는 셀 전화와 같은 무선 기술이다. Wi-Fi 네트워크는 안전하고 신뢰성 있으며 고속인 무선 연결을 제공하기 위해 IEEE 802.11(a, b, g, 기타)이라고 하는 무선 기술을 사용한다. 컴퓨터를 서로에, 인터넷에 및 유선 네트워크(IEEE 802.3 또는 이더넷을 사용함)에 연결시키기 위해 Wi-Fi가 사용될 수 있다. Wi-Fi 네트워크는 비인가 2.4 및 5GHz 무선 대역에서, 예를 들어, 11Mbps(802.11a) 또는 54 Mbps(802.11b) 데이터 레이트로 동작하거나, 양 대역(듀얼 대역)을 포함하는 제품에서 동작할 수 있다.Wi-Fi (Wireless Fidelity) allows you to connect to the Internet and other things without wires. Wi-Fi is a wireless technology that allows devices, such as computers, to send and receive data, indoors and outdoors, anywhere within the coverage area of a base station, similar to a cell phone. Wi-Fi networks use a wireless technology called IEEE 802.11 (a, b, g, etc.) to provide secure, reliable, and high-speed wireless connections. Wi-Fi can be used to connect computers to each other, to the Internet, and to wired networks (using IEEE 802.3 or Ethernet). Wi-Fi networks can operate in the unlicensed 2.4 and 5 GHz radio bands, at data rates of, for example, 11 Mbps (802.11a) or 54 Mbps (802.11b), or in products that include both bands (dual band).

본 개시의 기술 분야에서 통상의 지식을 가진 자는 정보 및 신호들이 임의의 다양한 상이한 기술들 및 기법들을 이용하여 표현될 수 있다는 것을 이해할 것이다. 예를 들어, 위의 설명에서 참조될 수 있는 데이터, 지시들, 명령들, 정보, 신호들, 비트들, 심볼들 및 칩들은 전압들, 전류들, 전자기파들, 자기장들 또는 입자들, 광학장들 또는 입자들, 또는 이들의 임의의 결합에 의해 표현될 수 있다.Those skilled in the art will appreciate that information and signals may be represented using any of a variety of different technologies and techniques. For example, the data, instructions, commands, information, signals, bits, symbols, and chips referenced in the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.

본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 소프트웨어로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.Those skilled in the art will appreciate that the various illustrative logical blocks, modules, processors, means, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, various forms of programs or design code (referred to herein for convenience as software), or a combination of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Those skilled in the art may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

여기서 제시된 다양한 실시예들은 방법, 장치, 또는 표준 프로그래밍 및/또는 엔지니어링 기술을 사용한 제조 물품(article)으로 구현될 수 있다. 용어 제조 물품은 임의의 컴퓨터-판독가능 저장장치로부터 액세스 가능한 컴퓨터 프로그램, 캐리어, 또는 매체(media)를 포함한다. 예를 들어, 컴퓨터-판독가능 저장매체는 자기 저장 장치(예를 들면, 하드 디스크, 플로피 디스크, 자기 스트립, 등), 광학 디스크(예를 들면, CD, DVD, 등), 스마트 카드, 및 플래쉬 메모리 장치(예를 들면, EEPROM, 카드, 스틱, 키 드라이브, 등)를 포함하지만, 이들로 제한되는 것은 아니다. 또한, 여기서 제시되는 다양한 저장 매체는 정보를 저장하기 위한 하나 이상의 장치 및/또는 다른 기계-판독가능한 매체를 포함한다.The various embodiments presented herein can be implemented as a method, an apparatus, or an article of manufacture using standard programming and/or engineering techniques. The term article of manufacture includes a computer program, a carrier, or a medium accessible from any computer-readable storage device. For example, computer-readable storage media include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips, etc.), optical disks (e.g., CDs, DVDs, etc.), smart cards, and flash memory devices (e.g., EEPROMs, cards, sticks, key drives, etc.). Additionally, the various storage media presented herein include one or more devices and/or other machine-readable media for storing information.

제시된 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조는 예시적인 접근들의 일례임을 이해하도록 한다. 설계 우선순위들에 기반하여, 본 개시의 범위 내에서 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조가 재배열될 수 있다는 것을 이해하도록 한다. 첨부된 방법 청구항들은 샘플 순서로 다양한 단계들의 엘리먼트들을 제공하지만 제시된 특정한 순서 또는 계층 구조에 한정되는 것을 의미하지는 않는다.It is to be understood that the specific order or hierarchy of steps in the processes presented is an example of exemplary approaches. It is to be understood that the specific order or hierarchy of steps in the processes may be rearranged within the scope of the present disclosure based on design priorities. The appended method claims provide elements of various steps in a sample order, but are not meant to be limited to the specific order or hierarchy presented.

제시된 실시예들에 대한 설명은 임의의 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다.The description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the scope of the disclosure. Thus, the disclosure is not intended to be limited to the embodiments disclosed herein, but is to be construed in the widest scope consistent with the principles and novel features disclosed herein.

상기와 같이 발명의 실시를 위한 최선의 형태에서 관련 내용을 기술하였다.As described above, the relevant contents have been described in the best form for carrying out the invention.

인공지능 기술을 활용하여 비정형 데이터를 정형화하고 정형화된 데이터를 데이터베이스에 저장하는 디바이스, 시스템 등에 사용될 수 있다.It can be used in devices and systems that utilize artificial intelligence technology to format unstructured data and store formatted data in a database.

Claims (10)

컴퓨팅 장치에서 수행되는 비정형 데이터의 정형화를 위한 방법으로서,A method for formalizing unstructured data performed on a computing device, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득하는 단계;A step of obtaining first text data including unstructured data extracted from a medical record database; 상기 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 상기 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득하는 단계; A step of obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; 인공지능 기반의 사전 학습된 정보 분류 모델 또는 특정한 문자열을 표현하기 위해 사용하는 형식 언어인 정규 표현식(regular expression)을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보로부터, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득하는 단계 -상기 데이터셋은 상기 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 상기 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어짐-;A step of obtaining a dataset in which at least one text included in the summary information of the first text data is classified by predetermined items using an artificial intelligence-based pre-learned information classification model or a regular expression, which is a formal language used to express a specific string, from the summary information of the first text data, wherein the dataset is formed in a structured format including columns composed of the predetermined items and rows composed of the at least one text corresponding to each column; 상기 사전 결정된 항목 별로 결정된 기준정보와 상기 사전 결정된 항목 별로 분류된 상기 적어도 하나의 텍스트를 각각 비교하는 단계;A step of comparing the reference information determined for each of the above predetermined items with at least one text classified for each of the above predetermined items; 상기 적어도 하나의 텍스트를 각각 비교한 결과, 상기 적어도 하나의 텍스트 중에서 상기 사전 결정된 항목 별로 결정된 기준정보에 부합하지 않는 적어도 하나의 오류 텍스트가 존재하는 경우, 상기 적어도 하나의 오류 텍스트를 상기 데이터셋에서 제거하는 단계;A step of removing at least one erroneous text from the dataset if, as a result of comparing each of the at least one text, there is at least one erroneous text among the at least one text that does not conform to the criterion information determined for each of the predetermined items; 상기 적어도 하나의 오류 텍스트가 제거된 데이터셋을 저장하는 단계; 및 A step of storing a dataset from which at least one error text is removed; and 상기 적어도 하나의 오류 텍스트를 임시 테이블로 구성하여 저장하는 단계; A step of configuring and storing at least one error text in a temporary table; 를 포함하고,Including, 상기 데이터셋을 획득하는 단계는,The steps for obtaining the above dataset are: 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는지 여부를 결정하는 단계; 및A step of determining whether a pattern exists in the summary information of the first text data; and 상기 패턴이 존재하는 경우와 상기 패턴이 존재하지 않는 경우에 대해서 상기 데이터셋을 획득하는 방법론을 상이하게 적용하여, 상기 데이터셋을 획득하는 단계;A step of obtaining the dataset by applying different methodologies for obtaining the dataset for cases where the pattern exists and cases where the pattern does not exist; 를 포함하고,Including, 상기 사전 학습된 정보 분류 모델은,The above pre-learned information classification model is, 텍스트 데이터에 포함된 자연어를 처리하여 텍스트를 사전 결정된 항목별로 분류하도록 사전 학습된, 자연어 처리 모델을 포함하며,Includes a pre-trained natural language processing model that processes natural language contained in text data and classifies the text into predetermined items. 상기 제 1 요약 정보 생성 모델은,The above first summary information generation model is, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 2 텍스트 데이터, 상기 제 2 텍스트 데이터의 요약 정보 및 상기 사전 결정된 제 1 프롬프트를 이용하여, 입력되는 텍스트 데이터에 대한 요약 정보를 생성하도록 학습되며, 그리고 It is learned to generate summary information for input text data by using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and the predetermined first prompt, and 상기 제 2 텍스트 데이터의 요약 정보는,The summary information of the above second text data is, 상기 제 2 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 인공지능 기반의 사전 학습된 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 상기 사전 학습된 제 2 요약 정보 생성 모델에 의해 출력되는, In response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model, output by the pre-trained second summary information generation model, 방법.method. 제 1 항에 있어서,In paragraph 1, 상기 사전 결정된 제 1 프롬프트는,The above predetermined first prompt is, 상기 제 1 요약 정보 생성 모델에 상기 제 1 텍스트 데이터의 요약 정보의 출력을 요청하기 위한 요청 문장을 포함하는,Including a request sentence for requesting the output of summary information of the first text data to the first summary information generation model, 방법.method. 제 1 항에 있어서,In paragraph 1, 상기 제 1 요약 정보 생성 모델은,The above first summary information generation model is, 상기 제 2 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 입력 받아 출력되는 제 1 출력 정보와 상기 제 2 텍스트 데이터의 요약 정보를 비교함으로써, 상기 제 1 출력 정보와 상기 제 2 텍스트 데이터의 요약 정보 간의 오류를 줄이는 방향으로 학습되는,By comparing the first output information output by inputting the second text data and the predetermined first prompt and the summary information of the second text data, learning is performed in the direction of reducing the error between the first output information and the summary information of the second text data. 방법.method. 제 1 항에 있어서,In paragraph 1, 상기 사전 학습된 제 2 요약 정보 생성 모델은,The above pre-learned second summary information generation model is, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 3 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 이용하여, 상기 제 3 텍스트 데이터로부터, 상기 사전 결정된 항목에 대응되는 텍스트를 포함하는 요약 정보를 출력하도록 사전 학습되는,A third text data including unstructured data extracted from a medical record database and a pre-trained apparatus for outputting summary information including text corresponding to a predetermined item from the third text data using the pre-determined first prompt. 방법.method. 제 1 항에 있어서,In paragraph 1, 텍스트 데이터 및 프롬프트를 상기 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 상기 제 2 요약 정보 생성 모델에 의해 출력되는 텍스트 데이터의 요약 정보는, 상기 제 1 요약 정보 생성 모델의 학습 과정에서 정답 데이터(ground truth data)로 사용되는,In response to inputting text data and a prompt to the second summary information generation model, the summary information of the text data output by the second summary information generation model is used as ground truth data in the learning process of the first summary information generation model. 방법.method. 제 1 항에 있어서,In paragraph 1, 상기 사전 결정된 항목은,The above predetermined items are, 나이 또는 성별 중 적어도 하나를 포함하는 개인 정보; Personal information including at least one of age or gender; 신체와 관련된 신체 상태 정보; 및Physical condition information related to the body; and 질병과 관련된 질병 상태 정보;Disease status information related to the disease; 를 포함하는,Including, 방법.method. 제 1 항에 있어서,In paragraph 1, 상기 데이터셋을 획득하는 단계는,The steps for obtaining the above dataset are: 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는 경우, 상기 패턴에 대응되는 정규 표현식을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 상기 데이터셋을 획득하는 단계;A step of obtaining a dataset in which text included in the summary information of the first text data is classified into predetermined items by using a regular expression corresponding to the pattern when a pattern exists in the summary information of the first text data; 를 포함하는,Including, 방법.method. 제 1 항에 있어서,In paragraph 1, 상기 데이터셋을 획득하는 단계는,The steps for obtaining the above dataset are: 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하지 않는 경우, 상기 사전 학습된 정보 분류 모델을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 텍스트를 사전 결정된 항목별로 분류한 상기 데이터셋을 획득하는 단계;If there is no pattern in the summary information of the first text data, a step of obtaining the dataset in which the text included in the summary information of the first text data is classified by predetermined items using the pre-learned information classification model; 를 포함하는,Including, 방법.method. 비정형 데이터의 정형화를 수행하기 위한 컴퓨팅 장치에 있어서,In a computing device for performing standardization of unstructured data, 프로세서; 및processor; and 메모리를 포함하며,Contains memory, 상기 프로세서는,The above processor, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득하는 동작;An act of obtaining first text data comprising unstructured data extracted from a medical record database; 상기 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 상기 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득하는 동작; An operation of obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; 인공지능 기반의 사전 학습된 정보 분류 모델 또는 특정한 문자열을 표현하기 위해 사용하는 형식 언어인 정규 표현식(regular expression)을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보로부터, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득하는 동작 -상기 데이터셋은 상기 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 상기 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어짐-;An operation of obtaining a dataset, in which at least one text included in the summary information of the first text data is classified by predetermined items, from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, which is a formal language used to express a specific string; wherein the dataset is formed in a structured format including columns composed of the predetermined items and rows composed of the at least one text corresponding to each column; 상기 사전 결정된 항목 별로 결정된 기준정보와 상기 사전 결정된 항목 별로 분류된 상기 적어도 하나의 텍스트를 각각 비교하는 동작;An action of comparing the reference information determined for each of the above predetermined items with at least one text classified for each of the above predetermined items; 상기 적어도 하나의 텍스트를 각각 비교한 결과, 상기 적어도 하나의 텍스트 중에서 상기 사전 결정된 항목 별로 결정된 기준정보에 부합하지 않는 적어도 하나의 오류 텍스트가 존재하는 경우, 상기 적어도 하나의 오류 텍스트를 상기 데이터셋에서 제거하는 동작;An operation of removing at least one error text from the dataset if, as a result of comparing each of the at least one text, there is at least one error text among the at least one text that does not conform to the criteria information determined for each of the predetermined items; 상기 적어도 하나의 오류 텍스트가 제거된 데이터셋을 저장하는 동작; 및 An operation of saving a dataset from which at least one error text is removed; and 상기 적어도 하나의 오류 텍스트를 임시 테이블로 구성하여 저장하는 동작; An action of configuring and storing at least one error text in a temporary table; 을 수행하고,To perform, 상기 데이터셋을 획득하는 동작은,The action of obtaining the above dataset is: 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는지 여부를 결정하는 동작; 및An operation for determining whether a pattern exists in the summary information of the first text data; and 상기 패턴이 존재하는 경우와 상기 패턴이 존재하지 않는 경우에 대해서 상기 데이터셋을 획득하는 방법론을 상이하게 적용하여, 상기 데이터셋을 획득하는 동작;An operation of obtaining the dataset by applying different methodologies for obtaining the dataset in cases where the above pattern exists and in cases where the above pattern does not exist; 을 포함하고,Including, 상기 사전 학습된 정보 분류 모델은,The above pre-learned information classification model is, 텍스트 데이터에 포함된 자연어를 처리하여 텍스트를 사전 결정된 항목별로 분류하도록 사전 학습된, 자연어 처리 모델을 포함하며,Includes a pre-trained natural language processing model that processes natural language contained in text data and classifies the text into predetermined items. 상기 제 1 요약 정보 생성 모델은,The above first summary information generation model is, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 2 텍스트 데이터, 상기 제 2 텍스트 데이터의 요약 정보 및 상기 사전 결정된 제 1 프롬프트를 이용하여, 입력되는 텍스트 데이터에 대한 요약 정보를 생성하도록 학습되며, 그리고 It is learned to generate summary information for input text data by using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and the predetermined first prompt, and 상기 제 2 텍스트 데이터의 요약 정보는,The summary information of the above second text data is, 상기 제 2 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 인공지능 기반의 사전 학습된 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 상기 사전 학습된 제 2 요약 정보 생성 모델에 의해 출력되는,In response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model, output by the pre-trained second summary information generation model, 컴퓨팅 장치.Computing device. 컴퓨터 판독가능 저장 매체에 저장되는 컴퓨터 프로그램으로서, 상기 컴퓨터 프로그램은 컴퓨팅 장치에 의해 실행 시 상기 컴퓨팅 장치로 하여금 비정형 데이터의 정형화를 위한 동작들을 수행하도록 하며, 상기 동작들은:A computer program stored in a computer-readable storage medium, wherein the computer program, when executed by a computing device, causes the computing device to perform operations for formatting unstructured data, the operations comprising: 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 1 텍스트 데이터를 획득하는 동작;An act of obtaining first text data comprising unstructured data extracted from a medical record database; 상기 제 1 텍스트 데이터 및 사전 결정된 제 1 프롬프트(prompt)를 인공지능 기반의 제 1 요약 정보 생성 모델에 입력함으로써, 상기 제 1 텍스트 데이터로부터 제 1 텍스트 데이터의 요약 정보를 획득하는 동작; An operation of obtaining summary information of the first text data from the first text data by inputting the first text data and a predetermined first prompt into an artificial intelligence-based first summary information generation model; 인공지능 기반의 사전 학습된 정보 분류 모델 또는 특정한 문자열을 표현하기 위해 사용하는 형식 언어인 정규 표현식(regular expression)을 이용하여, 상기 제 1 텍스트 데이터의 요약 정보로부터, 상기 제 1 텍스트 데이터의 요약 정보에 포함된 적어도 하나의 텍스트를 사전 결정된 항목 별로 분류한 데이터셋을 획득하는 동작 -상기 데이터셋은 상기 사전 결정된 항목으로 구성된 열과 각 열에 해당하는 상기 적어도 하나의 텍스트로 구성된 행을 포함하는 구조화된 형식으로 이루어짐-;An operation of obtaining a dataset, in which at least one text included in the summary information of the first text data is classified by predetermined items, from the summary information of the first text data using an artificial intelligence-based pre-learned information classification model or a regular expression, which is a formal language used to express a specific string; wherein the dataset is formed in a structured format including columns composed of the predetermined items and rows composed of the at least one text corresponding to each column; 상기 사전 결정된 항목 별로 결정된 기준정보와 상기 사전 결정된 항목 별로 분류된 상기 적어도 하나의 텍스트를 각각 비교하는 동작;An action of comparing the reference information determined for each of the above predetermined items with at least one text classified for each of the above predetermined items; 상기 적어도 하나의 텍스트를 각각 비교한 결과, 상기 적어도 하나의 텍스트 중에서 상기 사전 결정된 항목 별로 결정된 기준정보에 부합하지 않는 적어도 하나의 오류 텍스트가 존재하는 경우, 상기 적어도 하나의 오류 텍스트를 상기 데이터셋에서 제거하는 동작;An operation of removing at least one error text from the dataset if, as a result of comparing each of the at least one text, there is at least one error text among the at least one text that does not conform to the criteria information determined for each of the predetermined items; 상기 적어도 하나의 오류 텍스트가 제거된 데이터셋을 저장하는 동작; 및 An operation of saving a dataset from which at least one error text is removed; and 상기 적어도 하나의 오류 텍스트를 임시 테이블로 구성하여 저장하는 동작; An action of configuring and storing at least one error text in a temporary table; 을 포함하고,Including, 상기 데이터셋을 획득하는 동작은,The action of obtaining the above dataset is: 상기 제 1 텍스트 데이터의 요약 정보에 패턴이 존재하는지 여부를 결정하는 동작; 및An operation for determining whether a pattern exists in the summary information of the first text data; and 상기 패턴이 존재하는 경우와 상기 패턴이 존재하지 않는 경우에 대해서 상기 데이터셋을 획득하는 방법론을 상이하게 적용하여, 상기 데이터셋을 획득하는 동작;An operation of obtaining the dataset by applying different methodologies for obtaining the dataset in cases where the above pattern exists and in cases where the above pattern does not exist; 을 포함하고,Including, 상기 사전 학습된 정보 분류 모델은,The above pre-learned information classification model is, 텍스트 데이터에 포함된 자연어를 처리하여 텍스트를 사전 결정된 항목별로 분류하도록 사전 학습된, 자연어 처리 모델을 포함하며,Includes a pre-trained natural language processing model that processes natural language contained in text data and classifies the text into predetermined items. 상기 제 1 요약 정보 생성 모델은,The above first summary information generation model is, 의료 기록 데이터베이스로부터 추출된 비정형 데이터를 포함하는 제 2 텍스트 데이터, 상기 제 2 텍스트 데이터의 요약 정보 및 상기 사전 결정된 제 1 프롬프트를 이용하여, 입력되는 텍스트 데이터에 대한 요약 정보를 생성하도록 학습되며, 그리고 It is learned to generate summary information for input text data by using second text data including unstructured data extracted from a medical record database, summary information of the second text data, and the predetermined first prompt, and 상기 제 2 텍스트 데이터의 요약 정보는,The summary information of the above second text data is, 상기 제 2 텍스트 데이터 및 상기 사전 결정된 제 1 프롬프트를 인공지능 기반의 사전 학습된 제 2 요약 정보 생성 모델에 입력하는 것에 응답하여 상기 사전 학습된 제 2 요약 정보 생성 모델에 의해 출력되는, In response to inputting the second text data and the predetermined first prompt into the artificial intelligence-based pre-trained second summary information generation model, output by the pre-trained second summary information generation model, 컴퓨터 판독가능 저장 매체에 저장되는 컴퓨터 프로그램.A computer program stored on a computer-readable storage medium.
PCT/KR2024/010659 2023-09-12 2024-07-24 Method for structuring unstructured data using artificial intelligence Pending WO2025058222A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020230121112A KR102686793B1 (en) 2023-09-12 2023-09-12 Method for formalization of unstructured data utilizing artificial intelligence
KR10-2023-0121112 2023-09-12

Publications (1)

Publication Number Publication Date
WO2025058222A1 true WO2025058222A1 (en) 2025-03-20

Family

ID=92172737

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2024/010659 Pending WO2025058222A1 (en) 2023-09-12 2024-07-24 Method for structuring unstructured data using artificial intelligence

Country Status (2)

Country Link
KR (1) KR102686793B1 (en)
WO (1) WO2025058222A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102686793B1 (en) * 2023-09-12 2024-07-22 주식회사 에비드넷 Method for formalization of unstructured data utilizing artificial intelligence
KR102828525B1 (en) * 2024-08-12 2025-07-02 동은메디텍 주식회사 Method for summarizing and generating progress notes based on emr data using ai and electronic device for performing thereof
KR102828526B1 (en) * 2024-09-10 2025-07-02 동은메디텍 주식회사 System for generating admission/discharge summary based on emr data using ai and its operation method
KR102828527B1 (en) * 2024-09-13 2025-07-02 동은메디텍 주식회사 System for supporting nurse handover based on emr data using ai and its operation method
KR102796046B1 (en) * 2024-09-23 2025-04-18 주식회사 에이치디정션 A system for managing electronic medical records using a large language model, method for operating the same, and method for creating electronic medical records
KR102780706B1 (en) * 2024-09-30 2025-03-12 동은메디텍 주식회사 Electronic device for generaing clinical record information from voice informaion using artificial intelligence, and operating method thereof
KR102828519B1 (en) * 2024-10-17 2025-07-01 주식회사 유알피 Method for generating optimized reports from limited resources using multiple lora
CN119088972B (en) * 2024-11-05 2025-02-18 福建省大数据集团泉州有限公司 Public data resource integration method and system based on artificial intelligence
KR102878133B1 (en) * 2024-11-06 2025-10-30 주식회사 인핸스 System for automatic classification of semi-structured data based on large-scale language models
KR102812611B1 (en) * 2024-11-15 2025-05-26 솔닥 주식회사 System and method for summarizing medical record in non-face-to-face treatment
KR102855049B1 (en) * 2024-12-09 2025-09-05 주식회사 마고 Method for constructing an integrated medical information database using a large language model and method for utilizing thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341264A (en) * 2017-07-19 2017-11-10 东北大学 An electronic medical record retrieval system and method supporting self-defined entities
US20220067284A1 (en) * 2020-08-28 2022-03-03 Salesforce.Com, Inc. Systems and methods for controllable text summarization
US20230119109A1 (en) * 2021-10-05 2023-04-20 Salesforce.Com, Inc. Systems and methods for controlling hallucinations in abstractive summarization
US20230153641A1 (en) * 2021-11-16 2023-05-18 ExlService Holdings, Inc. Machine learning platform for structuring data in organizations
KR102570178B1 (en) * 2023-04-17 2023-08-25 (주)유알피 Method for generating and utilizing a training dataset for deep learning based generative ai system using super-large ai
KR102686793B1 (en) * 2023-09-12 2024-07-22 주식회사 에비드넷 Method for formalization of unstructured data utilizing artificial intelligence

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060062680A (en) 2004-12-06 2006-06-12 주식회사 메디슨 Medical data conversion method using exchange image file format
CN113688632B (en) * 2021-08-17 2022-10-04 中国人民解放军海军军医大学 Method and system for extracting structured data of disease prognosis covariates
US12176083B2 (en) * 2021-09-08 2024-12-24 Abstractive Health, Inc. Automated summarization of a hospital stay using machine learning
CN116386800B (en) * 2023-06-06 2023-08-18 神州医疗科技股份有限公司 Medical record data segmentation method and system based on pre-training language model
KR102575129B1 (en) * 2023-06-29 2023-09-06 주식회사 이글루코퍼레이션 Apparatus and method for generating security threat detection report using language model

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341264A (en) * 2017-07-19 2017-11-10 东北大学 An electronic medical record retrieval system and method supporting self-defined entities
US20220067284A1 (en) * 2020-08-28 2022-03-03 Salesforce.Com, Inc. Systems and methods for controllable text summarization
US20230119109A1 (en) * 2021-10-05 2023-04-20 Salesforce.Com, Inc. Systems and methods for controlling hallucinations in abstractive summarization
US20230153641A1 (en) * 2021-11-16 2023-05-18 ExlService Holdings, Inc. Machine learning platform for structuring data in organizations
KR102570178B1 (en) * 2023-04-17 2023-08-25 (주)유알피 Method for generating and utilizing a training dataset for deep learning based generative ai system using super-large ai
KR102686793B1 (en) * 2023-09-12 2024-07-22 주식회사 에비드넷 Method for formalization of unstructured data utilizing artificial intelligence

Also Published As

Publication number Publication date
KR102686793B1 (en) 2024-07-22

Similar Documents

Publication Publication Date Title
WO2025058222A1 (en) Method for structuring unstructured data using artificial intelligence
Sivarajkumar et al. HealthPrompt: a zero-shot learning paradigm for clinical natural language processing
US11580415B2 (en) Hierarchical multi-task term embedding learning for synonym prediction
CN111914054A (en) System and method for large scale semantic indexing
WO2022164230A1 (en) Method for predicting chronic disease on basis of electrocardiogram signal
CN111737496A (en) A method for constructing fault knowledge graph of power equipment
WO2023029506A1 (en) Illness state analysis method and apparatus, electronic device, and storage medium
WO2022255564A1 (en) Biological signal analysis method
KR20210115234A (en) Method for judging technology similarity by using neural network
KR20240034095A (en) Method for image feature ectraction by using neural network model
Chatterjee et al. A pipeline for automating labeling to prediction in classification of NFRs
WO2023048400A1 (en) Method for extracting heart rate variability feature values
KR102492277B1 (en) Method for qa with multi-modal information
WO2023214647A1 (en) Method and device for analyzing electrocardiogram data
WO2023027277A1 (en) Training method for neural network model diversity
WO2025147097A1 (en) Method and apparatus for analyzing medical data
KR102781691B1 (en) Disease prediction artificial intelligence model training system for using distributed data processing technique
Han et al. Named entity recognition for long COVID biomedical literature by using Bert-BiLSTM-IDCNN-ATT-CRF approach
Qi Deep learning-based multimodal fusion and semantic embedding for medical ETL data integration
KR102696928B1 (en) A method of testing software for potential errors
WO2023027278A1 (en) Curriculum-based active learning method
KR102877684B1 (en) Method and apparatus for generating answer to user query using graph database
KR20240104588A (en) Method and device for knowledge graph construction
KR102854719B1 (en) Method and apparatus for fine tuning large language model by generating medical record text
WO2023027280A1 (en) Method for deriving epitope candidate

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24865665

Country of ref document: EP

Kind code of ref document: A1