Intraoperative information extraction method and surgical guidance system based on multimodal large model

Through the intraoperative information extraction method based on multi-modal large models, the problem of fusion of image information and case information in endoscopic surgery is solved, dynamic decision-making assistance and real-time information support during the surgical process are achieved, and the efficiency and quality of surgery are improved.

CN118538372BActive Publication Date: 2024-09-17SICHUAN CANCER HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411003242.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-09-17
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

During endoscopic surgery, it is difficult for doctors to quickly fuse image information and case information, resulting in prolonged surgery time and increased risks. Existing technology cannot effectively extract key information to support real-time decision-making.

Method used

An intraoperative information extraction method based on multi-modal large models is used to build a medical vector knowledge base through the data acquisition module. The monitoring module acquires endoscopic images and surgical plans, and the retrieval module performs information retrieval and fusion to generate fusion information to support surgical decision-making. . The method includes data preprocessing, fine-tuning training models, image feature extraction and information integration, using multi-modal hybrid retrieval models and the LangChain framework for semantic similarity calculation and information re-ranking.

Benefits of technology

It realizes dynamic decision-making assistance, shortens operation time, improves operation efficiency and quality, reduces doctor errors, provides real-time lesion prompts and graphic operation reports, and enhances doctors' abilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538372B
    Figure CN118538372B
Patent Text Reader

Abstract

The present invention belongs to the field of image information processing technology, and provides an intraoperative information extraction method and a surgical guidance system based on a multimodal large model. The intraoperative information extraction method and surgical guidance system based on a multimodal large model include step 1, a data acquisition module acquires external medical data for building a medical vector knowledge base; step 2, a monitoring module acquires endoscopic images and surgical plans, gives surgical instruction guidance, and monitors whether the current surgical process is the same as the surgical plan; step 3: the retrieval module retrieves from the medical vector knowledge base according to the questions raised by the doctor and generates contextual information; in the technical solution provided in this application, the retrieval module extracts key information related to the surgical process, and then organizes it into fusion information for the doctor's surgery, so that the doctor has relevant reference information during the operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image and language processing, and in particular to an intraoperative information extraction method and a surgical guidance system based on a multimodal large model. Background Art

[0002] An endoscope is an optical instrument that uses visual inspection and reflection to conceal the body cavity. During the operation, the doctor who performs endoscopic surgery can only view the patient's internal body conditions through the monitor. However, since the patient's preoperative examination is an external examination, it is not completely accurate. During the endoscopic surgery, it may be found that the patient's actual condition is different from the condition examined in advance, and the previous surgical plan will become invalid. At this time, the doctor needs to temporarily change the surgical plan according to the patient's actual situation.

[0003] When the actual situation is different from the surgical plan, the doctor needs to judge the information transmitted back during the endoscopic surgery. Because during the surgery, not only the image information but also the rest of the clinical case information needs to be considered. When new emergencies occur, it is difficult for the doctor to quickly consider a large amount of case information and image information comprehensively, which leads to prolonged endoscopic surgery and increased surgical risks.

[0004] Therefore, there is an urgent need for an information extraction method that can help doctors fuse image information and case information to obtain fused information. Summary of the invention

[0005] As a first aspect of the present application, in order to solve the problem that key information cannot be extracted during endoscopic surgery to help doctors make surgical decisions, the present application provides an intraoperative information extraction method based on a multimodal large model, comprising the following steps:

[0006] Step 1: The data acquisition module acquires external medical data for building a medical vector knowledge base;

[0007] Step 2: The monitoring module obtains the endoscopic image and the surgical plan, gives surgical instruction guidance, and monitors whether the current surgical process is consistent with the surgical plan;

[0008] If the current surgical process is the same as the surgical plan, the monitoring module sends guidance information to the display module;

[0009] If the current surgical process is different from the surgical plan, the monitoring module sends the endoscopic image to the retrieval module;

[0010] Step 3: The retrieval module searches the medical vector knowledge base based on the questions raised by the doctor and generates context information;

[0011] Step 4, the retrieval module sends the retrieved context information, the questions for generating the context information, and the surgical plan to the fusion module, and the fusion module generates a prompt based on the context information, the questions for generating the context information, and the surgical plan, and sends the prompt to the analysis module;

[0012] Step 5: The analysis module generates fusion information of the surgery based on the prompt and the endoscopic image.

[0013] In the technical solution provided in the present application, endoscopic images, doctor's questions and retrieved related information are input into a retrieval module together, so that the retrieval module extracts image information related to the surgical process, and then organizes it into fused information of the surgery for the doctor's questions. Because the fused information of the surgery integrates case information and image information, it can be used as a reference for surgical decisions, thereby improving the doctor's surgical efficiency.

[0014] Further, step 2 includes the following steps:

[0015] Step 21: The monitoring module obtains the surgical plan, decomposes the surgery into several surgical processes according to the surgical plan, and obtains the surgical process in the current surgical plan according to the identification information;

[0016] Step 22: The monitoring module acquires the endoscopic image, extracts image features from the endoscopic image, and then sends the image features to the information integration module, which outputs the current surgical process;

[0017] Step 23: When the surgical process in the surgical plan is the same as the current surgical process, the monitoring module sends guidance information to the display module;

[0018] When the surgical process in the surgical plan is different from the current surgical process, the monitoring module sends the endoscopic image to the retrieval module.

[0019] Furthermore, the step 3 specifically includes the following steps:

[0020] Step 31, the retrieval module pre-searches the medical vector knowledge base;

[0021] Step 32: The doctor inputs a question to the retrieval module through the input module, and the retrieval module calculates the similarity between the question and the block in the medical vector knowledge base to extract the context sequence, where the block in the medical vector knowledge base is a paragraph of text in the medical vector knowledge base;

[0022] Step 33: The retrieval module calculates the semantic similarity between each context in the context sequence and the question through the LangChain framework, re-ranks the retrieved context, and relocates the context most relevant to the question to the output position, thereby outputting the context information.

[0023] Furthermore, pre-retrieval includes enhancing data granularity, optimizing index structure, adding metadata, alignment optimization, and hybrid retrieval.

[0024] Furthermore, the retrieval module includes a multimodal hybrid retrieval model, and an endoscopic surgery medical database is pre-established;

[0025] In step 32, fine-tuning training is performed on the multimodal hybrid retrieval model for extracting the context sequence;

[0026] The fine-tuning training process includes the following steps:

[0027] S1: Pre-train a text encoder on a medical vector knowledge base;

[0028] S2: Train the image-text projection layer of the multimodal hybrid retrieval model on the endoscopic surgery medical database and freeze the other parts of the multimodal hybrid retrieval model;

[0029] S3: Continuously train the text encoder and the image-text projection layer of the multimodal hybrid retrieval model.

[0030] Step 5 includes the following steps:

[0031] Step 51: sending the endoscopic image to the Vision Encoder module, which extracts the endoscopic image into an image feature sequence, and compresses the image feature sequence into a sequence with a fixed length of 256;

[0032] Step 52: The mapping structure FM maps the image feature sequence to the text content to obtain mapping information;

[0033] Step 53: The information integration module has a built-in Qwen-VL-Plus model. The information integration module receives mapping information and prompts, and inputs the mapping information and prompts into the Qwen-VL-Plus model to obtain answers and new surgical plans.

[0034] Furthermore, in the Vision Encoder module, a Vision Encoder model is used, which encodes the input image and extracts the tag embedding from the last layer. At the same time, the feature embedding from the penultimate layer of ViT is also used to achieve a more complete representation.

[0035] Furthermore, the mapping structure FM consists of two components: a 2-layer MLP and a Transformer block;

[0036] The Transformer block uses a 2-layer multi-layer perceptron to convert the image feature sequence into a visual embedding of size;

[0037] The Transformer block uses cross-attention with text queries to achieve query-aware image feature mapping and then convert image features into text.

[0038] As a second aspect of the present application, the present application provides a surgical guidance system, including a data acquisition module, a monitoring module, a retrieval module and an analysis module. The surgical guidance system extracts surgical fusion information based on the aforementioned intraoperative information extraction method based on the multimodal large model.

[0039] The beneficial effects of this application are:

[0040] (1) The present invention builds dynamic decision-making support capabilities in endoscopic surgery, and can provide corresponding medical and surgical guidance based on real-time changes during the operation. The present invention can timely understand the changes in lesion tissue during the operation. When encountering unexpected situations or complex lesions, the present invention can provide corresponding cases and auxiliary multi-disciplinary medical knowledge support based on the actual situation during the operation.

[0041] (2) The present invention provides an artificial intelligence-based endoscopic digital surgery intelligent guidance assistant system that can assist doctors in the entire endoscopic surgical process, shorten the operation time and improve the operation efficiency, while ensuring the stability and consistency of the surgical quality.

[0042] (3) The present invention mainly provides real-time assistance to doctors performing endoscopic surgery. The assisted surgery system can provide real-time prompts of suspicious lesions, surgical steps and precautions, quick prompts of relevant information, and automatically generated graphic and text surgical reports. This greatly reduces the workload of doctors, allowing them to focus more on the surgery itself.

[0043] (4) The present invention utilizes the clinical application of artificial intelligence to improve the digital surgical experience, helping to reduce physician errors, provide consistency, and enhance the surgeon's capabilities in endoscopic surgery. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 Flow chart of the screening method for endoscopic operation information based on a multimodal macro model. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0047] Embodiment 1: A method for screening endoscopic operation information based on a multimodal large model is applied to endoscopic surgery. The method extracts fusion information from a massive database based on endoscopic images transmitted during endoscopic surgery, interactive information from doctors, and surgical plans, so that doctors can use the fusion information to quickly generate new surgical plans.

[0048] The endoscopic image is the video stream information transmitted in real time by the end camera of the endoscope. In actual endoscopic surgery, the doctor performs the surgery based on the endoscopic image transmitted back. Correspondingly, in this application, these endoscopic images are collected for screening of endoscopic operation information.

[0049] like Figure 1 As shown, the screening method of endoscope operation information based on the multimodal large model includes the following steps:

[0050] Step 1: The data acquisition module acquires external medical data for building a medical vector knowledge base.

[0051] like Figure 1As shown, this solution organizes a large amount of external medical data, including data in the endoscopic surgery knowledge base, endoscopic surgery practical guide data, hospital endoscopic surgery accumulated data, endoscopic surgery instructions and operation data, clinical medicine knowledge base, and general surgery knowledge base. In addition to the data sources listed above, it can also be a self-built database.

[0052] After collecting a large amount of external medical data, the documents need to be processed. The main processing method is to segment the documents of each data, then convert the segmented documents into document vectors, and then store the document vectors in the vector database to form a medical vector knowledge base. How to convert documents into vectors is an existing technology and will not be explained here.

[0053] In order to increase the accuracy of the generated fusion information, the collected documents are divided into natural paragraphs in this application.

[0054] Step 2: The monitoring module obtains the endoscopic image and the surgical plan, gives surgical instruction guidance, and monitors whether the current surgical process is consistent with the surgical plan;

[0055] If the current surgical process is the same as the surgical plan, the monitoring module sends guidance information to the display module;

[0056] If the current surgical process is different from the surgical plan, the monitoring module sends the endoscopic image to the retrieval module.

[0057] Furthermore, the surgical plan includes surgical procedures and identification information of each surgical procedure.

[0058] Although the specific execution method of endoscopic surgery for each patient is different. However, each small step of endoscopic surgery has specific specifications and requirements. Therefore, the endoscopic surgery of each different patient can be decomposed into several surgical processes. After each surgical process is completed, there will be a corresponding node, which is the identification information of the surgical process. For example, when clamping a vegetation, you can finally see a photo of the vegetation removal. The photo at this time is the identification information of the surgical process of clamping the vegetation.

[0059] Furthermore, after being compiled by the compiler, the guidance information is one or more of a video showing the operation of the surgical process, an operation description of the surgical process, and a schematic diagram showing the operation of the surgical process.

[0060] Guidance information is mainly used to guide doctors during the operation. Therefore, in practice, relevant videos, schematic diagrams, and operation instructions of the corresponding operation process can be shown to doctors. Doctors can understand the key points of the current operation process based on the aforementioned guidance information, thereby facilitating the rapid progress of the operation.

[0061] The step 2 specifically includes the following steps:

[0062] Step 21: The monitoring module obtains the surgical plan, decomposes the surgery into several surgical processes according to the surgical plan, and obtains the surgical process in the current surgical plan based on the identification information.

[0063] Before the patient undergoes endoscopic surgery, the doctor will generate an endoscopic surgery plan based on the in vitro diagnostic data. This plan is the surgical plan mentioned in this application, so before the patient starts the endoscopic surgery, the surgical plan is input into the monitoring module, so that the monitoring module can decompose the surgical plan into several surgical processes. Each surgical process is set with corresponding identification information, and then the monitoring module can determine which surgical process the current operation should be performed to based on the received identification information. This surgical process is the surgical process in the surgical plan, which has nothing to do with the actual process and is only related to the previously received identification information.

[0064] Step 22: The monitoring module acquires the endoscopic image, extracts image features from the endoscopic image, and then sends the image features to the information integration module, which outputs the current surgical progress.

[0065] The monitoring module determines whether the current surgical process is the surgical process in the surgical plan based on the endoscopic image.

[0066] During endoscopic surgery, endoscopic images are continuously collected. After the endoscopic images are collected, they can be analyzed. Based on the analysis of the endoscopic images, it can be determined whether the current endoscopic images are the surgical process in the surgical plan.

[0067] If it is found that the surgical process analyzed from the current endoscopic image is not the surgical process in the surgical plan, it means that the endoscopic surgical situation is different from the actual surgical situation, so the surgical process needs to be adjusted.

[0068] In the solution provided in the present application, whether the current surgical process is the surgical process in the surgical plan is determined by processing based on the information integration module.

[0069] The specific judgment method of the information integration module will be introduced later. However, the monitoring module needs to convert the image information into information that can be read by the information integration module. Here, the detection module converts the image information into information that can be read by the information integration module using the corresponding solution in the Vision Encoder module.

[0070] Step 23: When the surgical process in the surgical plan is the same as the current surgical process, the monitoring module sends guidance information to the display module;

[0071] When the surgical process in the surgical plan is different from the current surgical process, the monitoring module sends the endoscopic image to the retrieval module.

[0072] For example, the left side of the electronic interface of the display module is the endoscopic image; the upper right side is the fusion information given based on the surgical plan. The electronic interface is the electronic interface of the display module. It is mainly used to display the fusion information and the endoscopic image.

[0073] Step 3: The retrieval module searches the medical vector knowledge base based on the questions raised by the doctor and generates contextual information.

[0074] The retrieval module uses RAG for information retrieval, which combines the retrieval stage and the generation stage. RAG includes a preliminary retrieval model and a multimodal hybrid retrieval model.

[0075] In the retrieval stage, in the multimodal hybrid retrieval model, RAG retrieves text fragments that are highly relevant to the question from the pre-built knowledge base based on the user's input question. The construction method of the knowledge base can refer to the construction method of the medical vector knowledge base in step 1.

[0076] Generation phase: Combine the user's input question with the retrieved text fragments, input into the multimodal hybrid retrieval model for comprehensive processing and understanding, and finally generate high-quality response output that meets user needs. Through the close combination of these two steps, RAG gives the multimodal hybrid retrieval model the ability to acquire external knowledge, fundamentally solving the problems of singleness and limitations caused by relying solely on internal training data. The multimodal hybrid retrieval model is a Large Language Model, which refers to a deep learning model trained using a large amount of text data. The specific model structure is a common technical means in this field.

[0077] The step 3 specifically includes the following steps:

[0078] Step 31: The retrieval module performs a pre-search on the medical vector knowledge base.

[0079] The role of pre-search is to optimize data indexing. The goal of pre-search is to improve the quality of indexed content. Pre-search includes enhancing data granularity, optimizing index structure, adding metadata, alignment optimization and hybrid retrieval.

[0080] (1) Enhancing data granularity aims to improve the standardization, consistency, factual accuracy, and context enrichment of text to improve the performance of RAG, including removing irrelevant information, eliminating ambiguity of entities and terms, confirming factual accuracy, maintaining context, and updating outdated documents.

[0081] (2) Optimizing the index structure involves adjusting the size of blocks to capture relevant context, querying across multiple index paths, and leveraging node relationships in the graph structure to capture relevant context.

[0082] (3) Adding metadata involves integrating reference metadata into chunks for filtering and integrating reference metadata of chapters and subsections to improve retrieval efficiency.

[0083] (4) Alignment optimization solves alignment problems and differences between documents by introducing “hypothetical questions” into the documents.

[0084] (5) Hybrid retrieval performs retrieval fusion through multi-way recall, such as sparse retrieval of BM25 and dense retrieval of deep learning models.

[0085] Enhancing data granularity, optimizing index structure, adding metadata, alignment optimization and hybrid retrieval are key steps to improve RAG retrieval performance. These steps work together to improve the accuracy and efficiency of retrieval. Specifically, the processing method is a prior art and is not described in detail in this application.

[0086] Step 32: The doctor inputs a question to the retrieval module through the input module, and the retrieval module calculates the similarity between the question and the block to identify the information in the medical vector knowledge base and obtain a context sequence;

[0087] During endoscopic surgery, doctors input questions into the retrieval module through the input module. After receiving the questions, the retrieval module retrieves the context related to the questions from the medical vector knowledge base based on the RAG retrieval technology.

[0088] Specifically, if the doctor finds that the actual condition of the patient is different from the condition examined in advance during the endoscopic surgery, the previous surgical plan will become invalid, and the doctor will ask questions to the search module;

[0089] If the actual condition is the same as the condition in the previous examination, but the doctor has doubts during the operation, the doctor will ask the retrieval module questions without indicating that the surgical plan is invalid. So in either case, the retrieval module will retrieve contextual information based on the questions raised by the doctor.

[0090] Furthermore, in step 32, the context sequence is obtained by fine-tuning the embedding model to enhance the relevance of the retrieval.

[0091] The fine-tuned embedding model in this application is: a multimodal hybrid retrieval model.

[0092] The fine-tuning training process is as follows:

[0093] S1: Pre-train a text encoder on a medical vector knowledge base.

[0094] S2: Train the image-text projection layer of the multimodal hybrid retrieval model on the endoscopic surgery medical database and freeze the other parts of the multimodal hybrid retrieval model.

[0095] The endoscopic surgery medical database is a pre-established database that is different from the medical vector knowledge base. The data in the endoscopic surgery medical database includes endoscopic surgery videos and corresponding text explanation information.

[0096] In this stage, only the projected image vectors are used for retrieval, which aims to prevent the model from over-relying on text information. That is, the image-text projection layer in the multimodal hybrid retrieval model is adjusted according to the training data, and the remaining layers or the remaining weight information are frozen and do not change.

[0097] S3: Continuously train the text encoder and the image-text projection layer of the multimodal hybrid retrieval model.

[0098] In S1~S3, the main use is made of the multimodal hybrid retrieval model, which can integrate text retrieval and image retrieval with each other and understand the function of image information.

[0099] Step 33: The retrieval module calculates the semantic similarity between each context in the context sequence and the question through the LangChain framework, re-ranks the retrieved context, and relocates the context most relevant to the question to the output position, thereby outputting the context information.

[0100] The output position is the position after the context ranking and close to the front that can be output by the search module. After searching the question raised by the doctor, the search module can obtain the context information.

[0101] Specifically, in step 33, the text query consists of an instruction and a question, and the present scheme uses a language model with hidden size to obtain embeddings of all tokens.

[0102] In step 4, the retrieval module sends the retrieved context information, questions for generating context information, and surgical plan to the fusion module. The fusion module generates a prompt based on the context information, questions for generating context information, and surgical plan, and sends the prompt to the analysis module.

[0103] Step 5: The analysis module generates fusion information of the surgery based on the prompt and the endoscopic image.

[0104] Furthermore, step 5 includes the following steps:

[0105] Step 51: Send the endoscopic image to the Vision Encoder module. The Vision Encoder module extracts the endoscopic image into an image feature sequence. The Vision Encoder module compresses the image feature sequence into a sequence with a fixed length of 256.

[0106] Specifically, in the Vision Encoder module, a Vision Encoder model is used, which encodes the input image and extracts the tag embedding from the last layer. At the same time, the feature embedding from the penultimate layer of ViT is also used to achieve a more complete representation.

[0107] Step 52: The mapping structure FM maps the image feature sequence to the text content to obtain mapping information.

[0108] Among them, the mapping structure FM consists of two components: a 2-layer MLP and a Transformer block.

[0109] The Transformer block uses a 2-layer multi-layer perceptron to convert the image feature sequence into a visual embedding of size.

[0110] The Transformer block uses cross-attention with text queries to achieve query-aware image feature mapping and then convert image features into text.

[0111] Step 53: The information integration module has a built-in Qwen-VL-Plus model. The information integration module receives mapping information and prompts, and inputs the mapping information and prompts into the Qwen-VL-Plus model to obtain surgical fusion information.

[0112] The Qwen-VL-Plus model is a large data model well known to those skilled in the art, and its specific structure will not be described again.

[0113] After being compiled by the compiler, the fusion information of the operation becomes the answer to the question and a new operation plan.

[0114] If the question raised by the doctor does not contain any content indicating that the surgical plan is invalid, the multimodal large model will give an answer to the question raised by the doctor. The answer comes from the context-related information retrieved by the multimodal hybrid retrieval model from the medical vector knowledge base based on the question. The context-related information is sorted out and the fusion information of the surgery is given. After being parsed by the compiler, the answer to the corresponding question is obtained, and then the answer is displayed on the electronic interface of the display module.

[0115] If the question raised by the doctor contains content that indicates the surgical plan is invalid, the multimodal large model will analyze the endoscopic image, surgical plan, context-related information and the question to obtain fusion information of the surgery. After the fusion information of the surgery is compiled by the compiler, a new surgical plan and answers to the questions are obtained, which are then displayed on the electronic interface.

[0116] Embodiment 2: A surgical guidance system, including a data acquisition module, a monitoring module, a retrieval module and an analysis module, wherein the surgical guidance system extracts the fusion information of the surgery based on the intraoperative information extraction method based on the multimodal large model provided in Embodiment 1. Among them, the data acquisition module is used to construct a medical vector knowledge base; the monitoring module is used to acquire endoscopic images and surgical plans, give surgical instruction guidance, and monitor whether the current surgical process is the same as the surgical plan. If the current surgical process is the same as the surgical plan, the monitoring module sends guidance information to the display module; if the current surgical process is different from the surgical plan, the monitoring module sends the endoscopic image to the retrieval module; the retrieval module retrieves from the medical vector knowledge base according to the questions raised by the doctor, generates context information, and then sends the retrieved context information, the questions that generate the context information, and the surgical plan to the fusion module, and the fusion module generates prompts based on the context information, the questions that generate the context information, and the surgical plan; the analysis module generates the fusion information of the surgery based on the prompt and the endoscopic image.

[0117] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which 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. An intraoperative information extraction method based on a multimodal large model, characterized by: The steps include: Step 1: The data acquisition module acquires external medical data for building a medical vector knowledge base; Step 2: The monitoring module obtains the endoscopic image and the surgical plan, gives surgical instruction guidance, and monitors whether the current surgical process is consistent with the surgical plan; If the current surgical process is the same as the surgical plan, the monitoring module sends guidance information to the display module; If the current surgical process is different from the surgical plan, the monitoring module sends the endoscopic image to the retrieval module; Step 3: The retrieval module searches the medical vector knowledge base based on the questions raised by the doctor and generates context information; Step 4, the retrieval module sends the retrieved context information, the questions for generating the context information, and the surgical plan to the fusion module, and the fusion module generates a prompt based on the context information, the questions for generating the context information, and the surgical plan, and sends the prompt to the analysis module; Step 5, the analysis module generates fusion information of the surgery based on the prompt and the endoscopic image; Step 2 includes the following steps: Step 21: The monitoring module obtains the surgical plan, decomposes the surgery into several surgical processes according to the surgical plan, and obtains the surgical process in the current surgical plan according to the identification information; Step 22: The monitoring module acquires the endoscopic image, extracts image features from the endoscopic image, and then sends the image features to the information integration module, which outputs the current surgical process; Step 23: When the surgical process in the surgical plan is the same as the current surgical process, the monitoring module sends guidance information to the display module; When the surgical process in the surgical plan is different from the current surgical process, the monitoring module sends the endoscopic image to the retrieval module; The step 3 specifically comprises the following steps: Step 31, the retrieval module pre-searches the medical vector knowledge base; Step 32: The doctor inputs a question to the retrieval module through the input module, and the retrieval module calculates the similarity between the question and the block in the medical vector knowledge base to extract the context sequence, where the block in the medical vector knowledge base is a paragraph of text in the medical vector knowledge base; Step 33: The retrieval module calculates the semantic similarity between each context in the context sequence and the question through the LangChain framework, re-ranks the retrieved contexts, and relocates the context most relevant to the question to the output position, thereby outputting the context information; Step 5 includes the following steps: Step 51: sending the endoscopic image to the Vision Encoder module, the Vision Encoder module extracts the endoscopic image into an image feature sequence, and the Vision Encoder module compresses the image feature sequence into a sequence with a fixed length of 256; Step 52: The mapping structure FM maps the image feature sequence to the text content to obtain mapping information; Step 53: the information integration module has a built-in Qwen-VL-Plus model, the information integration module receives mapping information and prompt, and inputs the mapping information and prompt into the Qwen-VL-Plus model to generate fusion information of the surgery; External medical data include data in the endoscopic surgery knowledge base, endoscopic surgery practical guide data, hospital endoscopic surgery accumulated data, endoscopic surgery instructions and operation data, clinical medicine knowledge base, and general surgery knowledge base.

2. The intraoperative information extraction method based on a multimodal large model according to claim 1, characterized in that: Divide documents in external medical data into natural paragraphs.

3. The method for extracting intraoperative information based on a multimodal large model according to claim 1, characterized in that: Pre-retrieval includes enhancing data granularity, optimizing index structure, adding metadata, alignment optimization, and hybrid retrieval.

4. The method for extracting intraoperative information based on a multimodal large model according to claim 1, characterized in that: The retrieval module includes a multimodal hybrid retrieval model and a pre-established endoscopic surgery medical database; In step 32, fine-tuning training is performed on the multimodal hybrid retrieval model for extracting the context sequence; The fine-tuning training process includes the following steps: S1: Pre-train a text encoder on a medical vector knowledge base; S2: Train the image-text projection layer of the multimodal hybrid retrieval model on the endoscopic surgery medical database and freeze the other parts of the multimodal hybrid retrieval model; S3: Continuously train the text encoder and the image-text projection layer of the multimodal hybrid retrieval model.

5. A surgical guidance system, characterized in that: The surgical guidance system uses the intraoperative information extraction method based on a multimodal large model according to any one of claims 1 to 4 to extract fusion information of the surgery. The surgical guidance system includes: Data acquisition module, used to build a medical vector knowledge base; The monitoring module is used to obtain the endoscopic image and the surgical plan, give surgical instruction guidance, and monitor whether the current surgical process is the same as the surgical plan. If the current surgical process is the same as the surgical plan, the monitoring module sends the guidance information to the display module; if the current surgical process is different from the surgical plan, the monitoring module sends the endoscopic image to the retrieval module; The retrieval module searches the medical vector knowledge base according to the questions raised by the doctor, generates context information, and then sends the retrieved context information, the questions that generate the context information, and the surgical plan to the fusion module. The fusion module generates a prompt based on the context information, the questions that generate the context information, and the surgical plan. The analysis module generates fusion information of the surgery based on the prompt and endoscopic images.