A method and device for scalable joint extraction of multi-event information

By combining the Bert-GlobalPointer model and the large language model, joint extraction of multi-event information without retraining is achieved, solving the problems of time-consuming and labor-intensive manual annotation and poor scalability in the existing technology, and improving the generalization of event extraction. and scalability, reducing the amount of manual annotation.

CN118364094BActive Publication Date: 2024-09-17BEIJING QIANTU FANGYUAN SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410792664.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-17
Estimated Expiration
2044-06-19

Smart Images

  • Figure CN118364094B
    Figure CN118364094B
Patent Text Reader

Abstract

The present invention provides an expandable multi-event joint extraction method and device, the method comprising the following steps: S1, obtaining text data with extraction; S2, extracting information of existing event types from the text through a Bert-GlobalPointer model, extracting various event types and their trigger words and arguments in the text; S3, extracting information of untrained event types from the text using a large language model, extracting various event types and their trigger words and arguments in the text; S4, combining the results of S2 and S3 to obtain a final event extraction result; S5, storing the final event extraction result in a database. The method combines the Bert-GlobalPointer model with the large language model, can expand the existing event extraction model without retraining, and has strong generalizability and scalability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of natural language event extraction, and in particular, to an expandable method and device for joint extraction of multi-event information. Background Art

[0002] With the rapid development of information technology, the amount of information on the Internet is growing at an alarming rate. In order to effectively manage and utilize this massive amount of information, we need a powerful tool to help us extract useful information from it. From the perspective of cognitive science, events can be everything that happens in the world, and people understand and observe the world by understanding and connecting these events. Therefore, extracting and understanding these events and their relationships with each other is the core step in obtaining the deep semantic information of the text. At the same time, with the explosive growth of Internet information and the rapid development of large language models, how to effectively use these large language models and reduce the work of manual corpus annotation has become a key factor that cannot be ignored in improving production efficiency in actual production.

[0003] Event extraction includes atomic event extraction and thematic event extraction. Atomic events represent the occurrence of an action or a change in state, and are generally driven by predicates, including other arguments such as time, place, people, tools, and methods involved in the action or state. Thematic events represent a certain type of core event or activity and all other events or activities related to it, and can be composed of multiple atomic events. The main research methods for atomic event extraction are pattern matching and machine learning. Pattern matching methods can achieve good extraction results in a certain field, but their portability and generalizability are poor. Machine learning methods are independent of the field and have good portability, but they require large-scale standard corpora. The current corpus size cannot meet application requirements, and manual annotation of corpora is time-consuming and labor-intensive.

[0004] Currently, the method of converting event extraction tasks into sequence labeling tasks based on neural networks has been widely used, especially the algorithm represented by sequence labeling based on Bert-CRF structure can quickly and efficiently complete the event extraction task. However, this event extraction method requires a given extraction information template and then extracts it through a rule template. At the same time, as the types of events to be extracted increase and the complexity of event structures increases, a large amount of corpus needs to be collected for manual data labeling and retraining, and the generalization and scalability are poor. Summary of the invention

[0005] In view of the above problems, the present invention proposes an expandable method for joint extraction of multi-event information, which combines the Bert-GlobalPointer model with a large language model. The existing event extraction model can be expanded without retraining, and has strong generalizability and scalability.

[0006] A method for scalable multi-event joint extraction includes the following steps: S1, obtaining text data to be extracted; S2, extracting information of existing event types from the text through a Bert-GlobalPointer model, and extracting various event types and their trigger words and arguments in the text; S3, extracting information of untrained event types from the text using a large language model, and extracting various event types and their trigger words and arguments in the text; S4, combining the results of S2 and S3 to obtain a final event extraction result; S5, storing the final event extraction result in a database.

[0007] Preferably, step S2 includes: S21, preprocessing the text data, the preprocessing operations including cleaning, word segmentation and magnetic labeling; S22, encoding the text data preprocessed in step S21 using a Bert word segmenter to obtain vector representation data of the text; S23, using a regularly trained Bert-GlobalPointer architecture model to jointly extract event type-event trigger words and event type-event arguments from the text vector obtained in S22; S24, constructing an undirected graph using the extraction results of S23, with each argument and trigger word as a node on the graph, and edges between arguments and trigger words of the same event; S25, searching for connected components in the undirected graph constructed in S24, decoding each connected component into an event to perform event division; S26, combining the divided events to obtain the trained event type extraction results.

[0008] Preferably, the Bert-GlobalPointer framework model in step S23 is obtained by the following steps: step S01, obtaining the text to be extracted from the database; step S02, preprocessing the text data obtained in step S01, the preprocessing operation including cleaning, word segmentation and magnetic labeling; S03, encoding the text data preprocessed in step S02 using the Bert word segmenter to obtain vector representation data of the text; S04, adding rotational position encoding (RoPE) to the text vector of step S03 using the GlobalPointer model, and introducing relative position information to the text vector; S05, decoding the text vector obtained in step S04 using the GlobalPointer model, and jointly extracting event type-event trigger words and event type-event arguments; S06, using the text corpus in the database, setting the training step size, rounds, learning rate, optimizer and evaluation standard parameters, and training the Bert-GlobalPointer framework; S07, saving the training result file to obtain the Bert-GlobalPointer framework model, that is, the multi-event information joint extraction model.

[0009] Preferably, the events divided in step S25 include: event type, trigger words and various arguments.

[0010] Preferably, step S3 includes the following steps: S31, construct an event extraction Prompt command template and transmit it to the large model; S32, obtain the event type to be extracted and the arguments included in the event of this type as an event template; S33, construct a Prompt command for extracting the event type from the event template of S32; S34, obtain the result given by the large model after S33; S35, if the result of S34 is "yes", construct a Prompt command for extracting the event trigger word; S36, obtain the result given by the large model of S35, and parse out the [trigger word]; S37, use the [trigger word] obtained by S36 to construct an argument extraction Prompt command template; S38, obtain the result given by the large model after S37, and parse out the arguments of the corresponding type; S39, repeat steps S37 and S38 in sequence until all types of arguments are extracted; S310, combine the results of S36 and S38 into a standardized event output type.

[0011] Preferably, in step S4, the events obtained in S26 and S310 are combined to obtain a final extraction result. In step S5, the event extraction result obtained in S4 is stored in a database for S0 to perform model training.

[0012] The invention discloses an expandable multi-event joint extraction device, comprising: an information extraction module of existing event types, used for extracting information of existing event types from texts through a Bert-GlobalPointer model, and extracting various event types and their trigger words and arguments in the text; an information extraction module of untrained event types, used for extracting information of untrained event types from texts through a large language model, and extracting various event types and their trigger words and arguments in the text; a combination module, used for combining the results of the information extraction module of existing event types and the information extraction module of untrained event types, and obtaining a final event extraction result, and storing the final event extraction result in a database; and a retraining module, used for regularly inputting database data obtained by the combination module into the Bert-GlobalPointer model for retraining, so as to improve the generalization of the model.

[0013] Preferably, the information extraction module of the existing event type performs the following steps: S21, preprocessing operations are performed on the text data obtained from the user, and the preprocessing operations include cleaning, segmentation and magnetic annotation; S22, using the BERT segmenter to encode the text data of step S21 to obtain the vector representation data of the text; S23, using the regularly trained event extraction model to jointly extract event type-event trigger words and event type-event arguments from the text vector obtained in S22; S24, using the extraction result of S23 to construct an undirected graph, with each argument and trigger word as a node on the graph, and edges between the arguments and trigger words of the same event; S25, searching for connected components in the undirected graph constructed in S24, and decoding each connected component into an event to perform event division; S26, combining the divided events to obtain the trained event type extraction results.

[0014] Preferably, the Bert-GlobalPointer construction model in step S23 is obtained by the following steps: step S01, obtaining the text to be extracted from the database; step S02, preprocessing the text data obtained in step S01, the preprocessing operation including cleaning, word segmentation and magnetic labeling; S03, encoding the text data preprocessed in step S02 by using the Bert word segmenter to obtain the vector representation data of the text; S04, adding rotational position encoding (RoPE) to the text vector of step S03 by using the GlobalPointer model, and introducing relative position information to the text vector; S05, decoding the text vector obtained in step S04 by using the GlobalPointer model, and jointly extracting the event type-event trigger word and the event type-event argument; S06, using the text corpus in the database, setting the training step size, round, learning rate, optimizer, and evaluation standard parameters, and training the Bert-GlobalPointer architecture; S07, saving the training result file to obtain the Bert-GlobalPointer construction model, that is, the multi-event information joint extraction model.

[0015] Preferably, the events divided in step S25 include: event type, trigger words and various arguments.

[0016] Preferably, the information extraction module of the untrained event type performs the following steps: S31, constructs an event extraction Prompt command template and transmits it to the large model; S32, obtains the event type to be extracted and the arguments included in the event of this type as an event template; S33, constructs a Prompt command for extracting the event type from the event template of S32; S34, obtains the result given by the large model after S33; S35, if the result of S34 is "yes", constructs a Prompt command for extracting the event trigger word; S36, obtains the result given by the large model of S35, and parses out the [trigger word]; S37, uses the [trigger word] obtained by S36 to construct an argument extraction Prompt command template; S38, obtains the result given by the large model after S37, and parses out the arguments of the corresponding type; S39, repeats steps S37 and S38 in sequence until all types of arguments are extracted; S310, combines the results of S36 and S38 into a standardized event output type.

[0017] A computer-readable storage medium stores a computer program, which implements the aforementioned expandable multi-event joint extraction method when executed.

[0018] An electronic device includes one or more processors; a storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned expandable multi-event joint extraction method.

[0019] A computer program product includes computer instructions stored in a computer-readable medium. A processor of a computer device reads the computer instructions from the computer-readable medium and executes the computer instructions, so that the computer device executes the aforementioned expandable multi-event joint extraction method.

[0020] The present invention has the following beneficial effects:

[0021] 1. Combining the Bert-GlobalPointer model with a large language model can reduce the amount of manual annotation and provide strong generalization and scalability.

[0022] 2. Combining the spatiotemporal advantages of the GlobalPointer model and the reasoning advantages of the large language model for event extraction, it is possible to extract various events in closed and open domains, thereby improving the generalization and scalability of the model.

[0023] 3. Automatically accumulate training corpus and automatically train the model regularly, so that the GlobalPointer model can be expanded according to needs.

[0024] 4. After using the large language model for event extraction, the extraction results are automatically stored, which can accumulate corpus, thereby further reducing the amount of manual annotation and enabling automatic optimization when the model is applied. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of an expandable method for joint extraction of multi-event information of the present invention.

[0026] Figure 2 It is a flow chart of obtaining the Bert-GlobalPointer framework model in a scalable method for joint extraction of multi-event information of the present invention. DETAILED DESCRIPTION

[0027] The embodiments of the present invention are described below in conjunction with the accompanying drawings. Those skilled in the art should understand that these embodiments are only illustrative and not restrictive.

[0028] Figure 1 It is a flow chart of an expandable method for joint extraction of multi-event information of the present invention.

[0029] like Figure 1 As shown, a scalable multi-event joint extraction method includes the following steps:

[0030] S1, obtain the extracted text data;

[0031] S2. Use the Bert-GlobalPointer architecture model to extract information about existing event types from the text, and extract each event type in the text and its trigger words and arguments;

[0032] S3. Use the large language model to extract information about untrained event types from the text, and extract each event type in the text and its trigger words and arguments;

[0033] S4 and S2 obtain a json format information extraction result, and S3 also obtains a json format information extraction result. The two json format results are combined to obtain the union of the two results, and finally the final event extraction result is obtained;

[0034] S5, storing the final result obtained in S4 into the database for model training;

[0035] The BERT model (Bidirectional Encoder Representations from Transformer) is a pre-trained language representation model. It emphasizes that it no longer uses the traditional unidirectional language model or the shallow concatenation of two unidirectional language models for pre-training as in the past, but instead uses a new masked language model (MLM) to generate deep bidirectional language representations.

[0036] GlobalPointer uses the idea of ​​global normalization to perform named entity recognition (NER). It can identify nested entities and non-nested entities indiscriminately. In the non-nested case, it can achieve results comparable to CRF, and in the nested case, it also has good results.

[0037] Large language models (LLMs) are a subset of deep learning. They are powerful general-purpose language models that can be pre-trained on large amounts of data and then fine-tuned for specific tasks. In step S2, a variety of large language models can be used, including ChatGLM, Alpace, Vicuna, GPT4All, Koala, FLAN, etc.

[0038] It should be noted that although the BERT model, the GlobalPointer model and the large language model are all known models, as mentioned earlier, when the Bert-GlobalPointer model and the large language model are combined and applied to the joint extraction of multi-event information, the amount of manual annotation can be reduced, and the generalization and scalability are strong; combining the spatiotemporal advantages of the GlobalPointer model and the reasoning advantages of the large language model for event extraction can achieve various event extractions in closed and open domains, improving the generalization and scalability of the model; after using the large language model for event extraction, the extraction results are automatically stored, and the corpus can be accumulated, thereby further reducing the amount of manual annotation, allowing automatic optimization when the model is applied.

[0039] In addition, how to apply these known models (specifically to each step) is also the result of the creative work of the inventors.

[0040] Through step S5, training corpus can be automatically accumulated and the model can be automatically trained regularly, so that the GlobalPointer architecture model can be expanded according to needs.

[0041] Further, step S2 includes:

[0042] S21, performing preprocessing operations on the text data, the preprocessing operations including cleaning, word segmentation and magnetic tagging;

[0043] S22, using the Bert word segmenter to encode the text data preprocessed in step S21 to obtain vector representation data of the text;

[0044] S23, using the regularly trained Bert-GlobalPointer architecture model to jointly extract event type-event trigger words and event type-event arguments from the text vector obtained in S22;

[0045] S24, using the extraction results of S23 to construct an undirected graph, taking each argument and trigger word as a node on the graph, and forming edges between arguments and trigger words of the same event;

[0046] S25, searching for connected components in the undirected graph formed in S24, decoding each connected component into an event to perform event division;

[0047] S26. Combine the divided events to obtain the trained event type extraction result.

[0048] Furthermore, if Figure 2 As shown, the Bert-GlobalPointer framework model in step S23 is obtained by the following steps: step S01, obtaining the text to be extracted from the database; step S02, preprocessing the text data obtained in step S01, the preprocessing operation includes cleaning, word segmentation and magnetic labeling; S03, using the Bert word segmenter to encode the text data preprocessed in step S02 to obtain the vector representation data of the text; S04, using the GlobalPointer model to add rotational position encoding (RoPE) to the text vector of step S03, and introduce relative position information to the text vector; S05, using the GlobalPointer model to decode the text vector obtained in step S04, and jointly extract the event type-event trigger word and the event type-event argument; S06, using the text corpus in the database, setting the training step size, round, learning rate, optimizer and evaluation standard parameters, and training the Bert-GlobalPointer framework; S07, saving the training result file to obtain the Bert-GlobalPointer framework model, that is, the multi-event information joint extraction model.

[0049] Optionally, the step of obtaining the Bert-GlobalPointer framework model is performed periodically.

[0050] Optionally, the events divided in step S25 include: event type, trigger words and various arguments.

[0051] Further, step S3 includes the following steps:

[0052] S31. Construct an event extraction prompt command template and send it to the big model. For example, you are now a text event extractor. I provide you with text and an event template to be extracted. You need to determine whether the text has this type of event. If so, please extract the trigger words and arguments of this type of event.

[0053] S32, obtaining the event type to be extracted and the arguments included in the event of this type as an event template;

[0054] S33, construct a prompt command of the event type from the event template of S32; that is, whether the following text contains <tag> "Event Type"< / tag> If yes, please output <tag> yes< / tag> If not, please output <tag> no< / tag> . Text: the text obtained by S1;

[0055] S34, obtaining the result given by the large model after S33;

[0056] S35. If the result of S34 is "yes", construct a Prompt command for extracting event trigger words; that is, extract the trigger words of the event type from the following text and output them in JSON format, text: the text obtained in S1;

[0057] S36, obtain the result given by the large model of S35, and parse out [trigger word];

[0058] S37, use the [trigger word] obtained from S36 to construct an argument extraction prompt command template; that is, you are an event extractor, the event type is [event type], and the trigger word of the event is [trigger word]. Please extract the [argument] corresponding to the event type and [trigger word] from the following text and output it in JSON format. Text: the text obtained in S1;

[0059] S38, obtaining the result given by the large model after S37, and parsing out the corresponding type of arguments;

[0060] S39, repeating steps S37 and S38 in sequence until all type arguments are extracted;

[0061] S310, combining the results of S36 and S38 into a standard event output type.

[0062] The invention discloses an expandable multi-event joint extraction device, comprising: an information extraction module of existing event types, used for extracting information of existing event types from texts through a Bert-GlobalPointer model, and extracting various event types and their trigger words and arguments in the text; an information extraction module of untrained event types, used for extracting information of untrained event types from texts through a large language model, and extracting various event types and their trigger words and arguments in the text; a combination module, used for combining the results of the information extraction module of existing event types and the information extraction module of untrained event types, and obtaining a final event extraction result, and storing the final event extraction result in a database; and a retraining module, used for regularly inputting database data obtained by the combination module into the Bert-GlobalPointer model for retraining, so as to improve the generalization of the model.

[0063] Furthermore, the information extraction module of the existing event type executes the following steps: S21, preprocessing operations are performed on the text data obtained from the user, and the preprocessing operations include cleaning, segmentation and magnetic labeling; S22, using the BERT segmenter to encode the text data of step S21 to obtain the vector representation data of the text; S23, using the regularly trained event extraction model to jointly extract event type-event trigger words and event type-event arguments from the text vector obtained in S22; S24, using the extraction result of S23 to construct an undirected graph, with each argument and trigger word as a node on the graph, and edges between the arguments and trigger words of the same event; S25, searching for connected components in the undirected graph constructed in S24, and decoding each connected component into an event to perform event division; S26, combining the divided events to obtain the trained event type extraction results.

[0064] Preferably, the Bert-GlobalPointer construction model in step S23 is obtained by the following steps: step S01, obtaining the text to be extracted from the database; step S02, preprocessing the text data obtained in step S01, the preprocessing operation including cleaning, word segmentation and magnetic labeling; S03, encoding the text data preprocessed in step S02 by using the Bert word segmenter to obtain the vector representation data of the text; S04, adding rotational position encoding (RoPE) to the text vector of step S03 by using the GlobalPointer model, and introducing relative position information to the text vector; S05, decoding the text vector obtained in step S04 by using the GlobalPointer model, and jointly extracting the event type-event trigger word and the event type-event argument; S06, using the text corpus in the database, setting the training step size, round, learning rate, optimizer, and evaluation standard parameters, and training the Bert-GlobalPointer architecture; S07, saving the training result file to obtain the Bert-GlobalPointer construction model, that is, the multi-event information joint extraction model.

[0065] Preferably, the events divided in step S25 include: event type, trigger words and various arguments.

[0066] Furthermore, the information extraction module of the untrained event type performs the following steps: S31, constructs an event extraction Prompt command template and transmits it to the large model; S32, obtains the event type to be extracted and the arguments included in the event of this type as an event template; S33, constructs a Prompt command for extracting the event type from the event template of S32; S34, obtains the result given by the large model after S33; S35, if the result of S34 is "yes", constructs a Prompt command for extracting the event trigger word; S36, obtains the result given by the large model of S35, and parses out the [trigger word]; S37, uses the [trigger word] obtained by S36 to construct an argument extraction Prompt command template; S38, obtains the result given by the large model after S37, and parses out the arguments of the corresponding type; S39, repeats steps S37 and S38 in sequence until all types of arguments are extracted; S310, combines the results of S36 and S38 into a standardized event output type.

[0067] A computer-readable storage medium stores a computer program, which implements the aforementioned expandable multi-event joint extraction method when executed.

[0068] An electronic device includes one or more processors; a storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned expandable multi-event joint extraction method.

[0069] A computer program product includes computer instructions stored in a computer-readable medium. A processor of a computer device reads the computer instructions from the computer-readable medium and executes the computer instructions, so that the computer device executes the aforementioned expandable multi-event joint extraction method.

[0070] The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A scalable multi-event joint extraction method, It is characterized in that The following steps are involved: S1. Obtain the text data to be extracted; S2. Use the Bert-GlobalPointer architecture model to extract information about existing event types from the text, and extract each event type and its trigger words and arguments in the text; S3. Use the large language model to extract information about untrained event types from the text, and extract each event type and its trigger words and arguments in the text; S4, combine the results of S3 and S3 to obtain the final event extraction result; S5, storing the final event extraction result in a database; The step S2 comprises: S21, performing a preprocessing operation on the text data, the preprocessing operation comprising cleaning, word segmentation and part-of-speech tagging; S22, encoding the text data preprocessed in step S21 by using a Bert word segmenter to obtain vector representation data of the text; S23, performing a joint extraction of event type-event trigger word and event type-event argument on the text vector obtained in step S22 by using a regularly trained Bert-GlobalPointer architecture model; S24, constructing an undirected graph using the extraction result of S23, taking each argument and trigger word as a node on the graph, and forming edges between the arguments and trigger words of the same event; S25, searching for connected components in the undirected graph constructed in S24, decoding each connected component into an event, and performing event division; S26, combining the divided events to obtain the trained event type extraction result; The Bert-GlobalPointer framework model in step S23 is obtained by the following steps: step S01, obtaining the text to be extracted from the database; step S02, preprocessing the text data obtained in step S01, the preprocessing operation includes cleaning, word segmentation and part-of-speech tagging; S03, using the Bert word segmenter to encode the text data preprocessed in step S02 to obtain the vector representation data of the text; S04, using the GlobalPointer model to add rotational position encoding (RoPE) to the text vector of step S03, and introduce relative position information to the text vector; S05, using the GlobalPointer model to decode the text vector obtained in step S04, and jointly extract the event type-event trigger word and the event type-event argument; S06, using the text corpus in the database, setting the training step size, round, learning rate, optimizer and evaluation standard parameters, and training the Bert-GlobalPointer framework; S07, saving the training result file to obtain the Bert-GlobalPointer framework model, that is, the multi-event information joint extraction model; The step S3 includes the following steps: S31, construct an event extraction Prompt command template and transmit it to the large model; S32, obtain the event type to be extracted and the arguments included in the event of this type as an event template; S33, construct a Prompt command for extracting the event type from the event template of S32; S34, obtain the result given by the large model after S33; S35, if the result of S34 is "yes", construct a Prompt command for extracting the event trigger word; S36, obtain the result given by the large model of S35, and parse out the trigger word; S37, use the trigger word obtained by S36 to construct an argument extraction Prompt command template; S38, obtain the result given by the large model after S37, and parse out the argument of the corresponding type; S39, repeat steps S37 and S38 in sequence until all types of arguments are extracted; S310, combine the results of S36 and S38 into a standardized event output type.

2. An expandable multi-event joint extraction device, It is characterized in that include: The information extraction module of existing event types is used to extract information of existing event types from the text through the Bert-GlobalPointer model, and extract various event types and their trigger words and arguments in the text; An untrained event type information extraction module is used to extract untrained event type information from text using a large language model, and extract various event types and their trigger words and arguments in the text; A combination module, used for combining the results of the information extraction module of the existing event type and the information extraction module of the untrained event type to obtain a final event extraction result, and storing the final event extraction result in a database; and a retraining module, used for periodically inputting the database data obtained by the combination module into the Bert-GlobalPointer model for retraining; The information extraction module of the existing event type executes the following steps: S21, preprocessing the text data, the preprocessing operation includes cleaning, word segmentation and part-of-speech tagging; S22, using the Bert word segmenter to encode the text data preprocessed in step S21 to obtain the vector representation data of the text; S23, using the regularly trained Bert-GlobalPointer architecture model to jointly extract the event type-event trigger word and the event type-event argument from the text vector obtained in S22; S24, using the extraction result of S23 to construct an undirected graph, taking each argument and trigger word as a node on the graph, and forming edges between the arguments and trigger words of the same event; S25, searching for connected components in the undirected graph constructed in S24, and decoding each connected component into an event to perform event division; S26, combining the divided events to obtain the trained event type extraction result; The Bert-GlobalPointer framework model in step S23 is obtained by the following steps: step S01, obtaining the text to be extracted from the database; step S02, preprocessing the text data obtained in step S01, the preprocessing operation includes cleaning, word segmentation and part-of-speech tagging; S03, using the Bert word segmenter to encode the text data preprocessed in step S02 to obtain the vector representation data of the text; S04, using the GlobalPointer model to add rotational position encoding (RoPE) to the text vector of step S03, and introduce relative position information to the text vector; S05, using the GlobalPointer model to decode the text vector obtained in step S04, and jointly extract the event type-event trigger word and the event type-event argument; S06, using the text corpus in the database, setting the training step size, round, learning rate, optimizer and evaluation standard parameters, and training the Bert-GlobalPointer framework; S07, saving the training result file to obtain the Bert-GlobalPointer framework model, that is, the multi-event information joint extraction model; The information extraction module of the untrained event type performs the following steps: S31, constructs an event extraction Prompt command template and transmits it to the large model; S32, obtains the event type to be extracted and the arguments included in the event of this type as an event template; S33, constructs a Prompt command for extracting the event type from the event template of S32; S34, obtains the result given by the large model after S33; S35, if the result of S34 is "yes", constructs a Prompt command for extracting the event trigger word; S36, obtains the result given by the large model in 35, and parses out the trigger word; S37, uses the trigger word obtained by S36 to construct an argument extraction Prompt command template; S38, obtains the result given by the large model after S37, and parses out the argument of the corresponding type; S39, repeats steps S37 and S38 in sequence until all types of arguments are extracted; S310, combines the results of S36 and S38 into a standardized event output type.

3. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed, the expandable multi-event joint extraction method of claim 1 is implemented.

4. An electronic device comprising one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the scalable multi-event joint extraction method described in claim 1.

5. A computer program product, comprising computer instructions stored in a computer-readable medium, a processor of a computer device reading the computer instructions from the computer-readable medium, and the processor executing the computer instructions, so that the computer device executes the expandable multi-event joint extraction method described in claim 1.