Information extraction method, conference opinion extraction method, and information extraction model training method
By decomposing complex information extraction tasks into simple subtasks and processing them using information extraction models, the problems of high resource consumption and long time-consuming in the existing technology are solved, and efficient and universal information extraction effects are achieved.
Patent Information
- Application Number
- PCT/SG2024/050203
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-19
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-24
AI Technical Summary
Existing information extraction technology consumes large resources and takes a long time in the model training process for complex and diverse information extraction tasks, and lacks efficient and universal solutions.
By decomposing the complex information extraction task into several simple information extraction subtasks, and using the information extraction model to determine the extraction results of each subtask, the decomposition and integration of information extraction is achieved, and any combination of information extraction subtasks is supported, which improves the information Universality and efficiency of extraction.
It achieves efficient information extraction, reduces resource consumption and time, improves the universality and efficiency of information extraction, and can handle complex and diverse information extraction tasks.
Smart Images

Figure SG2024050203_24102024_PF_FP_ABST
Abstract
Description
[0001] Information Extraction, Conference Opinion Extraction, and Information Extraction Model Training Method Cross-Reference This disclosure claims priority to Chinese patent application No. 202310450979.E, filed with the China Patent Office on April 19, 2023, entitled "Information Extraction, Conference Opinion Extraction, and Information Extraction Model Training Method," the entire contents of which are incorporated herein by reference. Technical Field: Embodiments of the present disclosure relate to the field of computer technology, and more particularly, to information extraction methods. Background: With the development of computer technology, text processing has become increasingly dependent on the internet. Text processing, the process of analyzing, understanding, extracting, and otherwise processing text, has been widely used in various areas of our daily lives. Taking information extraction as an example, information extraction refers to text processing techniques that extract factual information such as entities, relationships, and events of specified types from natural language text and output structured data. Currently, information extraction is typically performed using machine reading comprehension (MRC). However, complex and diverse information extraction tasks require the use of different machine learning models, resulting in high resource consumption during model training and a lengthy information extraction process. Therefore, an efficient and universally applicable information extraction solution is urgently needed. In view of this, embodiments of the present disclosure provide an information extraction method. One or more embodiments of the present disclosure also relate to a conference opinion extraction method, an information extraction model training method, an information extraction device, a conference opinion extraction device, an information extraction model training device, a computing device, a computer-readable storage medium, and a computer program to address technical deficiencies in the prior art. According to a first aspect of an embodiment of the present disclosure, an information extraction method is provided, comprising: receiving an information extraction task, wherein the information extraction task includes a text to be extracted and initial prompt information; parsing the information extraction task to determine at least two information extraction subtasks corresponding to the information extraction task; determining current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; inputting the text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current information extraction subtask; and determining a target extraction result for the information extraction task based on the extraction results corresponding to each information extraction subtask.According to a second aspect of an embodiment of the present disclosure, a method for extracting conference opinions is provided, comprising: receiving an opinion extraction task, wherein the opinion extraction task includes a conference text to be extracted and initial prompt information; parsing the opinion extraction task to determine at least two opinion extraction subtasks corresponding to the opinion extraction task: determining current prompt information corresponding to the current opinion extraction subtask based on the initial prompt information and the extraction results of completed opinion extraction subtasks; inputting the opinion text to be extracted and the Danghu prompt information into an information extraction model to determine an extraction result corresponding to the Danghu opinion extraction subtask; and determining a target extraction result of the opinion extraction task based on the extraction results corresponding to each opinion extraction subtask. According to a third aspect of an embodiment of the present disclosure, a method for training an information extraction model is provided, comprising: obtaining a sample set, wherein the sample set includes multiple sample texts, and the sample texts carry information extraction labels and sample prompt information; extracting a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; inputting the first sample text and first sample prompt information carried by the first sample into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; comparing the first prediction extraction result with the first information extraction label carried by the first sample text to calculate a loss value; adjusting model parameters of the initial information extraction model according to the loss value, and returning to the step of extracting the first sample text from the multiple sample texts until a preset stop condition is met, thereby obtaining model parameters of the information extraction model; and sending the model parameters of the information extraction model to a terminal-side device. According to a fourth aspect of an embodiment of the present disclosure, an information extraction method is provided, comprising: receiving an information extraction request sent by a user, wherein the information extraction request includes an information extraction task, and the information extraction task includes a text to be extracted and initial prompt information; parsing the information extraction task to determine at least two information extraction subtasks corresponding to the information extraction task; determining current prompt information corresponding to the current information extraction task based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; inputting the text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current information extraction subtask; determining a target extraction result of the information extraction task based on the extraction results corresponding to each information extraction subtask; and sending the target extraction result of the information extraction task to the user.According to a fifth aspect of an embodiment of the present disclosure, an information extraction device is provided, comprising: a first receiving module, configured to receive an information extraction task, wherein the information extraction task includes a text to be extracted and initial prompt information; a first parsing module, configured to parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task; a first determining module, configured to determine current prompt information corresponding to a current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; a first input module, configured to input the text to be extracted and the current prompt information into an information extraction model and determine an extraction result corresponding to the current information extraction subtask; and a second determining module, configured to determine a target extraction result of the information extraction task based on the extraction results corresponding to each information extraction subtask. According to a sixth aspect of an embodiment of the present disclosure, a conference opinion extraction device is provided, comprising: a second receiving module, configured to receive an opinion extraction task, wherein the opinion extraction task includes a conference text to be extracted and initial prompt information; a second parsing module, configured to parse the opinion extraction task, and determine at least two opinion extraction subtasks corresponding to the opinion extraction task; a second determination module, configured to determine current prompt information corresponding to a current opinion extraction subtask based on the initial prompt information and the extraction results of completed opinion extraction subtasks; a second input module, configured to input the opinion text to be extracted and the current prompt information into an information extraction model, and determine an extraction result corresponding to the current opinion extraction subtask; and a third determination module, configured to determine a target extraction result of the opinion extraction task based on the extraction results corresponding to each opinion extraction subtask. According to a seventh aspect of an embodiment of the present disclosure, a device for training an information extraction model is provided, comprising: an acquisition module configured to acquire a sample set, wherein the sample set includes multiple sample texts, and the sample texts carry information extraction labels and sample prompt information; an extraction module configured to extract a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; a third input module configured to input the first sample text and the first sample prompt information carried by the first sample into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; a calculation module configured to compare the first prediction extraction result with the first information extraction label carried by the first sample text to calculate a loss value; an adjustment module configured to adjust model parameters of the initial information extraction model according to the loss value, and return to the step of extracting the first sample text from the multiple sample texts until a preset stop condition is met, thereby obtaining model parameters of the information extraction model; and a first sending module configured to send the model parameters of the information extraction model to a terminal-side device.According to an eighth aspect of an embodiment of the present disclosure, an information extraction apparatus is provided, comprising: a third receiving module configured to receive an information extraction request sent by a user, wherein the information extraction request includes an information extraction task, and the information extraction task includes a text to be extracted and initial prompt information; a third parsing module configured to parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task; a fourth determining module configured to determine current prompt information corresponding to a current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; a fourth input module configured to input the text to be extracted and the current prompt information into an information extraction model and determine an extraction result corresponding to the current information extraction subtask; a fifth determining module configured to determine a target extraction result of the information extraction task based on the extraction results corresponding to each information extraction subtask; and a second sending module configured to send the target extraction result of the information extraction task to the user. According to a ninth aspect of the embodiments of the present disclosure, a computing device is provided, comprising: a memory and a processor; the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions, wherein when the computer-executable instructions are executed by the processor, the steps of the method provided in the first, second, or third aspect are implemented. According to a tenth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, the medium storing computer-executable instructions, wherein when the instructions are executed by the processor, the steps of the method provided in the first, second, or third aspect are implemented. According to an eleventh aspect of the embodiments of the present disclosure, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the method provided in the first, second, or third aspect. An information extraction method provided by one embodiment of the present disclosure receives an information extraction task, wherein the information extraction task includes a text to be extracted and initial prompt information; parses the information extraction task to determine at least two information extraction subtasks corresponding to the information extraction task; determines current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; inputs the text to be extracted and the current prompt information into an information extraction model to determine the extraction result corresponding to the current information extraction subtask; and determines a target extraction result for the information extraction task based on the extraction results corresponding to each information extraction subtask. By parsing the information extraction task, a complex information extraction task is converted into at least two simple information extraction subtasks. This solution supports information extraction tasks with any combination of information extraction subtasks, improving the universality of information extraction.Furthermore, the information extraction model is used to determine the extraction results of each information extraction subtask, thereby achieving the goal of completing multiple information extraction subtasks using one information extraction model and improving the efficiency of information extraction. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is an architectural diagram of an information extraction system provided by an embodiment of the present disclosure; Figure 2 is a flow chart of an information extraction method provided by an embodiment of the present disclosure; Figure 3 is a flow chart of a conference opinion extraction method provided by an embodiment of the present disclosure; Figure 4 is a flow chart of an information extraction model training method provided by an embodiment of the present disclosure; Figure 5 is a flow chart of another information extraction method provided by an embodiment of the present disclosure; Figure 6 is a processing flow chart of an information extraction method provided by an embodiment of the present disclosure; Figure 7 is a processing flow chart of another information extraction method provided by an embodiment of the present disclosure; Figure 8 is an interface diagram of an information extraction interface provided by an embodiment of the present disclosure; Figure 9 is a structural diagram of an information extraction device provided by an embodiment of the present disclosure; Figure 10 is a structural diagram of a conference opinion extraction device provided by an embodiment of the present disclosure; Figure 11 is a structural diagram of an information extraction model training device provided by an embodiment of the present disclosure; Figure 12 is a structural diagram of another information extraction device provided by an embodiment of the present disclosure; Figure 13 is a structural block diagram of a computing device provided by an embodiment of the present disclosure. Specific implementation methods Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure. However, the present disclosure can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without departing from the scope of the present disclosure. Therefore, the present disclosure is not limited to the specific embodiments disclosed below. The terminology used in one or more embodiments of the present disclosure is for the purpose of describing specific embodiments and is not intended to limit the present disclosure. As used in one or more embodiments of the present disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of the present disclosure refers to and encompasses any and all possible combinations of one or more of the associated listed items. It should be understood that while the terms "first," "second," and so on may be used to describe various information in one or more embodiments of the present disclosure, such information should not be limited to these terms. These terms are used to distinguish information of the same type from one another. For example, "first" could also be referred to as "second," and similarly, "second" could also be referred to as "first," without departing from the scope of one or more embodiments of the present disclosure. Depending on the context, the term "if" as used herein can be interpreted as "when," "when," or "in response to determining."Furthermore, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, storage, and display) involved in one or more embodiments of this disclosure are all authorized by the user or fully authorized by all parties. The collection, use, and processing of the relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or deny. First, the terms used in one or more embodiments of this disclosure are explained. Universal Information Extraction (UIE): Extracts information structures (entities, relationships, events, etc.) that meet the extraction requirements from a given set of free text using a specific extraction framework. Different extraction frameworks can extract different information structures from the same input text. Siamese Neural Network: A Siamese Neural Network, also known as a twin neural network, is a coupled architecture based on two artificial neural networks. A twin neural network takes two samples as input and outputs a representation of them embedded in a high-dimensional space to compare the similarity between the two samples. Typically, a twin neural network is composed of two neural networks with the same structure and shared weights.
[0002] BERT Model: The BERT (Bidirectional Encoder Representation from Transformers) model is a pre-trained language representation model that can be used as an encoder to extract features from input text. It emphasizes that pre-training does not rely on traditional unidirectional language models or shallow concatenation of two unidirectional language models, as has been the case in the past. Instead, it adopts a new masked language model, which enables the generation of deep bidirectional language representations. Sequence-to-Sequence (seq2seq) models are encoder-decoder networks that take a sequence as input and output a sequence. The encoder converts a variable-length signal sequence into a fixed-length vector representation, while the decoder converts this fixed-length vector into a variable-length target signal sequence. With the advancement of computer technology, text processing has become increasingly dependent on the internet. Text processing, the process of analyzing, understanding, and extracting information from text, has been widely used in various areas of our daily lives. Taking information extraction as an example, information extraction refers to text processing technology that extracts specified types of factual information, such as entities, relationships, and events, from natural language text and generates structured data output. Currently, common information extraction solutions include the following: The first is based on machine reading comprehension (MRC) for information extraction. However, this approach incurs long CPU (central processing unit) inference time. The second is based on sequence-to-sequence (Seq2Seq) extraction. However, this approach suffers from poor information extraction efficiency. Therefore, there is an urgent need for an efficient and universal information extraction solution. To address these issues, the disclosed embodiments utilize a recursive reasoning design to transform the complex information extraction task into several simple subtasks, each of which extracts a span based on the prompt information and the text to be extracted. Specifically, an information extraction task is received, wherein the information extraction task includes a text to be extracted and initial prompt information; the information extraction task is parsed to determine at least two information extraction subtasks corresponding to the information extraction task; current prompt information corresponding to the current information extraction subtask is determined based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; the text to be extracted and the current prompt information are input into an information extraction model to determine an extraction result corresponding to the current information extraction subtask; and a target extraction result of the information extraction task is determined based on the extraction results corresponding to each information extraction subtask.By parsing the information extraction task, a complex information extraction task is converted into at least two simple information extraction subtasks. This solution supports any information extraction task combination, improving the universality of information extraction. Furthermore, by using an information extraction model to determine the extraction results of each information extraction subtask, a single information extraction model can be used to complete multiple information extraction subtasks, improving information extraction efficiency. This disclosure provides an information extraction method, a conference opinion extraction method, an information extraction model training method, an information extraction device, a conference opinion extraction device, an information extraction model training device, a computing device, and a computer-readable storage medium, each of which is described in detail in the following embodiments. 1 , which shows an architecture diagram of an information extraction system provided by an embodiment of the present disclosure. The information extraction system may include a client 100 and a server 200. The client 100 is configured to send an information extraction task to the server 200, wherein the information extraction task includes a text to be extracted and initial prompt information. The server 200 is configured to parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task. The server 200 is configured to determine current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks. The server 200 inputs the text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current information extraction subtask. The server 200 determines a target extraction result of the information extraction task based on the extraction results corresponding to each information extraction task. The client 100 is further configured to receive the target extraction result of the information extraction task sent by the server 200. The solution of the embodiments of the present disclosure receives an information extraction task, wherein the information extraction task includes a text to be extracted and initial prompt information; parses the information extraction task to determine at least two information extraction subtasks corresponding to the information extraction task; determines current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; inputs the text to be extracted and the current prompt information into an information extraction model to determine the extraction result corresponding to the current information extraction subtask; and determines a target extraction result for the information extraction task based on the extraction results corresponding to each information extraction subtask. By parsing the information extraction task, a complex information extraction task is converted into at least two simple information extraction subtasks. This solution supports information extraction tasks with any combination of information extraction subtasks, improving the universality of information extraction.Furthermore, by using the information extraction model to determine the extraction results for each information extraction subtask, multiple information extraction subtasks can be completed using a single information extraction model, thereby improving information extraction efficiency. In practical applications, the information extraction system may include multiple clients 100 and a server 200. Multiple clients 100 can establish communication connections through the server 200. In information extraction scenarios, the server 200 provides information extraction services between multiple clients 100. Multiple clients 100 can act as senders or receivers, communicating through the server 200. Users can interact with the server 200 through the client 100 to receive data from other clients 100 or send data to other clients 100. In information extraction scenarios, users can publish data streams to the server 200 through the client 100. The server 200 generates extraction results based on the data streams and pushes the extraction results to other clients with which they have established communication. The client 100 and the server 200 are connected via a network. The network provides a medium for the communication link between the client 100 and the server 200. The network can include various connection types, such as wired or wireless communication links or fiber optic cables. Data transmitted by the client 100 may need to be encoded, transcoded, compressed, or otherwise processed before being published to the server 200. The client 100 can be a browser, an application (APP), a web application such as an H5 (Hypertext Markup Languages, version 5) application, a light application (also known as an applet, a lightweight application), or a cloud application. The client 100 can be developed based on a software development kit (SDK) for the corresponding service provided by the server 200, such as a real-time communication (RTC) SDK. The client 100 can be deployed in an electronic device and rely on the device or certain apps in the device to operate. For example, an electronic device may have a display screen and support information browsing, and may be a personal mobile terminal such as a mobile phone, tablet, or personal computer. Various other types of applications may also be configured in an electronic device, such as human-computer interaction applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, and social platform software.The server 200 may include servers that provide various services, such as servers that provide communication services to multiple clients, servers that support backend training for models used on clients, and servers that process data sent by clients. It should be noted that the server 200 can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server in a distributed system, or a server integrated with blockchain. The server can also be a cloud server (cloud-side device) that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host equipped with artificial intelligence technology. It should be noted that the information extraction method provided in the embodiments of the present disclosure is generally executed by the server. However, in other embodiments of the present disclosure, the client can also have similar functions to the server to execute the information extraction method provided in the embodiments of the present disclosure. In other embodiments, the information extraction method provided by the embodiments of the present disclosure can also be performed jointly by the client and the server. Referring to Figure 2, a flowchart of an information extraction method provided by one embodiment of the present disclosure is shown, specifically including the following steps: Step 202: Receive an information extraction task, where the information extraction task includes the text to be extracted and initial prompt information. In one or more embodiments of the present disclosure, the information extraction task can be processed based on the text to be extracted and the initial prompt information in the information extraction task to achieve information extraction. Specifically, an information extraction task refers to a task that extracts information from the text to be extracted. There are various types of tasks corresponding to information extraction tasks, including but not limited to named entity recognition tasks, relationship extraction tasks, event extraction tasks, and attribute sentiment extraction tasks. These tasks can be tasks for different scenarios, including but not limited to financial scenarios, conference scenarios, and e-commerce scenarios. The text to be extracted is the object of information extraction. Initial prompt information is provided to guide the information extraction process. It can be understood as a schema. This schema is a general, abstract description of an object, reflecting the level of understanding and determining the machine's ability to extract events. It should be noted that named entity recognition tasks are binary tasks consisting of entity type and entity span. Relation extraction tasks are triple tasks consisting of subject span, relation type, and object span.The event extraction task is a four-tuple task consisting of event type, trigger word span, argument type, and argument span. The attribute sentiment extraction task is a three-tuple task consisting of topic, sentiment span, and sentiment polarity. Step 204: Parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task. In one or more embodiments of the present disclosure, after receiving the information extraction task, the information extraction task may be further parsed to determine at least two information extraction subtasks corresponding to the information extraction task. In practical applications, there are various ways to parse the information extraction task and determine the at least two information extraction subtasks corresponding to the information extraction task, and the specific method to be used depends on the actual situation. The embodiments of the present disclosure do not impose any limitations on this method. In one possible implementation of the present disclosure, the information extraction task may be parsed to determine the target information of the information extraction task, and then, based on the target information, at least two information extraction subtasks corresponding to the information extraction task may be determined. For example, assuming the information extraction task is to extract entities and sentiment polarity from the text to be extracted, the information extraction task is parsed to determine that the target information of the information extraction task is "entity" and "sentiment polarity." The information extraction task is then divided into two information extraction subtasks: an "entity extraction task" and a "sentiment polarity identification task." In another possible implementation of the present disclosure, at least two information extraction subtasks corresponding to the information extraction task can be determined based on the task type of the information extraction task. Specifically, the above-mentioned parsing of the information extraction task and determining the at least two information extraction subtasks corresponding to the information extraction task may include the following steps: identifying the type of the information extraction task to determine at least one task type corresponding to the information extraction task; obtaining information extraction objects corresponding to each task type; and determining at least two information extraction subtasks corresponding to the information extraction task based on initial prompt information and the information extraction objects corresponding to each task type. Specifically, different types of information extraction tasks correspond to different information extraction objects. For example, the information extraction objects corresponding to a named entity recognition task are entity types and entity spans; while the information extraction objects corresponding to a relationship extraction task are subject spans, relationship types, and object spans. In practical applications, there are various methods for identifying the type of information extraction tasks and determining at least one corresponding task type. The method chosen depends on the specific circumstances, and the present disclosure does not impose any limitation on this method. In one possible implementation of the present disclosure, a pre-trained type identification model can be used to identify the type of information extraction tasks and determine at least one corresponding task type.In another possible implementation of the present disclosure, keywords corresponding to each task type can be matched with the information extraction task, and the task type corresponding to the keyword matching the information extraction task can be used as the at least one task type corresponding to the information extraction task. Furthermore, after determining the at least one task type corresponding to the information extraction task, the information extraction object corresponding to each task type can be obtained from the preset object source. It should be noted that since the initial prompt information may include the extraction results of the information extraction object, when determining the at least two information extraction subtasks corresponding to the information extraction task, the known extraction results in the initial prompt information can be removed from the information extraction object, and the at least two information extraction subtasks corresponding to the information extraction task can be further determined based on the updated information extraction object. For example, assume that the task type corresponding to the information extraction task is a relationship extraction task. The initial prompt information includes the subject type and the relationship type. The information extraction objects corresponding to the relationship extraction task are "subject span, relationship type, and object span." According to the initial prompt information, the relationship type is known information, and the unknown information in the relationship extraction task is "subject span and object span." Therefore, the information extraction task can be divided into two information extraction subtasks: the "subject span extraction subtask" and the "object span extraction subtask." Applying the solution of the embodiments of the present disclosure, the information extraction task is type-identified to determine at least one task type corresponding to the information extraction task; information extraction objects corresponding to each task type are obtained; and at least two information extraction subtasks corresponding to the information extraction task are determined based on the initial prompt information and the information extraction objects corresponding to each task type. This accurately converts the information extraction task into at least two simple information extraction subtasks, enabling the solution to support information extraction tasks with any combination of information extraction subtasks, thereby improving the universality of information extraction. In an optional embodiment of the present disclosure, after parsing the information extraction task, the following steps may also be included: if the information extraction task does not include information extraction subtasks, inputting the text to be extracted and the initial prompt information into an information extraction model to determine the target extraction result of the information extraction task. It should be noted that the information extraction task may not include information extraction subtasks. In this case, the initial prompt information is the prompt information corresponding to the information extraction task, and the text to be extracted and the initial prompt information can be directly input into the information extraction model to determine the target extraction result of the information extraction task.For example, assuming that the information extraction task is to extract entity spans from the text to be extracted, and the initial prompt information is the entity type in the text to be extracted, the information extraction task is identified and the task type corresponding to the information extraction task is determined to be "named entity recognition task". The information extraction object corresponding to the named entity recognition task is obtained as "entity type and entity span". It can be seen that the information extraction task is to extract entity spans and does not include an information extraction subtask. In this case, the text to be extracted and the initial prompt information can be input into the information extraction model to determine the target extraction result of the information extraction task. Applying the solution of the embodiment of the present disclosure, when the information extraction task does not include an information extraction subtask, the text to be extracted and the initial prompt information are input into the information extraction model to determine the target extraction result of the information extraction task. This allows the solution to handle not only information extraction tasks that include subtasks but also information extraction tasks that do not include subtasks, thereby increasing the applicability of information extraction. Step 206: The current prompt information corresponding to the current information extraction subtask is determined based on the initial prompt information and the extraction results of the completed information extraction subtasks in at least two information extraction subtasks. In one or more embodiments of the present disclosure, after receiving the information extraction task, parsing the information extraction task, and determining the at least two information extraction subtasks corresponding to the information extraction task, the current prompt information corresponding to the current information extraction subtask can be further determined based on the initial prompt information and the extraction results of the completed information extraction subtasks in at least two information extraction subtasks. Specifically, a completed information extraction subtask refers to a subtask in the at least two information extraction subtasks that has already obtained an extraction result. The current information extraction subtask refers to an information extraction subtask that is about to perform information extraction but has not yet obtained an extraction result in the current information extraction process. For example, assume that the information extraction task includes information extraction subtask A, information extraction subtask B, and information extraction subtask C, where information extraction subtask A is a completed information extraction subtask, and the extraction result of information extraction subtask A is a. The initial prompt information is Y. When the current information extraction subtask is information extraction subtask B, the current prompt information for information extraction subtask B is determined to be Y+a based on the initial prompt information Y and the extraction result a. It should be noted that before determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of at least two completed information extraction subtasks in the information extraction task, it may be determined whether a completed information extraction subtask exists, and the current prompt information corresponding to the current information extraction subtask is determined based on the determination result.In an optional embodiment of the present disclosure, before determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in at least two information extraction subtasks, the following steps may be further included: searching for the extraction results corresponding to each information extraction subtask to obtain a search result; and determining whether a completed information extraction subtask exists at the current time based on the search result. For example, assume that the information extraction tasks include information extraction subtask A, information extraction subtask B, and information extraction subtask C, where information extraction subtask A is a completed information extraction subtask, the extraction result of information extraction subtask A is a, and the initial prompt information is Y. If the current information extraction subtask is information extraction subtask B, based on the initial prompt information Y and the extraction result a, the current prompt information of information extraction subtask B is determined to be Y+a, and the extraction result corresponding to information extraction subtask B is further determined to be b. When the current information extraction subtask is information extraction subtask C, the current prompt information for information extraction subtask C is determined to be Y+a+b based on the initial prompt information Y, extraction result a, and extraction result b. It is further determined that the extraction result corresponding to information extraction subtask C is the solution applying the embodiment of the present disclosure. Based on the search results generated by searching for the extraction results corresponding to each information extraction subtask, it is determined whether a completed information extraction subtask currently exists. Each information extraction subtask is fully and completely traversed, thereby ensuring the accuracy of the completed information extraction subtask and further improving the accuracy of the current prompt information. In practical applications, determining whether a completed information extraction subtask exists during the information extraction process can include two determination results: existence or non-existence. Furthermore, current prompt information corresponding to the current information extraction subtask can be determined based on the different determination results. Specifically, determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in at least two information extraction subtasks can include the following steps: if no completed information extraction subtask exists in the at least two information extraction subtasks, using the initial prompt information as the current prompt information corresponding to the current information extraction subtask; if a completed information extraction subtask exists in the at least two information extraction subtasks, determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks. It should be noted that if no completed information extraction subtask exists, it indicates that the current information extraction subtask is the first subtask to start information extraction. In this case, the initial prompt information is directly used as the current prompt information corresponding to the current information extraction subtask.If a completed information extraction subtask exists, this indicates that the current information extraction subtask is not the first subtask to begin information extraction. The current prompt information corresponding to the current information extraction subtask is affected by the extraction results of the completed information extraction subtask. Therefore, the current prompt information corresponding to the current information extraction subtask is determined based on the initial prompt information and the extraction results of the completed information extraction subtask. Furthermore, when determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtask, the initial prompt information and the extraction results of the completed information extraction subtask can be combined to obtain the current prompt information. By applying the solution of the embodiments of the present disclosure, the current prompt information corresponding to the current information extraction subtask is determined case-by-case through a recursive reasoning approach based on the determination result of whether a completed information extraction subtask exists, thereby ensuring the accuracy of the current prompt information. In an optional embodiment of the present disclosure, the process of determining the current prompt information corresponding to the current information extraction subtask is further described in the case where no completed information extraction subtask exists among the at least two information extraction subtasks. Specifically, the at least two information extraction subtasks include a first information extraction subtask. The process of determining the current prompt information corresponding to the current information extraction task based on the initial prompt information and the extraction results of the completed information extraction subtasks among the at least two information extraction subtasks may include the following steps: using the initial prompt information as the first prompt information corresponding to the first information extraction subtask; and inputting the to-be-extracted text and the current prompt information into an information extraction model to determine the extraction result corresponding to the current information extraction subtask. The process includes: inputting the to-be-extracted text and the first prompt information into the information extraction model to determine the first extraction result of the first information extraction subtask. Specifically, the first information extraction subtask refers to the first information extraction subtask processed among the at least two information extraction subtasks of the information extraction subtask. When the first information extraction subtask is the currently processed subtask, no completed information extraction subtask exists among the at least two information extraction subtasks. Furthermore, the initial prompt information can be directly used as the first prompt information corresponding to the first information extraction subtask, and the text to be extracted and the first prompt information can be input into the information extraction model to determine the first extraction result for the first information extraction subtask. It should be noted that the information extraction model's processing of the text to be extracted and the first prompt information is the same as the process of "inputting the text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask," and will not be further described in this embodiment of the disclosure.By applying the solution of the embodiment of the present disclosure, the initial prompt information is used as the first prompt information corresponding to the first information extraction subtask, and the information extraction model is used to determine the first extraction result of the first information extraction subtask, thereby improving the information extraction efficiency and the accuracy of the first extraction result. Furthermore, the process of determining the current prompt information corresponding to the current information extraction subtask is further described using the case where a completed information extraction subtask exists among at least two information extraction subtasks. Assuming that the currently completed information extraction subtask is the first information extraction subtask, its corresponding extraction result is the first extraction result, and the at least two information extraction subtasks also include a second information extraction subtask; after inputting the to-be-extracted text and the first prompt information into the information extraction model and determining the first extraction result of the first information extraction subtask, the process may further include the following steps: using the first extraction result as the extraction result of the completed information extraction subtask, using the second information extraction subtask as the current information extraction subtask, and returning to the step of determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks among the at least two information extraction subtasks, until the current information extraction subtask no longer exists, thereby obtaining the extraction results corresponding to each information extraction subtask. Specifically, the second information extraction subtask refers to the subtask after the completed first information extraction subtask, among at least two information extraction subtasks, that has not yet undergone information extraction. When the second information extraction subtask is the currently processed subtask, a completed information extraction subtask exists. For example, assume that the information extraction task includes information extraction subtask A and information extraction subtask B. The first information extraction subtask is information extraction subtask A, the extraction result of information extraction subtask A is a, and the initial prompt information is Y. Extraction result a is used as the information extraction result of the completed information extraction subtask, and information extraction subtask B is used as the current information extraction subtask. Based on the initial prompt information Y and the extraction result a, the current prompt information for information extraction subtask B is determined to be Y+a. The text to be extracted and the current prompt information Y+a are input into the information extraction model, and the extraction result corresponding to information extraction subtask B is determined to be b. At this point, both information extraction subtask A and information extraction subtask B have completed information extraction, obtaining the extraction result a corresponding to information extraction subtask A and the extraction result b corresponding to information extraction subtask B.Applying the solution of the embodiments of the present disclosure, since the completed information extraction tasks are continuously updated during the information extraction process, when determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks, recursive reasoning is achieved, thereby converting the complex information extraction task into at least two simple information extraction subtasks, enabling the solution of the present disclosure to support information extraction tasks with any combination of information extraction subtasks, and improving the universality of information extraction. Step 208: Input the text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask. In one or more embodiments of the present disclosure, after receiving the information extraction task, parsing the information extraction task, determining at least two information extraction subtasks corresponding to the information extraction task, and determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks among the at least two information extraction subtasks, further, the text to be extracted and the current prompt information can be input into the information extraction model to determine the extraction result corresponding to the current information extraction subtask. Specifically, the extraction result is the text segment corresponding to the information extraction subtask in the text to be extracted. The information extraction model is trained based on multiple sample texts, the information extraction labels carried by each sample text, and the sample prompt information, and the sample prompt information is obtained by analyzing the sample extraction task corresponding to the sample text. The information extraction model is a machine learning model, and the machine learning model can be understood as a trained program that can discover patterns in new data and make predictions. These models are represented as a mathematical function that accepts requests in the form of input data, makes predictions on the input data, and then provides an output as a response. For example, if the text to be extracted is "Zhang San is a good person", the information extraction subtask is to extract the entity segment in the text to be extracted, and the current prompt information is "person", then the text to be extracted and the current prompt information are input into the information extraction model, and the extraction result obtained is "Zhang San". In an optional embodiment of the present disclosure, the information extraction model includes a feature extraction layer, an attention layer, and an output layer, and the feature extraction layer includes a coupled first feature extraction layer and a second feature extraction layer; the above-mentioned inputting the text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask may include the following steps: Input the text to be extracted into the first feature extraction layer to obtain the text features of the text to be extracted; Input the current prompt information into the second feature extraction layer to obtain the prompt features of the current prompt information; Input the text features and the prompt features into the attention layer to obtain the attention features; Input the attention features into the output layer to obtain the extraction result corresponding to the current information extraction subtask.Specifically, the feature extraction layer is configured to generate an embedded high-dimensional spatial representation of the input information, namely, text features and prompt features. Text features can also be referred to as text vectors, and prompt features can also be referred to as prompt vectors. The first and second feature extraction layers coupled within the feature extraction layer can be configured with siamese networks with identical structures and shared weights to ensure dimensional consistency between the text features and prompt features. Feature extraction layers include, but are not limited to, recurrent neural networks (RNNs) and convolutional neural networks (CNNs), among others. The selection of a feature extraction layer depends on practical circumstances and is not limited in this disclosure. After obtaining the text features of the text to be extracted and the prompt features of the current prompt information, the text features and prompt features can be input into an attention layer, which is a cross attention layer. The cross attention layer asymmetrically combines two embedding sequences of the same dimension (text features and prompt features), with one sequence serving as the query input and the other serving as the key and value inputs, to obtain attention features. Furthermore, the attention features can be input into the output layer to obtain the extraction result corresponding to the current information extraction subtask. Using the solution of the embodiment of the present disclosure, the text to be extracted is input into the first feature extraction layer to obtain the text features of the text to be extracted; the lining prompt information is input into the second feature extraction layer to obtain the prompt features of the current prompt information; the text features and prompt features are input into the attention layer to obtain the attention features; and the attention features are input into the output layer to obtain the extraction result corresponding to the current information extraction subtask, thereby ensuring the accuracy of the extraction result. In an optional embodiment of the present disclosure, since the feature extraction layer includes a coupled first feature extraction layer and a second feature extraction layer, the first feature extraction layer is configured to extract the text features of the text to be extracted, and the second feature extraction layer is configured to extract the prompt features of the current prompt information.During the processing of at least two information extraction subtasks, the text to be extracted remains unchanged. Therefore, the information extraction process can be accelerated by only performing feature extraction on the text to be extracted once using the first feature extraction layer and caching the text features for repeated use. Specifically, the aforementioned step of inputting the text to be extracted into the first feature extraction layer to obtain text features of the text to be extracted may include the following steps: if the information extraction model does not cache the text features of the text to be extracted, inputting the text to be extracted into the first feature extraction layer to obtain text features of the text to be extracted, and caching the text features into the information extraction model; and if the information extraction model caches the text features of the text to be extracted, obtaining the pre-cached text features. It should be noted that when inputting the text to be extracted into the first feature extraction layer to obtain the text features of the text to be extracted, it may be determined whether the information extraction model caches the text features of the text to be extracted. If the text features of the text to be extracted are not cached, it indicates that the first feature extraction layer is processing the text to be extracted for the first time. The text to be extracted is then input into the first feature extraction layer to obtain the text features of the text to be extracted. After obtaining the text features of the text to be extracted, the text features can be cached in the information extraction model. During subsequent processing, the text features of the text to be processed can be directly retrieved from the cache. If the text features are cached, the text features of the text to be extracted can be directly retrieved from the cache, eliminating the need to perform feature extraction on the text to be processed through the first feature extraction layer, thereby accelerating the information extraction process. By applying the solution of the embodiments of the present disclosure, the feature extraction layer of the information extraction model is configured to utilize a siamese neural network to cache the text features of the text to be processed, avoiding repeated extraction by the information extraction model and thereby improving information extraction efficiency. In an optional embodiment of the present disclosure, the output layer may be a pointer network configured to generate a series of pointers pointing to elements of the input sequence, thereby identifying the starting and ending positions of the segments to be extracted. Inputting the attention feature into the output layer to obtain the extraction result corresponding to the current information extraction subtask may include the following steps: inputting the attention feature into the output layer to determine a start pointer sequence and an end pointer sequence; and extracting and outputting the extraction result corresponding to the current information extraction subtask from the text to be extracted based on the start pointer sequence and the end pointer sequence. Specifically, the start pointer sequence and the end pointer sequence may be a "01" sequence, where a "1" in the "01" sequence represents an extraction result. Based on the "1" in the start pointer sequence and the "1" in the end pointer sequence, the position information of the extraction result in the text to be extracted can be determined. Furthermore, based on this position information and the text to be extracted, the extraction result corresponding to the current information extraction subtask can be obtained.For example, assume the text to be extracted is "Zhang San is a good person," the start pointer sequence is [1 0 0 0 0], and the end pointer sequence is [0 1 0 0 0]. "1" in the start pointer sequence indicates the starting position of the extraction result, and "1" in the end pointer sequence indicates the ending position of the extraction result. Therefore, based on the start pointer sequence and the end pointer sequence, the extraction result corresponding to the current information extraction subtask can be extracted and output as "Zhang San" from the text to be extracted. Applying the solution of the disclosed embodiment, attention features are input into the output layer to determine the start pointer sequence and the end pointer sequence. Based on the start pointer sequence and the end pointer sequence, the extraction result corresponding to the current information extraction subtask is extracted and output from the text to be extracted, thereby improving the accuracy of the extraction result. Step 210: Determine the target extraction result for the information extraction task based on the extraction results corresponding to each information extraction subtask. In one or more embodiments of the present disclosure, an information extraction task is received, parsed, and at least two information extraction subtasks corresponding to the information extraction task are determined. Based on initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks, current prompt information corresponding to the current information extraction subtask is determined. The text to be extracted and the current prompt information are input into an information extraction model. After determining the extraction result corresponding to the current information extraction subtask, a target extraction result for the information extraction task can be determined based on the extraction results corresponding to each information extraction subtask. It should be noted that after obtaining the extraction results corresponding to each information extraction subtask, the extraction results corresponding to each information extraction subtask can be integrated and used as the target extraction result. By applying the solution of the embodiments of the present disclosure, a complex information extraction task is converted into at least two simple information extraction subtasks by parsing the information extraction task. This solution supports information extraction tasks with any combination of information extraction subtasks, thereby improving the universality of information extraction. Furthermore, the information extraction model is used to determine the extraction results of each information extraction subtask, thereby achieving the goal of completing multiple information extraction subtasks using one information extraction model and improving the efficiency of information extraction.In an optional embodiment of the present disclosure, the training method for the above-mentioned information extraction model may include the following steps: obtaining a sample set, wherein the sample set includes multiple sample texts, each of which carries information extraction labels and sample prompt information; extracting a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; inputting the first sample text and the first sample prompt information carried by the first sample text into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; comparing the first prediction extraction result with the first information extraction label carried by the first sample text to calculate a loss value; adjusting model parameters of the initial information extraction model based on the loss value, and returning to the step of extracting the first sample text from the multiple sample texts until a preset stopping condition is met, thereby obtaining an information extraction model. Specifically, the training method for the information extraction model is supervised training, that is, each sample text in the sample set carries a real information extraction label, and the information extraction label serves as an extraction target for the information extraction model and is set to guide the training process of the information extraction model. The sample set can be obtained by reading a large number of sample texts carrying information extraction labels and sample prompt information from other data acquisition devices or databases. Alternatively, the sample set can be obtained by receiving a large number of sample texts carrying information extraction labels and sample prompt information input by the user. The method for obtaining the text training set is selected based on actual circumstances and is not limited in any way in the present embodiment. It is worth noting that the implementation of "inputting the first sample text and the first sample prompt information carried by the first sample into the initial information extraction model to obtain a first predicted extraction result corresponding to the first sample text" is similar to the implementation of "inputting the to-be-extracted text and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask" described above, and will not be further described in the present embodiment. In one possible implementation of the present disclosure, the preset stopping condition includes a loss value being less than or equal to a preset threshold. After calculating the loss value based on the first predicted extraction result and the first information extraction label carried by the first sample text, the loss value is compared with the preset threshold. Specifically, if the loss value is greater than a preset threshold, it indicates that the difference between the first prediction extraction result and the first information extraction label carried by the first sample text is large, and the initial information extraction model has poor prediction ability for the first sample text. In this case, the model parameters of the initial information extraction model can be adjusted, and the process returns to the step of extracting the first sample text from multiple sample texts. The initial information extraction model is continuously trained until the loss value is less than or equal to the preset threshold, indicating that the difference between the first prediction extraction result and the first information extraction label carried by the first sample text is small. The preset stopping condition is met, and a trained information extraction model is obtained.In another possible implementation of the present disclosure, in addition to comparing the loss value with a preset threshold, the number of iterations can also be used to determine whether the current initial information extraction model has been trained. Specifically, if the loss value is greater than the preset threshold, the model parameters of the initial information extraction model are adjusted, and the process returns to the step of extracting the first sample text from multiple sample texts. Training the initial information extraction model continues until the preset number of iterations is reached, at which point iterations are terminated to obtain a fully trained information extraction model. The preset threshold and the preset number of iterations are selected based on practical circumstances and are not limited in this embodiment. In practical applications, many functions for calculating loss values, such as circle loss, are used, and the selection is based on practical circumstances and is not limited in this embodiment. The circle loss is calculated based on the first prediction extraction result output by the model and the first information extraction label carried by the first sample text. Using the solution of an embodiment of the present disclosure, a loss value is calculated based on the first predicted extraction result and the first information extraction label carried by the first sample text. The loss value is compared with a preset stopping condition. If the preset stopping condition is not met, the initial information extraction model is trained until the preset stopping condition is met, completing the training and obtaining the information extraction model. By continuously adjusting the model parameters of the initial information extraction model, the resulting information extraction model can be made more accurate. Referring to Figure 3, a flowchart of a conference opinion extraction method provided by an embodiment of the present disclosure is shown, specifically comprising the following steps: Step 302: Receive an opinion extraction task, wherein the opinion extraction task includes the conference text to be extracted and initial prompt information. Step 304: Parse the opinion extraction task and determine at least two opinion extraction subtasks corresponding to the opinion extraction task. Step 306: Determine current prompt information corresponding to the current opinion extraction subtask based on the initial prompt information and the extraction results of the completed opinion extraction subtasks. Step 308: Input the opinion text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current opinion extraction subtask. Step 310: Determine the target extraction result for the opinion extraction task based on the extraction results corresponding to each opinion extraction subtask. It should be noted that the implementation of steps 302-310 is the same as the implementation of steps 202-210 described above, and will not be further described in this embodiment of the disclosure. For example, assuming the opinion extraction task is to extract character and sentiment polarity information from the meeting text to be extracted, "Zhang San performed well in this work, and we hereby encourage him." Using the above-described meeting opinion extraction method, the target extraction result can be determined as "Zhang San, good."By applying the solution of the embodiments of the present disclosure, complex opinion extraction tasks are converted into at least two simple opinion extraction subtasks by parsing them. This allows the solution to support opinion extraction tasks with any combination of opinion extraction subtasks, improving the universality of opinion extraction. Furthermore, by using an information extraction model to determine the extraction results of each opinion extraction subtask, a single information extraction model can be used to complete multiple opinion extraction subtasks, thereby improving the efficiency of conference opinion extraction. Referring to Figure 4, a flowchart of an information extraction model training method provided by an embodiment of the present disclosure is shown. The information extraction model training method is applied to a cloud-side device and specifically includes the following steps: Step 402: Obtain a sample set, wherein the sample set includes multiple sample texts, each of which carries information extraction labels and sample prompt information. Step 404: Extract a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts. Step 406: Input the first sample text and the first sample prompt information carried by the first sample into the initial information extraction model to obtain a first predicted extraction result corresponding to the first sample text. Step 408: Compare the first predicted extraction result with the first information extraction label carried by the first sample text, and calculate a loss value. Step 410: Adjust the model parameters of the initial information extraction model based on the loss value, and return to the step of extracting the first sample text from multiple sample texts until a preset stopping condition is met, thereby obtaining the model parameters of the information extraction model. Step 412: Send the model parameters of the information extraction model to the end-side device. It should be noted that steps 402-410 are implemented in the same manner as steps 202-210 above, and will not be further described in this embodiment of the disclosure. In actual applications, after the cloud-side device sends the model parameters of the information extraction model to the end-side device, the end-side device can locally construct an information extraction model based on the model parameters of the information extraction model and further use the information extraction model to extract information. Using the solution of an embodiment of the present disclosure, a loss value is calculated based on the first predicted extraction result and the first information extraction label carried by the first sample text. The loss value is compared with a preset stopping condition. If the preset stopping condition is not met, the initial information extraction model is trained until the preset stopping condition is met, completing the training and obtaining the information extraction model. By continuously adjusting the model parameters of the initial information extraction model, the resulting information extraction model can be made more accurate. Referring to Figure 5, a flowchart of another information extraction method provided by an embodiment of the present disclosure is shown. Step 502: Receive an information extraction task, where the information extraction task includes the text to be extracted and initial prompt information.Step 504: Parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task. Step 506: Determine the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks. Step 508: If the information extraction model does not cache the text features of the text to be extracted, input the text to be extracted into the first feature extraction layer to obtain the text features of the text to be extracted, and cache the text features in the information extraction model. Step 510: If the information extraction model caches the text features of the text to be extracted, obtain the pre-cached text features. Step 512: Input the current prompt information into the second feature extraction layer to obtain the prompt features of the current prompt information. Step 514: Input the text features and prompt features into the attention layer to obtain the attention features. Step 516: Input the attention features into the output layer to determine the start pointer sequence and the end pointer sequence. Step 518: Extract and output the extraction result corresponding to the current information extraction subtask from the text to be extracted based on the start pointer sequence and the end pointer sequence. Step 520: Determine the target extraction result for the information extraction task based on the extraction results corresponding to each information extraction subtask. It should be noted that the specific implementation of steps 502-520 is the same as that of the information extraction method shown in FIG2 , and will not be further described in this embodiment of the present disclosure. By applying the solution of this embodiment of the present disclosure, complex information extraction tasks are converted into at least two simple information extraction subtasks by parsing the information extraction task. This allows the solution to support information extraction tasks with any combination of information extraction subtasks, improving the universality of information extraction. Furthermore, the feature extraction layer of the information extraction model is configured as a shared neural network to cache text features of the text to be processed, preventing repeated extraction by the information extraction model and thereby improving information extraction efficiency. Referring to FIG. 6 , FIG. 6 shows a flowchart of a processing process of an information extraction method provided by an embodiment of the present disclosure. The method specifically includes the following steps: Step 602: Receive an information extraction request from a user, wherein the information extraction request includes an information extraction task, and the information extraction task includes the text to be extracted and initial prompt information. Step 604: Parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task. Step 606: Determine the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks. Step 608: Input the text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask.Step 610: Determine the target extraction result of the information extraction task based on the extraction results corresponding to each information extraction subtask. Step 612: Send the target extraction result of the information extraction task to the user. It should be noted that steps 602-610 are implemented in the same manner as steps 202-210 described above, and will not be further described in detail in this embodiment of the present disclosure. By applying the solution of this embodiment of the present disclosure, a complex information extraction task is converted into at least two simple information extraction subtasks by parsing the information extraction task. This allows the solution to support information extraction tasks with any combination of information extraction subtasks, improving the universality of information extraction. Furthermore, by using an information extraction model to determine the extraction results of each information extraction subtask, a single information extraction model can be used to complete multiple information extraction subtasks, improving information extraction efficiency. Sending the target extraction result of the information extraction task to the user enhances the user experience. See Figure 7, which shows a process flow chart of another information extraction method provided by one embodiment of the present disclosure. As shown in Figure 7, the model parameters of the information extraction model are initialized using a pretrained model (such as the BERT model). The first Nn layers of the information extraction model are seasonal neural networks, i.e., the feature extraction layers of the information extraction model. The feature extraction layers include a coupled first and second feature extraction layers. The first feature extraction layer is configured to extract text features from the text to be extracted, and the second feature extraction layer is configured to extract prompt features from the prompt information. The last n layers of the information extraction model serve as single-stream, cross-text attention layers. The output layer includes a pointer network, which inputs the attention features output by the attention layer into the output layer. In the output layer, a start pointer sequence and an end pointer sequence are determined. Based on these sequences, the extraction result corresponding to the current information extraction subtask is extracted from the text to be extracted and output. It should be noted that for a given text to be extracted, the hidden states output by the first Nn layers remain unchanged. They can be cached and reused during inference, accelerating information extraction. Compared to traditional solutions, this can improve information extraction efficiency by 30%, and in low-resource scenarios, by 7%. In practical applications, complex information extraction tasks can be transformed into several subtasks that extract corresponding extraction results based on prompts and executed recursively. For example, for named entity recognition tasks, since named entity recognition involves entity types and entity spans, the text to be processed and the entity types can be input into the information extraction model to obtain entity fragments.Regarding the relationship extraction task: Since the relationship extraction task includes subject span, relationship type, and object span, it can be split into two information extraction subtasks (Span Extraction) with enumerated input: Information Extraction Subtask 1: Input the processing text and subject type into the information extraction model to obtain the subject segment; Information Extraction Subtask 2: Input the processing text, relationship type, and subject segment into the information extraction model to obtain the object segment. Regarding the event extraction task: Since the event extraction task includes event type, argument role, and argument segment, it can be split into two information extraction subtasks: Information Extraction Subtask 1: Input the processing text and event type into the information extraction model to obtain the trigger word segment; Information Extraction Subtask 2: Input the processing text, event type, and trigger word segment into the information extraction model to obtain the argument segment. By applying the solution of an embodiment of the present disclosure, a recursive push design is used to transform complex information extraction tasks into several simple subtasks that extract fragments based on prompt information and text, thereby supporting the extraction of arbitrary multi-tuple sets. Furthermore, within the information extraction model, a twin neural network is used to cache text latent vectors to avoid repeated computations, improve information extraction efficiency, and thus achieve universal information extraction. Referring to Figure 8, a schematic diagram of an information extraction interface provided by an embodiment of the present disclosure is shown. The information extraction interface is divided into an information extraction task input interface and an information extraction result display interface. The information extraction task input interface includes an information extraction task input box, an "OK" control, and a "Cancel" control. The information extraction result display interface includes an information extraction result display box. Users enter information extraction tasks in the information extraction task input box displayed on the client. The information extraction task includes the text to be extracted and initial prompt information. When the user clicks the "OK" control, the server receives the information extraction task sent by the client, parses the task, and determines at least two information extraction subtasks corresponding to the task. Based on the initial prompt and the extraction results of the at least two completed subtasks, the server determines the current prompt corresponding to the current subtask. The server then inputs the text to be extracted and the current prompt into the information extraction model to determine the extraction result corresponding to the current subtask. Based on the extraction results of each subtask, the server determines the target extraction result for the task. The server then sends the target extraction result to the client. The client then displays the target extraction result in the information extraction result display box.In actual applications, user operations on controls include clicking, double-clicking, touching, hovering the mouse, sliding, long pressing, voice control, or shaking, among other methods. The selection is made based on actual circumstances and is not limited in this embodiment of the present disclosure. Corresponding to the above-described method embodiments, the present disclosure also provides embodiments of information extraction devices. FIG9 shows a schematic structural diagram of an information extraction device provided in one embodiment of the present disclosure. As shown in FIG9 , the apparatus includes: a first receiving module 902 configured to receive an information extraction task, wherein the information extraction task includes a text to be extracted and initial prompt information; a first parsing module 904 configured to parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task; a first determining module 906 configured to determine current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; a first input module 908 configured to input the text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current information extraction subtask; and a second determining module 910 configured to determine a target extraction result of the information extraction task based on the extraction results corresponding to each information extraction subtask. Optionally, the information extraction model includes a feature extraction layer, an attention layer, and an output layer, wherein the feature extraction layer includes a coupled first feature extraction layer and a second feature extraction layer. The first input module 908 is further configured to input the text to be extracted into the first feature extraction layer to obtain text features of the text to be extracted; input the current prompt information into the second feature extraction layer to obtain prompt features of the current prompt information; input the text features and prompt features into the attention layer to obtain attention features; and input the attention features into the output layer to obtain an extraction result corresponding to the current information extraction subtask. Optionally, the first input module 908 is further configured to, if the text features of the text to be extracted are not cached in the information extraction model, input the text to be extracted into the first feature extraction layer to obtain text features of the text to be extracted, and cache the text features in the information extraction model; and if the text features of the text to be extracted are cached in the information extraction model, retrieve the pre-cached text features. Optionally, the first input module 908 is further configured to input the attention feature into the output layer, determine the start pointer sequence and the end pointer sequence; extract and output the extraction result corresponding to the current information extraction subtask from the text to be extracted according to the start pointer sequence and the end pointer sequence.Optionally, the apparatus further includes: a fourth determination module configured to, if the information extraction task does not include an information extraction subtask, input the to-be-extracted text and the initial prompt information into the information extraction model to determine a target extraction result for the information extraction task. Optionally, the first parsing module 904 is further configured to identify the type of the information extraction task, determine at least one task type corresponding to the information extraction task; obtain information extraction objects corresponding to each task type; and determine at least two information extraction subtasks corresponding to the information extraction task based on the initial prompt information and the information extraction objects corresponding to each task type. Optionally, the apparatus further includes: a search module configured to search for extraction results corresponding to each information extraction subtask to obtain a search result; and determine, based on the search result, whether a completed information extraction subtask exists. Optionally, the first determination module 906 is further configured to, if no completed information extraction subtask exists among the at least two information extraction subtasks, use the initial prompt information as the current prompt information corresponding to the current information extraction subtask; if a completed information extraction subtask exists among the at least two information extraction subtasks, determine the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks. Optionally, the at least two information extraction subtasks include the first information extraction subtask; the first determination module 906 is further configured to use the initial prompt information as the first prompt information corresponding to the first information extraction subtask; and the first input module 908 is further configured to input the to-be-extracted text and the first prompt information into the information extraction model to determine a first extraction result for the first information extraction subtask. Optionally, at least two information extraction subtasks further include a second information extraction subtask; the device further includes: an acquisition module, configured to use the first extraction result as the extraction result of the completed information extraction subtask, use the second information extraction subtask as the current information extraction subtask, and return to the step of determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks, until the current information extraction subtask no longer exists, and obtain the extraction results corresponding to each information extraction subtask.Optionally, the apparatus further includes: an information extraction model training module configured to obtain a sample set, wherein the sample set includes multiple sample texts, each of which carries information extraction labels and sample prompt information; extract a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; input the first sample text and the first sample prompt information carried by the first sample text into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; compare the first prediction extraction result with the first information extraction label carried by the first sample text to calculate a loss value; adjust model parameters of the initial information extraction model based on the loss value, and return to the step of extracting the first sample text from the multiple sample texts until a preset stopping condition is met, thereby obtaining an information extraction model. By applying the solution of the embodiments of the present disclosure, a complex information extraction task is converted into at least two simple information extraction subtasks by parsing the information extraction task. This solution supports information extraction tasks with any combination of information extraction subtasks, thereby improving the universality of information extraction. Furthermore, by utilizing the information extraction model to determine the extraction results for each information extraction subtask, a single information extraction model can be used to complete multiple information extraction subtasks, thereby improving information extraction efficiency. The above is a schematic diagram of an information extraction device according to this embodiment. It should be noted that the technical solution of this information extraction device shares the same concept as the technical solution of the aforementioned information extraction method. For details not described in detail in the technical solution of the information extraction device, please refer to the description of the technical solution of the aforementioned information extraction method. Corresponding to the aforementioned method embodiment, the present disclosure also provides an embodiment of a conference opinion extraction device. Figure 10 shows a schematic structural diagram of a conference opinion extraction device according to one embodiment of the present disclosure. As shown in FIG10 , the apparatus includes: a second receiving module 1002 configured to receive a viewpoint extraction task, wherein the viewpoint extraction task includes a meeting text to be extracted and initial prompt information; a second parsing module 1004 configured to parse the viewpoint extraction task and determine at least two viewpoint extraction subtasks corresponding to the viewpoint extraction task; a second determining module 1006 configured to determine current prompt information corresponding to a current viewpoint extraction subtask based on the initial prompt information and the extraction results of completed viewpoint extraction subtasks; a second input module 1008 configured to input the viewpoint text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current viewpoint extraction subtask; and a third determining module 1010 configured to determine a target extraction result of the viewpoint extraction task based on the extraction results corresponding to each viewpoint extraction subtask.Applying the solution of the embodiments of this disclosure, by parsing the opinion extraction task, complex opinion extraction tasks are converted into at least two simple opinion extraction subtasks. This allows the solution to support opinion extraction tasks with any combination of opinion extraction subtasks, improving the universality of opinion extraction. Furthermore, by utilizing an information extraction model to determine the extraction results of each opinion extraction subtask, a single information extraction model can be used to complete multiple opinion extraction subtasks, improving the efficiency of conference opinion extraction. The above is a schematic diagram of a conference opinion extraction device according to this embodiment. It should be noted that the technical solution of this conference opinion extraction device and the technical solution of the aforementioned conference opinion extraction method are based on the same concept. Details not described in detail in the technical solution of the conference opinion extraction device can be found in the description of the technical solution of the aforementioned conference opinion extraction method. Corresponding to the aforementioned method embodiments, this disclosure also provides an embodiment of an information extraction model training device. Figure 11 shows a schematic diagram of the structure of an information extraction model training device according to one embodiment of this disclosure. As shown in FIG11 , the apparatus is applied to a cloud-side device and includes: an acquisition module 1102 configured to acquire a sample set, wherein the sample set includes multiple sample texts, and the sample texts carry information extraction labels and sample prompt information; an extraction module 1104 configured to extract a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; a third input module 1106 configured to input the first sample text and the first sample prompt information carried by the first sample into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; a calculation module 1108 configured to compare the first prediction extraction result with the first information extraction label carried by the first sample text to calculate a loss value; an adjustment module 1110 configured to adjust the model parameters of the initial information extraction model according to the loss value, and return to the step of extracting the first sample text from the multiple sample texts until a preset stop condition is reached to obtain the model parameters of the information extraction model; a first sending module 1112 configured to receive the first sample text and the first sample prompt information carried by the first sample into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; The information extraction model is configured to send model parameters of the information extraction model to the end-side device. Applying the solution of the embodiment of the present disclosure, a loss value is calculated based on the first predicted extraction result and the first information extraction label carried by the first sample text. The loss value is compared with a preset stopping condition. If the preset stopping condition is not met, the initial information extraction model is trained continuously until the preset stopping condition is met, completing the training and obtaining the information extraction model. By continuously adjusting the model parameters of the initial information extraction model, the resulting information extraction model can be made more accurate. The above is an exemplary solution of an information extraction model training device according to this embodiment.It should be noted that the technical solution of this information extraction model training device and the technical solution of the aforementioned information extraction model training method share the same concept. For details not described in detail in the technical solution of the information extraction model training device, please refer to the description of the technical solution of the aforementioned information extraction model training method. Corresponding to the aforementioned method embodiment, the present disclosure also provides an information extraction device embodiment. Figure 12 shows a schematic structural diagram of another information extraction device provided in one embodiment of the present disclosure. As shown in FIG12 , the apparatus includes: a third receiving module 1202 configured to receive an information extraction request sent by a user, wherein the information extraction request includes an information extraction task, and the information extraction task includes a text to be extracted and initial prompt information; a third parsing module 1204 configured to parse the information extraction task and determine at least two information extraction subtasks corresponding to the information extraction task; a fourth determining module 1206 configured to determine current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of completed information extraction subtasks in the at least two information extraction subtasks; a fourth input module 1208 configured to input the text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask; a fifth determining module 1210 configured to determine a target extraction result of the information extraction task based on the extraction results corresponding to each information extraction subtask; and a second sending module 1212 configured to send the target extraction result of the information extraction task to the user. By applying the solution of the embodiments of the present disclosure, complex information extraction tasks are converted into at least two simple information extraction subtasks by parsing them. This allows the solution to support information extraction tasks with any combination of information extraction subtasks, improving the universality of information extraction. Furthermore, by using an information extraction model to determine the extraction results of each information extraction subtask, a single information extraction model can be used to complete multiple information extraction subtasks, improving information extraction efficiency. The target extraction results of the information extraction task are sent to the user, enhancing the user experience. The above is a schematic diagram of an information extraction device according to this embodiment. It should be noted that the technical solution of this information extraction device and the technical solution of the aforementioned information extraction method share the same concept. Details not described in the technical solution of the information extraction device can be found in the description of the technical solution of the aforementioned information extraction method. Figure 13 shows a block diagram of a computing device according to one embodiment of the present disclosure. Components of computing device 1300 include, but are not limited to, a memory 1310 and a processor 1320. The processor 1320 is connected to the memory 1310 via a bus 1330 , and the database 1350 is configured to store data.Computing device 1300 also includes an access device 1340 that enables computing device 1300 to communicate via one or more networks 1360. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. Access device 1340 may include one or more of any type of wired or wireless network interface (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like. In one embodiment of the present disclosure, the aforementioned components of computing device 1300 and other components not shown in FIG. 13 may also be connected to each other, for example, via a bus. It should be understood that the computing device block diagram shown in FIG. 13 is for illustrative purposes only and does not limit the scope of the present disclosure. Those skilled in the art may add or replace other components as needed. Computing device 1300 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, personal digital assistant, laptop computer, notebook computer, netbook, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smartwatch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or personal computer (PC). Computing device 1300 may also be a mobile or stationary server. The processor 1320 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the aforementioned information extraction method, conference opinion extraction method, or information extraction model training method.The above is a schematic diagram of a computing device according to this embodiment. It should be noted that the technical solution of this computing device is based on the same concept as the technical solutions of the aforementioned information extraction method, conference opinion extraction method, and information extraction model training method. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the aforementioned information extraction method, conference opinion extraction method, or information extraction model training method. An embodiment of the present disclosure also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the aforementioned information extraction method, conference opinion extraction method, or information extraction model training method. The above is a schematic diagram of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium is based on the same concept as the technical solutions of the aforementioned information extraction method, conference opinion extraction method, and information extraction model training method. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the aforementioned information extraction method, conference opinion extraction method, or information extraction model training method. One embodiment of the present disclosure also provides a computer program. When executed on a computer, the computer program causes the computer to perform the steps of the aforementioned information extraction method, conference opinion extraction method, or information extraction model training method. The above is an illustrative embodiment of a computer program according to this embodiment. It should be noted that the technical solution of this computer program shares the same concept as the technical solutions of the aforementioned information extraction method, conference opinion extraction method, and information extraction model training method. For details not described in detail in the technical solution of the computer program, please refer to the description of the technical solution of the aforementioned information extraction method, conference opinion extraction method, or information extraction model training method. The above describes specific embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous. The computer instructions include computer program codes, which may be in source code form, object code form, executable file, or some intermediate form.The computer-readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. It should be noted that, for ease of description, the aforementioned method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present disclosure are not limited by the order of the actions described, as, depending on the embodiments of the present disclosure, certain steps may be performed in a different order or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily required for the embodiments of the present disclosure. In the above embodiments, the description of each embodiment has its own emphasis. For portions not described in detail in one embodiment, reference should be made to the relevant descriptions of other embodiments. The preferred embodiments of the present disclosure disclosed above are merely intended to help illustrate the present disclosure. The optional embodiments do not describe all details in detail and do not limit the invention to the specific implementations described. Obviously, many modifications and variations are possible based on the content of the embodiments of this disclosure. This disclosure selects and specifically describes these embodiments to better explain the principles and practical applications of the embodiments of this disclosure, thereby enabling those skilled in the art to better understand and utilize this disclosure. This disclosure is limited by the claims and their full scope and equivalents. Industrial Applicability: The information extraction, conference opinion extraction, and information extraction model training methods provided in the embodiments of this disclosure are applied to cloud-side devices. By parsing the information extraction task, complex information extraction tasks are converted into at least two simple information extraction subtasks. This solution supports information extraction tasks with any combination of information extraction subtasks, improving the universality of information extraction. Furthermore, by using the information extraction model to determine the extraction results of each information extraction subtask, multiple information extraction subtasks can be completed using a single information extraction model, thereby improving information extraction efficiency.
Claims
Claims 1. An information extraction method, comprising: An information extraction task is received, wherein the information extraction task includes a text to be extracted and initial prompt information; the information extraction task is parsed to determine at least two information extraction subtasks corresponding to the information extraction task; current prompt information corresponding to the current information extraction subtask is determined according to the initial prompt information and the extraction results of completed information extraction subtasks among the at least two information extraction subtasks; the text to be extracted and the current prompt information are input into an information extraction model to determine an extraction result corresponding to the current information extraction subtask; and a target extraction result of the information extraction task is determined according to the extraction results corresponding to each information extraction subtask.
2. The method according to claim 1, wherein the information extraction model comprises a feature extraction layer, an attention layer and an output layer, and the feature extraction layer comprises a coupled first feature extraction layer and a coupled second feature extraction layer; Inputting the text to be extracted and the current prompt information into the information extraction model to determine the extraction result corresponding to the current information extraction subtask, including: inputting the text to be extracted into the first feature extraction layer to obtain the text feature of the text to be extracted; inputting the current prompt information into the second feature extraction layer to obtain the prompt feature of the current prompt information; inputting the text feature and the prompt feature into the attention layer to obtain the attention feature; inputting the attention feature into the output layer to obtain the extraction result corresponding to the current information extraction subtask.
3. The method according to claim 2, wherein inputting the text to be extracted into the first feature extraction layer to obtain text features of the text to be extracted comprises: In the case where the text features of the text to be extracted are not cached in the information extraction model, the text to be extracted is input into the first feature extraction layer to obtain the text features of the text to be extracted, and the text features are cached in the information extraction model; in the case where the text features of the text to be extracted are cached in the information extraction model, the pre-cached text features are obtained.
4. The method according to claim 3, wherein the step of inputting the attention feature into the output layer to obtain an extraction result corresponding to the current information extraction subtask comprises: The attention feature is input into the output layer to determine a start pointer sequence and an end pointer sequence; and according to the start pointer sequence and the end pointer sequence, an extraction result corresponding to the current information extraction subtask is extracted from the text to be extracted and output.
5. The method according to claim 1, after parsing the information extraction task, further comprising: In the case that the information extraction task does not include an information extraction subtask, the text to be extracted and the initial prompt information are input into an information extraction model to determine a target extraction result of the information extraction task.
6. The method according to claim 1, wherein parsing the information extraction task and determining at least two information extraction subtasks corresponding to the information extraction task comprises: Performing type identification on the information extraction task to determine at least one task type corresponding to the information extraction task; Get the information extraction object corresponding to each task type; At least two information extraction subtasks corresponding to the information extraction task are determined according to the initial prompt information and the information extraction objects corresponding to each task type.
1. The method according to claim 1, before determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks, further comprising: Find the extraction results corresponding to each information extraction subtask and obtain the search results; 22 According to the search result, determine whether there is a completed information extraction subtask.
8. The method according to any one of claims 1 to 7, wherein determining the current prompt information corresponding to the current information extraction subtask according to the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks comprises: In the case that there is no completed information extraction subtask among the at least two information extraction subtasks, using the initial prompt information as current prompt information corresponding to the current information extraction subtask; In the case that there is a completed information extraction subtask among the at least two information extraction subtasks, current prompt information corresponding to the current information extraction subtask is determined according to the initial prompt information and the extraction result of the completed information extraction subtask.
9. The method according to claim 1, wherein the at least two information extraction subtasks include a first information extraction subtask; and determining the current prompt information corresponding to the current information extraction subtask according to the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks, comprises: Using the initial prompt information as the first prompt information corresponding to the first information extraction subtask; The step of inputting the text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current information extraction subtask includes: inputting the text to be extracted and the first prompt information into an information extraction model to determine a first extraction result of the first information extraction subtask.
10. The method according to claim 9, wherein the at least two information extraction subtasks further include a second information extraction subtask; after inputting the to-be-extracted text and the first prompt information into an information extraction model and determining a first extraction result of the first information extraction subtask, further comprising: The first extraction result is used as the extraction result of the completed information extraction subtask, the second information extraction subtask is used as the current information extraction subtask, and the step of determining the current prompt information corresponding to the current information extraction subtask based on the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks is returned to execute until there is no current information extraction subtask, and the extraction results corresponding to each information extraction subtask are obtained.
11. The method according to claim 1, wherein the training method of the information extraction model comprises: A sample set is obtained, wherein the sample set includes multiple sample texts, and the sample texts carry information extraction labels and sample prompt information; a first sample text is extracted from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; the first sample text and the first sample prompt information carried by the first sample are input into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; the first prediction extraction result is compared with the first information extraction label carried by the first sample text to calculate a loss value; the model parameters of the initial information extraction model are adjusted according to the loss value, and the step of extracting the first sample text from the multiple sample texts is returned to execute until a preset stop condition is reached to obtain an information extraction model.
12. A method for extracting conference opinions, comprising: Receiving a viewpoint extraction task, wherein the viewpoint extraction task includes a meeting text to be extracted and initial prompt information; parsing the viewpoint extraction task to determine at least two viewpoint extraction subtasks corresponding to the viewpoint extraction task; determining current prompt information corresponding to a current viewpoint extraction subtask according to the initial prompt information and the extraction results of the completed viewpoint extraction subtasks; inputting the viewpoint text to be extracted and the current prompt information into an information extraction model to determine an extraction result corresponding to the current viewpoint extraction subtask; According to the extraction results corresponding to each opinion extraction subtask, the target extraction result of the opinion extraction task is determined.
13. A method for training an information extraction model, applied to a cloud-side device, comprising: Acquire a sample set, wherein the sample set includes multiple sample texts, and the sample texts carry information extraction labels and sample prompt information; extract a first sample text from the multiple sample texts, wherein the first sample text is any one of the multiple sample texts; input the first sample text and the first sample prompt information carried by the first sample into an initial information extraction model to obtain a first prediction extraction result corresponding to the first sample text; compare the first prediction extraction result with the first information extraction label carried by the first sample text to calculate a loss value; adjust the model parameters of the initial information extraction model according to the loss value, and return to execute the step of extracting the first sample text from the multiple sample texts until a preset stop condition is reached to obtain the model parameters of the information extraction model; send the model parameters of the information extraction model to a terminal-side device.
14. An information extraction method, comprising: Receive an information extraction request sent by a user, wherein the information extraction request includes an information extraction task, and the information extraction task includes a text to be extracted and an initial prompt information; parse the information extraction task to determine at least two information extraction subtasks corresponding to the information extraction task; determine current prompt information corresponding to the current information extraction subtask according to the initial prompt information and the extraction results of the completed information extraction subtasks in the at least two information extraction subtasks; input the text to be extracted and the current prompt information into an information extraction model to determine the extraction result corresponding to the current information extraction subtask; determine a target extraction result of the information extraction task according to the extraction results corresponding to each information extraction subtask; and send the target extraction result of the information extraction task to the user.
15. A computing device, comprising: Memory and processor; The memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method described in any one of claims 1 to 11 or claim 12 or claim 13 or claim 14 are implemented.
16. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the method described in any one of claims 1 to 11 or claim 12 or claim 13 or claim 14.
Citation Information
Patent Citations
Relationship extraction method, device and equipment and computer readable storage medium
CN115879447A
Cited By
Event argument extraction method and system based on prediction iteration bidirectional span prediction
CN119962658A
