The cart is empty!
Artificial Intelligence in Corrosion Engineering: Bridging Capability and Engineering Reality
Walid Barkat, PENSPEN/KJO (KGOC + Saudi Aramco)
Introduction
The future of corrosion management does not lie in choosing between artificial intelligence and traditional engineering, but in mastering the intersection of both.
Across the industry, artificial intelligence is increasingly presented as a comprehensive solution for corrosion and integrity management, capable of processing large datasets and predicting degradation. In principle, this direction is logical. Modern facilities generate significant volumes of data from monitoring systems of multiple suppliers, inspection reports from multiple vendors, and long-time automated process data, offering a clear opportunity for more efficient interpretation and decision-making. However, the physical reality of an operating facility often challenges these digital models. An algorithm cannot perform a field walk-down to detect a stagnant dead-leg, nor can a dashboard independently identify the sudden rupture of a microscopic passive film on a corrosion-resistant alloy. Corrosion rarely follows the clean, linear patterns assumed by software. It is shaped by complex, transient interactions of chemistry, flow regimes, material behaviour, and operational variability. What integrated AI-assisted platforms do best is to provide alarms highlighting potential risks requiring manual intervention.
These physical interactions frequently resist translation into the structured, high-quality datasets required for reliable machine learning. This gap between theoretical capability and practical engineering reality defines the current frontier, where deep domain expertise remains the essential catalyst for successful digital integration.
The Promise vs. the Field Reality
Data-driven approaches undoubtedly provide meaningful support in specific risk areas, such as pattern recognition (CUI moisture sensors), early anomaly detection (fixed NDT UT sensors), and data integration (live dashboards linked to process control systems). In systems with continuous, high-quality data, they improve visibility and reduce response times.
However, in many operating facilities, engineers must make decisions based on incomplete datasets, delayed inspections, and changing process conditions. Nevertheless, when applied within a defined scope and guided by engineering experience, these tools have proven effective in various brownfield scenarios, particularly in enhancing risk-based inspection planning when supported by peer reviews. The objective is to refine digital tools through a deep awareness of real-world operational constraints.
The Digital Transition for Brownfield Assets
While the theoretical application of artificial intelligence in corrosion management is compelling, its implementation must confront the stark reality of existing industrial infrastructure. The vast majority of operating refineries, petrochemical plants, and offshore platforms are ‘brownfield’ assets. These traditional facilities were designed and constructed decades before the advent of modern digital twin concepts or Industrial Internet of Things (IIoT) ecosystems.
Consequently, retrofitting these legacy systems with new automated technologies to achieve ‘AI-readiness’ presents formidable operational, technical and financial challenges. Traditional plants often rely on disparate, siloed control systems (DCS/SCADA), analogue gauges, and manual data logging for critical chemical parameters. To feed an AI model with the high-frequency, continuous data it requires to function effectively, operators must invest heavily in upgrading sensor networks, installing wireless transmitters, and overhauling historian databases.
Furthermore, this financial outlay is often met with justifiable resistance from asset owners focused on short-term return on investment (ROI). There is no guarantee that simply upgrading the instrumentation will yield the desired predictive capabilities and is often still viewed as an additional cost already stretched inspection budgets. A sophisticated AI model overlaid on a legacy system may still struggle if the fundamental process chemistry, such as transient multi-phase flow dynamics or intermittent trace element fluctuations, remains inadequately monitored by the newly installed, yet still limited, sensor array. In many cases, the technological upgrade fails to align with the stringent prerequisites of machine learning algorithms, resulting in expensive digitalisation projects that fall short of their promised integrity management outcomes.
However, hardware upgrades represent only half of the equation; the more profound barrier is data fragmentation. In a typical facility, critical information is siloed: inspection data resides in Asset Performance Management (APM) systems, process parameters in historian (a process database integrated with operations control that gives you access to process, alarm, and event history data), and chemical logs in isolated spreadsheets. For an AI algorithm to correlate a transient shift in chemistry with a specific localised corrosion rate, these isolated datasets must be contextualised. Overcoming this requires a robust engineering ontology and manually assisted centralised data lakes (grouping) to transform unstructured records into a cohesive digital ecosystem. Without breaking down these barriers, advanced algorithms will lack the foundational context required for reliable insights.
Case Study – Operational Drift and the Design Envelope Challenge
A fundamental yet frequently overlooked risk in autonomous integrity management is the phenomenon of operational drift. Assets are engineered within a specific Design Basis that assumes certain fluid compositions and phase behaviours. Over the life of a field, these parameters often evolve far beyond their original specifications, rendering the initial protection philosophy invalid, or other operating fields/ processes may be tied in completely altering the original mix requiring a full management of change (MOC) review. A stark example of this disconnect occurred during the first year of operation of a major facility, where a Monolithic Isolation Joint (MIJ) suffered a catastrophic failure exactly six months after start-up. The pipeline had a significant wall thickness of 12.7 mm, yet it was breached in this short timeframe. The root cause was traced back to the fact that the reservoir analyses and predictive studies used for the original design were never updated during the project lifecycle, which spanned several years across Pre-FEED, FEED and EPC stages.
In this instance, the joint was designed for a gas environment with negligible water cut. However, at start-up, the actual production exceeded a 30 percent water cut. The accumulation of this conductive water phase inside the horizontally installed joint allowed for electrical bridging across the internal gap. Paradoxically, the Cathodic Protection (CP) system, intended to protect the asset, became the primary driver of damage. The potential difference maintained by the CP system drove the stray current to cross the insulating gap through the highly conductive water phase. This current then discharged intensely at the first available internal coating discontinuity. Such weak points are typically a holiday, a disbondment, or the heat-affected zone (HAZ) of the adjacent weld where coating integrity is inherently vulnerable. This concentrated anodic discharge resulted in accelerated localised stray current corrosion at a staggering rate of 24 mm/year. Upon discovering this mechanism, the engineering team had to implement an immediate short-circuit across the joint to allow current to flow freely and halt the localised discharge, effectively bypassing the isolation until a permanent redesign could be executed. This case illustrates a key limitation of predictive AI: even a design-aware model cannot anticipate this type of failure unless it receives the field data needed to detect changes in water cut, fluid conductivity, and other deviations from the original design basis. Engineering context therefore remains essential to interpreting the data correctly.
Figure 1 (Right): Isolation Joint Interior with Stray Current Accelerated Corrosion Effects.
Figure 2 (Below): Isolation Joint Ion Bridge.
Figure 3: ER Corrosion Probe Peak.
Figure 4: Corrosion Coupon Peak Due To Mechanical Defect During the in-Service Extraction/Insertion Operation.
Table 1: General Corrosion Rate Classification According to NACE SP0775-2023.
Applied AI Constraints
Data Quality and Contextual Interpretation
- Data quality and volume remain the primary constraints limiting the autonomous application of AI in corrosion engineering. Field measurements can be intermittent, heavily influenced by transientoperational changes, and subject to inherent measurement uncertainty. Corrosion behaviour is inherently non-linear and highly contextual; minor variations in water chemistry, flow regimes, or operating temperatures can catalyse significant shifts in degradation rates.
- To illustrate the disconnect between data-driven interpretation and engineering reality, consider the routine use of Electrical Resistance (ER) probes in a process pipeline. ER probes are fundamental monitoring tools that provide continuous metal loss data. However, they are notoriously susceptible to environmental and electronic interference. It is a common occurrence in operating facilities to observe sudden, sharp spikes or “peaks” in ER probe readings, sometimes related to an operational evente.g. plant restart.
- From a purely algorithmic perspective, a machine learning model designed for anomaly detection might immediately flag this sudden change in slope as a critical corrosion event or a severe process upset, potentially triggering unnecessary alarms or costly operational
interventions. However, a seasoned corrosion engineer interpreting the exact same dataset would view it through the lens of field experience. The engineer would cross-reference the spike with process logs, temperature fluctuations, or flow dynamics, and often correctly dismiss the anomaly as a “parasite peak”, a false reading caused by electronic noise, a temporary gas bubble passing the probe element, or the accumulation of conductive iron sulphide scales short-circuiting the sensor.
- Conversely, the danger also exists in the opposite direction. If an AI model is excessively smoothed or trained to aggressively filter out “noise” to avoid false alarms, it might inadvertently mask a genuine, albeit brief, process excursion that initiates severe localised damage. Without the contextual engineering judgement to differentiate between a parasite reading and a genuine shift in the corrosion mechanism, relying solely on mechanised data interpretation introduces an unacceptable level of risk to asset
The Complexity of Localised Corrosion Mechanisms
- While machine learning models excel at processing continuous data streams to predict uniform degradation, the reality of asset integrity is far more The most critical threats to operational safety usually stem from localised mechanisms such as pitting, galvanic corrosion, and under-deposit damage [1]. These threats are often found in areas that digital sensors simply cannot reach.
- During a routine field walk-down, a corrosion engineer does not merely verify the operational status of a monitoring The human eye looks for subtle systemic vulnerabilities that an algorithm cannot perceive. This involves identifying stagnant dead-legs where bacterial growth or solids accumulation might occur, or spotting breaches in thermal insulation that allow water ingress, leading to Corrosion Under Insulation (CUI).
- Even environmental factors that appear minor can have significant For instance, the presence of bird droppings on bare piping is a legitimate concern for atmospheric integrity. As documented in APIRP 571 [2], bird droppings can cause accelerated localised corrosion and unsightly staining due to their acidic nature and ability to trap moisture against the metal surface. While these field observations are critical to a comprehensive risk assessment, they remain largely invisible to current digital data streams. An experienced engineer understands that integrity is managed in the field, not just on a dashboard, (although it must be acknowledged that there is constant management pressure to reduce manning levels at site).
Predicting the Unpredictable: The CRA Passive Film Challenge - A critical blind spot in current data-driven corrosion modelling is the fundamental difference in degradation kinetics between carbon steel and Corrosion Resistant Alloys (CRAs). Machine learning algorithms generally excel at mapping continuous, linear data trends, which aligns well with the uniform wall thinning typically observed in carbon steel systems. However, the integrity of CRAs, such as duplex stainless steels or nickel-based alloys, relies entirely on the stability of a microscopic passive
- The breakdown of this passivity is rarely a linear progression. It behaves more like a step-function. An alloy might operate with zero measurable degradation for a decade, only to fail rapidly via Chloride Stress Corrosion Cracking (Cl-SCC) or severe pitting once a specific threshold of temperature, chloride concentration, and tensile stress is breached. Conventional AI models trained on historical metal loss data will confidently predict a near-zero corrosion rate right up until the moment of catastrophic failure. To predict these events, algorithms cannot rely on metal loss alone. They must be trained to recognise the precursor electrochemical signatures of metastable pitting, a capability that requires a fundamental shift in how we monitor CRAs.
From Isolated Probes to Contextual Sensing Nodes
- This limitation directly challenges the current philosophy of hardware and sensor manufacturers. Feeding isolated variables into an algorithm, such as a solitary ER probe reading, strips the data of its physical context. If the industry intends to rely on predictive analytics, the hardware must evolve from isolated probes to multiparameter contextual nodes.
- Future monitoring hardware must simultaneously capture metal loss, localised temperature at the fluid-metal interface, solution resistance, and most importantly, Electrochemical Noise (EN). EN monitoring can detect the current and potential transients associated with passive film rupture and repassivation. Providing an AI model with this synchronised corrosion fingerprint, rather than a disconnected set of single variables, is the only technical pathway to accurately predict non-linear damage mechanisms before they propagate into macroscopic
- Nevertheless, implementing this level of EN monitoring introduces a significant data transmission challenge and generates high frequency data that often requires thousands of readings per second. This massive volume of data far exceeds the bandwidth capabilities of standard industrial wireless networks such as WirelessHART or ISA100. To resolve this bottleneck, the industry must embrace the concept of Edge Computing or Edge AI. Rather than attempting to stream massive volumes of raw electrochemical data to a centralised cloud server, the sensing nodes themselves must be equipped with embedded microprocessors. These smart sensors can process and analyse the complex noise signals locally at the edge, transmitting only the critical corrosion fingerprint or actionable alarms. This decentralised approach is essential for making advanced multiparameter monitoring practically viable in brownfield environments.
The Human Factor and Unreported Deviations
- A practical reality often overlooked by data-driven approaches is the influence of human factors. In operating facilities, routine activities like chemical preparation are rarely executed with laboratory precision. Manual dilutions may deviate from intended ratios, and injection pumps may fail, with downtime persisting unlogged for days. These unreported operational deviations immediately impact corrosion behaviour. Consequently, an AI model might misinterpret a shift in corrosion trends, unaware that the root cause was an unrecorded pump failure. Therefore, without accounting for human variability, models risk producing technically sound outputs based on fundamentally flawed
Synergy Between AI and Legacy Tools
- Alongside the development of artificial intelligence tools, established engineering software continues to play a central role. Platforms such as Electronic Corrosion Engineer (ECE) software by Wood [3] are widely used to support corrosion assessment and material selection, particularly during design and FEED These tools are built on validated mechanistic models, empirical data, and industry experience accumulated over many years. Rather than viewing artificial intelligence as a replacement for these legacy platforms, the two must be deeply integrated. The established corrosion algorithms within ECE can serve as a highly reliable empirical baseline and a ground truth dataset for training new machine learning models. By feeding algorithms with these validated outputs, engineers can create a protective guardrail that prevents the system from generating predictions that contradict established corrosion science.
- This requirement to constrain the algorithm addresses the primary danger of deploying pure machine learning models in corrosion engineering, which is their black box nature. A purely empirical algorithm operates without any comprehension of metallurgy or physical chemistry. Consequently, it can theoretically predict an active corrosion state in an environment where the metal is thermodynamically immune, simply because the statistical pattern matched historical
- The necessary evolution for developers in the integrity sector is the shift towards Physics-Informed Neural Networks (PINNs) [4]. In this architecture, the established laws of thermodynamics, such as the Nernst equation and the boundaries of Pourbaix diagrams, are hardcoded directly into the loss function of the neural network. The model is mathematically penalised and prevented from making predictions that violate the physical laws of nature. This fusion forces the algorithm to respect the absolute boundaries of electrochemistry. It transforms artificial intelligence from a risky statistical guessing tool into a reliable engineering assistant that respects the fundamental science of corrosion.
- The adoption of PINNs represents a logical progression in integrity This approach successfully combines proven mechanistic principles with the advanced pattern recognition capabilities of machine learning to create a more resilient diagnostic system.
Inspection, Integrity, and the Human Element
- A similar evolution is taking place in the inspection and integrity Industry leaders such as ROSEN Group are increasingly employing data-driven approaches to support the interpretation of inline inspection (ILI) data and holistic defect assessment, sometimes supporting the optimisation or extension of future ILI intervals where justified by integrity assessment. In parallel, recent academic frameworks have demonstrated that hybrid inspection and monitoring approaches can quantitatively enhance system reliability and optimise sensor placement [5]. Given the increasing volume and complexity of inspection results, assisted interpretation can help identify patterns that may not be immediately visible through traditional analysis.
- At the same time, interpretation of inspection data has traditionally relied on engineering judgement, particularly when assessing defect criticality, growth potential, and interaction with operating conditions. If these tools are used without sufficient validation or understanding of their limitations, there is a risk of misinterpretation or incorrect prioritisation of mitigation actions.
The Indispensable Engineer
- In practical project environments, whether during early design or in operating facilities, engineering judgement remains essential. Material selection, corrosion mitigation strategies, and monitoring plans are often developed based on incomplete information and require conservative experience-based
- The potential for artificial intelligence in corrosion engineering is significant, but its reliability is strictly bound by the quality and comprehensiveness of its inputs. For these technologies to truly transform our industry, they must evolve to encompass the full spectrum of physical and operational threats, from complex process chemistry to the most nuanced atmospheric conditions.
- Furthermore, the next technological leap must transition these systems from predictive analytics to prescriptive An operating engineer does not merely need an algorithm to state that a pipeline will fail in two months. The true value would lie in an AI system that recommends actionable mitigation strategies, such as increasing corrosion inhibitor dosage by a specific concentration or lowering operational temperatures to extend the asset lifespan safely.
- The ultimate goal of digitalisation is to train these models to mirror the engineering intuition developed through years of field As this is achieved, artificial intelligence will evolve from a supportive tool into an integral component of the integrity workflow. This transition will provide prescriptive and actionable recommendations that directly enhance safety and operational efficiency. Until this level of maturity is reached, digital systems remain highly valuable assets that augment rather than replace the indispensable human element in integrity management.
Conclusions
For an artificial intelligence model to be truly predictive, it must be integrated with the original design logic, current operating conditions, and the physics of the relevant protection systems. However, an algorithm alone is fundamentally blind. Even the most advanced design-aware system cannot identify a developing integrity threat if it lacks the appropriate field data. Monitoring deviations from the design envelope therefore requires true integration between process data, corrosion monitoring, and corrosion management systems. Without this holistic approach, an automated system may simply record a failure that an experienced engineer could have anticipated by recognising changes
in operating conditions. In essence, traditional risk models act as static snapshots of historical data, whereas true artificial intelligence integration must evolve these models into dynamic living intelligence that responds to continuous physical and operational changes.
These models must always be reviewed and verified by experienced engineers.
References
[1]. M. G. Fontana, Corrosion Engineering, 3rd ed. McGraw-Hill, 1987, Columbus, Ohio, United States.
[2]. API RP 571, Damage Mechanisms Affecting Fixed Equipment in the Refining Industry, 3rd ed. American Petroleum Institute, 2020, Washington D.C., United States.
[3]. ECE® – Electronic Corrosion Engineer, https://www.woodgroup. com/solutions/expertise/ece-corrosion-and-materials-selection, 2026 (accessed 24 April 2026).
[4]. M. Raissi, P. Perdikaris, and G. E. Karniadakis, “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations,” Comput. Phys., vol. 378, 2019, pp. 686-707.
[5]. Y. Zhang and F. Cegla, “Quantitative evaluation of the reliability of hybrid corrosion inspection and monitoring approaches,” NDT & E Int., 2026, Art. no. 103527. https://doi.org/10.1016/j. ndteint.2025.103527.















