1. Introduction
The condition assessment of ageing civil infrastructure has become a global priority. In many countries, a large proportion of bridges and other structures are classified as structurally deficient or are nearing the end of their service life. Consequently, the costs associated with inspection, maintenance, and rehabilitation are extremely high, and this maintenance burden is the recurring motivation for automated, data-driven condition assessment [
1]. Structural health monitoring (SHM) aims to replace periodic, labour-intensive visual inspections with continuous, data-driven condition assessment [
2]. However, a major limitation of conventional SHM systems is their dependence on attached or embedded sensors, such as strain gauges, fibre-optic sensors, and piezoelectric patches. These sensors may experience durability issues, limited compatibility with cementitious materials, and restricted monitoring coverage [
3].
Intrinsically self-sensing cementitious composites provide an alternative approach in which the structural material functions as the sensor itself. When conductive fillers such as carbon nanotubes (CNTs), carbon fibres, carbon black, graphene, or more recently, biochar are incorporated above the percolation threshold, the composite develops a measurable piezoresistive response. Its electrical resistance changes reversibly under strain and permanently when damage occurs [
3,
4,
5]. The most commonly used parameter is the fractional change in resistance (FCR), defined as
FCR = (
R −
R0)/
R0, where
R0 represents the initial resistance. The sensitivity of FCR to strain is measured by the gauge factor, which has been reported to span roughly an order of magnitude, from approximately 24 to 30 for carbon–black-filled cement composites [
6] to 167 for well-dispersed multi-walled CNT composites containing 1 wt% CNTs [
5]. This concept has been extended beyond Ordinary Portland Cement (OPC) to low-carbon binder systems, including limestone-calcined clay cement (LC3) [
7,
8] and alkali-activated or geopolymer matrices [
9]. These developments support the construction sector’s efforts to reduce carbon emissions while enhancing structural monitoring capabilities. Among conductive additives, biochar has gained significant attention because it is a carbon-negative material produced through pyrolysis. Hybrid systems incorporating biochar and nano-carbon black have shown stable piezoresistive performance while simultaneously reducing electrical resistivity and embodied CO
2 emissions [
10,
11,
12].
This promise is, however, accompanied by a fundamental measurement difficulty. The FCR of a cementitious sensor is not a clean function of mechanical state. Pore moisture strongly modulates ionic conduction, so wetting lowers and drying raises the resistance, often by tens of percent and largely reversibly [
13,
14]. Temperature also matters: resistance generally falls as temperature rises, but in cold-climate infrastructure the freezing of pore water causes a sharp, reversible increase during freeze–thaw cycles. These environmental contributions are of the same order as, or larger than, the irreversible resistance increase produced by early-stage cracking. A monitoring algorithm that cannot separate them will either miss early damage or, more often, raise false alarms when conditions change. This is the problem of environmental and operational variability, long recognized in vibration-based SHM, where dedicated projection and cointegration methods have been developed to strip environmental trends from a monitoring signal before damage detection is attempted [
2,
15]. This is harder in practice because damage does not develop independently of the environment; it accumulates while conditions keep changing, as in the cycle-by-cycle strength and stiffness degradation observed when structural components are subjected to repeated loading events [
16]. The algorithm must therefore track a continuous, multi-stage damage progression and, at the same time, reject reversible environmental change.
Data-driven methods, and deep learning in particular, are natural candidates for this disentangling task [
1,
17]. Convolutional neural networks (CNNs) extract local features directly from raw sensor signals [
18], recurrent models such as long short-term memory (LSTM) networks capture temporal dependence [
19], and hybrid CNN-LSTM architectures combine both [
17]. Four constraints, rather than the choice of architecture, limit deployment. First, labelled multi-stage damage data from instrumented self-sensing structures are scarce, whereas supervised deep models are data-hungry. Second, a model trained on one structure or under one set of environmental conditions transfers poorly to another, which has motivated transfer learning and domain adaptation in structural health monitoring [
20,
21,
22]. Third, monitoring networks are often operated by different organizations, so raw data cannot be pooled freely; federated learning addresses this by exchanging model parameters instead of data [
23,
24], and its use in SHM is recent [
25,
26,
27]. Fourth, continuous high-rate acquisition across distributed sensor networks is energy- and bandwidth-intensive, which motivates reinforcement-learning-based active sensing, in which the decision to acquire a measurement is itself optimized against its cost [
28,
29].
No previous study has integrated all these elements for self-sensing cementitious infrastructure. The main obstacle is the absence of a controlled, reproducible dataset that combines multi-stage damage with changing environmental conditions and known ground truth across many structures; producing such a dataset experimentally is a multi-year undertaking. The present study therefore adopts an algorithm-first approach and develops a transparent, physics-based digital twin of the FCR signal. The model reproduces piezoresistive sensitivity, irreversible damage effects, reversible moisture and freeze-induced responses, freeze–thaw damage accumulation, polarization and ageing drift, moisture–thermal hysteresis, electrode contact instability, 1/f measurement noise, and signal quantization, with all parameter ranges taken from published self-sensing studies. Following the maturity levels used in the digital-twin literature, the model presented here is a digital-twin precursor rather than an operational digital twin, because it is not yet coupled to a physical counterpart through automated, two-way data exchange [
30]. This terminology is defined in
Section 3.1 and applied consistently throughout the paper.
Two distinct questions are presented throughout. The first is algorithmic feasibility: can the proposed learning framework separate damage from environmental variability in a controlled, literature-based signal? The second is physical representativeness: how closely does the synthetic signal reproduce the response of a real specimen? This study addresses only the first. All sensing data are synthetic and no physical specimens were tested. Simulation-based methodological studies are an established research approach. They test the feasibility of an algorithmic framework, screen its components before experimental investment, and provide an open, reproducible baseline for later comparison.
This algorithm-first study is also a digital-design precursor to the postdoctoral research programme “Use of Algal Biomass in the Production of Carbon-Cured Cement, LC3, and Alkali-Activated Geopolymer Composites”, whose experimental phase will cover raw algal biomass and algal biochar, carbonation curing, mechanical and durability performance, microstructure, and life-cycle impacts. In the present paper, the biochar parameters are generic literature values, carbonation curing is not simulated, and no virtual specimen represents a specific algal-biomass mixture. The link is the design of the sensing, data, and validation architecture that project-generated experimental data can later calibrate.
The central novelty of this work is methodological and architectural rather than component-level. To the authors’ knowledge, this is the first study to integrate multi-stage self-sensing damage identification, data-minimizing federated learning, and bandwidth-aware reinforcement-learning active sensing into a single cyber-physical sensing pipeline, and to evaluate that pipeline on a controlled, reproducible benchmark that reproduces realistic second-order signal degradation. The scientific contribution is therefore not a new learning algorithm. It consists of three products that the individual components cannot supply separately: a benchmark whose second-order acquisition physics makes the damage-versus-environment identification problem measurably harder, and therefore more informative, than the idealized additive benchmarks in common use; a like-for-like measurement of how each component behaves inside a complete pipeline, including the components that fail; and a falsifiable set of acceptance criteria that fix in advance what the experimental validation of the framework would have to demonstrate (
Section 7). The specific contributions are as follows:
A transparent, physics-based digital twin for identifying multi-stage damage in self-sensing CNT/biochar LC3 and geopolymer composites. Unlike simplified additive models, it accounts for polarization and ageing drift, moisture–thermal hysteresis, electrode contact instability, 1/f noise, and signal quantization. The generator, the specimen configuration files, the random seeds, and the generated dataset are deposited in a permanent public repository (Data Availability Statement), and the complete stochastic specification of every term is given in
Section 3.2, with all parameter ranges traceable to the published literature (
Section 3).
The first integrated learning framework to unify, within a single cyber-physical sensing pipeline, a CNN-LSTM damage classifier, unsupervised online domain adaptation, data-minimizing federated averaging across heterogeneous specimens, a bandwidth-aware dual-gamble tabular Q-learning active-sensing controller, and a quantum-inspired aggregation optimizer; the novelty lies in this integration and its joint, end-to-end evaluation rather than in the individual components, each of which is independently established (
Section 4).
A rigorous proof-of-concept evaluation in which all metrics are real computations on the synthetic data, reported per test specimen with interval estimates, and as mean and standard deviation across repeated training runs at a fixed split and across rotated specimen-level splits, with the two forms of repetition kept explicitly distinct because only the second changes the specimens on which the model is tested, and including candidly reported negative and limited results that identify the components requiring refinement on a realistic benchmark (
Section 5). This component-level analysis is a methodological contribution. It identifies which parts of the pipeline remain robust under realistic signal degradation and which require further improvement.
A concrete experimental-validation roadmap that maps each synthetic parameter to a measurable quantity and connects the digital framework to the broader algal-biomass programme. The roadmap covers raw algal biomass and algal biochar, OPC/LC3/geopolymer binder families, early carbonation curing at 1–5 bar, specimen and concrete masonry unit fabrication, electrode configuration, mechanical and durability conditioning, microstructural characterization, CO
2-uptake assessment, and life-cycle assessment (
Section 7).
The remainder of the paper reviews related work (
Section 2), describes the testbed (
Section 3) and methods (
Section 4), reports results (
Section 5), discusses their interpretation, the simulation-to-reality gap, and the connection to the algal-biomass research programme (
Section 6), sets out the validation roadmap (
Section 7), and concludes (
Section 8).
3. Physics-Based Digital-Twin Testbed
3.1. Rationale and Disclosure
The testbed is a documented signal generator that produces synthetic FCR time series with known damage and environmental labels. It was developed to support reproducible testing of the proposed learning framework in the absence of an experimental multi-structure dataset. Although all parameter ranges are based on published studies, the generated data are synthetic.
The terminology is defined here and used consistently in the remainder of the paper. In the digital-twin literature, a digital model exchanges data with its physical counterpart manually, a digital shadow receives data in one direction only, and a digital twin maintains an automated two-way exchange with a calibrated physical asset [
30]. The testbed presented here has neither a calibrated physical counterpart nor a live data link, and therefore sits below the digital-shadow level. It is accordingly described as a physics-based synthetic benchmark, or equivalently as a digital-twin precursor. The terms digital twin and digital-twin architecture are retained in this paper to denote the target architecture that the present work designs and tests in the software, and are never used to claim a demonstrated, operationally coupled twin.
Section 7 specifies the measurements required to raise the framework to a calibrated digital twin.
Unlike simplified additive models, the benchmark incorporates important acquisition effects, including polarization and ageing drift, moisture–thermal hysteresis, electrode contact instability, 1/f measurement noise, and finite-resolution signal quantization. These features make the generated signals more representative of the challenges faced by real monitoring systems.
The benchmark is considered realistic in a limited sense: its parameters are grounded in the experimental literature, as detailed in
Section 3.3 and
Section 3.7, and it reproduces key acquisition phenomena observed in self-sensing systems. However, it is not claimed to replicate the full behaviour of any specific specimen, algal-biochar mixture, or carbonation-cured product. As discussed in
Section 3.7, material-specific validation has not yet been established and forms the basis of the validation roadmap presented in
Section 7.
3.2. FCR Signal Model
The fractional change in the resistance of specimen
i at discrete time
t is modelled as an additive superposition of physically interpretable contributions (Equation (1)):
The individual terms are defined, with their units and their stochastic specification, in
Table 2. In order they represent the irreversible damage offset, the reversible piezoresistive response, the reversible moisture term, the reversible freeze/ice term, the irreversible freeze–thaw damage term, the ageing and polarization drift, the moisture–thermal hysteresis term, the electrode contact-instability term, the coloured measurement noise, and the rare sensor-fault transients. The measured resistance is recovered as
Ri(
t) =
R0,i(1 +
FCRi(
t)) and is quantized to a finite instrument resolution (0.1 Ω) at a fixed 2 s sampling interval. The additive fractional formulation preserves the key identification challenge: distinguishing the single irreversible damage term from larger reversible effects that are path-dependent and influenced by measurement limitations, while maintaining transparency and reproducibility. The adopted sign conventions are consistent with the experimental findings, where damage and freezing increase resistance, whereas moisture uptake and compressive loading reduce it [
5,
13,
14].
Table 2 additionally states the probability distribution, the temporal structure, and the correlation treatment of every stochastic term, so that the generator can be reimplemented independently; the realized per-specimen values and the random seeds are released with the generator (Data Availability Statement).
This modelling assumption is made explicit because it directly affects the validity of the study. The additive formulation is a first-order approximation that neglects nonlinear interactions among moisture, temperature, damage, and electrical conductivity. Examples include changes in moisture sensitivity caused by damage-induced porosity or variations in the gauge factor with saturation level. The formulation is retained because it preserves the central challenge of the problem: identifying a single irreversible and monotonic damage component within larger reversible, path-dependent, and non-stationary effects arising from environmental conditions, polarization, and sensor contacts. While nonlinear interactions may alter the magnitude of these effects, they do not change this fundamental structure. This simplification keeps the benchmark transparent and reproducible without making the task unrealistically easy. The neglected couplings are intended to be quantified through the experimental programme described in
Section 7 and are acknowledged as a limitation in
Section 6.3.
The structural argument set out above will be tested directly in a planned nonlinear-coupling robustness study using the documented signal generator. First, the moisture coefficient (Ai) will be made dependent on both the current damage stage and the cumulative freeze–thaw damage, thereby reflecting the increase in porosity caused by cracking. Second, the gauge factor (λi) will be linked to pore saturation to account for the influence of moisture on piezoresistive behaviour. Third, the current additive treatment of moisture and ice effects will be replaced by a coupled moisture–temperature interaction.
The coupling coefficients introduced by these three modifications will be varied over physically realistic ranges, which will be defined through the experimental programme proposed in
Section 7. The complete framework, including the classifier, the false-alarm suppression strategy, and the federated learning scheme, will then be re-evaluated, and the key performance metrics (four-stage classification accuracy, macro-F1 score, and false-alarm rate) will be compared with the baseline results reported in
Section 5.
The benchmark can be considered robust only if performance decreases gradually under increasing coupling effects, for example, remaining within a predefined tolerance of 10 percentage points. This analysis requires additional simulations with the documented generator and is therefore identified as future work. It does not affect the additive-model results reported in the present study, which are consolidated later in the Results section.
3.3. Literature Parameter Ranges
Table 3 lists the parameter ranges realized across the twelve specimens, together with their units and their basis in the self-sensing literature. The gauge-factor range lies between the values reported for carbon–black-filled cement composites and those reported for well-dispersed CNT composites [
5,
6]; the moisture and freeze/ice amplitudes reflect the tens-of-percent reversible FCR excursions documented for environmental actions [
13,
14]; the damage-stage offsets follow the progression from micro-cracking to macro-cracking in piezoresistive damage studies [
3,
5] and are consistent with classical continuum damage mechanics of concrete [
58]; the noise, contact-instability, hysteresis, and ageing-drift ranges set the second-order realism of the benchmark; and the binder, CNT, and biochar ranges follow LC3 [
7,
8], geopolymer [
9], and biochar self-sensing studies [
10,
11]. The biochar range is generic and must not be interpreted as a calibrated response of algal biochar. Every entry now carries an explicit unit, a symbol, and a literature source; the four indices that describe acquisition realism (baseline noise, contact instability, ageing shift, and acquisition settings) are second-order descriptors of the measurement chain rather than material properties, and their sources are cited accordingly. Because these ranges are selected from the literature rather than measured on a specific mix, their influence on the benchmark outcomes is itself examined:
Section 5.8 reports the sensitivity of identification accuracy to FCR-amplitude and noise perturbations and to the realized per-specimen parameter values;
Section 6.3 maps each principal modelling assumption to its expected influence on the reported results (
Section 6.3), and outlines a formal uncertainty-propagation analysis for the ranges themselves.
3.4. Heterogeneous Specimen Population
To represent a realistic non-identically distributed (non-IID) population for federated learning and cross-structure domain adaptation, twelve virtual specimens were generated: six with an LC3 matrix (approximately 50% clinker replacement) and six with a slag/fly ash alkali-activated geopolymer matrix. These are the candidate binder families prioritized in the broader experimental programme, but the virtual specimens are not digital replicas of tested project mixtures. Each specimen was assigned an embedded four-probe stainless-steel mesh electrode system with a 20 mm gauge spacing and a unique set of independently sampled parameters (
Table 3).
Higher CNT contents were associated with lower baseline resistance and higher gauge factors, consistent with percolation theory. As a result, each specimen exhibits distinct baseline characteristics, sensing sensitivity, drift, hysteresis, contact instability, and noise behaviour. This variability creates a realistic distribution shift, allowing the framework to be evaluated under conditions where models trained on some specimens are applied to others.
3.5. Interleaved Conditioning Programme
Each specimen undergoes the same eight-phase loading and conditioning programme (
Table 4), consisting of 3600 time steps, corresponding to 2 h at a 2 s sampling interval. Mechanical loading phases are interleaved with wet–dry and freeze–thaw conditioning periods. During loading, compressive strain is applied through loading–unloading cycles, progressively advancing the damage state from S1 to S3. Wet–dry phases vary pore saturation, while freeze–thaw phases cycle the temperature above and below freezing, leading to the accumulation of irreversible freeze–thaw damage.
Because the environmental conditioning occurs before, after, and between damage increments, reversible environmental effects are superimposed on an increasingly damaged baseline. This creates the core challenge of distinguishing irreversible damage from reversible environmental variability.
Because every specimen follows the same phase sequence with the same phase durations, the position of a window within the 3600-step programme is correlated with its damage label. The models receive no explicit time channel, and each window is labelled only by the damage stage at its final step. A temporal model could nevertheless associate phase-specific signal patterns with their fixed position in the sequence, so holding out specimens does not by itself demonstrate generalization to an unseen loading history. This form of protocol leakage is a recognized cause of over-optimistic results in machine-learning-based science [
44], and it is stated here explicitly as a property of the present benchmark. It is repeated among the threats to validity in
Section 6.3, and the released generator exposes phase durations, phase ordering, and the random seed as configurable inputs so that randomized-protocol variants can be generated. A randomized-protocol replication, in which phase durations are sampled per specimen and the order of the wet–dry and freeze–thaw blocks is permuted, is defined in
Section 7 as a required step before any claim of protocol-independent generalization. Until that replication is performed, the reported metrics should be read as performance under a fixed, known conditioning protocol.
3.6. Dataset Summary
The generator produces 43,200 labelled samples from twelve specimens, each monitored over 3600 time steps. For every sample, the dataset includes raw and processed FCR values, reconstructed and quantized resistance, environmental variables (temperature, relative humidity, pore saturation, and applied strain or load), and labels describing the damage stage and conditioning state. The generator source code, the twelve specimen configuration files, the master and per-specimen random seeds, the exported dataset, and the training and evaluation scripts are deposited in a permanent public repository (Data Availability Statement), so that every result reported below can be regenerated from a single command.
Across all specimens, FCR values range from approximately −51% to +91%. The largest values occur when heavily damaged specimens are simultaneously exposed to freezing or fully saturated conditions.
Figure 1 presents a representative FCR signal, showing that irreversible damage-induced increases can closely resemble the large reversible changes caused by wet–dry and freeze–thaw cycles. Distinguishing between these effects is the main challenge addressed by the proposed framework.
Figure 2 further demonstrates the problem by showing substantial overlap between FCR distributions associated with environmental conditioning and those corresponding to higher damage levels.
Figure 3 highlights two additional realism features of the benchmark: the 0.1 Ω measurement quantization and the 1/f-like noise characteristics of the baseline signal.
3.7. Plausibility Grounding Against the Experimental Literature
A key question for any synthetic benchmark is whether success on it provides meaningful insight into real self-sensing infrastructure. Although no experimental data were collected and the validation programme described in
Section 7 has not yet been carried out, a necessary first step is to verify that the generated signals fall within experimentally reported ranges.
Table 5 shows that the synthetic gauge factors, damage-related FCR shifts, moisture and freeze-induced excursions, baseline noise levels, and polarization or ageing drift are all consistent with values reported in the literature [
3,
5,
6,
13,
14].
This agreement supports the plausibility of the benchmark as a development environment, but it does not prove representativeness. Matching individual statistics does not guarantee that the temporal behaviour, joint distributions, or interaction mechanisms reflect those of real specimens. Consequently, the reported performance metrics should be interpreted with this limitation in mind (
Section 6.3), and experimental validation remains essential.
Two additional analyses would strengthen this assessment. First, using the synthetic dataset alone, the temporal and joint statistical properties of the generated signals should be characterized, including autocorrelation, power spectra, damage-transition behaviour, and joint FCR-temperature-saturation distributions. Second, once experimental data become available, these statistics should be compared directly with measured FCR records using established similarity metrics. The first analysis can be performed with the existing generator and is identified here as immediate future work, whereas the second depends on the experimental programme outlined in
Section 7.
8. Conclusions
This paper presents a computational proof of concept for multi-stage damage identification in self-sensing sustainable cementitious infrastructure. No experimental data were collected, no physical specimen was tested, and the framework is a digital-twin precursor rather than an operational digital twin. It is built on a transparent, physics-based benchmark. The benchmark reproduces drift, hysteresis, contact instability, coloured noise, and signal quantization, which simplified benchmarks omit. The main findings are as follows:
On previously unseen specimens, the CNN-LSTM reached 70.3% four-stage accuracy (95% CI 66.7–73.7%, widening to 59.8–79.0% on non-overlapping windows) and a macro-F1 score of 0.650. For the damaged-versus-undamaged decision it reached 85.2% (95% CI 82.3–87.7%). Per-specimen accuracy ranged from 63.8% to 77.1%, so the pooled value describes the centre of a specimen-to-specimen spread rather than a precise level of performance. Errors were confined to neighbouring stages, and no severely damaged window was called benign. The four-stage figure therefore measures how hard it is to resolve stage boundaries. It does not measure an inability to detect damage.
The same model reduced environment-induced false alarms by 74.7% (95% CI 61.7–83.4%; paired bound p at most 10-10, Cohen’s h = 0.647) relative to a calibrated threshold detector. This is the most practically significant result and the only component-level advantage in the study that the available sample size resolves unambiguously. Environmental variability is the dominant source of false alarms in self-sensing SHM.
Federated averaging reached 0.424 accuracy (95% CI 0.387–0.462) against 0.703 (95% CI 0.667–0.737) for centralized training, and it converged unstably. FedProx recovered 9.7 percentage points, a difference the paired test supports. The 5.2 percentage points attributed to quantum-inspired aggregation are not distinguishable from noise on the held-out specimens (p at most 0.16), and the much larger gain QPSO achieved on the validation specimen is the value of its own objective function rather than evidence of generalization. Both federated results come from single runs whose run-to-run variability was not measured. Personalized federated strategies are therefore the appropriate next step, rather than a different aggregation optimizer.
Two components require further development. Adaptive batch normalization lowered cross-domain accuracy by 11.1 percentage points. The dual-gamble tabular active-sensing controller cut sensing cost by 98.9% but detected only 14.8% of damage-progression events, being four of 27 events, with a 95% interval of 5.9–32.5%. That outcome follows from the reward specification, not from the learning algorithm.
The contribution of this work is the integration and component-level evaluation of these methods on a controlled, reproducible benchmark, together with a falsifiable validation roadmap. Its principal limitation is that all data are synthetic. All specimens also share one generator and one conditioning protocol. The reported metrics therefore describe the learnability of the modelled problem, not field performance. Because the population contains twelve specimens and the evaluation windows overlap, differences of a few percentage points between pipeline variants fall below the resolution of this study and are reported as unresolved rather than as small effects.
The generator, dataset, configuration files, seeds, and analysis code are deposited in a permanent public repository.
Section 7 sets out the route to validation with real specimens. At the project level, the paper supplies a digital-twin precursor and an AI methodology. Later experimental work on algal biomass and on carbon-cured LC3 and geopolymer composites can calibrate them. The paper does not show that algal biomass, algal biochar, or carbonation curing improves sensing or structural performance. It reports no life-cycle or mixture-design result.