Next Article in Journal
Modeling of Phototransistors Based on Quasi-Two-Dimensional Transition Metal Dichalcogenides
Previous Article in Journal
Thermodynamic, Economic, and Environmental Multi-Criteria Optimization of a Multi-Stage Rankine System for LNG Cold Energy Utilization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Models for Carbonation Depth Prediction in Reinforced Concrete Structures: A Comparative Study

by
Rafael Aredes Couto
1,2,
Igor Augusto Guimarães Campos
3,
Elvys Dias Reis
1,4,*,
Daniel Hasan Dalip
3,
Flávia Spitale Jacques Poggiali
1 and
Péter Ludvig
1
1
Federal Center for Technological Education of Minas Gerais, Department of Civil Engineering, Belo Horizonte 30510-000, Brazil
2
Department of Civil Engineering, Pontifical Catholic University of Minas Gerais, Belo Horizonte 30535-901, Brazil
3
Federal Center for Technological Education of Minas Gerais, Department of Computing, Belo Horizonte 30510-000, Brazil
4
CentraleSupélec, ENS Paris-Saclay, CNRS, LMPS—Laboratoire de Mécanique Paris-Saclay, Université Paris-Saclay, 91190 Gif-sur-Yvette, France
*
Author to whom correspondence should be addressed.
Modelling 2025, 6(2), 46; https://doi.org/10.3390/modelling6020046
Submission received: 28 April 2025 / Revised: 20 May 2025 / Accepted: 27 May 2025 / Published: 10 June 2025
(This article belongs to the Section Modelling in Engineering Structures)

Abstract

The durability of reinforced concrete (RC) structures is strongly influenced by carbonation, a phenomenon governed by material and environmental interactions. This study applied machine learning (ML) techniques—Random Forest (RF), Support Vector Regression (SVR), and Artificial Neural Networks (ANNs)—to predict carbonation depth using a synthetic dataset of 20,000 instances generated from the validated Possan equation. Model performances were evaluated across multiple scenarios, with compressive strength and exposure time identified as the most influential features, while relative humidity and exposure conditions had intermediate effects. SVR consistently captured linear and nonlinear trends, the ANN achieved the highest R2 values but showed minor overestimations, and RF exhibited lower adaptability to feature variations. The results highlight the applicability of ML models for durability assessments, particularly under complex conditions where traditional approaches are limited. Moreover, this study reinforces the strategic value of synthetic datasets in developing predictive models when experimental data collection is time-consuming or impractical. The methodologies developed here can be extended beyond carbonation modeling to other deterioration processes, supporting data-driven strategies for maintenance planning and resilience design in RC structures.

Graphical Abstract

1. Introduction

Carbonation is a chemical process in which atmospheric carbon dioxide (CO2) penetrates concrete pores, dissolves in the pore water, and reacts with calcium hydroxide [Ca(OH)2], forming calcium carbonate (CaCO3) and lowering the pH of the material. This reduction in alkalinity compromises the passive layer of reinforcement steel, triggering corrosion processes and affecting the durability and service life of reinforced concrete (RC) structures [1,2,3]. With rising global CO2 emissions, carbonation-induced deterioration is expected to accelerate, requiring more effective strategies for long-term durability prediction [4].
Several material and environmental factors influence carbonation depth in concrete. On the material side, parameters such as compressive strength, the water-to-cement ratio (w/c), the type of cement, the use of supplementary cementitious materials, and concrete cover thickness play a significant role. Environmentally, atmospheric CO2 concentration, relative humidity, temperature, and exposure conditions (e.g., wetting–drying cycles) are critical to the advancement of the carbonation front [5,6,7,8].
Given these factors’ complexity and nonlinear interaction, machine learning (ML) techniques have emerged as promising tools for predicting carbonation depth in RC structures. ML models such as Artificial Neural Networks (ANNs), Support Vector Regression (SVR), and Random Forest (RF) have demonstrated effectiveness in capturing complex patterns and nonlinearities [9,10,11]. However, the “black box” nature of ML models often limits the adoption of these techniques, which hinders their interpretability [12,13].
In this context, the main contribution of this research is not limited to carbonation modeling but lies in the advancement of ML applications for complex degradation phenomena. The methods developed are highly generalizable and can be extended to a wide variety of durability-related problems across civil and materials engineering.
Explainable artificial intelligence (XAI) techniques, particularly SHapley Additive exPlanations (SHAP), have gained traction in addressing the interpretability limitations of ML models by enabling the attribution of importance values to each input feature based on its contribution to a specific prediction, thus enhancing model transparency and reliability [14,15,16]. Beyond carbonation prediction, SHAP has been successfully applied to estimate other durability-related properties, such as compressive strength, chloride diffusion, and wear depth in concrete [17,18,19]. It is important to note that although SHAP is acknowledged as a promising explainability tool in the context of ML models for carbonation prediction, the present study focuses exclusively on the comparative assessment of ML models’ predictive performance. The application of SHAP-based explainability will be explored in future studies.
Another major challenge in carbonation modeling is the limited availability of robust experimental datasets, especially under natural carbonation conditions. Accelerated carbonation tests often result in biased data distributions with low variability, limiting the generalization capabilities of ML models. To overcome this limitation, the present study adopts a synthetic dataset from the Possan equation [20], which was previously validated against natural and accelerated carbonation tests. Although synthetic datasets have inherent limitations, they enable the controlled exploration of a wide range of parameters and provide a valuable platform for methodological advancements in ML applications [21].
Thus, the key contributions of this study can be summarized as follows: (i) the development of a large synthetic dataset comprising 20,000 instances generated from the Possan equation, enabling a wide exploration of material and environmental conditions; (ii) the application and comparative evaluation of three ML models (RF, SVR, and ANN) for predicting carbonation depth in reinforced concrete structures; (iii) the execution of a feature behavior analysis to assess each model’s sensitivity to variations in key input parameters; and (iv) the demonstration of the strategic value of synthetic datasets for advancing ML-based durability assessments, especially in contexts where the collection of real-world experimental data is time-consuming, expensive, or impractical.
Hence, the main contribution of this study is methodological, focusing on developing and applying a synthetic dataset to evaluate the performance and behavior of established ML models in carbonation depth prediction rather than proposing new algorithms. Moreover, the methodology adopted herein is generic. It can be replicated to support ML applications in other civil engineering problems involving complex degradation mechanisms or scenarios where experimental data are scarce.

Research Problem, Related Works, and Main Definitions

Predicting carbonation depth in RC structures presents significant challenges due to the complexity of influencing factors and the scarcity of comprehensive datasets. This study conducts a comparative analysis of different ML techniques—RF, SVR, and ANNs—to identify the most efficient approach. A synthetic dataset containing 20,000 instances was developed to address traditional experimental datasets’ limitations and provide a robust platform for model evaluation.
Several studies have highlighted the application of ML techniques for predicting carbonation depth. Decision tree (DT)-based models were proposed by Taffese et al. [22], Nunez and Nehdi [23], Tran et al. [24], Londhe et al. [25], Huo et al. [26], Majlesi et al. [27], and Ehsani et al. [28]. ANN-based models were developed by Taffese et al. [22], Lee et al. [29], Uwanuakwa [30], Felix et al. [31], Chen et al. [32], Huo et al. [26], Majlesi et al. [27], Ehsani et al. [28], and Marani et al. [33]. Studies focusing on SVR were conducted by Uwanuakwa [30], Chen et al. [32], Huo et al. [26], Ehsani et al. [28], and Tran et al. [24].
ANNs have emerged as the most widely adopted and accurate technique for carbonation depth prediction [22,27,29,31], often outperforming alternative approaches. Hybrid models integrating ANNs with other techniques have also demonstrated superior results [26,32]. Tree-based models such as RF and Extreme Gradient Boosting (XGBoost) have proven robust and interpretable [23,24,25]. Although SVR generally exhibits slightly lower predictive accuracy than ANNs, it shows superior generalization capability across diverse scenarios [26,32].
Regarding dataset sources, most studies compiled data from the literature, frequently merging experimental results obtained under accelerated and natural carbonation conditions. This approach raises important methodological issues, as combining data from distinct carbonation environments can undermine the consistency and reliability of predictive models, leading to datasets with limited sizes and inherent biases (Table 1). To date, no previous study has utilized a dataset as comprehensive and varied as the 20,000-instance synthetic dataset developed in the present research.
Inspired by the work of Martínez-Muñoz et al. [21], who effectively used synthetic datasets for structural optimization, this study demonstrates the significant advantages of synthetic data for expanding the analytical reach of ML models and covering broader carbonation scenarios.
The ML techniques considered include RF, SVR, and ANNs in this context. RF is an ensemble method that constructs multiple decision trees based on random subsets of the dataset. Each tree makes a prediction, and the RF aggregates these predictions by averaging them, enhancing accuracy and reducing the risk of overfitting [34,35,36,37], as illustrated in Figure 1.
SVR is an extension of the Support Vector Machine (SVM) algorithm for regression tasks. It aims to fit a function within a margin of tolerance (ε), ignoring minor errors within this range while minimizing model complexity [38,39,40,41]. A graphical representation of SVR for linear models is presented in Figure 2.
ANNs are computational models inspired by the human brain, consisting of interconnected layers of artificial neurons capable of learning complex and nonlinear patterns from data [41,42,43], as shown in Figure 3.
Thus, the main objective of this study is to perform a detailed and in-depth analysis of the impact of existing ML techniques on the prediction of carbonation depth. Specifically, this research seeks to (i) create and validate a robust synthetic dataset comprising 20,000 instances representing diverse environmental and material conditions; (ii) conduct a comparative analysis of different ML techniques—RF, SVR, and ANNs—highlighting their advantages and limitations; (iii) investigate the influence of individual features such as CO2 concentration, compressive strength, relative humidity, the type of cement, exposure to rainfall, and time on carbonation progression; and (iv) identify under which conditions specific ML techniques outperform others, providing valuable insights for improving the assessment and service life evaluation of RC structures.

2. Materials and Methods

2.1. Dataset Generation

To address the inherent challenges in obtaining extensive real-world carbonation progression data within feasible timeframes, this study developed a synthetic dataset containing 20,000 instances. The dataset was generated using the Possan equation [20] (Equation (1)), a widely validated deterministic model that takes into consideration key factors influencing carbonation depth in concrete structures. Six input features were incorporated into the dataset: CO2 concentration, concrete compressive strength, relative humidity, type of cement, exposure conditions, and time of exposure. These variables were randomly sampled within realistic ranges observed in reinforced concrete applications and environmental scenarios, ensuring a comprehensive and diversified parameter space. By enabling a controlled and systematic evaluation of ML models, the synthetic dataset overcomes limitations commonly associated with experimental data, such as restricted variability, small sample sizes, and non-random distributions. It is important to emphasize that the purpose of this dataset is not to explore new physical phenomena, but rather to provide a robust and unbiased platform for assessing the predictive performance of ML techniques in replicating known deterministic behaviors.
e c = k c ( 20 f c ) k fc ( t 20 ) 1 2 exp [ ( k ad ad 3 2 40 + f c ) + ( k CO 2 C O 2 1 / 2 60 + f c ) ( k UR ( UR 0.58 ) 2 100 + f c ) ] k ce
In Equation (1), ec represents the average carbonation depth (mm); fc is the compressive strength of concrete (MPa); kc is a factor related to the type of cement; kfc is a factor associated with compressive strength, also dependent on cement type; t is the age of the concrete (years); ad is the percentage of pozzolanic addition relative to the cement mass; kad is a factor related to pozzolanic additions; UR is the average relative humidity (expressed as a fraction); kUR is a factor linked to relative humidity, influenced by the type of cement; CO2 is the atmospheric CO2 concentration (%); kCO2 is a factor accounting for CO2 effects depending on cement; and kce is a factor related to rain exposure and the environmental conditions. The values of the coefficients (kc, kfc, kad, kUR, kCO2, and kce) are listed in Table 2 and Table 3 [20]. Additional information regarding the types of cement and environmental conditions related to the coefficients presented in these tables is discussed in the subsequent paragraphs of this section.
The dataset was generated in Python v. 3.10 using the numpy library, specifically the numpy.random.uniform function to create random values within defined ranges. Table 4 summarizes the range for each variable considered, ensuring diversity and realism while minimizing potential biases. It is important to emphasize that the objective of this dataset is not to discover new physical phenomena but to evaluate the ML models’ ability to replicate known deterministic behaviors with high accuracy.
The CO2 concentration range, from 0.03% to 0.30%, was selected based on values observed in various environments. Rural areas typically exhibit concentrations around 300 ppm (0.03%), whereas urban outdoor areas vary between 400 ppm (0.04%) and 500 ppm (0.05%) [44,45,46,47,48,49]. In enclosed environments within large cities, concentrations can reach 0.3% (3000 ppm), justifying the upper limit chosen. Although even higher concentrations can occur in poorly ventilated spaces such as garages, reaching up to 1% [46], the Possan equation mainly applies to typical urban conditions.
The adopted range (20–50 MPa) for concrete strength corresponds to Strength Class Group I concretes, as established by the Brazilian standard NBR 8953 [50]. The dataset was appropriately restricted because most existing RC structures fall within this group.
Regarding relative humidity, carbonation rapidly advances within the 50–70% range [20,46]. Thus, variations between 30% and 90% were considered to capture accelerated carbonation and protective effects caused by very low or very high humidity, reflecting global conditions.
The approximate chemical compositions of the cement, based on typical formulations available in the Brazilian market and according to NBR 16697 [51], are as follows: CPII E contains about 70–80% clinker and 15–25% blast furnace slag; CPII F has approximately 70–80% clinker and 10–20% limestone filler; CPII Z comprises around 70–80% clinker and 15–25% pozzolanic materials; CPIII typically contains only 25–35% clinker and a high proportion of slag (60–70%); CPIV includes about 55–65% clinker and 25–40% pozzolans; and CPV-ARI is characterized by more than 90% clinker with minimal additions. These differences in clinker content are critical because carbonation resistance tends to decrease with lower clinker levels, as pozzolans and fillers generally provide less alkalinity buffering capacity. It is important to note that CPI (pure Portland cement) and RS (sulfate-resistant cement) were deliberately omitted from the analysis. Although CPI has a high clinker content similar to CPV-ARI, it offers no significant differentiation in carbonation resistance compared to CPV-ARI. It is rarely used in Brazilian conventional construction. Likewise, RS cement, which is designed explicitly for sulfate resistance with a chemical composition optimized for that exposure condition, was excluded due to its limited applicability in typical carbonation-prone environments [52]. Therefore, the cements analyzed in this study represent the most commonly used types in Brazilian practice and offer wide variability in clinker factors, ensuring a meaningful investigation into their influence on carbonation behavior and ML model predictions.
Exposure conditions were categorized as Protected Indoor (AIP), Protected Outdoor (AEP), and Unprotected Outdoor (AED) environments, aligned with the classifications embedded in the Possan equation. This classification takes into consideration air circulation, CO2 concentration retention, and the effect of rain exposure on carbonation rates.
The preprocessing of the dataset is an important step in preparing the data for ML models. For this, a BaseEstimator class was implemented in Python and designed to handle various ML models (SVR, ANN, and RF). This class manages the preprocessing of input data, applies necessary transformations, and returns the trained model, which is then used for carbonation depth prediction. The preprocessing step explicitly addresses converting categorical features into a numerical format suitable for ML algorithms. In this case, the One-Hot Encoding (OHE) technique was employed to process the type of cement and features of exposure conditions, as these are categorical variables. OHE creates a separate binary column for each category within these features, assigning numerical values (1 or 0) to represent each category. This approach showed superior performance in early predictive evaluations. All models were trained using cross-validation to ensure generalization and robustness. The extensive dataset, containing 20,000 instances, enabled a comprehensive evaluation of the carbonation depth prediction models, resulting in reliable and consistent outcomes.
At this stage, no experimental datasets were incorporated for model benchmarking. As a future direction, incorporating small-scale experimental datasets is recommended to benchmark and verify the robustness of the trained models, particularly for carbonation depths within the typical service life range.

2.2. Design and Evaluation of the Performance of ML Methods

This study applied three ML approaches—RF, SVR, and ANNs—to predict the carbonation depth in RC structures. These three models were selected based on the literature (Section 1), which identified RF, SVR, and ANNs as the most commonly applied and effective ML techniques in carbonation depth prediction studies. Their use in this research allows for consistency with existing works while providing a robust comparative assessment of their performance using the synthetic dataset.
ML models require an appropriate configuration of hyperparameters to ensure optimal performance. Hyperparameters are parameters set prior to the learning process, which influence how the model is trained and how well it generalizes. For instance, in ANNs, defining the number of neurons in the hidden layers is essential according to the specific application. To avoid overfitting during hyperparameter optimization, the dataset was randomly divided into two subsets: a validation set comprising 8000 instances and an evaluation set with 12,000 instances. The validation set was used exclusively for hyperparameter tuning, while the evaluation set was reserved for assessing model performance after optimization.
Hyperparameter tuning uses the Grid Search with Cross-Validation (Grid Search CV) technique. This method exhaustively explores all possible combinations of selected hyperparameters and identifies the set that provides the best performance based on a chosen metric. The performance of the models during hyperparameter optimization was evaluated through the coefficient of determination (R2), defined by Equation (2).
R 2 = ( e i e ¯ p i p ¯ e i e ¯ 2 . p i p ¯ 2 ) 2
where ei is the carbonation depth value calculated by the deterministic equation, e ¯ is the mean of the deterministic carbonation depths, pi is the carbonation depth value predicted by the ML model, and e ¯ is the mean of the predicted values.
For the RF model, the hyperparameters investigated were min_samples_split, tested with values of 0.01, 0.005, and 0.0025, and max_features, tested with values of 10, 8, 6, and 4. The min_samples_split parameter defines the minimum number of instances required to split a node, while max_features specifies the number of features considered at each split [36]. Additionally, the number of estimators (n_estimators)—representing the number of trees in the forest—was tested with values of [1, 5, 10, 20, 30, 50, 100, 150, 200, 300, 400, and 500], with the best performance achieved using 500 estimators. The optimal configuration for RF was obtained with min_samples_split = 0.0025 and max_features = 10.
For the SVR model, the parameters evaluated included the kernel function, which was fixed as ‘rbf’, the penalty parameter C, with tested values of 1, 1024, 2048, 4096, and 10,000, and the margin of tolerance epsilon, with values of 0.30, 0.25, 0.20, 0.15, 0.10, and 0.05. The kernel function enables the model to handle nonlinear relationships; the penalty parameter C controls the trade-off between achieving a low error on the training data and maintaining a simplified decision boundary; and epsilon defines the width of the margin within which no penalty is applied to errors [36]. The best performance for SVR was achieved with kernel = rbf, C = 10,000, and epsilon = 0.30.
Regarding the ANN, the hyperparameters tested were the initial learning rate (learning_rate_init), evaluated with values of 1, 0.1, 0.01, and 0.001, the number of neurons in the hidden layer (hidden_layer_sizes), tested with configurations of (100), (50), (25), and (10), and the maximum number of training iterations (max_iter), tested with values of 500, 200, 100, 50, 25, and 10. The learning_rate_init controls the magnitude of updates to the model’s weights during training; the hidden_layer_sizes parameter defines the model’s capacity to capture complex patterns; and the max_iter parameter sets the limit for the number of training epochs [53]. The ANN model performed best with learning_rate_init = 0.001, hidden_layer_sizes = (100), and max_iter = 500.
A fixed random state was employed to ensure the reproducibility of the results and facilitate the future replication of the study by other researchers. For the RF model, random_state was set to 10, and for the ANN model, random_state was set to 1. The random_state parameter controls the internal randomization processes of each model, such as the initial split of samples in RF or the initial weights in the ANN, ensuring consistent results across multiple runs. This practice is particularly recommended in ML applications involving stochastic components.
After identifying the best hyperparameter configuration for each model, the evaluation set containing 12,000 instances was used to validate model performance. To ensure a robust assessment, a five-fold cross-validation procedure was adopted. This approach divided the evaluation set into five parts, which were alternately used as the validation set. In contrast, the remaining parts were used for training, thus ensuring that each instance contributed to the training and validation phases.
For the final performance evaluation of the models, besides the coefficient of determination (R2), the mean absolute error (MAE) and the root mean square error (RMSE) were also calculated, according to Equations (3) and (4).
M A E = 1 n i = 1 n | e i p i |
R M S E = 1 n i = 1 n ( e i p i ) 2
where ei is the carbonation depth value obtained by the deterministic equation, pi is the carbonation depth predicted by the ML model, and n is the total number of instances.
The evaluation metrics obtained allowed for a complete comparison of the predictive capacity of each ML method in forecasting carbonation depth in RC, thus ensuring the reliability of the adopted models for different scenarios.

2.3. Analysis of Carbonation Feature Behavior Using ML Methods

Different scenarios were created by varying one feature at a time while keeping the others constant to evaluate the behavior of the carbonation features in carbonation depth prediction. Table 5 summarizes the features, the adopted fixed values, and the range of variation for each scenario. For each scenario, carbonation depth was predicted as a function of the varying features, and the performance of the ML models (SVR, ANN, and RF) was assessed using the coefficient of determination (R2), mean absolute error (MAE), and root mean square error (RMSE).
Additionally, graphs were generated showing the relationship between carbonation depth and each feature under study, allowing a visual comparison of the models’ behaviors.
For each case, the analysis aimed to understand the sensitivity of carbonation depth predictions concerning each feature, contributing to a better comprehension of feature importance and model performance robustness under different conditions.

3. Results

3.1. Evaluation of the Performance of ML Methods

After generating the synthetic dataset and defining the optimal hyperparameters for each computational model, the performance metrics—R2, MAE, and RMSE—were calculated as the averages of the five folds from the CV process to evaluate the predictive capability of each method. Table 6 summarizes the metric values obtained for the RF, ANN, and SVR models.
The results show that the ANN model achieved the best overall performance, followed by the SVR model. Although the RF model exhibited satisfactory predictive capability, its precision was lower than the other methods. These results demonstrate the effectiveness of ML techniques in accurately estimating carbonation depth in RC structures.
The dispersion plots shown in Figure 4 illustrate the relationship between the observed carbonation depths obtained using the deterministic model and the predicted values from each computational method, along with their respective performance metrics.
As observed in Figure 4, the ANN model stands out for its exceptional ability to fit the data, particularly for higher carbonation depth values, where it maintained high accuracy with minimal dispersion. The SVR model also performed well, presenting slightly greater deviation at higher carbonation depths. This outcome may be attributed to the limited number of instances within this range, affecting the model’s generalization. Despite yielding a reasonable overall fit, the RF model exhibited larger error metrics, reinforcing its lower accuracy compared to the ANN and SVR for this dataset.
Additionally, in the CV process for all three models (SVR, ANN, and RF), the performance metrics for each fold yielded consistent and close results, with no significant deviations observed. This outcome indicates that the models did not overfit the training data. When the metrics are stable across different folds, it suggests that the models are generalizing well and performing consistently rather than fitting too specifically to one particular subset of the data. Overfitting would typically manifest as large variations in performance metrics between folds, where a model performs well on some folds but poorly on others. The consistency observed across folds supports the conclusion that overfitting was not a concern in these models.
Overall, the analysis confirms the high potential of ML methods to model complex, nonlinear processes such as carbonation in concrete structures with high precision. Furthermore, the promising results achieved, particularly by the ANN and SVR, suggest that these techniques could be successfully extended to predict other deterioration phenomena in civil engineering, such as chloride ingress, sulfate attack, or even broader applications in materials science, structural health monitoring, and infrastructure asset management. Through the harnessing of ML, it becomes possible to develop more robust predictive models that assist in optimizing maintenance strategies, improving durability design, and supporting the sustainable management of critical infrastructure systems.

3.2. Analysis of Carbonation Feature Behavior

Six different scenarios were analyzed to investigate the impact of individual features on the carbonation depth prediction, each varying a single feature while maintaining the others at fixed values, as summarized in Table 7.
In Scenario 1, the CO2 concentration was varied from 0.03% to 0.3%, with the other parameters held constant. Figure 5 presents the predictions of the SVR, ANN, and RF models obtained under these conditions. It is observed that the SVR model captures an almost linear increase in carbonation depth, closely following the trend predicted by the Possan equation [20], with depth values ranging from approximately 23.2 mm to 24.5 mm. The ANN model also exhibits a positive trend but with slightly higher carbonation depths, between 23.9 mm and 25.2 mm, suggesting a tendency to overestimate the effect of CO2 concentration. The RF model, by contrast, shows nearly constant predictions between 22.0 mm and 22.2 mm, failing to capture the influence of CO2 concentration adequately. Although the overall magnitude of error remains low (approximately 2.5 mm at most), it is critical to evaluate how each model tracks the trends induced by variations in the input features. Thus, SVR demonstrates superior sensitivity to continuous variations in the data, while RF shows limitations.
In Scenario 2, the concrete compressive strength (fc) was varied between 20 MPa and 50 MPa. Figure 6 shows the predicted carbonation depths. A clear decreasing trend in carbonation depth is evident as the concrete strength increases, which aligns with the expected physical behavior since higher-strength concretes typically exhibit reduced porosity and permeability [54]. The SVR and ANN models accurately follow the decreasing trend observed in the Possan equation predictions, although the ANN shows minor deviations at higher strengths. The RF model underestimates carbonation depths at lower strengths.
Scenario 3 focused on varying relative humidity from 30% to 90%, with the other parameters fixed. The results in Figure 7 exhibit an inverted parabolic relationship, with carbonation depth peaking at around 50–70% relative humidity, consistent with established behavior [55]. SVR closely matches the Possan equation prediction, accurately tracking the parabolic curve across the entire humidity range. The ANN also captures the general pattern but slightly overestimates carbonation depth near the curve’s peak. RF, however, shows a tendency toward linearization, particularly at higher humidity levels, leading to less accurate predictions.
In Scenario 4, the carbonation depth was predicted as a function of time, varying from 0 to 100 years. Figure 8 illustrates the results obtained for each method. All models correctly captured the increasing trend in carbonation depth over time, but differences emerged in model precision. SVR closely followed the Possan equation across the entire time range, while the ANN also demonstrated good accuracy, with minor discrepancies at longer times. RF, however, progressively underestimated carbonation depth beyond approximately 50 years.
Scenario 5 analyzed the impact of type-of-cement variation, considering CPII E, CPII F, CPII Z, CPIII, CPIV, and CPV-ARI. Figure 9 shows the predictions for each type of cement. The SVR model again demonstrated the closest alignment with the Possan equation across most cement types. The ANN produced consistent predictions but exhibited slight deviations for CPIII and CPIV cements. RF consistently showed larger deviations, especially for CPIV.
Finally, in Scenario 6, the exposure conditions varied among Protected Indoor (AIP), Protected Outdoor (AEP), and Unprotected Outdoor (AED) environments. Figure 10 illustrates the carbonation depth predictions under these conditions. SVR and the ANN agreed with the Possan equation predictions for AIP and AEP exposures, while the ANN performed slightly better for AED exposure conditions. RF exhibited greater deviations across all exposure conditions.
In the sensitivity analysis, the SVR model exhibited higher responsiveness to variations in individual features compared to the ANN and RF models. This behavior is attributed to the inherent characteristics of the algorithms. SVR employs a margin-based optimization approach with kernel functions that accentuate variations near the decision boundary, leading to greater sensitivity to feature changes. In contrast, due to its multi-layer perceptron structure and nonlinear activation functions, the ANN naturally introduces a smoothing effect, reducing its sensitivity to marginal variations in the input features.
It is also noteworthy that the ANN required significantly lower computational resources than SVR, which demanded considerable processing time and memory due to the quadratic complexity associated with kernel methods when applied to large datasets. As a potential improvement, increasing the number of neurons in the hidden layers (hidden_layer_sizes) and the number of iterations (max_iter) could enhance the ANN’s ability to capture more detailed feature interactions. Nevertheless, such adjustments would also lead to higher computational requirements, which must be carefully evaluated depending on the context of the application.
The consolidated performance evaluation metrics for all scenarios are presented in Table 7, allowing a direct comparison of the predictive accuracy of each technique for the different feature variations. The analysis confirms that SVR consistently provided the most accurate and robust predictions, closely matching the expected behavior across the entire range of feature variations. The ANN also demonstrated strong predictive capabilities, while RF exhibited greater variability and occasional underestimations.
These findings emphasize the high potential of advanced ML techniques for modeling complex deterioration mechanisms in materials. Beyond carbonation prediction in concrete, the methodologies developed in this study can be extended to various fields, such as chloride ingress modeling, sulfate attack assessment, freeze–thaw damage prediction, and degradation studies in metallic structures, polymers, and composites. Furthermore, the rigorous application of ML techniques can significantly contribute to infrastructure health monitoring, predictive maintenance, and the sustainable management of assets across different engineering and materials science sectors.

4. Discussion

The feature behavior analysis using the generated dataset reveals relevant findings regarding the performance of the ML models. SVR demonstrated a strong ability to capture linear and nonlinear feature variations, consistently delivering reliable results. This performance can be attributed to the model’s inherent capacity to balance complexity and error tolerance, making SVR particularly effective in scenarios characterized by moderate variability. However, as observed in Figure 4, the SVR model exhibited lower accuracy for extreme carbonation depths (e > 80 mm), likely due to the reduced data density in this range.
Nonetheless, technical standards [52,56] specify minimum concrete cover requirements typically between 20 mm and 50 mm, depending on environmental aggressiveness. Therefore, the margin of error observed for depths beyond these normative limits is less critical for practical applications. SVR’s predictive performance within these typical intervals is sufficiently robust to ensure durability assessments and structural protection under real exposure conditions.
The ANN model attained the highest R2 among all evaluated techniques, demonstrating excellent performance, particularly for higher carbonation depths where its predictions closely matched the expected trends. However, its more complex network structure makes it somewhat more susceptible to overfitting, especially in regions with limited data representativity. It is also important to note that deeper neural networks (DNNs) or convolutional neural networks (CNNs) were not considered in this study, as the dataset is tabular and of moderate size. The selected ANN configuration already delivered very satisfactory results, and further improvements could potentially be achieved through more refined hyperparameter optimization rather than by increasing model complexity.
While achieving reasonable results in terms of overall metrics, the RF model demonstrated limitations in accurately capturing subtle feature variations. RF’s ensemble structure, although robust against overfitting, tended to oversimplify nonlinear relationships, as seen in the CO2 concentration and relative humidity scenarios. Improvements could involve hybridization with other algorithms or more aggressive hyperparameter tuning.
Regarding the comparative behavior of the models, it is important to emphasize that SVR demonstrated higher feature sensitivity in the sensitivity analysis, which can be attributed to its margin-based optimization and kernel functions. However, this higher sensitivity came at the expense of greater computational demands when compared to the ANN, which, despite showing a smoother response to feature variations, required significantly fewer computational resources. This trade-off highlights the need for careful hyperparameter tuning and model selection according to the specific application context, balancing accuracy, interpretability, and computational efficiency.
A critical aspect to highlight is that the major contribution of this research is not confined to carbonation modeling itself but rather lies in the methodological advancement of ML applications for complex durability phenomena. The techniques employed—RF, SVR, and ANNs—are generic and highly adaptable, thus positioning this study as a methodological contribution that can be transferred to any degradation mechanism or material system where multi-factor interactions govern performance over time.
Equally important is the strategic use of synthetic datasets, especially in fields where obtaining comprehensive real-world data is unfeasible within reasonable timeframes. In the case of carbonation, natural exposure tests can take years or even decades to produce measurable results [57]. By using a validated mathematical model (Possan equation [20]) to generate a large and controlled dataset, this study enables the rapid, systematic evaluation of ML models while faithfully preserving the core relationships between key variables. Thus, synthetic data generation emerges as a powerful research tool that not only accelerates the development of predictive models but also ensures a broader and more diversified feature space than traditional experimental studies.
Moreover, it is important to emphasize that the use of synthetic datasets for carbonation prediction remains largely underexplored in the existing literature. As identified in recent reviews, the vast majority of ML models for carbonation have been trained on small experimental datasets, often mixing results from accelerated and natural tests, which can introduce inconsistencies and biases [31,58]. Only a few studies, such as Martínez-Muñoz et al. [21], have demonstrated the high potential of synthetic datasets in structural engineering by generating large and systematically varied datasets, achieving high model accuracy and enabling multi-objective optimization. In the field of carbonation, where natural exposure data are extremely slow to obtain, synthetic datasets offer a particularly promising pathway to overcome the scale, speed, and variability limitations that traditionally hinder the development of robust predictive models. By adopting a synthetic approach, this study aligns with the emerging perspective that when properly validated, synthetic datasets can significantly accelerate innovation and reliability in durability modeling.
Notably, the ML models developed in this study are trained exclusively on data generated from the Possan equation, which, although widely used and validated in the literature, presents inherent simplifications. The equation assumes constant CO2 concentrations and homogeneous materials and does not fully capture complex interactions such as time-dependent diffusivity, carbonation-induced porosity changes, or multi-phase transport phenomena. Consequently, these limitations are inevitably propagated into the ML models, restricting their capability to represent some real-world carbonation scenarios, particularly under variable environmental exposures or unconventional material compositions. Future research should explore the integration of hybrid datasets combining experimental data, probabilistic models, or multiphysics simulations to overcome these limitations and enhance the robustness and generalization of ML applications in carbonation modeling.
Beyond structural engineering, the methodologies and strategies developed here are highly transferable. ML models optimized through synthetic datasets can be applied to predict deterioration phenomena such as chloride ingress, sulfate attack, freeze–thaw cycles, alkali–silica reaction, and even degradation in polymeric, metallic, and composite materials. Therefore, this study positions itself as a methodological benchmark for the broader integration of ML into durability modeling and infrastructure resilience planning.

5. Conclusions

This paper applied ML models (RF, SVR, and ANN) to predict carbonation depth in RC structures using a large synthetic dataset derived from the Possan equation. Beyond the specific application to carbonation, the research emphasizes the methodological advances associated with ML techniques and the strategic use of synthetic data in scenarios where experimental data are scarce or time-consuming to collect. The following conclusions can be drawn:
  • The comparative analysis of model performance demonstrated that the ANN achieved the highest predictive accuracy, followed closely by SVR, while RF exhibited lower precision, particularly for features with nonlinear behavior. SVR proved especially robust in capturing linear and nonlinear trends, making it a reliable choice for scenarios with moderate feature variability. Despite its slightly higher susceptibility to overfitting, the ANN consistently provided accurate predictions even at higher carbonation depths.
  • The behavior analysis of individual features highlighted the influence of compressive strength, exposure time, and relative humidity as the primary factors affecting carbonation depth. Increasing compressive strength reduced carbonation due to lower porosity, while longer exposure times naturally promoted carbonation progression. Relative humidity exhibited an inverted parabolic effect, with maximum carbonation around 50–70%, which aligns with established physical principles. Cement type and exposure conditions also impacted results, while CO2 concentration played a comparatively smaller role under simulated conditions.
  • This study confirms that ML models can replicate complex physical behaviors embedded in deterministic models, validating their use for carbonation and broader durability assessments. The models successfully tracked known dependencies, such as the reduction in carbonation with higher concrete strength and the nonlinear relationship with relative humidity, indicating their potential for data-driven durability predictions.
It is worth mentioning that despite the promising results, some limitations must be acknowledged. Using a synthetic dataset, while allowing controlled and diversified scenario analysis, inherently reflects the assumptions and constraints of the mathematical model (Possan equation) on which it is based. Furthermore, the absence of validation against real-world experimental data restricts direct extrapolation to practical applications without caution. The lower density of instances for extreme carbonation depths (>80 mm) affected model accuracy in these regions, although these conditions exceed typical service life criteria defined by technical standards [52,56].
At this stage, no experimental datasets were incorporated for model benchmarking. As a future development, the incorporation of small-scale experimental datasets is recommended to benchmark and verify the robustness of the trained models, particularly for carbonation depths within the typical service life range. The availability of an open access dataset for benchmarking purposes is also noteworthy, at https://carbuai.pythonanywhere.com/ (accessed on 27 April 2025).
Overall, this study reinforces the value of synthetic datasets for accelerating ML model development in areas where experimental data collection is lengthy and costly, such as carbonation under natural exposure. By demonstrating high predictive accuracy and the ability to capture complex feature interactions, the methodologies developed here offer significant contributions to concrete carbonation studies and the broader field of material degradation modeling. Future research should prioritize hybrid datasets combining synthetic and experimental data, explore hybrid model architectures, and apply the proposed methodologies to other deterioration phenomena, such as chloride ingress, sulfate attack, and freeze–thaw damage. These steps will further expand ML approaches’ practical impact and generalization capability in durability engineering.

Author Contributions

Conceptualization, R.A.C., I.A.G.C., E.D.R., D.H.D., F.S.J.P. and P.L.; methodology, R.A.C. and I.A.G.C.; software, R.A.C. and I.A.G.C.; validation, D.H.D.; formal analysis, E.D.R., D.H.D., F.S.J.P. and P.L.; investigation, R.A.C.; data curation, R.A.C.; writing—original draft preparation, R.A.C. and E.D.R.; writing—review and editing, E.D.R.; visualization, E.D.R.; supervision, D.H.D., F.S.J.P. and P.L.; funding acquisition, P.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data that support the findings will be available in a Carbonation Dataset at https://carbuai.pythonanywhere.com/ following an embargo from the date of publication to allow for the commercialization of research findings.

Acknowledgments

The authors thank the Coordination for the Improvement of Higher Education Personnel (CAPES), the National Council for Scientific and Technological Development (CNPq), the Research Support Foundation of the State of Minas Gerais (FAPEMIG), the Federal Center for Technological Education of Minas Gerais (CEFET-MG), and the Pontifical Catholic University of Minas Gerais (PUC Minas) for funding this research. In particular, the authors are grateful to CEFET-MG for covering the APC (Article Processing Charge) of this publication through the Programa Melhoria Qualitativa da Produção Científica—PROMEQ (Call for Proposals DPPG No. 881/2024, dated 16 December 2024). During the preparation of this work, the authors used ChatGPT (OpenAI) (https://openai.com/chatgpt/overview/, accessed on 27 April 2025) to improve language clarity and perform grammatical checks. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial Neural Network
MAEMean Absolute Error
MLMachine Learning
OHEOne-Hot Encoding
R2Coefficient of Determination
RFRandom Forest
RCReinforced Concrete
RMSERoot Mean Square Error
SHAPSHapley Additive exPlanations
SVRSupport Vector Regression

References

  1. Huang, J.; Niu, D.; Lv, Y.; Li, Z. Deterioration Mechanism and Pore Structure Characteristics of Concrete under the Coupling Effect of SO2 and CO2. J. Build. Eng. 2025, 100, 111760. [Google Scholar] [CrossRef]
  2. Muthu, M.; Sadowski, Ł. Evaluation of the Performance of Pervious Concrete Inspired by CO2-Curing Technology. Appl. Sci. 2024, 14, 4202. [Google Scholar] [CrossRef]
  3. Hou, Y.; Turcry, P.; Mahieux, P.-Y.; Cazacliu, B.; Lux, J.; Aït-Mokhtar, A. A comparative study of CO2 uptake quantification methods: A case study on recycled concrete aggregates under natural carbonation. J. Build. Eng. 2025, 101, 111845. [Google Scholar] [CrossRef]
  4. Teodoro, C.P.; Carrazedo, R. Impact of Carbonation on Reinforced Concrete Structures, Considering the Increase of CO2 Due to Climate Change in Brazil. Rev. IBRACON Estrut. Mater. 2025, 18, e18114. [Google Scholar] [CrossRef]
  5. Chen, L.; Su, R.K.L. Service life modelling of carbonated reinforced concrete with supplementary cementitious materials considering early corrosion propagation. Constr. Build. Mater. 2024, 413, 134861. [Google Scholar] [CrossRef]
  6. Ekolu, S.O. Model for practical prediction of natural carbonation in reinforced concrete: Part 1-formulation. Cem. Concr. Compos. 2018, 86, 40–56. [Google Scholar] [CrossRef]
  7. Fuhaid, A.F.A.; Niaz, A. Carbonation and Corrosion Problems in Reinforced Concrete Structures. Buildings 2022, 12, 586. [Google Scholar] [CrossRef]
  8. Tong, L.; Cai, Y.; Liu, Q. Carbonation modelling of hardened cementitious materials considering pore structure characteristics: A review. J. Build. Eng. 2024, 96, 110547. [Google Scholar] [CrossRef]
  9. Fu, B.; Lei, H.; Ullah, I.; El-Meligy, M.; El Hindi, K.; Javed, M.F.; Ahmad, F. Predictive Modeling for Durability Characteristics of Blended Cement Concrete Utilizing Machine Learning Algorithms. Case Stud. Constr. Mater. 2025, 22, e04209. [Google Scholar] [CrossRef]
  10. Jia, H.; Qiao, G.; Han, P. Machine Learning Algorithms in the Environmental Corrosion Evaluation of Reinforced Concrete Structures—A Review. Cem. Concr. Compos. 2022, 133, 104725. [Google Scholar] [CrossRef]
  11. Wang, X.; Yang, Q.; Peng, X.; Qin, F. A review of concrete carbonation depth evaluation models. Coatings 2024, 14, 386. [Google Scholar] [CrossRef]
  12. Du, M.; Liu, N.; Hu, X. Techniques for interpretable machine learning. Commun. ACM 2019, 63, 68–77. [Google Scholar] [CrossRef]
  13. Guidotti, R.; Monreale, A.; Ruggieri, S.; Turini, F.; Giannotti, F.; Pedreschi, D. A survey of methods for explaining black box models. ACM Comput. Surv. 2018, 51, 93. [Google Scholar] [CrossRef]
  14. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  15. Doshi-Velez, F.; Kim, B. Towards a rigorous science of interpretable machine learning. arXiv 2017, arXiv:1702.08608. [Google Scholar] [CrossRef]
  16. Hachaj, T.; Piekarczyk, M. On Explainability of Reinforcement Learning-Based Machine Learning Agents Trained with Proximal Policy Optimization That Utilizes Visual Sensor Data. Appl. Sci. 2025, 15, 538. [Google Scholar] [CrossRef]
  17. Peng, Y.; Unluer, C. Interpretable machine learning-based analysis of hydration and carbonation of carbonated reactive magnesia cement mixes. J. Clean. Prod. 2024, 434, 140054. [Google Scholar] [CrossRef]
  18. Kulasooriya, W.; Ranasinghe, R.S.S.; Perera, U.S.; Thisovithan, P.; Ekanayake, I.U.; Meddage, D.P.P. Modeling strength characteristics of basalt fiber reinforced concrete using multiple explainable machine learning with a graphical user interface. Sci. Rep. 2023, 13, 13138. [Google Scholar] [CrossRef] [PubMed]
  19. Liu, X.; Sun, G.; Ju, R.; Li, J.; Li, Z.; Jiang, Y.; Zhao, K.; Zhang, Y.; Jing, Y.; Yang, G. Prediction of load-bearing capacity of FRP-steel composite tubed concrete columns: Using explainable machine learning model with limited data. Structures 2025, 71, 107890. [Google Scholar] [CrossRef]
  20. Possan, E. Modelagem da Carbonatação e Previsão de Vida Útil de Estruturas de Concreto em Ambiente Urbano. Doctoral Thesis, Universidade Federal do Rio Grande do Sul (UFRGS), Porto Alegre, Brazil, 2010. [Google Scholar]
  21. Martínez-Muñoz, D.; García, J.; Martí, J.V.; Yepes, V. Deep learning classifier for life cycle optimization of steel–concrete composite bridges. Structures 2023, 57, 105347. [Google Scholar] [CrossRef]
  22. Taffese, W.Z.; Sistonen, E.; Puttonen, J. CaPrM: Carbonation prediction model for reinforced concrete using machine learning methods. Constr. Build. Mater. 2015, 100, 70–82. [Google Scholar] [CrossRef]
  23. Nunez, I.; Nehdi, M.L. Machine learning prediction of carbonation depth in recycled aggregate concrete incorporating SCMs. Constr. Build. Mater. 2021, 287, 123027. [Google Scholar] [CrossRef]
  24. Tran, V.Q.; Mai, H.T.; To, Q.T.; Nguyen, M.H. Machine learning approach in investigating carbonation depth of concrete containing fly ash. Struct. Concr. 2022, 24, 2145–2169. [Google Scholar] [CrossRef]
  25. Londhe, S.; Kulkarni, P.; Dixit, P.; Silva, A.; Neves, R.; De Brito, J. Tree Based Approaches for Predicting Concrete Carbonation Coefficient. Appl. Sci. 2022, 12, 3874. [Google Scholar] [CrossRef]
  26. Huo, Z.; Wang, L.; Huang, Y. Predicting carbonation depth of concrete using a hybrid ensemble model. J. Build. Eng. 2023, 76, 107320. [Google Scholar] [CrossRef]
  27. Majlesi, A.; Koodiani, H.K.; Rincon, O.T.; Montoya, A.; Millano, V.; Torres-Acosta, A.A.; Troconis, B.C.R. Artificial neural network model to estimate the long-term carbonation depth of concrete exposed to natural environments. J. Build. Eng. 2023, 74, 106545. [Google Scholar] [CrossRef]
  28. Ehsani, M.; Ostovari, M.; Mansouri, S.; Naseri, H.; Jahanbakhsh, H.; Moghadas Nejad, F. Machine learning for predicting concrete carbonation depth: A comparative analysis and a novel feature selection. Constr. Build. Mater. 2024, 417, 135331. [Google Scholar] [CrossRef]
  29. Lee, H.; Lee, H.; Suraneni, P. Evaluation of carbonation progress using AIJ model, FEM analysis, and machine learning algorithms. Constr. Build. Mater. 2020, 259, 119703. [Google Scholar] [CrossRef]
  30. Uwanuakwa, I.D. Deep Learning Modelling and Generalisation of Carbonation Depth in Fly Ash Blended Concrete. Arab. J. Sci. Eng. 2021, 46, 4731–4746. [Google Scholar] [CrossRef]
  31. Felix, E.F.; Carrazedo, R.; Possan, E. Carbonation model for fly ash concrete based on artificial neural network: Development and parametric analysis. Constr. Build. Mater. 2021, 266, 121050. [Google Scholar] [CrossRef]
  32. Chen, Z.; Lin, J.; Sagoe-Crentsil, K.; Duan, W. Development of hybrid machine learning-based carbonation models with weighting function. Constr. Build. Mater. 2022, 321, 126359. [Google Scholar] [CrossRef]
  33. Marani, A.; Oyinkanola, T.; Panesar, D.K. Probabilistic deep learning prediction of natural carbonation of low-carbon concrete incorporating SCMs. Cem. Concr. Compos. 2024, 152, 105635. [Google Scholar] [CrossRef]
  34. Faceli, K.; Lorena, A.C.; Gama, J.; Almeida, T.A.; Carvalho, A.C.L.F. Inteligência Artificial: Uma Abordagem de Aprendizado de Máquina, 2nd ed.; LTC: Rio de Janeiro, Brazil, 2021. [Google Scholar]
  35. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. An Introduction to Statistical Learning, 2nd ed.; Springer: New York, NY, USA, 2021. [Google Scholar]
  36. Biau, G.; Scornet, E. A random forest guided tour. Test 2016, 25, 197–227. [Google Scholar] [CrossRef]
  37. Harrison, M. Machine Learning: Guia de Referência Rápida—Trabalhando com Dados Estruturados em Python, 1st ed.; Novatec: São Paulo, Brazil, 2020. [Google Scholar]
  38. Pisner, D.A.; Schnyer, D.M. Support vector machine. In Machine Learning; Academic Press: Cambridge, MA, USA, 2020; pp. 101–121. [Google Scholar]
  39. Zhang, F.; O’Donnell, L.J. Support vector regression. In Machine Learning; Elsevier: Amsterdam, The Netherlands, 2020; pp. 123–136. [Google Scholar] [CrossRef]
  40. Dalip, D.H. Uma Abordagem Multi-Visão Para a Estimativa Automática Da Qualidade de Conteúdo Colaborativo Na Web 2.0. Ph.D. Thesis, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte, Brazil, 2015. [Google Scholar]
  41. Afshari, S.S.; Enayatollahi, F.; Xu, X.; Liang, X. Machine learning-based methods in structural reliability analysis: A review. Reliab. Eng. Syst. Saf. 2021, 219, 108223. [Google Scholar] [CrossRef]
  42. Wu, Y.; Feng, J. Development and Application of Artificial Neural Network. Wirel. Pers. Commun. 2018, 102, 1645–1656. [Google Scholar] [CrossRef]
  43. Wang, S. Interdisciplinary Computing in Java Programming Language; Springer Science+Business Media: New York, NY, USA, 2003. [Google Scholar]
  44. George, K.; Ziska, L.H.; Bunce, J.A.; Quebedeaux, B. Elevated atmospheric CO2 concentration and temperature across an urban–rural transect. Atmos. Environ. 2007, 41, 7654–7665. [Google Scholar] [CrossRef]
  45. Metya, A.; Datye, A.; Chakraborty, S.; Tiwari, Y.K.; Sarma, D.; Bora, A.; Gogoi, N. Diurnal and seasonal variability of CO2 and CH4 concentration in a semi-urban environment of western India. Sci. Rep. 2021, 11, 2931. [Google Scholar] [CrossRef]
  46. Neville, A.M. Properties of Concrete, 4th ed.; Prentice Hall: London, UK, 1963. [Google Scholar]
  47. Park, H.; Jeong, S.; Koo, J.-H.; Sim, S.; Bae, Y.; Kim, Y.; Park, C.; Bang, J. Lessons from COVID-19 and Seoul: Effects of reduced human activity from social distancing on urban CO2 concentration and air quality. Aerosol Air Qual. Res. 2021, 21, 200376. [Google Scholar] [CrossRef]
  48. Qi, B.; Hu, C.; Yu, Y.; Pang, Y.; Wu, F.; Yang, X.; Liu, H.; Zhang, J.; Xiao, Q.; Liu, C. Using Urban-Suburban Difference of Atmospheric CO2 to Evaluate Carbon Neutrality Capacity in Hangzhou, China. J. Environ. Sci. 2024, in press. [Google Scholar] [CrossRef]
  49. Torres-Acosta, A.A.; Castro-Borges, P.; de Rincón, O.T.; Martín-Pérez, B.; Martínez-Molina, W.; Alonso-Guzmán, E.; Bernabé-Reyes, C.; Arista-Perrusquía, C.; Crespo-Sánchez, S.E.; Pérez-Quiroz, J.T. Concrete carbonation in tropical urban and urban/marine environments after 20 years of natural exposure. Constr. Build. Mater. 2024, 450, 138511. [Google Scholar] [CrossRef]
  50. ABNT. NBR 8953; Concreto Para Fins Estruturais: Classificação Por Grupo de Resistência. Associação Brasileira de Normas Técnicas (ABNT): Rio de Janeiro, Brazil, 2015.
  51. ABNT. NBR 16697; Cimento Portland—Requisitos. Associação Brasileira de Normas Técnicas (ABNT): Rio de Janeiro, Brazil, 2018.
  52. ABNT. NBR 6118; Projeto de Estruturas de Concreto—Procedimento. Associação Brasileira de Normas Técnicas (ABNT): Rio de Janeiro, Brazil, 2023.
  53. Bengio, Y. Practical recommendations for gradient-based training of deep architectures. In Neural Networks: Tricks of the Trade, 2nd ed.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2012; Volume 7700, pp. 437–478. [Google Scholar] [CrossRef]
  54. Reis, E.D.; Resende, H.F.; Christoforo, A.L.; Costa, R.M.; Gatuingt, F.; Poggiali, F.S.J.; Bezerra, A.C.S. Assessment of physical and mechanical properties of concrete with carbon nanotubes pre-dispersed in cement. J. Build. Eng. 2024, 89, 109255. [Google Scholar] [CrossRef]
  55. Elsalamawy, M.; Mohamed, A.R.; Kamal, E.M. The role of relative humidity and cement type on carbonation resistance of concrete. Alex. Eng. J. 2019, 58, 1257–1264. [Google Scholar] [CrossRef]
  56. ACI 318-19; Building Code Requirements for Structural Concrete. ACI Committee 318: Farmington Hills, MI, USA, 2019.
  57. Gomes, H.C.; Reis, E.D.; Azevedo, R.C.D.; Rodrigues, C.D.S.; Poggiali, F.S.J. Carbonation of aggregates from construction and demolition waste applied to concrete: A review. Buildings 2023, 13, 1097. [Google Scholar] [CrossRef]
  58. Malami, S.I.; Anwar, F.H.; Abdulrahman, S.; Haruna, S.I.; Ali, S.I.A.; Abba, S.I. Implementation of Hybrid Neuro-Fuzzy and Self-Turning Predictive Model for the Prediction of Concrete Carbonation Depth: A Soft Computing Technique. Results Eng. 2021, 10, 100228. [Google Scholar] [CrossRef]
Figure 1. Schematic model for RF (adapted from Ehsani et al. [28]).
Figure 1. Schematic model for RF (adapted from Ehsani et al. [28]).
Modelling 06 00046 g001
Figure 2. Graphical representation of linear SVR models: (a) model that approximates all input data; (b) model containing noisy data or outliers (adapted from Zhang and O’Donnell [39]).
Figure 2. Graphical representation of linear SVR models: (a) model that approximates all input data; (b) model containing noisy data or outliers (adapted from Zhang and O’Donnell [39]).
Modelling 06 00046 g002
Figure 3. Schematic model for ANN (adapted from Wang [43]).
Figure 3. Schematic model for ANN (adapted from Wang [43]).
Modelling 06 00046 g003
Figure 4. Predicted vs. observed values: (a) RF; (b) ANN; (c) SVR.
Figure 4. Predicted vs. observed values: (a) RF; (b) ANN; (c) SVR.
Modelling 06 00046 g004
Figure 5. Carbonation depth predictions vs. CO2 concentration (CCO2) for SVR, ANN, RF, and Possan [20] models.
Figure 5. Carbonation depth predictions vs. CO2 concentration (CCO2) for SVR, ANN, RF, and Possan [20] models.
Modelling 06 00046 g005
Figure 6. Carbonation depth predictions vs. concrete compressive strength (fc) for SVR, ANN, RF, and Possan [20] models.
Figure 6. Carbonation depth predictions vs. concrete compressive strength (fc) for SVR, ANN, RF, and Possan [20] models.
Modelling 06 00046 g006
Figure 7. Carbonation depth predictions vs. relative humidity (UR) for SVR, ANN, RF, and Possan [20] models.
Figure 7. Carbonation depth predictions vs. relative humidity (UR) for SVR, ANN, RF, and Possan [20] models.
Modelling 06 00046 g007
Figure 8. Carbonation depth predictions vs. time (t) for SVR, ANN, RF, and Possan [20] models.
Figure 8. Carbonation depth predictions vs. time (t) for SVR, ANN, RF, and Possan [20] models.
Modelling 06 00046 g008
Figure 9. Carbonation depth predictions vs. cement type for SVR, ANN, RF, and Possan [20] models.
Figure 9. Carbonation depth predictions vs. cement type for SVR, ANN, RF, and Possan [20] models.
Modelling 06 00046 g009
Figure 10. Carbonation depth predictions vs. exposure type for SVR, ANN, RF, and Possan [20] models.
Figure 10. Carbonation depth predictions vs. exposure type for SVR, ANN, RF, and Possan [20] models.
Modelling 06 00046 g010
Table 1. Dataset sizes reported in the literature.
Table 1. Dataset sizes reported in the literature.
Author(s)InstancesAuthor(s)Instances
Taffese et al. [22]~184Tran et al. [24]688
Lee et al. [29]206Londhe et al. [25]827
Uwanuakwa [30]534Huo et al. [26]532
Nunez and Nehdi [23]713Majlesi et al. [27]110
Felix et al. [31]272Ehsani et al. [28]198
Chen et al. [32]532Marani et al. [33]2165
Table 2. Possan model coefficients related to concrete characteristics and environmental conditions [20].
Table 2. Possan model coefficients related to concrete characteristics and environmental conditions [20].
Type of CementConcrete CharacteristicsEnvironmental Conditions
CementfcAdditionsCO2UR
kckfckadkCO2kUR
CP I19.801.700.2418.001300
CP II E22.481.500.3215.501300
CP II F21.681.500.2418.001100
CP II Z23.661.500.3215.501300
CP III30.501.700.3215.501300
CP IV33.271.700.3215.501000
CP V ARI19.801.700.2418.001300
Table 3. Possan model coefficients related to rain protection [20].
Table 3. Possan model coefficients related to rain protection [20].
Exposure Conditionkce
Protected Indoor1.30
Protected Outdoor1.00
Unprotected Outdoor0.65
Table 4. Features and corresponding ranges.
Table 4. Features and corresponding ranges.
FeatureAdopted Values
CO2 Concentration (CCO2)0.03–0.30%
Concrete Strength (fc)20–50 MPa
Relative Humidity (UR) *30–90%
Type of CementCPII E, CPII F, CPII Z, CPIII, CPIV, CPV-ARI
Exposure Conditions *AIP, AEP, AED
Time (t)0–100 years
Note: * Feature acronyms remain in Portuguese for consistency with the model variables.
Table 5. Features and adopted values for different analysis scenarios.
Table 5. Features and adopted values for different analysis scenarios.
ScenarioVarying FeatureAdopted ValuesFixed Features
1CO2 Concentration (CCO2)0.03–0.3%fc = 30 MPa, UR = 60%, Cement = CPII E, Exposure = AEP, Time = 50 years
2Concrete Strength (fc)20–50 MPaCCO2 = 0.1%, UR = 60%, Cement = CPII E, Exposure = AEP, Time = 50 years
3Relative Humidity (UR)30–90%CCO2 = 0.1%, fc = 30 MPa, Cement = CPII E, Exposure = AEP, Time = 50 years
4Time (t)0–100 yearsCCO2 = 0.1%, fc = 30 MPa, UR = 60%, Cement = CPII E, Exposure = AEP
5Type of CementCPII E, CPII F, CPII Z, CPIII, CPIV, CPVCCO2 = 0.1%, fc = 30 MPa, UR = 60%, Exposure = AEP, Time = 50 years
6Exposure ConditionAIP, AEP, AEDCCO2 = 0.1%, fc = 30 MPa, UR = 60%, Cement = CPII E, Time = 50 years
Table 6. Summary of performance metrics for ML methods in predicting carbonation depth.
Table 6. Summary of performance metrics for ML methods in predicting carbonation depth.
MethodR2MAE (mm)RMSE (mm)
RF96.11%1.6852.681
ANN99.39%0.7281.025
SVR98.61%0.7771.650
Table 7. Summary of performance metrics for ML methods in predicting carbonation depth by scenario and varying feature.
Table 7. Summary of performance metrics for ML methods in predicting carbonation depth by scenario and varying feature.
ScenarioVarying FeatureMethodR2 (%)MAE (mm)RMSE (mm)
1CO2 Concentration (CCO2)RF87.441.7101.751
ANN98.410.7290.732
SVR98.410.0480.081
2Concrete Strength (fc)RF99.310.9521.280
ANN99.890.7140.772
SVR99.900.2410.379
3Relative Humidity (UR)RF94.681.6902.017
ANN99.790.6470.748
SVR99.970.2040.310
4Time (t)RF98.961.3171.617
ANN99.450.6540.840
SVR99.880.1300.281
5Type of CementRF91.842.0122.534
ANN99.820.6860.712
SVR99.750.2000.270
6Exposure ConditionRF99.771.0381.109
ANN99.670.3990.458
SVR99.990.2830.350
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

Couto, R.A.; Campos, I.A.G.; Reis, E.D.; Dalip, D.H.; Poggiali, F.S.J.; Ludvig, P. Machine Learning Models for Carbonation Depth Prediction in Reinforced Concrete Structures: A Comparative Study. Modelling 2025, 6, 46. https://doi.org/10.3390/modelling6020046

AMA Style

Couto RA, Campos IAG, Reis ED, Dalip DH, Poggiali FSJ, Ludvig P. Machine Learning Models for Carbonation Depth Prediction in Reinforced Concrete Structures: A Comparative Study. Modelling. 2025; 6(2):46. https://doi.org/10.3390/modelling6020046

Chicago/Turabian Style

Couto, Rafael Aredes, Igor Augusto Guimarães Campos, Elvys Dias Reis, Daniel Hasan Dalip, Flávia Spitale Jacques Poggiali, and Péter Ludvig. 2025. "Machine Learning Models for Carbonation Depth Prediction in Reinforced Concrete Structures: A Comparative Study" Modelling 6, no. 2: 46. https://doi.org/10.3390/modelling6020046

APA Style

Couto, R. A., Campos, I. A. G., Reis, E. D., Dalip, D. H., Poggiali, F. S. J., & Ludvig, P. (2025). Machine Learning Models for Carbonation Depth Prediction in Reinforced Concrete Structures: A Comparative Study. Modelling, 6(2), 46. https://doi.org/10.3390/modelling6020046

Article Metrics

Back to TopTop