Next Article in Journal
Development of an Instrumented Climbing Hold with an Embedded Six-Axis Force Sensor for Speed Climbing
Previous Article in Journal
A General Tensorial Formulation of Acoustoelasticity and Its Representation in Cylindrical Coordinates
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evolutionary Digital Twin for Oil and Gas Pipelines: A Cognitive Multi-Agent Framework with Continuous Feedback Learning

1
Intelligent Research Center, PipeChina Institute of Science and Technology, Tianjin 300450, China
2
School of Artificial Intelligence, Tianjin University, Tianjin 300072, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(10), 3219; https://doi.org/10.3390/s26103219
Submission received: 8 April 2026 / Revised: 15 May 2026 / Accepted: 15 May 2026 / Published: 19 May 2026
(This article belongs to the Section Industrial Sensors)

Abstract

The structural integrity and risk management of long-distance oil and gas pipelines are critically challenged by multi-source data heterogeneity, complex multi-physics degradation mechanisms, and the dynamic nature of operational environments. Traditional monolithic artificial intelligence models struggle with cross-domain knowledge fusion and often suffer from historical context forgetting over decades-long infrastructure lifecycles. To address these bottlenecks, this paper proposes an evolutionary digital twin framework driven by a collaborative architecture between small specialized models and a large general model. Specifically, the framework encapsulates physics-informed models (e.g., corrosion prediction and geohazard evaluation) as domain expert agents to guarantee rigorous numerical computation at the edge, keeping sensitive operational data strictly localized. To synthesize conflicting localized risks, a locally deployed, privacy-preserving large language model acts as a central cognitive hub. This hub utilizes external knowledge retrieval and structured reasoning to formulate transparent, multi-objective intervention strategies. Furthermore, a continuous feedback learning mechanism is introduced to capture tacit expert knowledge. By formalizing human operational interventions into historical memory and employing parameter stabilization techniques, the system dynamically updates its knowledge base while effectively mitigating catastrophic forgetting. Ultimately, the proposed framework provides a reliable and privacy-compliant methodology, significantly enhancing the interpretability and predictive foresight of pipeline integrity management.

1. Introduction

Long-distance oil and gas pipelines are the core of the modern energy supply chain [1]. However, continuous network expansion and asset aging present severe management challenges. The industry must accelerate its shift toward resilient and sustainable operations [2,3]. This transition to sustainable infrastructure closely aligns with the emerging Digital Twin as a Service (DTaaS) paradigm [4]. As pipelines age, the cumulative effects of environmental stress and operational wear become highly pronounced.
Complex internal degradation and external environmental stressors continuously threaten pipeline structural integrity. A typical network traverses highly heterogeneous terrains. As illustrated in Figure 1, this exposes pipelines to diverse dynamic risks. These risks include electrochemical corrosion, geological hazards, and third-party mechanical interference [5].
A severe data silo problem compounds these physical threats [6]. Modern pipelines utilize advanced multi-modal sensor networks. However, the generated data remains fragmented across different departments and spatial reference systems [7]. This fragmentation prevents the formation of a holistic risk profile. Table 1 summarizes recent high-profile disasters. These incidents illustrate the systemic failure of traditional risk management paradigms.
Current risk assessment relies heavily on subjective engineering experience. This reliance fosters a reactive maintenance culture. The disaster cases highlight critical technical bottlenecks. Key issues include inadequate multi-physics coupling, static tracking, and historical context forgetting [8,9,10].

1.1. Related Work and Research Gaps

Quantitative pipeline risk assessment requires precise spatial and temporal integration of heterogeneous data. Historically, the industry relied on manual data alignment using physical anchors. This approach is inherently labor-intensive and unscalable. Rule-based methods (e.g., linear rubber-sheeting) accelerate this process. However, they fail catastrophically in environments with high noise or non-linear wheel slippage.
Researchers increasingly adopt deep learning to enable quantitative risk assessment [11,12]. However, pipeline degradation is fundamentally a long-term time-series forecasting problem. Recurrent networks (RNNs, LSTMs) address sequential data but suffer from limited context windows. This makes them prone to historical context forgetting. Large foundation models offer episodic memory capabilities [13,14]. Yet, managing operational data in a centralized cloud violates strict industrial privacy regulations. Federated Learning (FL) mitigates privacy concerns by keeping data localized [15,16,17]. Still, standard FL struggles with severe statistical heterogeneity across diverse geological conditions.
Multi-Agent Systems (MAS) offer a superior decentralized architecture for industrial intelligence [18,19]. Recent conceptual advancements leverage Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG). Despite this, the practical deployment of MAS in pipeline integrity management remains in its infancy [20].
Explicit Research Gaps: Existing methodologies fail to seamlessly integrate decentralized multi-source data while enforcing physical engineering constraints. Furthermore, they struggle to mitigate historical forgetting and ensure decision interpretability under strict data privacy regulations. Table 2 systematically compares these existing frameworks.

1.2. Proposed Framework and Contributions

This paper proposes an evolutionary digital twin framework driven by a Small-Large Model Collaborative (SLMC) architecture. This framework explicitly bridges the aforementioned research gaps. As illustrated in Figure 2, it represents an architectural evolution from centralized black-box AI to a decentralized collaborative ecosystem.
The proposed framework uniquely achieves a comprehensive balance of precision, transparency, and privacy. It strictly adheres to physical engineering boundaries at the edge. It ensures highly transparent decision-making via cognitive reasoning. Finally, it achieves continuous evolutionary learning without compromising industrial data privacy. The main contributions are summarized as follows:
  • Novel SLMC Digital Twin Architecture: We propose a decentralized multi-agent framework. It bridges domain-specific edge physical models with the cognitive reasoning of a central hub.
  • Robust Spatio-Temporal Alignment: We design an intelligent alignment agent using dynamic time warping and weighted least squares. This overcomes data silos to establish a mathematically unified spatial ground truth.
  • Synergistic Continuous Evolutionary Learning: The framework establishes a cross-scale feedback loop linking cognitive reasoning, human-in-the-loop validation, and EWC parameter protection. This dynamically updates the knowledge base and mitigates catastrophic forgetting.
The remainder of this paper is organized as follows. Section 2 defines the data alignment problem and SLMC mechanisms. Section 3 presents experimental results. Section 4 discusses engineering implications and limitations. Section 5 concludes the paper.

2. Materials and Methods

Distributed and dynamic digital architectures are essential for managing complex pipeline networks [21,22]. This section introduces proprietary datasets and defines core engineering challenges via mathematical formulations. It also details the structural mechanisms of the proposed Small-Large Model Collaborative (SLMC) architecture [23,24].

2.1. Datasets and Problem Formulation

This study constructs a proprietary dataset from two operational pipelines (SJ and LC) for rigorous framework evaluation. The SJ Pipeline traverses complex mountainous and river-crossing terrains. Having operated for over 15 years, it faces severe corrosion and geohazard threats. Conversely, the LC Pipeline is a newer urban-fringe network. It experiences dynamic changes in high-consequence areas and frequent third-party interference. Table 3 summarizes the quantitative statistics of these datasets.
The primary datasets contain sensitive national energy infrastructure information. They are subject to strict non-disclosure agreements with PipeChina. Consequently, raw operational logs and exact coordinates remain confidential due to safety restrictions. However, an anonymized sample dataset and the core multi-agent code are available upon reasonable request. This ensures scientific reproducibility without compromising infrastructure security.
The pipeline network is mathematically abstracted as a directed spatial graph G = ( V , E ) . The node set V represents critical infrastructure points (e.g., pump stations, valve chambers). The edge set E represents physical pipeline connections. A highly dimensional feature space influences the pipeline state over time. The ensuing operational challenges are defined via three interrelated problem formulations.
First, spatial–temporal data alignment resolves heterogeneities in multi-modal data D . These disjointed streams include in-line inspections, pressure telemetry, drone imagery, and geotechnical data. Each source utilizes different spatial reference frames and sampling frequencies. The objective is to find an optimal mapping function f a l i g n . This function projects raw coordinates onto a standardized anchor space S a n c h o r by minimizing spatial projection errors:
min f a l i g n m D | | f a l i g n ( x m , t m ) S a n c h o r * | | 2 ,
where S a n c h o r * is the ground-truth physical location. Variables x m and t m represent raw spatial and temporal coordinates from modality m.
Second, dynamic risk assessment formulates pipeline degradation as a continuous process rather than a static classification task. It requires a predictive function F r i s k mapping aligned multivariate sequences X t ( i ) to a future risk profile R t + Δ t ( i ) . This profile vector represents probabilities and severities across multiple failure modes:
R t + Δ t ( i ) = F r i s k ( X t ( i ) , X t 1 ( i ) , , X t k ( i ) ; Θ e x p e r t ) ,
where Θ e x p e r t denotes parameters of domain-specific physical models (e.g., corrosion kinetics or geohazard stress).
Third, intelligent decision-making is formulated as a Constrained Markov Decision Process. The digital twin must translate quantified risks into actionable engineering interventions. The objective is to find an optimal policy π * . This policy maps the global state space to discrete intervention actions, maximizing safety utility U over a horizon T:
π * = arg max π E t = 0 T γ t U ( S t , A t ) ,
subject to the resource constraint C ( A t ) C m a x (maximum maintenance budget) and the critical safety boundary R ( S t | A t ) R t h r e s h o l d (strict industry regulatory standards).

2.2. The Proposed SLMC Architecture

This research transitions pipeline assessment from monolithic black-box models to a distributed cognitive network. Traditional centralized systems suffer from bandwidth limits, high latency, and strict privacy regulations. As illustrated in Figure 3, the proposed architecture balances localized edge computing with global cognitive reasoning. It utilizes a hierarchical multi-agent ecosystem. Physics-informed industry models are encapsulated as Domain Expert Agents. Simultaneously, a locally deployed Large Language Model acts as the central hub. This synergy enables the autonomous execution of complex reasoning and observation tasks.
The structural design ensures that high-bandwidth raw data is processed locally at the edge, while only compressed, semantic risk information is transmitted to the central cognitive hub [20]. This hierarchical topology not only preserves data privacy by keeping raw operational logs at the local nodes but also significantly reduces the communication latency typical of centralized cloud architectures [15]. Within this framework, the Domain Expert Agents serve as the high-fidelity perception engine, while the LLM-driven hub acts as the system’s brain, resolving conflicting expert reports and ensuring that all maintenance decisions strictly comply with engineering standards and safety regulations [13].

2.3. Intelligent Data Standardization and Spatial Alignment Agent

To circumvent the limitations of confronting synonym ambiguity and semi-structured texts, the agent constructs an intelligent transformation workflow based on a configurable Retrieval-Augmented Generation knowledge base (illustrated in Figure 4).
The alignment agent resolves heterogeneity by modeling anchor mileage s i as a Gaussian variable s i N ( μ i , σ i 2 ) . Operational data exhibits severe formatting, semantic, and spatial disparities. During feature engineering, a Sequence-to-Sequence model with Conditional Random Fields extracts structured entities from complex fields. For precise mapping, a semantic Graph Neural Network calculates confidence scores between raw and standard fields. Finally, hierarchical clustering enables unsupervised identification of unknown patterns to dynamically expand the knowledge base.
To enhance robustness against inherent cumulative errors from odometer wheel slippage and variable GPS precision, the system introduces a dynamic weight allocation mechanism based on a Data Quality Score DQS, where the optimized variance is defined as σ i o p t = σ i · ( 1 + λ · ( 1 D Q S i ) ) . Low-quality data points artificially amplify their variance, automatically reducing their constraint weight in subsequent alignment calculations and thereby significantly enhancing algorithmic robustness.
For internal sequence matching between disparate inspection runs, the agent establishes a candidate set via Dynamic Time Warping to overcome non-linear mileage deviations. Subsequently, it applies a Weighted Least Squares optimization to minimize the residual errors of the matched pairs, solving for linear stretch and translation coefficients:
min a , b ( i , j ) M c a n d 1 ( σ A , i o p t ) 2 + ( σ B , j o p t ) 2 · ( ( a · s A , i + b ) s B , j ) 2 .
For absolute spatial correction utilizing high-precision external test piles, a piece-wise linear stretching model adaptively calibrates local cumulative errors across segments defined by adjacent test piles k and k + 1 :
f ( s A ) = s B , k + s B , k + 1 s B , k s A , k + 1 s A , k · ( s A s A , k ) .
This rigorous mathematical optimization outputs a standardized state vector mapped to a global unique identifier.

2.4. Edge Execution Layer: Domain Expert Agents

Domain Expert Agents act as decentralized execution units constructed upon Physics-Informed Neural Network architectures (depicted in Figure 5).
These agents maintain strict adherence to physical laws by embedding governing equations directly as penalty terms during optimization. This dual-driven data and physics mechanism ensures that the generated local risk logits strictly converge within thermodynamic boundaries, drastically enhancing the model’s cross-cycle generalization capability.

2.4.1. Corrosion and Structural Integrity Agent

This agent utilizes a Physics-Informed LSTM to forecast metal loss and remaining useful life. To mitigate the measurement noise inherent in harsh pipeline environments, the agent first applies an Unscented Kalman Filter to dynamically smooth the magnetic flux leakage signals. Formally, the discrete-time non-linear degradation state transition is modeled as x k = f ( x k 1 ) + w k 1 with sensor observation z k = h ( x k ) + v k , where w k 1 and v k represent the process and measurement covariance noise matrices, respectively. The theoretical physical degradation rate C R ( t ) , driven by soil resistivity ρ , pH, temperature T, and fluid velocity v based on electrochemical corrosion kinetics including Faraday laws, is mathematically formalized as C R ( t ) = M · i c o r r ( t , ρ , p H , T , v ) n · F · ρ m , where i c o r r denotes the dynamic corrosion current density, M is the molar mass of the pipeline steel, n is the number of transferred electrons, F is Faraday’s constant, and ρ m is the metal density. This physical constraint is incorporated into the loss function as a soft penalty regularization:
L e x p e r t = 1 N i = 1 N d ^ i d i 2 + λ d ^ t C R ( t , ρ , p H , T , v ) 2 ,
where d ^ i is the predicted defect depth and d i is the actual benchmark obtained via excavation. This dual-driven mechanism ensures that risk logits converge within thermodynamic boundaries.

2.4.2. Geohazard and Environmental Threat Agent

Operating as the dynamic spatial risk evaluator, this agent focuses on external environmental threats including landslides, surface subsidence, and seismic fault activities. The agent deeply fuses millimeter-level surface deformation time series provided by persistent scatterer radar interferometry with high-precision digital elevation models generated via drone photogrammetry. The agent calculates a dynamic Geohazard Vulnerability Index G V I by integrating multi-modal data through a multi-factor non-linear aggregation:
G V I ( x , y , t ) = t 0 t k = 1 K ω k ( τ ) · ψ k ( x , y , τ ) · Φ ( σ p i p e , ϵ s o i l ) d τ ,
where Φ ( σ p i p e , ϵ s o i l ) introduces a Finite Element Surrogate model based on the Mohr-Coulomb failure criterion, rigorously defined by the yield surface f M C = τ σ n tan ϕ c 0 , where τ is the induced shear stress, σ n is the normal stress, ϕ is the angle of internal friction, and c is the soil cohesion. This surrogate function Φ acts as an extremely fast non-linear mapping for soil displacement ϵ s o i l to additional pipe bending stress σ p i p e . This enables the transition from static geographical descriptions to dynamic structural stress early warnings.

2.4.3. Leakage and High Consequence Area Agent

This agent evaluates dynamic spatial consequences by integrating a CFD-based Reduced Order Model [8]. Addressing the leakage and dispersion of high-pressure mediums, the agent abandons the static coarse circular potential impact radius. Instead it incorporates a real-time Gaussian Plume dispersion algorithm accessing telemetry including wind speed, atmospheric stability, and dynamic operating pressure to generate an asymmetric drifting thermal radiation or toxic dispersion boundary. Specifically, at ground level ( z = 0 ), the instantaneous spatial concentration distribution is formalized as D ( x , y , t ) = Q ( t ) π u σ y σ z exp y 2 2 σ y 2 H e f f 2 2 σ z 2 , where Q ( t ) represents the dynamic leak rate driven by internal pressure transients, u is the mean downwind velocity, H e f f is the effective release height, and σ y , σ z are the Pasquill-Gifford atmospheric dispersion parameters. The comprehensive risk value H C A r i s k is calculated via spatial integration:
H C A r i s k = Ω d i s p D ( x , y , t ) · P d y n ( x , y , t ) · V i n f r a ( x , y ) d x d y ,
where D ( x , y , t ) is the dynamic radiation intensity and P d y n is the time-varying population density field derived from cellular mobility data. This mechanism guarantees that the system accurately identifies tidal commuting corridors characterized by low risk at night and high risk during the day.

2.5. Central Cognitive Agent and Continuous Learning

The Central Cognitive Agent translates expert heuristic knowledge into a computable State-Action-Reason triplet model E e x p = S c , A o p t , R l o g i c [24]. Formally, at decision step t, the global state space S c is constructed by concatenating the high-dimensional risk embeddings output by the N decentralized edge expert agents: S t = i = 1 N ϕ i ( X t ( i ) ) , where ϕ i denotes the embedding function of the i-th agent. To enable cognitive processing, this continuous state vector is projected into the discrete vocabulary space of the LLM and concatenated with a standardized system instruction prompt I and the retrieved context C t to form the unified input sequence P t = [ I S t C t ] .
To ensure computational reproducibility and strictly mitigate data privacy risks, the cognitive hub is powered by a locally deployed Llama-3-70B-Instruct (Meta Platforms, Inc., Menlo Park, CA, USA) model operating entirely within an air-gapped environment. This guarantees that the system absolutely does not rely on external cloud services or internet connectivity, ensuring zero risk of sensitive operational data leakage. The model is quantized to 4-bit precision to optimize the trade-off between reasoning depth and inference latency. All cognitive fusion experiments were conducted on a localized workstation equipped with dual NVIDIA H100 (80 GB) GPUs (NVIDIA Corporation, Santa Clara, CA, USA) and 256 GB of RAM. Furthermore, the system instruction prompt I is engineered to strictly confine the model to an “Act as a Senior Pipeline Integrity Engineer” persona, enforcing a deterministic Reasoning-Action output structure.
Utilizing natural language processing dependency parsing techniques, the system explicitly extracts fuzzy operational justifications from expert logs into a Causal Logic Graph transforming human intuitive experience into dense embeddings. As detailed in Table 4, this structure allows the system to synthesize trade-offs between economic costs and safety redundancy [19].
For novel risks, the Central Agent computes the Graph Edit or Wasserstein distance between the current state and retrieved historical references. To ensure interpretability and minimize LLM hallucinations, the reasoning engine integrates an Industry Knowledge Graph Retrieval-Augmented Generation (RAG) framework. This hybrid architecture pairs dense semantic matching with sparse regulatory code retrieval. Decision generation follows a Directed Acyclic Graph (DAG) Chain-of-Thought process: phenomenon analysis, historical matching, attribution reasoning, and final output (Figure 6).
Mathematically, the LLM ( θ L L M ) models the conditional probability of generating the Action-Reason sequence Y t = A o p t , R l o g i c autoregressively:
P ( Y t | P t ; θ L L M ) = l = 1 | Y t | P θ L L M ( y l | y < l , P t ) .
Decision optimization relies on a multi-objective reward r ( S t , A t ) = ω 1 U s a f e t y ω 2 C c o s t + ω 3 δ e x p e r t , balancing the safety margin ( U s a f e t y ), economic cost ( C c o s t ), and discrete Human-in-the-Loop validation ( δ e x p e r t { 1 , 1 } ). The agent policy is optimized via Proximal Policy Optimization (PPO), driven by the task loss L c u r r ( θ L L M ) :
L c u r r ( θ L L M ) = E P t min ρ t ( θ L L M ) A ^ t , clip ( ρ t ( θ L L M ) , 1 ϵ , 1 + ϵ ) A ^ t ,
where ρ t ( θ L L M ) = π θ L L M ( A t | P t ) π θ o l d ( A t | P t ) denotes the probability ratio and A ^ t is the generalized advantage estimator.
Continuous feedback learning utilizes a hierarchical memory (Working, Episodic, and Semantic). The module retrieves historical context for ongoing risk evaluation via cross-attention:
C o n t e x t t = Attention ( q t , K h i s t , V h i s t ) ,
where q t represents the current query and K h i s t denotes historical episodic keys (Figure 7).
The Semantic Memory physically manifests as an Expert Decision Graph which executes online incremental learning via three topological evolution mechanisms including cognitive node growth, knowledge consolidation fusion, and spatio-temporal adaptive pruning.
To prevent catastrophic forgetting during continuous adaptation to evolving physical conditions, the framework utilizes Elastic Weight Consolidation, augmenting the loss function with a Fisher Information-based regularization term [10]:
L ( θ ) = L c u r r ( θ ) + λ 2 i F i ( θ i θ i , o l d ) 2 ,
where F i ensures parameter stability by penalizing shifts in weights critical to historical pipeline degradation patterns. The system operates as a human-in-the-loop closed cycle where the cognitive hub issues intervention commands to field experts whose actual physical measurements generate an error-based reward signal driving policy gradient fine-tuning (illustrated in Figure 8).
Crucially, the primary scientific innovation of this architecture extends beyond the mere integration of existing AI components. The proposed framework establishes a synergistic Continuous Feedback Learning mechanism explicitly tailored to pipeline integrity management. By mathematically coupling the cognitive reasoning of the central LLM with the physical validation of human experts through the PPO reward signal, and dynamically utilizing this feedback to trigger EWC parameter protection, the system creates a rigorous cross-scale feedback loop. This coupled innovation ensures that localized physical constraints directly guide the global cognitive evolution, effectively resolving the fundamental dilemma between task plasticity and historical stability inherent in long-term infrastructure management.

2.6. Experimental Baselines and Setup

To benchmark performance, Table 5 outlines the selected baseline methods targeted across different execution phases to rigorously validate the superiority of the proposed architecture against established algorithms and recent highly competitive models.
For spatial alignment tasks, manual alignment represents the traditional industry standard which is highly accurate but computationally inefficient. Linear rubber-sheeting distributes cumulative odometer errors linearly but fails to address non-linear wheel slippage. For corrosion prediction, empirical models provide strong interpretability but lack capacity to map non-linear environmental degradation factors, whereas standard data-driven deep networks demonstrate significant variance violating thermodynamic boundaries. For global decision synthesis, monolithic multi-layer perceptrons struggle with heterogeneous inputs, and standard multi-agent systems lacking a central language model fail to resolve complex multi-physics conflicts effectively.
To ensure rigorous reproducibility as demanded by industrial applications, the proprietary datasets were strictly partitioned into training (80 percent), validation (10 percent), and testing (10 percent) sets. This partitioning was executed chronologically to strictly prevent temporal data leakage. Model optimization was conducted using the AdamW optimizer. Table 6 details the core hyperparameter configurations utilized during the training phase across all deep learning baselines and the proposed framework.

3. Results

This section quantitatively evaluates the Small-Large Model Collaborative (SLMC) framework across four engineering dimensions. Using proprietary SJ and LC pipeline datasets, targeted experiments independently assess the perception, edge execution, cognitive, and evolutionary layers under diverse operational conditions.

3.1. Evaluation Metrics

The evaluation metrics align strictly with industrial safety standards. To ensure real-world applicability, a committee of five senior engineers—each with over ten years of field experience—manually annotated and cross-validated the ground-truth labels for all risk tasks, establishing a highly rigorous, expert-labeled benchmark.
Alignment Accuracy measures the proportion of inspection features mapped within a 0.5 m tolerance of physical anchors, reflecting the standard permissible excavation error window. Exceeding this margin causes wrong-location excavations and accidental pipe strikes. Computational efficiency is quantified as the hours required to process 100 km of multi-modal data.
Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) evaluate continuous corrosion depth predictions. RMSE is prioritized; its quadratic penalty prevents catastrophic underestimates of severe metal loss, maintaining model sensitivity to extreme degradation.
Precision, Recall, and the F1-Score evaluate the cognitive hub’s ability to classify compounded risks. Precision maximizes economic efficiency (minimizing false alarms), while Recall ensures catastrophic threats are detected. The F1-Score balances both objectives. The decision evaluation utilizes 500 representative multi-hazard scenarios extracted from historical logs, ensuring statistical significance for reliability testing.
RMSE Degradation quantifies catastrophic forgetting during continuous learning. A value near zero indicates the model successfully integrated new environmental patterns without overwriting its established historical degradation memory.

3.2. Spatial Alignment Performance and Efficiency

Spatial alignment is evaluated on the noisy, mountainous SJ pipeline and the newer, urban-fringe LC pipeline datasets.
Manual alignment provides a reliable benchmark (>96% accuracy) but is highly inefficient, requiring 48.0 h per 100 km for manual cross-referencing. This intense labor renders it entirely unscalable for extensive national networks.
Linear rubber-sheeting algorithms distribute errors evenly, failing significantly on the complex SJ dataset (62.4% accuracy) due to severe non-linear wheel slippage in steep terrains. While performing slightly better on the LC dataset (75.3%), this method remains insufficient for precise integrity management.
Vanilla dynamic time warping (DTW) accommodates non-linear distortions but struggles with high signal noise, achieving 81.2% (SJ dataset). Lacking probabilistic weighting, it fails in harsh conditions.
The proposed agent explicitly resolves the accuracy–efficiency trade-off. Combining DTW with weighted least squares, it achieves highly competitive operational precision (95.8% on SJ; 96.9% on LC) in merely 0.3–0.4 h (Figure 9). This sub-hour processing establishes a unified spatial ground truth for the downstream digital twin.

3.3. Domain Expert Agent Predictive Accuracy

To validate the necessity of embedding physical laws into edge-computing nodes, the corrosion expert agent was evaluated over a five-year operational horizon. This experiment assesses the predictive precision of the domain expert agent against traditional empirical and purely data-driven models. The evaluation spans both the severely degraded SJ pipeline and the relatively newer LC pipeline datasets to ensure comprehensive validation.
As shown in Table 7, traditional empirical models based on modified industry standards exhibit the highest errors across both datasets. They record a root mean square error of 3.45 on the SJ pipeline and 2.95 on the LC pipeline. These models rely on static mathematical formulas that completely ignore dynamic environmental coupling effects such as fluctuating soil moisture and variable pH levels over the pipeline lifecycle.
Conversely, purely data-driven models like random forest and standard long short-term memory networks show significant variance and high error margins. To comprehensively evaluate highly competitive time-series architectures, recent Transformer-based foundation models, including One Fits All (GPT4TS) and Chronos, were integrated into the comparative analysis. As detailed in Table 7, these advanced attention-based models outperform traditional LSTMs.
Notably, the Chronos-Small model demonstrates superior feature extraction capabilities with lower prediction errors compared to the Chronos-Tiny variant, accurately reflecting the expected performance gains associated with increased parameter scale. However, while they excel in multi-dimensional mapping, both traditional and foundation data-driven models fundamentally lack strict physical constraints. As vividly demonstrated in Figure 10, unconstrained neural networks frequently predict erratic trajectories that blatantly violate thermodynamic boundaries. These data-driven baselines often display physically impossible reductions in corrosion depth over time, suggesting that the metal wall is magically regenerating. Such unphysical fluctuations destroy trust in the predictive model among field engineers.
By directly embedding Faraday laws and degradation kinetics as a physics-informed penalty term, the proposed agent effectively suppresses these unphysical fluctuations. It strictly enforces a monotonically increasing degradation curve that smoothly tracks the true degradation trend and aligns with ground truth inspections. This dual-driven mechanism ensures that the generated risk logits strictly converge within thermodynamic boundaries. Consequently, the proposed agent consistently achieves the lowest errors, reducing the root mean square error to 2.14 on the complex SJ dataset and 1.86 on the LC dataset. This dual-dataset validation proves that the collaborative domain expert agent serves as a highly robust and physically consistent computational engine for both early-stage and late-stage pipeline degradation prediction.

3.4. Global Cognitive Decision Synthesis and Conflict Resolution

The central cognitive agent capability to synthesize conflicting edge reports and formulate holistic intervention strategies is thoroughly evaluated. One of the primary concerns in deploying large language models (LLMs) for critical infrastructure is the phenomenon of hallucination, where the model may generate plausible but physically incorrect or non-compliant decisions. In this framework, hallucinations are systematically suppressed through two primary mechanisms. First, the reasoning engine is strictly constrained by an Industry Knowledge Graph-based RAG module, which forces the model to ground its decisions in actual regulatory codes (e.g., ASME B31.8S). Second, the outputs from the edge expert agents act as physics-informed “hard boundaries”; any decision that violates the thermodynamic convergence of the PINN models is robustly filtered during the Bayesian fusion phase. To rigorously test the reasoning generalization of the large language model hub, the evaluation is conducted across the SJ pipeline dominated by natural multi-physics threats such as severe corrosion coupled with imminent landslide stress, and the LC pipeline dominated by socio-environmental threats such as simultaneous third-party vibrations in densely populated urban fringes.
As detailed in Table 8, the monolithic multi-layer perceptron struggles significantly to process multi-modal heterogeneous inputs across both domains. It yields suboptimal F1-scores of 73.1 percent and 76.5 percent respectively, representing the limitations of a traditional centralized black-box paradigm. The recent knowledge graph neural network baseline performs aggressively and achieves the highest recall, reaching up to 94.5 percent on the LC pipeline. However, this high recall comes at a severe cost of precision, dropping to 82.5 percent on the SJ dataset. Lacking dynamic causal reasoning, the knowledge graph model overreacts to correlated but harmless entities, generating numerous costly false alarms that would severely drain maintenance resources.
In contrast, the central hub employs Bayesian fusion and Retrieval-Augmented Generation (RAG) to filter localized noise. This yields highly competitive precision and peak F1-scores across both risk domains. Specifically, achieving a 94.2% F1-Score and 95.1% precision on the LC pipeline demonstrates expert-level reasoning that effectively minimizes costly false excavations. By resolving expert conflicts, the cognitive hub maintains rigorous safety thresholds without unnecessary operational disruptions.
To further validate the architectural necessity of the individual components within the SLMC framework, an ablation study was conducted on the decision synthesis task. As presented in Table 9, the study quantifies the impact of removing the Retrieval-Augmented Generation (RAG) module and the Physics-Informed Neural Network (PINN) constraints. The evaluation introduces an additional metric, Physical Consistency, which measures the percentage of generated decisions that strictly adhere to thermodynamic and physical boundaries.
The ablation results clearly indicate that both components are indispensable for reliable infrastructure management. Removing the RAG module primarily degrades reasoning precision (dropping from 95.1 percent to 86.4 percent), as the LLM loses grounding in strict regulatory codes and is prone to hallucinating overly conservative or non-compliant interventions. Conversely, removing the PINN edge constraints leads to a catastrophic drop in Physical Consistency (from 99.8 percent to 74.2 percent). Without these edge-computed physical hard boundaries, the central hub frequently accepts unphysical predictions from pure data-driven models, highlighting the critical role of physics-informed constraints in filtering invalid decisions.
It is critical to acknowledge the inherent computational and operational trade-offs of this architectural choice, which are starkly visualized in Figure 11.
First, the proposed method yields a marginally lower recall compared to the highly aggressive knowledge graph baseline. This occurs because the strict chain-of-thought reasoning process actively dismisses borderline anomalies to prevent costly false excavations. Secondly, the inclusion of semantic reasoning introduces a significant computational overhead. The inference latency of the hub reaches 3.50 s per complex event fusion, which is vastly inferior to the 0.05 s latency of a standard multi-layer perceptron.
Nevertheless, within the context of pipeline integrity management where maintenance dispatching is typically planned over hours or days rather than milliseconds, this latency is an entirely acceptable compromise. The deliberate acceptance of a substantially higher inference latency guarantees rigorous and standard-compliant semantic reasoning, representing a massive gain in decision transparency and operational reliability.

3.5. Continuous Learning and Anti-Forgetting Evaluation

To evaluate the evolutionary aspect of the digital twin, the final experiment investigates the system capacity for continuous feedback learning across sequential operational domains. The evaluation protocol utilizes both proprietary datasets chronologically. The model is initially trained on the SJ pipeline focusing on long-term mountainous corrosion features. It is subsequently fine-tuned on the LC pipeline focusing on socio-environmental interference and urban dynamic risks.
Experiment results for catastrophic forgetting mitigation are systematically shown in Table 10. These results perfectly illustrate the classic stability versus plasticity dilemma in continuous machine learning. When utilizing the standard fine-tuning baseline, the model exhibits high plasticity, learning the new LC pipeline features exceptionally well and achieving a minimal root mean square error of 1.95. However, this unconstrained parameter updating severely degrades the neural weights associated with historical knowledge. When the standard fine-tuning model is re-evaluated on the original SJ pipeline dataset, the error spikes drastically from 2.14 to 4.35. This massive performance drop confirms the occurrence of severe catastrophic forgetting, rendering the standard fine-tuning approach unacceptable for long-term infrastructure management.
By implementing elastic weight consolidation within the continuous feedback loop, the proposed framework explicitly addresses this vulnerability. The system calculates the Fisher information matrix to quantify and strictly protect the critical parameters corresponding to the original SJ dataset. Consequently, after training on the new pipeline segment, the proposed method successfully retains its historical memory, maintaining an exceptional root mean square error of 2.28 on the original dataset.
In keeping with rigorous architectural evaluation, a necessary engineering trade-off is observed. Because the elastic weight consolidation regularization restricts the parameter search space to preserve historical weights, the model predictive accuracy on the newly introduced LC pipeline is marginally inferior to that of the unconstrained standard fine-tuning baseline. However, in the context of lifecycle pipeline integrity, sacrificing a fractional margin of accuracy on a new segment to reliably preserve decades of historical degradation logic across the entire pipeline network is an indispensable and highly advantageous engineering compromise. This mechanism ensures the digital twin can safely evolve over decades of continuous operation.

4. Discussion

The results obtained from the multi-agent SLMC framework provide significant insights into the transition from monolithic diagnostics to collaborative intelligence. The findings confirm that integrating physical constraints with semantic reasoning resolves the most persistent bottlenecks in pipeline integrity management.

4.1. Scientific Interpretation of Spatial and Predictive Accuracy

The spatial alignment results indicate that cumulative mechanical drift in internal inspection tools can be effectively corrected through probabilistic anchor weighting. By approaching expert-level precision in sub-hour durations, the perception layer enables real-time digital twin synchronization. The superiority of the PI-LSTM agent over pure data-driven models suggests that physical constraints act as a critical regularization mechanism. This is particularly vital for long-distance pipelines where failure data is sparse. The enforced monotonicity in corrosion depth prediction directly prevents dangerous underestimates of metal loss, which traditional LSTMs occasionally produce due to signal noise.

4.2. Engineering Trade-Off Between Latency and Decision Transparency

The cognitive decision experiment revealed an essential engineering compromise. While monolithic networks offer near-instantaneous inference, they lack the transparent reasoning required for high-stakes safety. The proposed LLM hub introduces a latency of approximately 3.5 s. However, the resulting Chain-of-Thought reasoning provides human operators with a verifiable logic path, citing specific industry standards like ASME B31.8S. This transparency transforms the digital twin from a black-box tool into a collaborative advisor, reducing the likelihood of costly false excavations and improving stakeholder trust in autonomous systems.

4.3. Lifecycle Stability and Knowledge Retention

The successful mitigation of catastrophic forgetting addresses a major limitation of current industrial AI. Traditional models require full retraining when a pipeline is extended or new sensors are deployed, incurring massive computational costs. The SLMC architecture demonstrates that critical historical degradation logic can be preserved while adapting to new operational environments. The observed marginal loss in accuracy on the new task is a justifiable trade-off for maintaining a reliable, long-term memory of the entire asset lifecycle. This capability is foundational for the development of self-healing and evolving industrial digital twins.

5. Conclusions

This paper proposes an evolutionary digital twin framework driven by a Small-Large Model Collaborative (SLMC) architecture. This approach resolves the fundamental bottlenecks of long-distance pipeline integrity management. The framework explicitly decouples specialized edge numerical computation from centralized global cognitive reasoning. Consequently, it overcomes the interpretability and stability limitations of traditional monolithic artificial intelligence models.
The main contributions and experimental validations are summarized as follows:
  • High-Fidelity Spatial Alignment: The intelligent perception agent achieved up to 96.9% spatial alignment accuracy. This establishes a reliable automated data foundation.
  • Physics-Informed Edge Prediction: Enforcing strict adherence to thermodynamic boundaries reduced the predictive RMSE to 1.86 via embedded physics-informed neural networks.
  • Transparent Cognitive Reasoning: The central cognitive hub effectively synthesized complex multi-physics conflicts. It achieved a 94.2% F1-Score while providing fully explainable decision pathways.
  • Continuous Evolutionary Learning: The integration of elastic weight consolidation significantly mitigated catastrophic forgetting. This mechanism effectively balances task plasticity with historical stability.
Several limitations of the current study require acknowledgment. First, experimental validation is restricted to the specific geological and operational conditions of the SJ and LC datasets. The framework’s zero-shot generalization across environmental extremes (e.g., permafrost or offshore subsea pipelines) remains unverified. Second, relying on a massive central Large Language Model imposes significant hardware and communication latency constraints. This high-bandwidth dependency could delay emergency shutdowns in remote, network-deprived segments. Third, the cognitive hub’s decision-making evaluation relies on a classification benchmark of 500 manually annotated multi-hazard scenarios. While rigorous, this “expert-labeled” ground truth inherently carries subjective bias. It may not fully encapsulate universal industrial consensus across different corporate standards.
Future research will focus on addressing these limitations through specific directions. First, we will explore lightweight model quantization and decentralized edge-LLM deployment. This will reduce central hub latency and alleviate hardware dependencies. Second, future iterations will expand the multi-modal perception layer to ingest real-time acoustic emission sensors and drone-based visual streams. Simultaneously, we will test the framework across international pipeline networks to validate global generalizability. Additionally, future studies will incorporate consensus-based scoring frameworks, such as the Delphi method. This approach will mitigate inherent evaluation subjectivity and establish highly objective cognitive benchmarks.
Ultimately, this multi-agent cognitive ecosystem transitions pipeline risk management from reactive diagnostics into a proactive, interpretable, and self-optimizing digital infrastructure.

Author Contributions

Conceptualization, N.S., Q.L. and Z.W.; methodology, Z.L.; software, Z.L.; validation, J.Z. and L.L.; formal analysis, Z.L.; investigation, Z.L., Q.S. and S.L.; resources, N.S.; data curation, Q.S.; writing—original draft preparation, Z.L.; writing—review and editing, N.S. and S.L.; visualization, Z.L.; supervision, S.L.; project administration, N.S.; funding acquisition, N.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Science and Technology Major Project of the Ministry of Science and Technology of China No. 2026ZD0811002, and the National Natural Science Foundation of China No. 62376189.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy and corporate confidentiality restrictions.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
SLMCSmall-Large Model Collaborative
MASMulti-Agent Systems
LLMLarge Language Models
PINNPhysics-Informed Neural Networks
SCADASupervisory Control and Data Acquisition
ILIIn-Line Inspection
HCAHigh Consequence Area
TPIThird-Party Interference
DTWDynamic Time Warping
WLSWeighted Least Squares
EWCElastic Weight Consolidation
RAGRetrieval-Augmented Generation
GNNGraph Neural Networks
RMSERoot Mean Square Error
MAEMean Absolute Error

References

  1. Shen, F.; Ren, S.S.; Zhang, X.Y.; Luo, H.W.; Feng, C.M. A Digital Twin-Based Approach for Optimization and Prediction of Oil and Gas Production. Math. Probl. Eng. 2021, 2021, 3062841. [Google Scholar] [CrossRef]
  2. Hamidishad, N.; Barbosa, R.S.; Allahyarzadeh-Bidgoli, A.; Yanagihara, J.I. Digital Twin Frameworks for Oil and Gas Processing Plants: A Comprehensive Literature Review. Processes 2025, 13, 3488. [Google Scholar] [CrossRef]
  3. Aheleroff, S.; Huang, H.; Xu, X.; Zhong, R.Y. Toward sustainability and resilience with Industry 4.0 and Industry 5.0. Front. Manuf. Technol. 2022, 2, 951643. [Google Scholar] [CrossRef]
  4. Aheleroff, S.; Xu, X.; Zhong, R.Y.; Lu, Y. Digital Twin as a Service (DTaaS) in Industry 4.0: An Architecture Reference Model. Adv. Eng. Inform. 2021, 47, 101225. [Google Scholar] [CrossRef]
  5. Meza, E.B.M.; Souza, D.G.B.d.; Copetti, A.; Sobral, A.P.B.; Silva, G.V.; Tammela, I.; Cardoso, R. Tools, Technologies and Frameworks for Digital Twins in the Oil and Gas Industry: An In-Depth Analysis. Sensors 2024, 24, 6457. [Google Scholar] [CrossRef] [PubMed]
  6. Leipnitz, M.T.; Petry, R.H.; Rodrigues, F.H.; de Souza Silva, H.R.; Correia, J.B.; Becker, K.; Wickboldt, J.A.; Carbonera, J.L.; Netto, J.C.; Abel, M. Architecting Digital Twins: From Concept to Reality. Procedia Comput. Sci. 2025, 256, 530–537. [Google Scholar] [CrossRef]
  7. Wang, T.; Feng, K.; Ling, J.; Liao, M.; Yang, C.; Neubeck, R.; Liu, Z. Pipeline condition monitoring towards digital twin system: A case study. J. Manuf. Syst. 2024, 73, 256–274. [Google Scholar] [CrossRef]
  8. Hauge, E.; Aamo, O.M.; Godhavn, J.M. Model based pipeline monitoring with leak detection. IFAC Proc. Vol. 2007, 40, 318–323. [Google Scholar] [CrossRef]
  9. Xu, Z.; Ma, K.; Liu, Y.; Sun, W.; Liu, Y. Causal Representation Learning for Robust Anomaly Detection in Complex Environments. Preprints 2025, 2025070910. [Google Scholar] [CrossRef]
  10. Cheng, H.; Wen, H.; Zhang, X.; Qiu, H.; Wang, L.; Li, H. Contrastive Continuity on Augmentation Stability Rehearsal for Continual Self-Supervised Learning. In Proceedings of the 2023 IEEE/CVF International Conference on Computer Vision (ICCV); IEEE: Piscataway, NJ, USA, 2023; pp. 5684–5694. [Google Scholar] [CrossRef]
  11. Chen, Y.; Du, M. Financial Fraud Transaction Prediction Approach Based on Global Enhanced GEGCN and Bidirectional LSTM. Comput. Econ. 2024, 66, 1747–1766. [Google Scholar] [CrossRef]
  12. Ashour, A.S.; El-Attar, A.; Dey, N.; El-Kader, H.A.; Abd El-Naby, M.M. Long short term memory based patient-dependent model for FOG detection in Parkinson’s disease. Pattern Recognit. Lett. 2020, 131, 23–29. [Google Scholar] [CrossRef]
  13. Guo, Z.; Tang, F.; Luo, L.; Zhao, M.; Kato, N. A Survey on Applications of Large Language Model-Driven Digital Twins for Intelligent Network Optimization. IEEE Commun. Surv. Tutor. 2026, 28, 3388–3411. [Google Scholar] [CrossRef]
  14. Liu, H.; Yang, Z.; Li, H.; Wang, R.; Zhao, S. Research on Financial Credit Default Prediction Based on Transformer. In Proceedings of the 2025 International Conference on Computer Technology, Digital Media and Communication; ACM: New York, NY, USA, 2026; pp. 517–522. [Google Scholar] [CrossRef]
  15. Wu, C.; Wu, F.; Lyu, L.; Qi, T.; Huang, Y.; Xie, X. A federated graph neural network framework for privacy-preserving personalization. Nat. Commun. 2022, 13, 3091. [Google Scholar] [CrossRef] [PubMed]
  16. Wang, Z.; Kuang, W.; Xie, Y.; Yao, L.; Li, Y.; Ding, B.; Zhou, J. FederatedScope-GNN: Towards a Unified, Comprehensive and Efficient Package for Federated Graph Learning. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining; ACM: New York, NY, USA, 2022; pp. 4110–4120. [Google Scholar] [CrossRef]
  17. Yang, H.; Wang, M.; Dai, L.; Wu, Y.; Du, J. Federated Graph Neural Networks for Heterogeneous Graphs with Data Privacy and Structural Consistency. In Proceedings of the 2025 5th International Conference on Computer Science and Blockchain (CCSB); IEEE: Piscataway, NJ, USA, 2025; pp. 311–315. [Google Scholar] [CrossRef]
  18. Fang, B.; Gao, D. Collaborative Multi-Agent Reinforcement Learning Approach for Elastic Cloud Resource Scaling. In Proceedings of the 2025 7th International Conference on Artificial Intelligence Technologies and Applications (ICAITA); IEEE: Piscataway, NJ, USA, 2025; pp. 415–419. [Google Scholar] [CrossRef]
  19. Alexandre, C.R.; Balsa, J. Incorporating machine learning and a risk-based strategy in an anti-money laundering multiagent system. Expert Syst. Appl. 2023, 217, 119500. [Google Scholar] [CrossRef]
  20. Knebel, F.P.; Trevisan, R.; do Nascimento, G.S.; Abel, M.; Wickboldt, J.A. A study on cloud and edge computing for the implementation of digital twins in the Oil & Gas industries. Comput. Ind. Eng. 2023, 182, 109363. [Google Scholar] [CrossRef]
  21. Wagg, D.J.; Worden, K.; Barthorpe, R.J.; Gardner, P. Digital Twins: State-of-the-Art and Future Directions for Modeling and Simulation in Engineering Dynamics Applications. ASCE-ASME J. Risk Uncertain. Eng. Syst. Part B Mech. Eng. 2020, 6, 030901. [Google Scholar] [CrossRef]
  22. Antelmi, A.; Cordasco, G.; Polato, M.; Scarano, V.; Spagnuolo, C.; Yang, D. A Survey on Hypergraph Representation Learning. ACM Comput. Surv. 2023, 56, 1–38. [Google Scholar] [CrossRef]
  23. Wang, Y. Structured Compression of Large Language Models with Sensitivity-aware Pruning Mechanisms. J. Comput. Technol. Softw. 2024, 3. [Google Scholar] [CrossRef]
  24. Liu, X.; Qin, Y.; Xu, Q.; Liu, Z.; Guo, X.; Xu, W. Integrating Knowledge Graph Reasoning with Pretrained Language Models for Structured Anomaly Detection. In Proceedings of the 2025 International Conference on Artificial Intelligence, Human-Computer Interaction and Natural Language Processing (ICAHN); IEEE: Piscataway, NJ, USA, 2025; pp. 107–111. [Google Scholar] [CrossRef]
Figure 1. Multi-Dimensional Risk Scenarios in Long-Distance Pipelines. This schematic illustrating a 3D cutaway view of the pipeline stretches across varied terrain, highlighting core risk categories: internal corrosion with metal loss pitting, external geohazard landslide stress, surface third-party interference from digging machinery, and surrounding high population density areas.
Figure 1. Multi-Dimensional Risk Scenarios in Long-Distance Pipelines. This schematic illustrating a 3D cutaway view of the pipeline stretches across varied terrain, highlighting core risk categories: internal corrosion with metal loss pitting, external geohazard landslide stress, surface third-party interference from digging machinery, and surrounding high population density areas.
Sensors 26 03219 g001
Figure 2. Architectural Evolution to a Multi-Agent Collaborative Digital Twin. This diagram explicitly delineates physical assets from their digital representations. It contrasts traditional models with the proposed decentralized architecture, where edge expert agents collaborate with a locally deployed, privacy-preserving cognitive hub for explainable risk analysis. Key advantages and computational limitations are also highlighted.
Figure 2. Architectural Evolution to a Multi-Agent Collaborative Digital Twin. This diagram explicitly delineates physical assets from their digital representations. It contrasts traditional models with the proposed decentralized architecture, where edge expert agents collaborate with a locally deployed, privacy-preserving cognitive hub for explainable risk analysis. Key advantages and computational limitations are also highlighted.
Sensors 26 03219 g002
Figure 3. Topological Architecture of the Multi-Agent Digital Twin System. The framework integrates (1) the Physical Layer for multi-modal sensor data acquisition, (2) the Domain Expert Layer for decentralized physics-informed risk assessment, and (3) the Central Cognitive Hub for LLM-driven decision synthesis.
Figure 3. Topological Architecture of the Multi-Agent Digital Twin System. The framework integrates (1) the Physical Layer for multi-modal sensor data acquisition, (2) the Domain Expert Layer for decentralized physics-informed risk assessment, and (3) the Central Cognitive Hub for LLM-driven decision synthesis.
Sensors 26 03219 g003
Figure 4. ASME B31.8S-Compliant Data Alignment Workflow. This process establishes a unified spatial ground truth for heterogeneous logs, resolving data silos via dynamic time warping and weighted least squares.
Figure 4. ASME B31.8S-Compliant Data Alignment Workflow. This process establishes a unified spatial ground truth for heterogeneous logs, resolving data silos via dynamic time warping and weighted least squares.
Sensors 26 03219 g004
Figure 5. The Physics-Informed Neural Network (PINN) Core of Expert Agents. Data-driven neural networks constrained by physics-informed loss functions to ensure thermodynamic compliance.
Figure 5. The Physics-Informed Neural Network (PINN) Core of Expert Agents. Data-driven neural networks constrained by physics-informed loss functions to ensure thermodynamic compliance.
Sensors 26 03219 g005
Figure 6. Central Cognitive Agent Orchestration and Conflict Resolution. Conflicting edge inputs are resolved via Bayesian fusion and Retrieval-Augmented Generation.
Figure 6. Central Cognitive Agent Orchestration and Conflict Resolution. Conflicting edge inputs are resolved via Bayesian fusion and Retrieval-Augmented Generation.
Sensors 26 03219 g006
Figure 7. Structure of the Hierarchical Time-Series Memory Module. Short-Term Working and Long-Term Episodic memories use cross-attention to retrieve historical degradation contexts.
Figure 7. Structure of the Hierarchical Time-Series Memory Module. Short-Term Working and Long-Term Episodic memories use cross-attention to retrieve historical degradation contexts.
Sensors 26 03219 g007
Figure 8. Continuous Feedback Learning Loop with Elastic Weight Consolidation (EWC). Human-in-the-loop feedback drives policy fine-tuning while EWC prevents catastrophic forgetting.
Figure 8. Continuous Feedback Learning Loop with Elastic Weight Consolidation (EWC). Human-in-the-loop feedback drives policy fine-tuning while EWC prevents catastrophic forgetting.
Sensors 26 03219 g008
Figure 9. Performance comparison of spatial alignment methods across heterogeneous datasets. The dual-axis visualization demonstrates that the proposed method approaches expert-level accuracy while suppressing computational time to sub-hour levels.
Figure 9. Performance comparison of spatial alignment methods across heterogeneous datasets. The dual-axis visualization demonstrates that the proposed method approaches expert-level accuracy while suppressing computational time to sub-hour levels.
Sensors 26 03219 g009
Figure 10. Trajectory of localized corrosion depth prediction over a five-year horizon. The proposed physics-informed agent strictly enforces a monotonically increasing degradation curve that smoothly tracks the ground truth inspections.
Figure 10. Trajectory of localized corrosion depth prediction over a five-year horizon. The proposed physics-informed agent strictly enforces a monotonically increasing degradation curve that smoothly tracks the ground truth inspections.
Sensors 26 03219 g010
Figure 11. Multi-objective trade-off analysis of global cognitive decision synthesis. The dual-axis chart visualizes the engineering compromise between Precision, F1-Score, and inference latency.
Figure 11. Multi-objective trade-off analysis of global cognitive decision synthesis. The dual-axis chart visualizes the engineering compromise between Precision, F1-Score, and inference latency.
Sensors 26 03219 g011
Table 1. Analysis of Recent Major Pipeline Disasters and Traditional Technical Bottlenecks.
Table 1. Analysis of Recent Major Pipeline Disasters and Traditional Technical Bottlenecks.
Incident & YearMediumPrimary Physical Root CauseTraditional Technical Bottlenecks & Research Gaps
Keystone Pipeline Spill
Kansas, USA, 2022
Crude OilBending stress fatigue compounded by historical weld anomalies and structural deformation.Inadequate Multi-physics Coupling: Static risk models failed to dynamically synthesize pipe-soil stress interactions with historical localized defect data.
Shiyan 6.13 Explosion
Hubei, China, 2021
Natural GasSevere localized electrochemical corrosion within a highly humid, confined urban blind-spot.Data Silos & Static Tracking: Disconnection between physical inspection logs and dynamic urban environmental changes; failure in real-time updating.
TETCO Pipeline Rupture
Kentucky, USA, 2020
Natural GasDegradation of historical manufacturing hard spots accelerated by long-term soil dynamics.Historical Context Forgetting: Inability to align and project decades-old construction baseline data with modern, heterogeneous inspection signals.
Table 2. Comparison of Existing Pipeline Risk Assessment Frameworks.
Table 2. Comparison of Existing Pipeline Risk Assessment Frameworks.
FrameworkPhysical Constraint SupportCatastrophic Forgetting MitigationDecision InterpretabilityData Privacy Protection
Traditional Physical ModelsHigh: Strictly governed by empirical mechanics and formulasN/A: Static models inherently incapable of continuous learningHigh: Explicit mathematical derivation processesLow: Requires centralized gathering of raw operational data
Pure Deep LearningLow: Purely data-driven black-box non-linear mappingNo: Highly susceptible to forgetting historical degradation patternsLow: Lack of transparent causal reasoning mechanismsLow: Demands massive centralized datasets for model training
Standard Federated LearningLow: Primarily focuses on distributed statistical optimizationPartial: Alleviated via local updates but lacks structural historical memoryLow: Aggregated global neural weights remain uninterpretableHigh: Raw operational data strictly remains at local edge nodes
Proposed SLMC ArchitectureHigh: Embedded Physics-Informed Neural Networks at the edgeYes: Achieved via Elastic Weight Consolidation and Hierarchical MemoryHigh: RAG-enhanced and rule-constrained reasoningHigh: Transmits only semantic Risk Embeddings to the central bus
Table 3. Statistical Overview of the Proprietary Pipeline Datasets.
Table 3. Statistical Overview of the Proprietary Pipeline Datasets.
Feature/Data TypeSJ PipelineLC Pipeline
Total Length150 km100 km
Girth Welds and Physical Anchors12,6548320
External Geographic Anchors14285
Identified Corrosion Defects72451520
Supervisory Control Nodes86
Drone Inspection Logs450 h1200 h
Historical Maintenance Logs312 cases184 cases
Table 4. Formalization of the State-Action-Reason Triplet based on Engineering Logs.
Table 4. Formalization of the State-Action-Reason Triplet based on Engineering Logs.
ComponentData FormatConcrete Engineering Case
StateHigh-dimensional VectorPhysical anomaly showing localized corrosion depth at 60 percent alongside an active agricultural farming season.
ActionHybrid SpaceReduce operational pressure by 15 percent, temporarily suspend excavation, and dispatch drone for surveillance.
ReasonLogic EmbeddingsImmediate excavation incurs prohibitive farmland compensation; the pressure reduction maintains safety margins.
Table 5. Summary of Selected Baseline Methods for Comparative Evaluation.
Table 5. Summary of Selected Baseline Methods for Comparative Evaluation.
Target TaskBaseline MethodCore Characteristics and LimitationsModel Type
Spatial AlignmentLinear Rubber-SheetingAssumes linear error distribution; fails in non-linear slippage scenarios.Rule-based
Corrosion PredictionEmpirical Model
Standard LSTM [12]
Chronos (Tiny & Small)
One Fits All (GPT4TS)
Physics-based but static; data-driven but prone to boundary violations.
Advanced Transformer-based pre-training but fundamentally lacks physical thermodynamic constraints.
Physical
Data-driven
Foundation Model
Global Risk DecisionKG-BPNN [24]
Standard MAS [19]
SOTA hybrid model but lacks causal reasoning; decentralized voting lacks cognitive fusion.Hybrid
Multi-Agent
Table 6. Experimental Setup and Core Hyperparameter Configurations. N/A: Not Applicable.
Table 6. Experimental Setup and Core Hyperparameter Configurations. N/A: Not Applicable.
HyperparameterData-Driven/PINN ModelsTransformer Baselines
OptimizerAdamWAdamW
Learning Rate 1 × 10 3 (Decay: 0.95) 1 × 10 4 (Cosine Annealing)
Batch Size6432
Training Epochs150 (Early Stopping: 15)50 (Early Stopping: 10)
Loss Function Weights λ p h y s i c s = 0.5 , λ d a t a = 1.0 N/A (Pure Data-driven)
EWC Regularization λ E W C = 5000 N/A
Table 7. Corrosion Depth Prediction Accuracy across Different Models and Datasets.
Table 7. Corrosion Depth Prediction Accuracy across Different Models and Datasets.
Predictive ModelDatasetRMSE (mm)MAE (mm)
Empirical Model modified B31GSJ Pipeline3.452.89
Random Forest (RF)SJ Pipeline3.122.65
Standard LSTM Pure Data-DrivenSJ Pipeline2.782.21
Chronos-Tiny (Foundation Model)SJ Pipeline2.652.15
One Fits All (GPT4TS)SJ Pipeline2.502.02
Chronos-Small (Foundation Model)SJ Pipeline2.451.95
Proposed Agent Core PI-LSTMSJ Pipeline2.141.75
Empirical Model modified B31GLC Pipeline2.952.41
Random Forest (RF)LC Pipeline2.682.15
Standard LSTM Pure Data-DrivenLC Pipeline2.351.82
Chronos-Tiny (Foundation Model)LC Pipeline2.201.75
One Fits All (GPT4TS)LC Pipeline2.121.66
Chronos-Small (Foundation Model)LC Pipeline2.051.58
Proposed Agent Core PI-LSTMLC Pipeline1.861.42
Table 8. Multi-Hazard Decision Synthesis Performance and Trade-offs across Heterogeneous Datasets.
Table 8. Multi-Hazard Decision Synthesis Performance and Trade-offs across Heterogeneous Datasets.
Decision ArchitectureDatasetPrecision (%)Recall (%)F1-Score (%)Latency (s)
Monolithic MLPSJ Pipeline74.272.173.10.05
KG-BPNN 2024 BaselineSJ Pipeline82.593.887.80.52
Standard MAS Majority VotingSJ Pipeline84.183.583.80.15
Proposed SLMC with LLMSJ Pipeline94.692.893.73.80
Monolithic MLPLC Pipeline78.274.876.50.05
KG-BPNN 2024 BaselineLC Pipeline83.194.588.40.45
Standard MAS Majority VotingLC Pipeline86.585.285.80.12
Proposed SLMC with LLMLC Pipeline95.193.394.23.50
Table 9. Ablation Study on Decision Synthesis Components.
Table 9. Ablation Study on Decision Synthesis Components.
ConfigurationPrecision (%)F1-Score (%)Physical Consistency (%)
Full SLMC Framework95.194.299.8
w/o RAG (Knowledge Hub)86.485.298.5
w/o PINN (Edge Constraints)91.289.574.2
Table 10. Catastrophic Forgetting Mitigation and Performance Trade-offs via EWC Regularization.
Table 10. Catastrophic Forgetting Mitigation and Performance Trade-offs via EWC Regularization.
Training StageEvaluated DatasetMetricStandard Fine-TuningProposed with EWC
1. Initial TrainingSJ Pipeline Task ARMSE2.142.14
2. Fine-Tuning on LCLC Pipeline Task BRMSE1.952.05
 SJ Pipeline Task ARMSE4.352.28
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Shi, N.; Li, Z.; Li, Q.; Zhang, J.; Li, L.; Sun, Q.; Liu, S.; Wang, Z. Evolutionary Digital Twin for Oil and Gas Pipelines: A Cognitive Multi-Agent Framework with Continuous Feedback Learning. Sensors 2026, 26, 3219. https://doi.org/10.3390/s26103219

AMA Style

Shi N, Li Z, Li Q, Zhang J, Li L, Sun Q, Liu S, Wang Z. Evolutionary Digital Twin for Oil and Gas Pipelines: A Cognitive Multi-Agent Framework with Continuous Feedback Learning. Sensors. 2026; 26(10):3219. https://doi.org/10.3390/s26103219

Chicago/Turabian Style

Shi, Ning, Zixuan Li, Qiujuan Li, Jing Zhang, Liangliang Li, Qiaofei Sun, Sijia Liu, and Zheng Wang. 2026. "Evolutionary Digital Twin for Oil and Gas Pipelines: A Cognitive Multi-Agent Framework with Continuous Feedback Learning" Sensors 26, no. 10: 3219. https://doi.org/10.3390/s26103219

APA Style

Shi, N., Li, Z., Li, Q., Zhang, J., Li, L., Sun, Q., Liu, S., & Wang, Z. (2026). Evolutionary Digital Twin for Oil and Gas Pipelines: A Cognitive Multi-Agent Framework with Continuous Feedback Learning. Sensors, 26(10), 3219. https://doi.org/10.3390/s26103219

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop