A multi-modal vertical large model construction method for sewer network disease diagnosis
By constructing a multimodal vertical large model, the problem of taking into account the characteristics of karst areas in the detection of drainage pipe network defects was solved. It realizes the combination of spatial information inside and around the pipe, outputs diagnostic conclusions that comply with the regulations, and provides traceable detection evidence.
Patent Information
- Application Number
- CN202611602638.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies struggle to take into account the characteristics of karst areas in the detection of defects in drainage pipe networks, cannot effectively combine information from inside and around the pipe, and large models may exhibit non-compliant reasoning paths when generating defect diagnosis reports, and lack physically measurable mutual verification.
A multimodal vertical large model is constructed. A diagnostic sample set is generated by collecting pipe segment samples. Four-dimensional coordinates of pipe segments are established for four-dimensional anchor registration. A drainage network disease diagnosis model is defined, including coded sampling units, asymmetric physical mutual verification units and base models. Evidence topology learning and low-rank parameter optimization are performed to generate a disease prototype library and output the disease diagnosis probability and evidence topology relationship.
It enables the detection of defects in karst areas to take into account both the spatial information inside and around the pipe, output diagnostic conclusions that comply with the procedures, avoid inference paths that do not comply with the procedures, and provide traceable detection evidence.
Smart Images

Figure CN123138935A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of drainage pipe network defect detection and multimodal data fusion technology, specifically, to a method for constructing a multimodal vertical large model for drainage pipe network defect diagnosis. Background Technology
[0002] Drainage pipes are a core component of urban underground infrastructure, responsible for transporting rainwater and sewage. They are prone to structural and functional defects due to factors such as pipe aging, construction deviations, water erosion, chemical corrosion, road loads, and ground deformation. Closed-circuit television (CCTV) is commonly used for detecting defects in drainage pipes. While CCTV can record the texture of the pipe wall, the condition of joints, and visible defects, it is susceptible to obstruction by sewage, deposits, uneven lighting, and lens contamination. Furthermore, it cannot directly observe the outer surface of the pipe wall and the surrounding strata. Ground-penetrating radar (GPR) can obtain dielectric differences and reflection anomalies around the pipe from surface or well survey lines, and is capable of detecting voids, water-rich areas, or loose areas. However, GPR profiles cannot directly identify the type of defect within the pipe, and their spatial location can be affected by survey line location, propagation velocity estimation, and ground heterogeneity. Meanwhile, in karst areas, the presence of fissures, caves, groundwater channels, and uneven soil-rock interfaces can cause fine particle loss and induce voids around the pipe. Existing karst voids can also cause pipe misalignment, unevenness, deformation, or rupture. Therefore, especially in karst areas, simply observing the inner surface of the pipe is insufficient to fully determine the causes of damage and the risks around the pipe.
[0003] When applying large models to detect defects in drainage pipes, using fixed low-rank adapters can reduce fine-tuning parameters, but the same parameter increment cannot simultaneously adapt to CCTV visual texture, ground-penetrating radar evidence topology, karst environment, and procedural logic. While selecting multiple low-rank experts via routers can differentiate tasks, their parameter selection is usually determined by task labels or input semantics, failing to reflect the evidence topology and physical coupling of the current pipe segment, and also hindering the tracing of parameter update basis. Furthermore, although directly generating diagnostic reports using large models may result in contradictions between defect categories, defect levels, and treatment recommendations, the implementation process only performs keyword checks after text generation, which cannot prevent the model from entering inference paths that do not conform to the procedures during generation; the model may also arrive at seemingly reasonable conclusions based on linguistic priors but lacking sufficient detection evidence.
[0004] Therefore, a technical solution is needed to construct a diagnostic model for drainage pipe network defects, which not only takes into account the characteristics of karst areas when detecting defects, but also considers the space inside and around the pipe network, preserves the modal sources and uncertainties, performs physical measurable mutual verification, and performs low-rank optimization based on the evidence topology to achieve the diagnosis of drainage pipe network defects. Summary of the Invention
[0005] To achieve the above objectives, this application provides a method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects, comprising the following steps: Collect pipe segment samples to generate a pipe segment diagnostic sample set; the pipe segment samples include pipe segment information and labels, and the labels are the types of defects corresponding to the pipe segment information; the modal sources of the pipe segment information include CCTV information, ground penetrating radar information and structured records; Based on the pipe segment diagnostic sample set, a four-dimensional coordinate system for the pipe segment is established. The four-dimensional anchor band is registered to the four-dimensional coordinate system of the pipe segment to generate evidence atoms and construct an evidence atom diagram. The information of the evidence atom includes evidence type, four-dimensional coordinate system of the pipe segment, quality weight, modality source and atom conflict state. A drainage pipe network defect diagnosis model is defined, comprising an encoding sampling unit, an asymmetric physical verification unit, and a base model. Evidence topology learning parameters are set in the attention projection layer and feedforward layer of the base model to form an evidence topology coupling low-rank adaptation unit, used to generate low-rank parameter increments. The asymmetric physical verification unit includes a first physical quantity prediction head and a second physical quantity prediction head, used to perform asymmetric physical verification to generate consistent results and construct and update a defect prototype library. After the drainage pipe network defect diagnosis model is trained, the defect prototype library is fixed. The consistent results include: three-state relationships, conflict states, verification consistency degree, and defect prototype similarity. The model for diagnosing drainage pipe network defects is trained based on evidence atoms, thus completing the construction of the model. The output of the model includes the defect diagnosis probability, defect level, three-state relationship, and valid evidence set. The three-state relationship includes internal and external coupling anomaly, pipe-only anomaly, and pipe-only periphery anomaly.
[0006] Establishing the four-dimensional coordinates of the pipe segment includes the following steps: Determine the positive mileage direction of each pipe segment number; Determine the circumferential angle of the center of the image defect area corresponding to the pipe segment number. ; Determine the radial depth of the image defect area corresponding to the pipe segment number, from the pipe wall outwards. and axial mileage Among them, the radial depth of the CCTV disease area =0; The four-dimensional coordinates of each pipe segment number are used as four-dimensional anchor points, represented as follows: ,in, For the first Each pipe section number, For axial mileage, It is the circumferential angle. It represents the radial depth from the pipe wall outwards.
[0007] Among them, four-dimensional anchor registration includes coarse anchor positioning and event-based fine anchor correction; Coarse anchor band positioning refers to: using the start and end manholes as control points, using image defect areas as candidate defect detection areas, and defining the pairing range by the pipe segment numbers where the CCTV mileage and ground-penetrating radar survey line mileage are located. Based on the mileage direction, an initial anchor band correspondence is established between the CCTV defect area and the ground-penetrating radar anomaly area; the initial anchor band correspondence includes the CCTV event sequence. and ground-penetrating radar anomaly sequences ; Event fine anchor band correction refers to: calculating CCTV event sequences and ground-penetrating radar anomaly sequences Local mileage correction based on a one-to-one correspondence of feature relationships established by sequence number Determine the local mileage correction amount Is it within the allowable offset range? If the local mileage correction is... If the offset exceeds the allowed range, cancel the corresponding CCTV event sequence. With ground-penetrating radar anomaly sequence One-to-one correspondence; CCTV event sequences that retain one-to-one correspondence. and ground-penetrating radar anomaly sequences The combination of pipe segment number, location information, pipe segment attributes, and environmental information constitutes effective multi-source information; Constructing the evidence atom graph includes: Effective multi-source information is broken down into multiple elements, and the quality weight and atomic conflict state of each element are defined to generate evidence atoms. The quality weight is used to comprehensively characterize the credibility of the evidence atom in terms of data clarity, positioning reliability, sensor working status, and consistency with adjacent evidence. Based on the relationships between evidence atoms, a graph edge is constructed to form an evidence atom graph. The relationships include spatial proximity, the same event, internal and external coupling, possible causality, and procedural relationships.
[0008] Furthermore, the encoding sampling unit includes a CCTV visual encoder, a ground-penetrating radar evidence map encoder, and an evidence lexical resampler; The CCTV visual encoder is used to extract evidence terms from CCTV evidence atoms to form CCTV evidence. The ground-penetrating radar evidence map encoder is used to extract evidence words from ground-penetrating radar evidence atoms to form ground-penetrating radar evidence. The evidence lexical resampler resamples the linear projection evidence features to form an evidence lexical sequence; wherein, the linear projection evidence features are the evidence features after linear projection of CCTV evidence and ground-penetrating radar evidence output from CCTV visual encoder and ground-penetrating radar evidence map encoder; the evidence lexical sequence is an evidence feature sequence carrying modality source encoding, four-dimensional anchor point encoding, quality weight encoding and conflict encoding.
[0009] Asymmetric physical verification refers to predicting target quantities with different modal physical meanings from CCTV evidence and ground-penetrating radar evidence, respectively, including: The first physical quantity prediction head takes CCTV evidence words as input and predicts the radial depth, range along the pipe wall, corresponding circumferential area and anomaly type distribution of the ground penetrating radar anomaly area; the second physical quantity prediction head takes ground penetrating radar evidence words as input and predicts CCTV disease type, circumferential location, severity and distribution of accompanying signs. The prediction results in both directions are compared with the actual evidence atoms in the evidence atom diagram to determine the error and calculate the mutual evidence consistency.
[0010] Furthermore, the rules for determining the three-state relationship include: when both bidirectional prediction results meet the preset error conditions and the disease mechanism is compatible, it is determined to be an internal and external coupling anomaly; when there is valid evidence only in the CCTV evidence direction and no mutually verifiable valid anomaly evidence in the ground penetrating radar evidence direction, it is determined to be an internal anomaly only; when there is valid evidence only in the ground penetrating radar evidence direction and no mutually verifiable valid disease evidence in the CCTV evidence direction, it is determined to be a peripheral anomaly only; where bidirectional prediction results refer to the prediction results of the first physical quantity prediction head and the second physical quantity prediction head. Conflict state refers to a situation where CCTV evidence and ground-penetrating radar evidence are inconsistent in location, disease type, disease level, or disease mechanism during two-way prediction. Mutual verification consistency The consistency score is obtained by comprehensively comparing the degree of matching between the two-way prediction results and the corresponding actual evidence in terms of four-dimensional anchor points, disease types, disease ranges and disease mechanisms, and by weighting and fusing the two-way matching results. Disease prototype similarity refers to the similarity between the current sample evidence and each disease prototype. The degree of similarity represents the degree of matching between the current sample and the typical evidence features of various diseases.
[0011] Among them, the prototype of the disease It is a feature set composed of typical evidence atoms of a certain type of disease, which is constructed during the model training of the asymmetric physical mutual verification unit; the prototype of each type of disease This includes in-pipe sub-slots, peri-pipe sub-slots, and coupling sub-slots; When judging typical evidence atoms, through the first Mass weight of each evidence atom Consistency with mutual verification Joint weighted generation of typical indicators If typical indicators If the evidence atoms exceed a specified threshold, they constitute elements of the disease prototype corresponding to the manually labeled disease type. When constructing and updating the disease prototype library, if the three-state relationship is abnormally coupled internally and externally, the evidence atom is added to the disease prototype in the disease prototype library. The coupling sub-slot; if the three-state relationship is only an anomaly within the tube, the evidence atom is added to the disease prototype. The sub-slot within the tube; if the three-state relationship is only a peripheral anomaly, the evidence atoms are added to the disease prototype. The tube groove.
[0012] Furthermore, the base model employs a pre-trained model with Chinese understanding and autoregressive generation capabilities; The evidence topology learning parameters include CCTV evidence basis, ground-penetrating radar evidence basis, and karst environment basis; The learning parameters for extracting features from the disease prototype library and the procedure state diagram are defined as the disease semantic base and the procedure logical base. The evidence topology coupling low-rank adaptation unit includes: a multimodal evidence basis matrix, a semantic rule basis matrix, and a coupling core matrix generator; it combines the evidence topology learning parameters into a multimodal evidence basis matrix. The semantic basis of the disease and the logical basis of the procedure are combined into a semantic rule basis matrix. The coupling core matrix generator extracts node summaries, edge type statistics, and quality weights of evidence atoms from the topology of the evidence atom graph, and combines these with the consistency results to form the coupling core matrix. ; Through multimodal evidence basis matrix Semantic rule basis matrix and coupling core matrix Calculate the first Layer low-rank parameter increment This allows parameter updates to dynamically change with the evidence structure of the current sample, outputting the disease diagnosis probability distribution and disease level; The valid evidence set is combined with the procedure state diagram to apply procedure constraints before being updated.
[0013] Among them, the procedure state diagram is a pre-compiled and generated state rule base, including rule units and state nodes; The rule status corresponding to the current diagnosis is determined by the procedure status diagram; the rule status is reflected by status nodes, which include: input status, evidence status, disease status, risk level status, internal and external coupling status, and treatment status.
[0014] Furthermore, the training process of the drainage pipe network disease diagnosis model includes a first stage, a second stage, and a third stage; In the first stage, the base model is frozen, and the encoding sampling unit is trained so that the evidence atoms first enter the unified representation space; In the second stage, the focus is on training evidence topology-coupled low-rank adapting units and asymmetric physical mutual verification units, optimizing the multimodal evidence basis matrix, semantic rule basis matrix, and coupling core matrix generator, synchronously building and updating the disease prototype library, and establishing the mapping between evidence topology and model parameters. In the third stage, the trainable modules in the drainage pipe network disease diagnosis model, excluding the main parameters of the base model, are jointly optimized.
[0015] The drainage pipe network defect diagnosis model constructed by this invention can simultaneously adapt the same parameter increment of the model to the requirements of CCTV vision, ground penetrating radar evidence, karst environment and the "Technical Specification for Inspection and Evaluation of Urban Drainage Pipelines". The output results of the drainage pipe network defect diagnosis model not only include the diagnosis conclusion, but also reflect the evidence topology and physical coupling relationship of the current pipe section diagnosis. It can realize the traceability of parameter update basis and avoid the model from entering the reasoning path that does not conform to the specification or drawing seemingly reasonable conclusions based on linguistic a priori evidence but lacking detection evidence. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the steps of a multimodal vertical large model construction method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the steps for four-dimensional anchor registration of a pipe segment according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the evidence atomic diagram structure provided in the embodiments of the present invention; Figure 4 This is a schematic diagram of asymmetric physical mutual verification and three-state relationship determination provided by an embodiment of the present invention; Figure 5 This is a schematic diagram of parameter increment generation in the base model provided according to an embodiment of the present invention. Detailed Implementation
[0017] This invention provides a method for constructing a multimodal vertical large model: Regarding data samples, it aligns visible defects inside pipes obtained from CCTV detection, pipe periphery anomalies acquired from ground-penetrating radar, karst environment information, and manually diagnosed labels to form a unified structure of multi-source evidence information. In terms of the diagnostic model's functional design, it incorporates a process for cross-verifying information judgment results from different modal sources to resolve conflicts between actual engineering conditions and ideal state predictions. Regarding the structure and training of the diagnostic model, it performs low-rank adaptation with evidence topology coupling, directly generating parameter increments based on evidence relationships to optimize training. The drainage pipe network defect diagnostic model constructed using this invention not only outputs diagnostic conclusions but also outputs effective detection evidence supporting the retrospective analysis of these conclusions.
[0018] The specific implementation of the present invention will now be described in detail with reference to the accompanying drawings.
[0019] The multimodal vertical large model construction method for diagnosing drainage pipe network defects provided by this invention is as follows: Figure 1 As shown, it includes the following steps: Step S100: Collect pipe segment samples and generate a pipe segment diagnostic sample set; The pipe segment samples of the drainage network include pipe segment information and labels. The label content is the type of defect corresponding to the pipe segment information. The types of defects covered by the pipe segment information are set according to the requirements of CJJ 181-2012 (Technical Specification for Inspection and Evaluation of Urban Drainage Pipelines), including cracks, deformation, corrosion, misalignment, undulation, disconnection, joint material detachment, concealed branch pipe connection, foreign object penetration, leakage, sedimentation, scaling, obstacles, residual wall and dam roots, tree roots, and scum (a total of 16 types of pipe defects). In addition, this invention also adds a category of karst cavitation voids / cavities around the pipes, which is unique to karst areas.
[0020] The pipe segment information includes CCTV information, ground-penetrating radar information, pipe segment number, location information, pipe segment attributes, and environmental information. The pipe segment number identifies the designated pipe segment. Location information includes the starting and ending manhole numbers and their spatial coordinates, with the starting and ending manholes defining the spatial extent of the pipe segment. Pipe segment attributes include pipe material, diameter, burial depth, service life, and slope. Environmental information includes burial depth, road load, geological lithology, karst development level, and groundwater information. The modal sources for the pipe segment information include CCTV information, ground-penetrating radar information, and structured records.
[0021] When collecting pipe section samples, drainage pipe sections within the same city or the same karst geological zone are used as sample objects, including the following steps: 1) Collect raw data from different modal sources based on pipe segment information, including: Obtain pipe segment number, location information, pipe segment attributes and environmental information from structured records (such as drainage network GIS data, as-built data or pipe segment ledgers); CCTV information is obtained through a CCTV robot: During the specific collection process, the CCTV robot travels along the pipeline axis and collects CCTV video information. During the collection, the video, CCTV robot mileage, camera posture, detection direction, video timestamp, and the time point when it passes the inspection well are saved. The mileage of the route traveled by the CCTV robot during its movement is the CCTV mileage, which is recorded by the robot's odometer. Ground-penetrating radar (GPR) collects scanning data along the surface of pipelines or suitable well-drilling lines as GPR information. During data collection, the GPR survey line mileage, antenna center frequency, time window, sampling interval, positioning trajectory, and equipment status are saved. The GPR survey line mileage is the route mileage traversed by the GPR during its journey, recorded by the ranging device of the GPR acquisition system.
[0022] When ground-penetrating radar collects data, environmental information is simultaneously processed and supplemented.
[0023] 2) Preliminary processing of raw data to form pipe segment samples includes: segmenting consecutive frames containing disease events from CCTV information as CCTV frames, retaining normal control frames before and after the occurrence of disease, and determining the disease area in the image based on the location of the disease event; constructing ground-penetrating radar (GPR) windows by slicing the ground-penetrating radar information into segments with mileage windows adjacent to the disease events in the CCTV information, retaining the original amplitude, gain parameters, and interpretation results; performing CCTV preliminary judgment, GPR preliminary judgment, and joint verification on segments of CCTV information and GPR information, using pipe segment numbers as units, and manually generating labels; at the same time, the results of the joint verification should not cover the original single-mode judgment, so as to construct consistent samples and conflict samples.
[0024] The label for each pipe section includes the main defect label, accompanying defect labels, and defect evidence. For samples that cannot yet be determined to be karst voids / cavities around the pipe, but which show anomalies based on preliminary ground-penetrating radar findings, they are labeled as suspected anomalies, rather than directly labeled as Category 17 defect samples. Suspected anomalies are recorded separately as evidence of insufficient evidence or pending verification, and are not treated as an independent defect category. Therefore, the defect label category remains Category 17.
[0025] 2) After the initial processing is completed, a pipe segment diagnosis sample set is formed with the pipe segment number as the smallest isolation unit. When dividing the dataset, for the same pipe segment, the continuity of the sample sequence is maintained according to the order of CCTV mileage and ground penetrating radar survey line mileage. All CCTV frames, ground penetrating radar windows and related samples corresponding to the same pipe segment are assigned to the same data subset in the training set, validation set or test set to avoid the allocation of spatiotemporally nearest samples of the same pipe segment across data subsets. The grouping ratio of the training set, validation set and test set is determined according to the actual number of pipe segments.
[0026] Step S110: Establish a unified four-dimensional coordinate system for pipe segments based on the pipe segment diagnostic sample set, perform four-dimensional anchor registration on the four-dimensional coordinate system of the pipe segments, generate evidence atoms, and construct an evidence atom diagram. 1) The four-dimensional coordinates of the pipe segment are implemented based on the diagnostic samples of each pipe segment number in the pipe segment diagnostic sample set: First, determine the positive mileage direction of each pipe segment number: take the starting and ending manholes of the pipe segment as the mileage reference points, divide the pipe segment into independent segments according to the center line of the pipe segment, and define the direction from the starting manhole to the ending manhole as the positive mileage direction; if the CCTV detection direction is opposite to the positive mileage direction, adjust the timing of the CCTV video frames so that the direction of the CCTV frames is consistent with the positive mileage direction.
[0027] Secondly, determine the circumferential angle of the center of the image defect area corresponding to the pipe segment number. Based on the CCTV camera calibration parameters and the pipe circular cross-section model, calculate the circumferential angle corresponding to the center of the image defect area. For images where precise angles cannot be consistently obtained, clock intervals are used to represent the circumferential anchor band. Determine the radial depth of the image defect area corresponding to the pipe segment number, from the pipe wall outwards. and axial mileage Specifically, the ground-penetrating radar (GPR) survey line is projected onto the pipeline centerline using geographic coordinates to obtain the axial mileage corresponding to the survey point. Based on the pipe diameter, burial depth, radar propagation speed, lateral offset of the GPR survey line relative to the pipeline, and GPR anomaly depth, this is converted into radial depth from the pipe wall outwards. And the corresponding area in the circumferential direction; the radar propagation speed can be estimated from known medium parameters, field calibration points or common midpoint data; when the radar propagation speed is uncertain, the depth is represented as an upper and lower limit interval and the position confidence is reduced.
[0028] Radial depth cannot typically be obtained from CCTV video frames. Therefore, the four-dimensional anchor points of the CCTV defect area are represented as follows: The four-dimensional anchor points of the ground-penetrating radar anomaly region are represented as follows: Using the above method, the four-dimensional coordinates of each pipe segment number are generated as four-dimensional anchor points. , represented as ,in, For the first Each pipe section number, For axial mileage, It is the circumferential angle. It represents the radial depth from the pipe wall outwards.
[0029] 2) Four-dimensional anchor registration, such as Figure 2 As shown, this includes coarse anchor positioning and event-based fine anchor correction; The coarse anchor band positioning uses the starting and ending inspection wells as control points, the image defect area as the defect detection candidate area, and the pipe section number where the CCTV mileage and the ground penetrating radar survey line mileage are located to limit the pairing range. According to the mileage direction, an initial anchor band correspondence is established between the CCTV defect area and the ground penetrating radar abnormal area. The initial anchor band correspondence provides a registration basis for the registration of multi-source information.
[0030] During coarse anchor positioning, if the CCTV mileage (total mileage of the pipe segment recorded by the CCTV robot) is inconsistent with the measured length of the pipe segment between the starting and ending manholes, a segmented linear correction is performed using the control points of adjacent manholes as boundaries to convert the CCTV mileage to positive mileage coordinates. On the other hand, the measuring points are projected onto the pipeline centerline based on the ground-penetrating radar positioning trajectory, and a ground-penetrating radar survey line mileage is generated according to the positive mileage direction from the starting manhole to the ending manhole. The initial anchor correspondence is established based on the CCTV mileage and ground-penetrating radar survey line mileage of the same pipe segment and the same positive mileage. The initial anchor correspondence includes the CCTV event sequence. and ground-penetrating radar anomaly sequences ; This includes information about regional diseases, such as the area, edge intensity, and classification entropy combination of candidate regions for disease detection obtained from CCTV mileage. This includes information reflecting pipe section anomalies obtained from ground-penetrating radar survey lines, such as local energy, hyperbolic response, phase changes, and combinations of interpreted confidence levels; CCTV event sequences. and ground-penetrating radar anomaly sequences The serial numbers correspond one-to-one and are matched with the pipe section numbers.
[0031] Event fine anchor band correction refers to: calculating CCTV event sequences and ground-penetrating radar anomaly sequences Local mileage correction based on a one-to-one correspondence of feature relationships established by sequence number Determine the local mileage correction amount Is it within the allowable offset range? If the local mileage correction is... The CCTV event sequence corresponding to this sequence number exceeds the allowed offset range. With ground-penetrating radar anomaly sequence Strongly paired edges are not formed, and the one-to-one correspondence is cancelled; CCTV event sequences that retain the one-to-one correspondence are retained. and ground-penetrating radar anomaly sequences This information, combined with the pipe section number, location information, pipe section attributes, and environmental information, constitutes effective multi-source information.
[0032] Local mileage correction The calculation method is as follows: ,in, For the differences in local characteristics between the two types of abnormal events, The penalty term for reversing the order of corresponding points. To address deviations from the geographical information of inspection well control points and pipelines, and The weights are non-negative.
[0033] 3) Decompose the effective multi-source information into multiple elements, define the quality weight and atomic conflict state of each element, and construct evidence atoms; Based on the modal origin and category of multi-source information, the resulting evidence atoms have different types of evidence, including: ground-penetrating radar evidence, CCTV evidence, karst environment evidence, pipeline attribute evidence, manually marked evidence, and spatial relationship evidence of pipeline segments; as detailed below: When the modality source is CCTV information, the extracted evidence atoms are CCTV evidence atoms, the evidence type is CCTV evidence, and the saved elements include keyframe index, detection area coordinates, texture vector, edge vector, color statistics, and occlusion ratio. When the modal source is ground-penetrating radar information, the extracted evidence atoms are ground-penetrating radar evidence atoms, the evidence type is ground-penetrating radar evidence, and the saved elements include profile window, detection area center, depth interval, range along the path, amplitude statistics, phase statistics, and anomaly morphology. The evidence atoms extracted from the environmental information are karst environment evidence atoms, and the evidence type is karst environment evidence. The elements preserved include: lithology, karst grade, groundwater and rainfall background information, etc. The evidence atoms extracted from the pipeline attributes are pipeline attribute evidence atoms, and the evidence type is pipeline attribute evidence. The elements stored include: pipe material, pipe diameter, burial depth, and service life, etc. The evidence atoms extracted from the labels are manually labeled evidence atoms, and the evidence type is manually labeled evidence. The elements saved include: main disease label, accompanying disease label, disease level, joint review results, and procedural basis.
[0034] From the pipeline network structure, we can also extract the spatial relationship evidence atoms of the pipeline segments, and the evidence type is the spatial relationship evidence of the pipeline segments.
[0035] Graph edges are constructed based on relationships such as spatial proximity, shared event, internal / external coupling, possible causality, and procedural relationships, forming an evidence atom graph. For example... Figure 3 As shown, multiple evidence atoms constitute an evidence atom diagram as evidence events for a certain event.
[0036] A pipe section has One piece of evidence atom , is represented as: ,in, For the type of evidence, For the first The four-dimensional coordinates of the tube segment of the evidence atom, For quality weight, For modal sources, This is an atomic conflict state.
[0037] Quality weight It is not an additional quantity independent of the evidence atoms, but rather the evidence atoms themselves. The node attribute is used to comprehensively characterize the credibility of the evidence atom in terms of data clarity, location reliability, sensor operating status, and consistency with adjacent evidence. Its value ranges from 0 to 1, with higher values indicating more reliable evidence. Quality weight. The calculation method is as follows: ,in, Indicates the clarity of CCTV images or ground-penetrating radar signals. Indicates the credibility of the location. Indicates the sensor's operating status. Indicates the degree of conflict with adjacent evidence. A function that maps results to the interval between 0 and 1. , , and These are weights, respectively. Different modal sources correspond to different criteria for judging sharpness: for CCTV evidence, exposure, sewage obstruction, and lens contamination are used as criteria for judging sharpness; for ground-penetrating radar evidence, signal-to-noise ratio, survey line offset, velocity estimation interval width, and anomaly interpretation are used as criteria for judging sharpness.
[0038] Atomic conflict states include no conflict, positional conflict, category conflict, level conflict, and mechanism conflict; the atomic conflict state of a single evidence atom comes from the comparison results between the CCTV preliminary judgment, the ground penetrating radar preliminary judgment, and the joint review label: if they are consistent, there is no conflict.
[0039] Step S120: Load the procedure status diagram; The status diagram is a status rule library pre-compiled according to the requirements of CJJ 181-2012 (Technical Specification for Inspection and Evaluation of Urban Drainage Pipelines).
[0040] The procedure state diagram includes rule units and state nodes. The rule unit is represented as follows: ,in, Number the procedure unit. Indicates the triggering condition. Indicates the permitted disease categories. This indicates the permissible defect level or the risk status of abnormal pipe conditions. Indicates the minimum set of evidence. Indicates permitted disposal measures, This indicates the rule priority. The procedure state diagram is used to determine the rule state corresponding to the current diagnosis; the rule state is represented by state nodes, which include: input state, evidence state, disease state, risk level state, internal and external coupling state, and treatment state. The input status is used to record the current pipe segment attributes, detection direction, and modal availability, and to determine the rule triggering conditions. Does it meet the requirements? Evidence status is used to record the valid set of evidence and the minimum set of evidence. Coverage status; The disease status is used to determine the disease category that meets the rule conditions from the diagnostic candidates; wherein, the diagnostic candidates are formed by the diagnostic probabilities of 17 types of diseases output by the drainage network disease diagnosis model; The risk level is used to determine the permissible defect level or pipe periphery abnormality risk level based on the disease level candidates output by the model and the procedural conditions. The internal and external coupling status is used to record the three-state relationship of the current pipe segment, namely, only internal pipe anomaly, only pipe periphery anomaly, or internal and external coupling anomaly; The treatment status is used to formulate measures based on the disease type, grade, internal and external coupling status, and the normative requirements permitted by the rules. The stage of generating disposal paths.
[0041] Among them, the evidence status, disease status, risk level status, and internal and external coupling status can be updated in each round of rule reasoning and trigger the next round of rule reasoning until the final disposal status is obtained.
[0042] During rule-based reasoning, values are assigned to the input state, evidence state, disease state, risk level state, and internal / external coupling state. The rule unit determines whether the triggering conditions for updating a state node or making a diagnostic decision have been met. If the triggering condition for updating a state node is met, the next round of judgment continues; if the triggering condition for a diagnostic decision is met, a decision on measures to address the pipeline is output. Rule priority is used to determine the execution order or conflict resolution order when multiple rules are simultaneously satisfied; it is not considered an independent state within a rule unit.
[0043] During the engineering application phase, the pipe segment attributes, detection direction, and modal availability of the pipe segment to be tested are written into the input state, the effective evidence set is written into the evidence state, the disease diagnosis probability is written into the disease state, the disease level is written into the level risk state, and the three-state relationship is written into the internal and external coupling state. Multiple rounds of rule reasoning are performed, and the rule state corresponding to the current diagnosis is updated during the reasoning process.
[0044] Step S130: Define a drainage pipe network defect diagnosis model, which includes an encoding sampling unit, an asymmetric physical verification unit, and a base model; the encoding sampling unit includes a CCTV visual encoder, a ground-penetrating radar evidence map encoder, and an evidence lexical resampler. 1) The CCTV visual encoder uses a visual Transformer or a hybrid convolutional-Transformer network to extract evidence terms from CCTV evidence atoms to form CCTV evidence. 2) The ground-penetrating radar evidence graph encoder uses a graph attention network with edge type parameters to extract evidence terms from ground-penetrating radar evidence atoms to form ground-penetrating radar evidence. 3) The evidence lexical resampler resamples the linear projection evidence features to form an evidence lexical sequence. The linear projection evidence features are the evidence features obtained by linearly projecting the CCTV evidence and ground-penetrating radar evidence output from the CCTV visual encoder and the ground-penetrating radar evidence map encoder. The evidence lexical sequence is a sequence of evidence features carrying modality source encoding, four-dimensional anchor point encoding, quality weight encoding, and conflict encoding, and its content includes CCTV evidence lexical terms and ground-penetrating radar evidence lexical terms.
[0045] During the resampling process, high-quality and task-related nodes are retained in each modality, and conflict evidence terms are reserved to avoid conflicting nodes being eliminated by average during aggregation.
[0046] 4) The asymmetric physical verification unit includes a first physical quantity prediction head and a second physical quantity prediction head, which are used to perform asymmetric physical verification between CCTV evidence and ground-penetrating radar evidence, calculate the verification consistency, determine the physical correspondence between CCTV evidence and ground-penetrating radar evidence, and retain single-mode diagnosis and conflict state when there is a lack of mode, positional deviation or incompatibility of disease mechanism, thereby reducing the risk of forming erroneous internal and external coupling based solely on spatial proximity.
[0047] Asymmetric physical verification refers to predicting target quantities with different modal physical meanings from the CCTV evidence direction and the ground-penetrating radar evidence direction respectively. Specifically, the first physical quantity prediction head takes CCTV evidence terms as input and predicts the radial depth, range along the pipe wall, corresponding circumferential area, and anomaly type distribution of the ground-penetrating radar anomaly area. The second physical quantity prediction head takes ground-penetrating radar evidence terms as input and predicts the CCTV defect type, circumferential location, severity, and distribution of accompanying signs.
[0048] The predicted results in both directions are then compared with the actual evidence atoms in the evidence atom diagram to determine the errors and calculate the consistency of mutual evidence. The identifiable errors include: anchor point error, type error, and range overlap error. Anchor point error measures the consistency of the axial, circumferential, and radial depth of the lesion location; type error measures the consistency between the diagnosed lesion type and the actual evidence type; and range overlap error measures the degree of overlap along the path. These factors, combined with a pre-defined lesion mechanism relationship, determine compatibility.
[0049] The calculation of mutual evidence consistency refers to the consistency result obtained by verifying the compatibility of the two-way prediction results (i.e., the prediction results of the first physical quantity prediction head and the second physical quantity prediction head) with the corresponding actual evidence terms in the dimensions of four-dimensional anchor point, disease type, disease range and disease mechanism. The consistency result includes: three-state relationship, conflict state, mutual evidence consistency and disease prototype similarity.
[0050] To ensure that the consistency results simultaneously satisfy spatial, disease prototype, physical quantity, topological, and conflict constraints, the loss function is defined as follows: ,in, To constrain the four-dimensional anchor points, To constrain the prototypes of 17 types of diseases, To constrain the prediction of physical quantities, To constrain the adjacency relationships of the evidence atomic graph, This is used to make real conflict samples and consistent samples separable in the conflict representation space. to The weights can be determined using the validation set.
[0051] The three-state relationship refers to the compatibility status of bidirectional prediction results, including internal and external coupling anomalies, intra-pipe anomalies only, and intra-pipe anomalies only. The determination rules for the three-state relationship are as follows: when both bidirectional prediction results meet the preset error conditions and the disease mechanisms are compatible, it is determined to be an internal and external coupling anomaly; when there is valid evidence only in the CCTV evidence direction and no mutually verifiable valid anomaly evidence in the ground-penetrating radar evidence direction, it is determined to be an intra-pipe anomaly only; when there is valid evidence only in the ground-penetrating radar evidence direction and no mutually verifiable valid disease evidence in the CCTV evidence direction, it is determined to be an intra-pipe anomaly only. Some specific defects (such as functional defects like sedimentation) can be detected through CCTV evidence, but anomalies are usually not directly detected through ground-penetrating radar evidence. Even if the mileage is close, a determination is made through relevant constraints of compatibility verification to avoid erroneous internal and external coupling determinations.
[0052] A conflict state refers to a situation where CCTV evidence and ground-penetrating radar evidence, when used for two-way prediction, are inconsistent in terms of location, disease type, disease level, or disease mechanism.
[0053] Mutual verification consistency Refers to the consistency score of 0 to 1 obtained by comprehensively comparing the degree of matching between the two-way prediction results and the corresponding actual evidence in terms of four-dimensional anchor points, disease types, disease ranges and disease mechanisms, and by weighting and fusing the two-way matching results.
[0054] Disease prototype similarity refers to the similarity between the current sample evidence and each disease prototype. The degree of similarity characterizes the matching degree between the current sample and the typical evidence features of various diseases; during the model training process of the asymmetric physical mutual verification unit, after calculating the mutual verification consistency, the disease prototype is... Optimize; if the prototype of the disease If it does not exist, then create a new prototype of the disease. Multiple disease prototypes Construct a disease prototype library. Create a new prototype for this disease. The similarity of the evidence atom to the disease prototype is not calculated at this time; after training is completed, the disease prototype library remains fixed, and no new disease prototypes are created or updated during the engineering application stage.
[0055] Specifically, the prototype of the disease It is a feature set composed of typical evidence atoms of a certain type of disease, which is constructed during the model training of the asymmetric physical mutual verification unit; each type of disease prototype All include in-pipe sub-slots, peri-pipe sub-slots, and coupling sub-slots.
[0056] When judging typical evidence atoms, through the first Mass weight of each evidence atom According to the The consistency of mutual evidence in predicting disease types. Joint weighted generation of typical indicators If typical indicators If the value exceeds a specified threshold, the evidence atom constitutes a candidate element for updating the disease prototype for the corresponding manually labeled disease type, and forms a valid evidence set. The quality weight is used for this purpose. Used to reflect the reliability of evidence atoms This is used to reflect the degree of consistency in two-way physical verification. If the three-state relationship in the consistency result is an anomaly in internal and external coupling, this evidence atom is added to the disease prototype. The coupled subslot; if the three-state relationship is only an anomaly within the tube, this evidence atom is added to the disease prototype. The sub-slot within the tube; if the three-state relationship is only a peripheral anomaly, this evidence atom is added to the disease prototype. The tube groove.
[0057] In the structure of the drainage pipe network disease diagnosis model designed in this invention, a process is introduced to build and update the disease prototype library based on bidirectional evidence (CCTV evidence and ground penetrating radar evidence); and in the process of training the drainage pipe network disease diagnosis model based on the pipe segment diagnosis sample set, the disease prototype library is generated and updated, fixedly loaded after training, and used only for calculating the similarity of disease prototypes in the engineering application stage, and is no longer updated.
[0058] 5) The base model is implemented using a pre-trained model (e.g., Qwen, GLM) with Chinese understanding and autoregressive generation capabilities.
[0059] In the attention projection layer and feedforward layer of the base model, evidence topology learning parameters are set to form evidence topology coupling low-rank adaptation units, which are used to dynamically generate low-rank parameter increments based on the evidence topology of the current sample, carrying information of different modes. The evidence topology learning parameters include CCTV evidence base, ground penetrating radar evidence base and karst environment base. The learning parameters for extracting features from the disease prototype library and procedure state diagram are defined as disease semantic base and procedure logic base.
[0060] Among them, CCTV evidence base is used to represent visual disease information within the tube, such as texture, edge, disease geometry, etc. Ground-penetrating radar evidence bases are responsible for representing periphery anomaly information, such as depth, range, amplitude, phase, and anomaly morphology; The karst environment base is responsible for representing environmental information such as strata, karst development, and groundwater.
[0061] The evidence topology coupling low-rank adaptation unit includes: a multimodal evidence basis matrix, a semantic rule basis matrix, and a coupling core matrix generator; it combines the evidence topology learning parameters into a multimodal evidence basis matrix. The semantic basis of the disease and the logical basis of the procedure are combined into a semantic rule basis matrix. The coupling core matrix generator extracts node summaries and edge type statistics, as well as the quality weights of evidence atoms from the topological structure of the evidence atom graph. It then combines these with the results of asymmetric physical mutual verification (such as three-state relationships, conflict states, mutual verification consistency, and disease prototype similarity) to form the coupling core matrix. Coupled core matrix The connection strength matrix is calculated from the effective nodes, edge types, quality weights, disease prototype similarity, and atomic conflict states of the current sample in the evidence atomic graph. Its effective rank is represented as: ,in, for The A singular value, For the degree of conflict of evidence, and This is a threshold parameter. As the degree of evidence conflict increases, the retention threshold parameter is increased to avoid low-quality or contradictory evidence driving too many parameter channels. Therefore, it can be determined based on the coupling core matrix. The effective rank is determined by the singular values and the degree of evidence conflict. When the degree of evidence conflict increases, the singular value retention threshold is increased to suppress unreliable evidence channels.
[0062] Through multimodal evidence basis matrix Semantic rule basis matrix and coupling core matrix Calculate the first Layer low-rank parameter increment This allows the parameters to be updated dynamically according to the evidence structure of the current sample, instead of using a fixed low-rank update direction, and outputs the diagnostic probability distribution and disease level for 17 types of diseases; The increment of the low-rank parameter is expressed as: ,in, For the current pipe section diagnostic sample index, Indexes the network layers that perform low-rank adaptation in the base model.
[0063] Counterfactual evidence masking is performed on the valid evidence set determined in the asymmetric physical mutual evidence unit to reverse the identification of key evidence that plays a core role in the diagnosis.
[0064] Counterfactual evidence shielding includes: sequentially removing key evidence from the set of valid evidence, represented as: ,in, Let k be the contribution of the k-th evidence atom to the target diagnostic result. For the target disease category, This is the current set of valid evidence. This represents the predicted probability of the model given the evidence. Let k be the k-th evidence atom. By using counterfactual evidence masking, the key evidence that plays a central role in the diagnosis is reconfirmed, and the set of valid evidence is updated.
[0065] Step S140: Train the drainage network disease diagnosis model based on the evidence atoms generated from the pipe segment diagnosis sample set to complete the construction of the drainage network disease diagnosis model.
[0066] The training process is divided into three stages: The first stage freezes the base model, training only the CCTV visual encoder, the ground-penetrating radar evidence map encoder, and the evidence lexical resampler, so that the evidence atoms composed of multimodal evidence first enter the unified representation space. The second phase focuses on training evidence topology-coupled low-rank adapting units and asymmetric physical mutual verification units, optimizing the multimodal evidence basis matrix, semantic rule basis matrix, and coupling core matrix generator, and simultaneously building and updating the disease prototype library to establish the mapping between evidence topology and model parameters. The third stage incorporates modal missing, anchor point perturbation, low-quality evidence, and conflicting samples to jointly optimize the trainable modules in the drainage network disease diagnosis model, excluding the main parameters of the base model, thereby improving the model's robustness under abnormal and incomplete evidence conditions.
[0067] The control of the three stages can be switched according to the preset number of training rounds or after the performance of the validation set converges, or controlled by freezing and unfreezing different parameters and using different training losses to complete the construction of the drainage pipe network disease diagnosis model.
[0068] After training, the multimodal evidence basis matrix and semantic rule basis matrix remain fixed as shared parameters. In the engineering application stage, the coupling core matrix is dynamically generated only based on the evidence topology, quality weight, three-state relationship, mutual evidence consistency, disease prototype similarity and conflict state of the current pipe segment sample, and the corresponding low-rank parameter increment is calculated without gradient update.
[0069] Step S150: The output of the drainage network disease diagnosis model includes the disease diagnosis probability, disease level, three-state relationship, and valid evidence set.
[0070] In practical engineering applications, the disease diagnosis probability, disease level, three-state relationship and effective evidence set output by the drainage pipe network disease diagnosis model are combined with the procedure state diagram to determine the rule state corresponding to the current pipe section diagnosis. Based on the rule state, lexical constraint decoding is performed to generate engineering application information such as disposal decision.
[0071] After constructing a drainage pipe network defect diagnosis model according to the method provided by this invention, the model is validated. During validation, data is divided according to independent pipe segments to avoid cross-set leakage between adjacent CCTV video frames and adjacent ground-penetrating radar windows. The evaluation items include 17 types of defect classification, defect level judgment, four-dimensional position error, internal and external coupling relationship judgment, evidence retracement correctness, procedure violation rate, modal loss robustness, and conflict rejection capability.
[0072] This invention constructs a four-dimensional coordinate system using indicators such as pipe segment number, axial mileage, circumferential angle, and radial depth. This system serves as a standard to uniformly describe CCTV observations within the pipe and ground-penetrating radar observations around the pipe. It employs coarse anchor band positioning and event-based fine anchor band correction to rectify accumulated mileage errors, reducing mismatched samples and providing effective data for training the drainage network disease diagnosis model. Simultaneously, the evidence atom graph retains modal origins, four-dimensional anchor points, quality weights, and conflict states, enabling the drainage network disease diagnosis model to distinguish between missing evidence, conflicting evidence, and true internal / external coupling, without requiring forced fusion of all modalities. The model employs asymmetric physical mutual verification prediction, synchronously verifying CCTV evidence and ground-penetrating radar evidence for disease judgment. The mutual verification results have engineering implications and can form three diagnostic relationships: only within the pipe, only around the pipe, and internal / external coupling. In the model structure design, a low-rank adaptation with evidence topological coupling is used, directly generating parameter increments based on the evidence relationship of the current sample. This avoids the use of the same update direction for all diseases by ordinary fixed low-rank adapters and avoids selecting complete experts solely based on task labels. This invention also introduces the concept of a procedure state diagram, which restricts the combination of disease categories, levels and treatment measures according to the rule state, and generates engineering application information such as treatment suggestions by combining the model output.
[0073] The drainage pipe network defect diagnosis model constructed by this invention can simultaneously adapt the same parameter increment of the model to the requirements of CCTV vision, ground penetrating radar evidence, karst environment and the "Technical Specification for Inspection and Evaluation of Urban Drainage Pipelines". The output results of the drainage pipe network defect diagnosis model not only include the diagnosis conclusion, but also reflect the evidence topology and physical coupling relationship of the current pipe section diagnosis. It can realize the traceability of parameter update basis and avoid the model from entering the reasoning path that does not conform to the specification or drawing seemingly reasonable conclusions based on linguistic a priori evidence but lacking detection evidence.
[0074] The above-disclosed embodiments are merely a few specific examples of the present invention. However, the present invention is not limited thereto, and any variations that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A method for constructing a multimodal vertical large model for diagnosing defects in drainage pipe networks, characterized in that, Includes the following steps: Collect pipe segment samples to generate a pipe segment diagnostic sample set; the pipe segment samples include pipe segment information and tags, the tags being the disease types corresponding to the pipe segment information; the modal sources of the pipe segment information include CCTV information, ground penetrating radar information, and structured records; Based on the pipe segment diagnostic sample set, a four-dimensional coordinate system for the pipe segment is established. The four-dimensional coordinate system for the pipe segment is then registered with a four-dimensional anchor band to generate evidence atoms and construct an evidence atom diagram. The information of the evidence atom includes the evidence type, the four-dimensional coordinate system of the pipe segment, the quality weight, the modality source, and the atom conflict state. A drainage pipe network defect diagnosis model is defined, comprising an encoding sampling unit, an asymmetric physical verification unit, and a base model. Evidence topology learning parameters are set in the attention projection layer and feedforward layer of the base model to form an evidence topology coupling low-rank adaptation unit, used to generate low-rank parameter increments. The asymmetric physical verification unit includes a first physical quantity prediction head and a second physical quantity prediction head, used to perform asymmetric physical verification to generate consistent results and construct and update the defect prototype library. After the drainage pipe network disease diagnosis model is trained, the disease prototype library is fixed; the consistency results include: three-state relationship, conflict state, mutual verification consistency degree and disease prototype similarity; The drainage pipe network disease diagnosis model is trained based on the evidence atoms to complete the construction of the drainage pipe network disease diagnosis model; the output results of the drainage pipe network disease diagnosis model include disease diagnosis probability, disease level, three-state relationship and effective evidence set; the three-state relationship includes internal and external coupling anomaly, pipe-only anomaly and pipe-periphery only anomaly.
2. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 1, characterized in that, Establishing the four-dimensional coordinates of the pipe segment includes the following steps: Determine the positive mileage direction of each pipe segment number; Determine the circumferential angle of the center of the image defect area corresponding to the pipe segment number. ; Determine the radial depth of the image defect area corresponding to the pipe segment number, from the pipe wall outwards. and axial mileage Among them, the radial depth of the CCTV defect area =0; The four-dimensional coordinates of each pipe segment number are used as four-dimensional anchor points, represented as follows: ,in, For the first Each pipe section number, For axial mileage, It is the circumferential angle. It represents the radial depth from the pipe wall outwards.
3. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 1, characterized in that, The four-dimensional anchor registration includes coarse anchor positioning and event-based fine anchor correction; The coarse anchor band positioning refers to: using the start and end inspection wells as control points, using image defect areas as candidate defect detection areas, and defining the pairing range by the pipe segment numbers where the CCTV mileage and the ground-penetrating radar survey line mileage are located. Based on the mileage direction, an initial anchor band correspondence is established between the CCTV defect area and the ground-penetrating radar anomaly area; the initial anchor band correspondence includes the CCTV event sequence. and ground-penetrating radar anomaly sequences ; The event fine anchor band correction refers to: calculating the CCTV event sequence. and ground-penetrating radar anomaly sequences Local mileage correction based on a one-to-one correspondence of feature relationships established by sequence number Determine the local mileage correction amount Is it within the allowable offset range? If the local mileage correction is needed... If the allowable offset range is exceeded, cancel the corresponding CCTV event sequence. With ground-penetrating radar anomaly sequence One-to-one correspondence; CCTV event sequences that retain one-to-one correspondence. and ground-penetrating radar anomaly sequences The combination of pipe segment number, location information, pipe segment attributes, and environmental information constitutes effective multi-source information; Constructing the evidence atom graph includes: The effective multi-source information is divided into multiple elements, and the quality weight and atomic conflict state of the elements are defined to generate evidence atoms; wherein, the quality weight is used to comprehensively characterize the credibility of the evidence atom in terms of data clarity, positioning credibility, sensor working status and consistency with adjacent evidence. A graph edge is constructed based on the relationships between evidence atoms to form an evidence atom graph. The relationships include spatial proximity, same event, internal and external coupling, possible causality, and procedural relationships.
4. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 1, characterized in that, The encoding sampling unit includes a CCTV visual encoder, a ground-penetrating radar evidence map encoder, and an evidence lexical resampler. The CCTV visual encoder is used to extract evidence terms from CCTV evidence atoms to form CCTV evidence. The ground-penetrating radar evidence map encoder is used to extract evidence words from ground-penetrating radar evidence atoms to form ground-penetrating radar evidence. The evidence lexical resampler resamples the linear projection evidence features to form an evidence lexical sequence; wherein, the linear projection evidence features are the evidence features after linear projection of CCTV evidence and ground-penetrating radar evidence output from CCTV visual encoder and ground-penetrating radar evidence map encoder; the evidence lexical sequence is an evidence feature sequence carrying modality source encoding, four-dimensional anchor point encoding, quality weight encoding and conflict encoding.
5. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 1, characterized in that, The asymmetric physical mutual verification refers to predicting target quantities with different modal physical meanings from CCTV evidence direction and ground-penetrating radar evidence direction, respectively, including: The first physical quantity prediction head takes CCTV evidence words as input and predicts the radial depth, range along the pipe wall, corresponding circumferential area and anomaly type distribution of the ground penetrating radar anomaly area; the second physical quantity prediction head takes ground penetrating radar evidence words as input and predicts CCTV disease type, circumferential location, severity and distribution of accompanying signs. The prediction results in both directions are compared with the actual evidence atoms in the evidence atom diagram to determine the error and calculate the mutual evidence consistency.
6. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 5, characterized in that, The rules for determining the three-state relationship include: when both bidirectional prediction results meet the preset error conditions and the disease mechanism is compatible, it is determined to be an internal and external coupling anomaly; when there is valid evidence only in the CCTV evidence direction and no mutually verifiable valid anomaly evidence in the ground penetrating radar evidence direction, it is determined to be an internal-only anomaly; when there is valid evidence only in the ground penetrating radar evidence direction and no mutually verifiable valid disease evidence in the CCTV evidence direction, it is determined to be a peripheral-only anomaly; wherein, the bidirectional prediction results refer to the prediction results of the first physical quantity prediction head and the second physical quantity prediction head; The conflict state refers to the situation where the CCTV evidence and the ground-penetrating radar evidence corresponding to bidirectional prediction are inconsistent in terms of location, disease type, disease level, or disease mechanism. The mutual verification consistency The consistency score is obtained by comprehensively comparing the degree of matching between the two-way prediction results and the corresponding actual evidence in terms of four-dimensional anchor points, disease types, disease ranges and disease mechanisms, and by weighting and fusing the two-way matching results. The disease prototype similarity refers to the similarity between the current sample evidence and each disease prototype. The degree of similarity represents the degree of matching between the current sample and the typical evidence features of various diseases.
7. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 6, characterized in that, Disease prototype It is a feature set composed of typical evidence atoms of a certain type of disease, which is constructed during the model training of the asymmetric physical mutual verification unit; the prototype of each type of disease This includes in-pipe sub-slots, peri-pipe sub-slots, and coupling sub-slots; When judging typical evidence atoms, through the first Mass weight of each evidence atom Consistency with mutual verification Joint weighted generation of typical indicators If typical indicators If the evidence atoms exceed a specified threshold, they constitute elements of the disease prototype corresponding to the manually labeled disease type. When constructing and updating the disease prototype library, if the three-state relationship is abnormally coupled internally and externally, the evidence atom is added to the disease prototype in the disease prototype library. The coupling sub-slot; if the three-state relationship is only an anomaly within the tube, the evidence atom is added to the disease prototype. The sub-slot within the tube; if the three-state relationship is only a peripheral anomaly, the evidence atoms are added to the disease prototype. The tube groove.
8. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 1, characterized in that, The base model uses a pre-trained model with Chinese understanding and autoregressive generation capabilities; The evidence topology learning parameters include CCTV evidence base, ground-penetrating radar evidence base, and karst environment base. The learning parameters for extracting features from the disease prototype library and the procedure state diagram are defined as the disease semantic base and the procedure logical base. The evidence topology coupling low-rank adaptation unit includes: a multimodal evidence basis matrix, a semantic rule basis matrix, and a coupling core matrix generator; it combines the evidence topology learning parameters into a multimodal evidence basis matrix. The semantic basis of the disease and the logical basis of the procedure are combined into a semantic rule basis matrix. The coupling core matrix generator extracts node summaries, edge type statistics, and quality weights of evidence atoms from the topology of the evidence atom graph, and combines these with the consistency results to form the coupling core matrix. ; Through multimodal evidence basis matrix Semantic rule basis matrix and coupling core matrix Calculate the first Layer low-rank parameter increment This allows parameter updates to dynamically change with the evidence structure of the current sample, outputting the disease diagnosis probability distribution and disease level; The set of valid evidence is updated after being combined with the procedure state diagram and subjected to procedure constraints.
9. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 8, characterized in that, The procedure state diagram is a pre-compiled state rule library, including rule units and state nodes; The rule status corresponding to the current diagnosis is determined by the procedure status diagram; The rule status is reflected through status nodes, which include: input status, evidence status, disease status, risk level status, internal and external coupling status, and disposal status.
10. The method for constructing a multimodal vertical large model for diagnosing drainage pipe network defects according to claim 8, characterized in that, The training process of the drainage pipe network disease diagnosis model includes a first stage, a second stage, and a third stage. In the first stage, the base model is frozen, and the coding sampling unit is trained so that the evidence atoms first enter the unified representation space. In the second stage, the focus is on training evidence topology coupling low-rank adapting units and asymmetric physical mutual verification units, optimizing the multimodal evidence basis matrix, semantic rule basis matrix, and coupling core matrix generator, synchronously building and updating the disease prototype library, and establishing the mapping between evidence topology and model parameters. In the third stage, the trainable modules in the drainage pipe network disease diagnosis model, excluding the main parameters of the base model, are jointly optimized.
