Submitted:
22 November 2026
Posted:
23 November 2026
You are already at the latest version
Abstract
Enterprise Resource Planning (ERP) systems increasingly rely on blockchain technologies to provide secure, transparent, and auditable transaction processing for high-volume enterprise workloads. However, practical ERP–blockchain integration remains challenged by confirmation-latency instability, workload-dependent performance fluctuations, and excessive on-chain storage growth under dynamically varying transaction conditions.
This paper investigates an AI-driven adaptive execution framework for ERP-inspired blockchain workloads whose architecture is closed-loop by design; the evaluated pipeline implements workload prediction, rule-based execution control and hybrid-storage regulation, whereas continuous feedback collection and model retraining are proposed but not implemented or evaluated. The evaluation uses block-level Bitcoin traces from 2020 and a leakage-free experimental pipeline with strict chronological train/validation/test separation, validation-only model and threshold selection, bootstrap confidence intervals and randomization-based controls. Four findings emerge. First, block-interarrival confirmation latency at 10-minute granularity is not predictable from lagged workload history (selected model: Gradient Boosting; test R² = 0.010; RMSE improvement over the training mean = 0.54%). Second, near-term workload intensity is predictable: with the elapsed time since the last block as an additional real-time predictor, test R² reached 0.430 for transactions per block and 0.475 for block-fill ratio, with RMSE 30.6% and 30.1% lower than a persistence forecast. Third, in a mechanism-based queue simulation of ERP-record anchoring, batching ERP records reduced fee cost by about 98% relative to immediate submission at a 2-hour latency SLA; however, at the default setting every adaptive policy cost 42.7% more than the best static periodic policy, and a machine-learning congestion forecast gave no measurable advantage over a reactive rule or batching by age alone. Fourth, a trace-driven hybrid-storage estimate shows a 40.1% net reduction in on-chain footprint under an assumed fixed 70%/30% allocation policy, with an estimated mean retrieval latency of 6.87 ms versus 2.0 ms for all-on-chain storage; these are simulation estimates under declared assumptions, not physical measurements.
A rule-based adaptive controller, whose thresholds were optimized by grid search on the validation partition only under a hard activation-rate cap (≤ 50%), achieved a limited improvement over a static baseline in simulation (MAE 3.22%, RMSE 4.26%, confirmation-latency variance 7.03%; 95% bootstrap CI for the MAE improvement: [2.96%, 3.49%]). An activation-matched randomization control shows, however, that 84% of this MAE gain is reproduced when the same actions are placed on randomly chosen windows, indicating that the improvement reflects how often the controller acts more than the accuracy of its targeting. The controller effects rely on assumed action coefficients and are not measured deployment effects.
These results argue for evaluating AI-driven blockchain execution frameworks against explicit naive and randomized baselines before attributing performance gains to predictive intelligence. The workload-intensity prediction result, the mechanism-based queue-simulation methodology, and the validation protocol — including the randomization-based control — constitute the primary contributions of this work.

Keywords:
ERP–blockchain integration
; workload-aware adaptive execution
; confirmation-latency stabilization
; predictive workload modeling
; ensemble learning
; hybrid blockchain storage
; closed-loop orchestration
1. Introduction
Enterprise Resource Planning (ERP) systems constitute the operational backbone of modern enterprises by integrating core business functions, including finance, procurement, logistics, and human resource management, within unified digital platforms. As digital transformation continues to accelerate, organizations increasingly rely on secure, transparent, and tamper-resistant infrastructures capable of managing large volumes of distributed transactional data. In this context, blockchain technology has emerged as a promising solution owing to its decentralized architecture and persistent, auditable transaction records [1,2], and its applicability across a wide range of services, including enterprise systems [3,4].
Despite these advantages, integrating ERP systems with blockchain infrastructures introduces significant performance and scalability challenges. Enterprise blockchain workloads are typically characterized by high transaction arrival rates, burst-sensitive behaviour, and stringent latency requirements that directly influence business-process synchronization and operational decision making. Conventional blockchain mechanisms, particularly those based on Proof-of-Work (PoW) [5,6], face fundamental throughput and latency limits [7]; moreover, as the Bitcoin traces analysed in this study illustrate, block confirmation latency varies strongly with the workload, while on-chain storage grows continuously. These limitations significantly hinder the practical adoption of blockchain within enterprise information systems, where predictable execution performance, low operational latency, and efficient resource utilization are essential.
Recent advances in artificial intelligence (AI), particularly machine-learning techniques, have provided effective mechanisms for modelling complex nonlinear behaviours in distributed computing environments. Predictive models of workload and confirmation delay can support proactive blockchain optimization by estimating execution behaviour from workload characteristics [8]. However, most existing studies have investigated predictive modelling, consensus optimization, or storage management as independent research problems. Consequently, among the works reviewed in Section 2, little attention has been devoted to unified adaptive execution frameworks that simultaneously integrate predictive intelligence, execution orchestration, and hybrid storage regulation for ERP-inspired blockchain environments.
Therefore, there is a need for workload-aware integration frameworks capable of adaptively regulating blockchain execution while also addressing storage efficiency, and for evidence on whether such regulation actually helps. To address this research gap, this paper proposes an AI-driven closed-loop adaptive execution framework that integrates ERP-inspired workload characterization reconstructed from Bitcoin blockchain traces, predictive performance modelling, adaptive execution orchestration, and hybrid storage regulation within a unified optimization architecture. Rather than focusing solely on predictive modelling, the proposed framework transforms workload predictions into adaptive execution decisions through dynamic transaction batching, priority scheduling, and hybrid storage allocation. In the proposed architecture, these adaptive decisions form a closed-loop optimization process; in the evaluated pipeline the controller acts on predictions with frozen thresholds, and the feedback and retraining stage is not implemented.
Random Forest, Gradient Boosting and Multilayer Perceptron (MLP) models [9,10], together with an LSTM comparator, are evaluated for estimating a block-interarrival confirmation-latency proxy from reconstructed blockchain workload characteristics. The resulting predictions feed a lightweight adaptive execution controller that regulates transaction batching, execution priority and hybrid storage allocation; the study then tests, against explicit naive and randomized baselines, whether these predictions translate into measurable operational benefit.
For experimental evaluation, the proposed framework is assessed through a trace-driven simulation using public Bitcoin block data retrieved from the mempool.space API using fields corresponding to the former Google BigQuery crypto_bitcoin.blocks schema; direct row-level access to that table is no longer available because it has been converted to a view. These block-level observations (transaction count, payload size, block weight and block timestamp) enable the reconstruction of ERP-inspired workload characteristics while ensuring experimental reproducibility [8]. Accordingly, the evaluation focuses on workload-aware blockchain execution behavior rather than direct deployment within a production ERP–blockchain environment. Although the current validation is simulation-based, the proposed architecture is designed to be platform-independent and to be integrated with enterprise blockchain platforms through appropriate implementation interfaces.
The main contributions of this work are summarized as follows:
- A closed-loop adaptive execution architecture that integrates workload prediction, rule-based execution control and hybrid storage regulation for ERP-inspired blockchain workloads. The prediction, control and storage components are implemented and evaluated; the feedback-and-retraining stage is proposed but not implemented. The architecture is presented as a design contribution whose empirical benefit is evaluated rather than assumed.
- A leakage-free predictive evaluation of Random Forest, Gradient Boosting, MLP and LSTM models with strict chronological splitting, showing that block-interarrival confirmation latency is close to memoryless at 10-minute granularity whereas near-term workload intensity (transactions per block and block-fill ratio) is predictable.
- A validation-only, constraint-based threshold-optimization procedure for the adaptive controller, together with an activation-matched randomization control that quantifies how much of the apparent controller gain is attributable to intervention frequency rather than to predictive targeting.
- A mechanism-based queue simulation of ERP-record anchoring with a sensitivity analysis over fee-cost multiplier, latency SLA and arrival rate, and trace-driven hybrid-storage estimates that are explicitly reported as simulation estimates rather than physical measurements.
- A reproducible trace-driven evaluation on public Bitcoin block data, with an explicit mapping from blockchain observations to ERP-inspired workload quantities and exact chronological partition boundaries.
Overall, the proposed framework defines a unified architecture for AI-driven adaptive blockchain execution that integrates predictive intelligence, adaptive execution control and hybrid storage management within a closed-loop design tailored for ERP-inspired environments; its empirical benefit is assessed in Section 6.
The remainder of this paper is organized as follows. Section 2 reviews related work on blockchain performance optimization and enterprise system integration. Section 3 presents the research motivation and problem formulation. Section 4 introduces the proposed framework and its architectural design. Section 5 describes the methodology, implementation environment, adaptive execution strategy, and experimental evaluation. Section 6 presents the experimental results and discussion, and Section 7 concludes the paper and outlines future research directions.
2. Literature Review
Blockchain technology has been proposed as an enabling technology for enterprise information systems because of its transactional transparency, data integrity and decentralized trust [1,11]. As organizations consider integrating blockchain capabilities with Enterprise Resource Planning (ERP) platforms, studies have compared integration strategies, proposed decision frameworks and reviewed the field [3,4,12]. Existing studies can be broadly classified into four research directions: (i) enterprise–blockchain integration approaches, (ii) blockchain performance optimization techniques, (iii) AI-driven predictive intelligence and adaptive blockchain execution, and (iv) blockchain storage optimization strategies. This section reviews representative studies within these directions, positions the present work against each, and identifies the gap that motivates the proposed framework. The review is selective and not a systematic survey.
2.1. Enterprise–Blockchain Integration Approaches
Studies on ERP–blockchain integration have mainly addressed architectural feasibility, integration strategies and implementation decisions, with the benefits discussed being auditability, decentralized transaction validation and business-process automation [3,4,12]. Permissioned platforms such as Hyperledger Fabric [13] are commonly considered for enterprise integration because membership and endorsement policies are controlled by the participating organizations. These studies discuss the potential of blockchain technology to reduce reliance on centralized verification while improving trust, traceability and transparency among collaborating organizations.
Despite these advantages, most integration-oriented studies emphasize architectural design and business-process transformation rather than quantitative evaluation of operational performance. In particular, confirmation-latency stability, throughput predictability, and on-chain storage growth under workload-sensitive enterprise transaction conditions remain largely unexplored. Consequently, although integration strategies have been studied, workload-aware execution optimization remains an open research question.
2.2. Blockchain Performance Optimization Techniques
Another research direction improves blockchain performance through architectural redesign and consensus-level optimization. In permissioned systems, pipeline restructuring, parallel transaction validation and caching have raised the throughput of Hyperledger Fabric substantially [14], and hierarchical edge–cloud architectures such as LayerChain target low-delay operation in large-scale industrial applications [15]. Consensus-level trade-offs of Proof-of-Work and related mechanisms are surveyed in [5] and [6].
These approaches improve infrastructure-level performance, but they are typically evaluated under controlled or synthetic workloads, which may not capture the burst-sensitive and heterogeneous behavior of enterprise transaction streams. Transaction workloads on public blockchains fluctuate with arrival rate, transaction volume and queue buildup [8]; ERP-oriented workloads are expected to be at least as variable, but ERP-specific traces are not publicly available, which is why this study uses ERP-inspired reconstructions. The infrastructure-level approaches above do not adapt their execution decisions to such workload changes, which motivates workload-aware regulation.
2.3. AI-Driven Predictive Intelligence and Adaptive Blockchain Execution
Machine learning has been applied to blockchain systems for several purposes [16,17], including AI-assisted optimization of scalability and security [18], anomaly detection [19] and consensus mechanisms [20]. Closest to the present study, predictive models have been developed for Bitcoin workload and confirmation delay [8] and for the throughput and reliability of permissioned blockchains [21]. Tree ensembles such as Random Forests [10] and gradient boosting [9] are standard supervised learners for tabular workload features of this kind. In parallel, learning-based adaptive configuration has been proposed: AdaChain uses reinforcement learning to select permissioned-blockchain architectures for dynamic workloads [22], and recent work on self-driving blockchains explores predicting workload changes in order to reconfigure Hyperledger Fabric [23].
In the studies above, prediction, adaptive control and storage placement are typically addressed separately. Among the works reviewed here, none evaluates prediction, execution control and storage regulation together against naive and randomized baselines on workload traces; the review is selective, so this observation is limited to the cited literature. It also leaves open whether accurate prediction is what makes adaptive control effective, a question this study tests directly.
2.4. Blockchain Storage Optimization and Hybrid Data Placement
Storage scalability is a recognized challenge in blockchain-enabled enterprise systems because continuous ledger growth increases synchronization overhead and long-term storage requirements across nodes. Off-chaining, that is moving data and computation off the blockchain while keeping integrity guarantees through on-chain references, is a known way to reduce on-chain storage and computation cost [24].
Nevertheless, most existing storage-optimization approaches rely on static data-placement strategies that do not dynamically adapt to workload variability or execution-performance requirements. Furthermore, storage-management mechanisms are generally developed independently from predictive execution-control frameworks, limiting their effectiveness in enterprise-oriented blockchain environments where execution stability and storage efficiency must be optimized simultaneously.
2.5. Comparative Analysis of Existing Approaches
To provide a structured comparison, the reviewed approaches are grouped by research direction and described according to system scope, optimization objective, workload awareness, adaptivity level, storage-strategy integration, reported outcome type and suitability for ERP-oriented execution. The comparison in Table 1 is the authors' qualitative synthesis of the cited works by category, not a systematic review or an empirical comparison.
The comparative analysis in Table 1 suggests that the reviewed studies predominantly address isolated optimization objectives within blockchain-enabled enterprise systems rather than integrated ones. Integration-oriented research mainly focuses on architectural feasibility and process transparency, whereas infrastructure-level approaches primarily target throughput enhancement and confirmation-latency reduction under controlled workload conditions. Similarly, AI-driven studies emphasize predictive modelling or adaptive execution control, while storage-oriented approaches concentrate on reducing on-chain ledger growth through hybrid storage architectures.
Within the works reviewed, limited attention has been devoted to jointly integrating predictive intelligence, adaptive execution orchestration and storage-efficiency regulation within one workload-aware framework. Consequently, the absence of coordinated optimization across these complementary components remains a significant limitation for ERP-inspired blockchain environments, where execution stability, scalability, and storage efficiency must be addressed simultaneously.
2.6. Research Gap and Motivation
Overall, the literature review reveals that existing approaches predominantly address isolated optimization dimensions—either predictive intelligence, execution-latency reduction, or storage scalability—without jointly integrating these components within a unified workload-aware framework. Therefore, there remains a need for an integrated optimization architecture capable of simultaneously addressing confirmation-latency stability, adaptive execution regulation, and hybrid storage efficiency under burst-sensitive ERP-inspired blockchain conditions.
Relative to each direction, this study makes a narrower contribution than a new optimization method. Compared with the integration studies [3,4,12], it adds a quantitative operational evaluation on ERP-inspired workloads. Compared with the infrastructure-level optimizations [14,15], it studies workload-aware regulation above the blockchain layer and evaluates it against static and randomized baselines. Compared with the AI-driven studies [8,21,22,23], it tests under leakage-free conditions whether prediction translates into operational benefit, and reports where it does not. Compared with off-chaining work [24], it ties storage placement to the controller's storage-pressure signal and reports trace-driven estimates. The contribution is therefore an integrated, reproducible evaluation with negative as well as positive findings, rather than a demonstration of superiority over published methods.
To address this gap, this study proposes the architecture of an AI-driven adaptive execution framework with a closed-loop design and evaluates its prediction, control and storage components (the feedback and retraining stage is not implemented). The framework is evaluated using ERP-inspired workload reconstruction derived from publicly available Bitcoin blockchain traces.
3. Problem Context and Motivation
Enterprise Resource Planning (ERP) systems generate heterogeneous transaction streams characterized by dynamic arrival rates, varying transaction sizes, fluctuating congestion levels, and diverse execution-priority requirements. When these workload characteristics are processed by blockchain infrastructures, variations in batching efficiency, queue buildup, network throughput, and confirmation latency may significantly affect execution stability.
Under burst-sensitive workload conditions, increasing transaction pressure can produce irregular confirmation intervals, prolonged queue accumulation, and inefficient resource utilization. In addition, continuously storing large transaction volumes on-chain accelerates ledger growth, increases storage overhead, and limits long-term blockchain scalability. These technical challenges directly influence execution consistency and the responsiveness of enterprise business processes.
Motivated by these challenges, this study proposes an AI-driven adaptive execution framework with a closed-loop architecture that integrates predictive intelligence, adaptive execution orchestration and hybrid storage regulation, and evaluates its potential to improve confirmation-latency stability, execution consistency and storage efficiency under ERP-inspired blockchain workloads.
4. Proposed Integrated Framework Overview
To address the execution and scalability challenges of ERP-inspired blockchain environments, this study proposes an AI-driven closed-loop adaptive execution framework that integrates predictive intelligence, adaptive execution orchestration, and hybrid storage regulation within a unified optimization architecture (Figure 1; the workflow as implemented in this study is shown in Figure 2, Section 5). Heterogeneous transaction streams are transformed into adaptive execution decisions through workload characterization, predictive analysis, execution control, and performance feedback; each layer is described in Section 4.1, Section 4.2, Section 4.3 and Section 4.4.
The proposed architecture embeds predictive intelligence directly into the blockchain execution pipeline, enabling proactive adaptation to changing transaction conditions rather than relying on static execution policies. By adjusting execution strategies according to predicted workload characteristics, the framework is designed to improve confirmation-latency stability, execution consistency and storage efficiency; Section 6 evaluates whether it does so.
The framework consists of four tightly coupled functional layers. The Enterprise Data Layer reconstructs ERP-inspired workload characteristics from blockchain transaction streams and extracts descriptors related to transaction density, congestion, queue pressure, and workload variability. These descriptors are forwarded to the Intelligent Optimization Engine, where ensemble learning models estimate confirmation latency and generate predictive execution insights.
The generated predictive intelligence is processed by the Adaptive Decision Controller, which dynamically regulates transaction batching, execution priority, and hybrid storage allocation. The resulting control decisions are then applied within the Blockchain Execution Layer, where they influence transaction validation, block generation, and storage management.
Finally, the Performance Feedback Layer monitors execution outcomes using confirmation latency, throughput, and storage-utilization metrics. In the proposed design, the collected feedback would be incorporated into the optimization cycle to support periodic model refinement; this feedback-driven refinement is not implemented in the present study, which evaluates monitoring through latency, cost, storage and queue metrics only.
Overall, the proposed framework defines a unified closed-loop architecture that combines predictive intelligence, adaptive execution control and hybrid storage management and is designed to improve execution stability, storage efficiency and operational scalability; Section 6 evaluates this potential.
The framework is organized into four coupled functional layers that transform ERP-inspired transaction workloads into adaptive blockchain execution decisions (Figure 1): workload characterization and predictive analysis, adaptive execution control, blockchain processing, and performance feedback.
4.1. Layer 1 — Enterprise Data Layer
The Enterprise Data Layer serves as the data acquisition and workload reconstruction stage of the proposed framework. Its primary function is to transform heterogeneous blockchain transaction records into structured workload representations suitable for predictive analysis and adaptive execution control.
Using publicly available Bitcoin blockchain traces, this layer reconstructs ERP-inspired operational characteristics by preserving key workload attributes, including temporal burstiness, transaction density, queue buildup, payload variability, and execution priority. Instead of processing individual transactions directly, related observations are aggregated into workload windows that capture representative behavioral patterns and short-term execution dynamics.
The reconstructed workload is subsequently converted into feature matrices containing temporal, transactional, and congestion-related descriptors. These features provide the predictive input for the Intelligent Optimization Engine, enabling accurate workload characterization for subsequent predictive analysis and adaptive execution control.
By establishing a structured representation of execution demand at an early stage, the Enterprise Data Layer provides the analytical foundation for predictive intelligence and supports the adaptive optimization process implemented throughout the subsequent framework layers.
4.2. Layer 2 — Intelligent Optimization Engine
The Intelligent Optimization Engine is the analytical core of the proposed framework, responsible for transforming structured workload representations into predictive intelligence that guides blockchain execution. By combining ensemble-based confirmation latency prediction with workload-sensitive execution control, this layer enables proactive decision making based on evolving workload characteristics.
The processing workflow begins by analyzing workload descriptors generated by the Enterprise Data Layer, including transaction density, queue pressure, congestion evolution, and burst intensity. These features are processed using ensemble machine-learning models to estimate confirmation latency and characterize expected execution conditions.
Based on the predictive insights, the engine generates adaptive execution-control signals that regulate transaction batching, execution priority, and hybrid storage allocation. These optimization directives provide the operational input for the subsequent Blockchain Execution Layer, enabling dynamic adaptation of blockchain processing according to predicted workload conditions.
Through this predictive decision-making process, the Intelligent Optimization Engine is intended to link workload analysis with adaptive execution, supporting stable, efficient and scalable blockchain operation; whether it does so is evaluated in Section 6.
4.3. Layer 3 — Blockchain Execution Layer
The Blockchain Execution Layer is responsible for implementing the adaptive execution decisions generated by the Intelligent Optimization Engine within the blockchain transaction-processing environment. At this stage, predictive execution directives are translated into operational blockchain actions that regulate transaction batching, execution priority, and hybrid storage allocation.
These adaptive decisions influence block validation, transaction processing, ledger updates, and storage management according to the predicted workload conditions. By dynamically adjusting blockchain operations during runtime, the framework is designed to improve execution consistency while maintaining confirmation-latency stability and efficient resource utilization.
The execution outcomes produced by this layer include validated blockchain blocks, updated ledger states, and runtime performance indicators related to confirmation latency, throughput, and storage utilization. These outputs provide measurable operational evidence for evaluating the effectiveness of the proposed adaptive execution framework.
4.4. Layer 4 — Performance Feedback Layer
The Performance Feedback Layer continuously evaluates blockchain execution outcomes to assess the effectiveness of the proposed adaptive execution framework. Runtime performance is monitored using confirmation latency, throughput, congestion response, and storage-utilization metrics.
The collected execution results are compared with the corresponding predictive estimates to quantify execution accuracy and identify workload variations. This feedback provides operational insight into the effectiveness of the adaptive execution decisions and supports periodic model refinement when significant changes in workload characteristics are observed.
By incorporating runtime observations into the optimization cycle, the framework is designed to maintain stable execution behavior and improve operational efficiency under ERP-inspired workloads; this feedback stage is not implemented in the present evaluation. This feedback-driven process completes the proposed closed-loop architecture; continuous retraining and recalibration over successive execution cycles are future work and were not evaluated.
4.5. Practical Deployment on Enterprise Blockchain Platforms
Although the proposed framework is evaluated using trace-driven simulation based on publicly available Bitcoin blockchain datasets, its architectural design is intended to be platform-independent and could be integrated with a range of enterprise blockchain infrastructures. Rather than modifying the underlying blockchain protocol, the framework is positioned as an external orchestration layer between ERP applications and the blockchain execution environment, providing predictive intelligence, adaptive execution control and hybrid storage optimization while preserving the native functionality and security guarantees of the underlying platform. The integration points described below are design-level proposals; none of them was implemented or evaluated in this study.
In Hyperledger Fabric deployments, ERP transactions could first be processed by the Enterprise Data Layer before being forwarded to the Fabric Client SDK. The Intelligent Optimization Engine could analyze the reconstructed workload descriptors to predict execution behavior and generate adaptive policies, including workload-aware transaction batching, execution-priority assignment and hybrid storage selection. These decisions would be applied before transactions reach the ordering service, without requiring modifications to Fabric’s native transaction-processing pipeline.
For Ethereum-based environments, the framework could be integrated as an off-chain orchestration component that analyzes pending transaction workloads and network conditions before transaction broadcasting. Based on predictive insights, it could regulate transaction scheduling, workload grouping and storage-allocation decisions, while smart contracts continue to execute business logic without modification.
In Quorum environments, the framework could be deployed alongside enterprise transaction managers as an external optimization component providing predictive workload analysis, adaptive execution orchestration and storage optimization, while Quorum continues to provide native privacy management, permission control and execution services.
As summarized in Table 2, the framework is designed to communicate with enterprise blockchain platforms through standard application programming interfaces (APIs) and to require no protocol-level modifications, thereby preserving the native execution, security and consensus mechanisms of the underlying platform. Validating these integration points on permissioned platforms remains future work (Section 6.10).
5. Methodology
This study proposes an AI-driven adaptive execution framework with a closed-loop architecture, designed to improve blockchain execution stability under ERP-inspired transaction workloads, and evaluates that potential. Unlike conventional blockchain optimization approaches that rely on static execution configurations or reactive performance adjustment, the proposed methodology integrates predictive workload intelligence with adaptive execution control to proactively regulate blockchain processing under dynamically varying workload conditions.
Figure 2 depicts the workflow of the proposed framework as implemented in this study: Enterprise Data, AI-Driven Optimization, Blockchain Execution, and Performance Monitoring layers are evaluated, whereas the consensus component and the Closed-Loop Adaptation layer (periodic recalibration) are design elements that were not evaluated. Each stage is detailed in Section 5.1, Section 5.2, Section 5.3, Section 5.4, Section 5.5 and Section 5.6.
5.1. Blockchain Deployment Environment and Workload Representation
This study distinguishes between the blockchain deployment environment, which represents the intended operational platform of the proposed framework, and the workload dataset, which is employed exclusively for experimental evaluation. Although the proposed framework is validated using publicly available Bitcoin blockchain traces, its architectural design remains independent of any specific blockchain implementation and is intended for deployment across heterogeneous enterprise blockchain platforms.
The proposed framework operates as an external intelligent orchestration layer positioned between ERP applications and the underlying blockchain infrastructure. Through standardized application programming interfaces (APIs), predictive workload analysis, adaptive execution control, and hybrid storage management are performed without requiring modifications to native blockchain protocols. Consequently, the framework can be integrated with public, private, and consortium blockchain environments while preserving their existing consensus mechanisms and transaction-processing workflows.
For experimental evaluation, the reconstructed workload dataset provides a reproducible representation of enterprise-inspired transaction dynamics while preserving realistic temporal evolution and workload variability for trace-driven evaluation.
Accordingly, the proposed methodology clearly separates workload representation from deployment infrastructure. While workload reconstruction relies on publicly available blockchain traces to ensure experimental reproducibility, the deployment architecture is intended to be applicable across heterogeneous enterprise blockchain environments through standardized integration interfaces; this was not tested in the present study. This separation strengthens both the reproducibility of the experimental evaluation and the practical applicability of the proposed framework for real-world ERP–blockchain integration.
5.2. Enterprise Data Collection and Workload Reconstruction
Following the deployment strategy presented in Section 5.1, the proposed methodology reconstructs ERP-inspired transaction workloads from Bitcoin blockchain transaction traces. Rather than representing the intended deployment platform, these traces are employed exclusively as a reproducible workload source for modelling enterprise transaction dynamics under varying execution conditions.
The workload reconstruction process is designed to preserve the operational characteristics that directly influence blockchain execution behavior, including temporal transaction evolution, workload fluctuations, congestion development, and confirmation-latency variability. Consequently, the reconstructed workloads provide a realistic approximation of ERP-inspired transaction behavior while ensuring experimental reproducibility through trace-driven simulation.
5.2.1. Workload Reconstruction
Blockchain transaction records are chronologically organized into workload streams while preserving their original temporal sequence. This reconstruction process captures transaction arrival behavior, workload evolution, and congestion-sensitive execution patterns observed across successive blockchain confirmation intervals.
Unlike synthetic workload generation techniques, the proposed methodology reconstructs workload behavior directly from real blockchain transaction traces. This strategy preserves naturally occurring workload variations and enables realistic evaluation of blockchain execution under dynamically changing transaction conditions.
The reconstruction is an explicit modelling assumption: the source traces contain Bitcoin blocks, not ERP transactions. Table 3 states how each observed blockchain quantity is interpreted as an ERP-inspired workload quantity. The interpretations are analogies chosen for the workload dynamics they preserve (demand intensity, payload volume, resource pressure and congestion); they do not imply that Bitcoin transactions carry ERP business semantics such as document types, process dependencies or priorities.
Confirmation latency is defined throughout as a block-inter-arrival latency proxy: for each non-overlapping 10-minute window, the mean time between each block in the window and its predecessor. It is not a transaction-level confirmation time. Intervals that are non-positive or longer than 24 hours are discarded, and windows containing no block have no observable latency and are excluded from the prediction task.
5.3. Workload Preprocessing and Feature Engineering
Following workload reconstruction, the proposed framework performs preprocessing and feature engineering to transform heterogeneous blockchain transaction observations into structured numerical representations suitable for machine-learning-based prediction. This stage standardizes workload observations while preserving the temporal and operational characteristics required for confirmation-latency modelling.
5.3.1. Temporal Aggregation
To preserve workload continuity and execution causality, reconstructed transaction observations are aggregated into fixed-duration temporal windows. A 10-minute aggregation interval is adopted to align workload representation with the confirmation-latency prediction objective considered throughout this study. Each aggregation window summarizes transaction activity during a specific execution interval and includes workload indicators related to transaction density, queue pressure, payload statistics, and execution dynamics.
Windows are explicit, non-overlapping intervals aligned to 10-minute boundaries of the UTC block timestamp. Of the 52,704 ten-minute slots in 2020, 33,471 (63.5%) contain at least one valid block interval (19,231 of them contain a single block) and are retained; after the lagged features are computed, 33,466 windows are usable (Table 4).
5.3.2. Feature Engineering
Following temporal aggregation, the reconstructed workload observations undergo feature engineering to generate structured predictive representations suitable for machine-learning-based analysis. The feature-engineering pipeline includes burst detection, queue-pressure estimation, rolling-window statistical computation, and numerical normalization. These operations transform heterogeneous transaction records into structured feature matrices while preserving workload evolution and execution-related characteristics required for confirmation-latency prediction. The complete feature list is given in Table 7.
Let c_t, s_t, w_t, n_t and ℓ_t denote the transaction count, payload size, block weight, block count and block-interarrival latency of window t. Every predictor for window t uses windows t−1 and earlier only: tx_lag1 = c_(t−1); tx_ma_5 = (1/5)·Σ c_(t−k) for k = 1…5; tx_std_5 is the sample standard deviation of c_(t−1),…,c_(t−5); prev_block_time = ℓ_(t−1); prev_block_time_ma_3 and prev_block_time_std_3 are the mean and sample standard deviation of ℓ_(t−1), ℓ_(t−2), ℓ_(t−3); tx_pct_change = (c_(t−1) − c_(t−2)) / c_(t−2), and weight_pct_change is defined analogously for w. Queue pressure is Q_t = clip(0.5·c_(t−1)/c_max + 0.5·w_(t−1)/w_max, 0, 1), where c_max and w_max are training-set maxima; the burst flag equals 1 when c_(t−1) exceeds the training-set mean plus one standard deviation (5,074.1 transactions); and the storage-pressure indicator used by the controller is the payload summed over the six most recent past windows divided by its training-set 95th percentile (15,945,580.6 bytes), clipped to [0, 1.5]. Hour of day and day of week are known in advance. All normalization statistics are computed on the training partition only.
5.3.3. Dataset Preparation
The engineered observations are partitioned chronologically into 64% training, 16% validation and 20% final-test windows, without shuffling. The analysed period is 1 January to 31 December 2020 (UTC; 53,198 blocks). Table 4 gives the exact partition boundaries. Model selection and threshold optimization use the validation partition only, and the test partition is used once for final evaluation. Because every predictor is built from earlier windows only (Section 5.3.2) and the windows are non-overlapping, no information from a later period reaches an earlier one; lagged features of the first windows of a partition draw on the preceding partition, which is permitted because they are past observations.
The resulting workload feature matrices constitute the predictive input space for the Predictive Performance Intelligence Engine, which is presented in the following section.
5.4. Predictive Performance Intelligence
The Predictive Performance Intelligence Engine constitutes the analytical core of the proposed framework. Its primary objective is to estimate blockchain confirmation latency from the engineered workload descriptors and transform predictive outputs into adaptive execution decisions before blockchain transaction processing begins. By integrating predictive intelligence into the execution workflow, the proposed framework is designed to enable proactive workload-aware regulation rather than reactive performance adjustment after congestion has already occurred.
5.4.1. Prediction Formulation
Confirmation-latency prediction is formulated as a supervised regression problem. Each workload observation is represented by an engineered feature vector obtained from the preprocessing stage, while the corresponding target variable represents the observed blockchain confirmation latency.
Let the workload feature vector for the ith workload window be defined as:
where:
- x1,x2,…,xn represent the engineered workload features.
The corresponding target value is defined as:
where yi denotes the observed confirmation latency associated with the ith workload window.
The predictive model is expressed as:
Where:
- is the predicted confirmation latency;
- f(⋅) denotes the learned regression model.
The learning objective is to minimize the prediction error between the predicted and observed confirmation latency over the training dataset.
5.4.2. Machine Learning Models
To improve predictive robustness under heterogeneous workload conditions, three complementary machine-learning models are evaluated within the proposed framework:
- Random Forest (RF): an ensemble-learning algorithm that combines multiple decision trees using bootstrap aggregation to improve prediction robustness and reduce overfitting.
- Gradient Boosting (GB): a sequential ensemble-learning algorithm that incrementally minimizes prediction error by fitting successive weak learners to the residuals generated during previous iterations.
- Multilayer Perceptron (MLP): a feed-forward neural network capable of modelling complex nonlinear relationships between workload characteristics and confirmation latency.
In addition, an LSTM network is evaluated as a sequence-model comparator for confirmation-latency prediction: two stacked LSTM layers (64 and 32 units, dropout 0.20) followed by a 16-unit dense layer, a lookback of 12 windows, the Adam optimizer, at most 40 epochs, batch size 64 and early stopping (patience 8). Its inputs are the same seventeen predictors, standardized with a scaler fitted on the training partition. Like the other models it is fitted on the training partition and compared on the validation partition only.
5.4.3. Model Training and Prediction
The engineered workload feature matrices are partitioned according to the chronological training and testing strategy described in Section 5.3. Model parameters are learned exclusively from historical workload observations, while predictive evaluation is performed using temporally unseen workload intervals to preserve execution causality and prevent future workload leakage.
Following model training, each machine-learning model estimates the confirmation latency associated with every workload window. The resulting predictions are subsequently forwarded to the Adaptive Execution Controller, where they serve as the primary input for workload-aware execution regulation.
Prediction performance is evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and the coefficient of determination ((R^2)). These complementary metrics provide a comprehensive assessment of predictive accuracy under varying workload conditions and are subsequently used to compare the performance of the evaluated machine-learning models.
5.5. Adaptive Execution Controller
The Adaptive Execution Controller transforms the predictive outputs generated by the Predictive Performance Intelligence Engine into workload-aware blockchain execution decisions. Rather than relying on static execution policies, the controller dynamically adjusts blockchain processing according to predicted workload conditions before transaction confirmation. This proactive control mechanism is intended to let the framework regulate execution behavior while preserving compatibility with existing blockchain infrastructures.
5.5.1. Control Inputs
The controller receives predictive information together with workload-state descriptors generated during the previous stages. The primary control inputs include:
- Predicted confirmation latency (ŷi)
- Transaction-density indicators
- Queue-pressure measurements
- Storage-utilization status
These inputs collectively describe the expected execution state and provide the operational context required for adaptive decision making.
5.5.2. Adaptive Decision Logic
The Adaptive Execution Controller transforms predictive workload intelligence into workload-aware execution policies using a lightweight rule-based decision mechanism. The adaptive control policy generated for the ith workload window is expressed as:
where:
- ui denotes the adaptive execution policy generated for the ith workload window.
- represents the predicted confirmation latency.
- Qi denotes the estimated queue pressure.
- Si represents the storage-utilization level.
- denotes the adaptive decision function that maps the predicted workload state to an appropriate execution policy.
Based on the estimated workload state, the controller generates execution decisions according to Algorithm 1.
| Algorithm 1. Adaptive execution decision logic of the controller. |
| Input: |
| Predicted confirmation latency (ŷi) |
| Queue pressure (Q) |
| Storage utilization (S) |
| If ŷi > Lth then |
| Increase transaction batching |
| Prioritize latency-sensitive transactions |
| End If |
| If Q > Qth then |
| Activate congestion-aware scheduling |
| End If |
| If S > Sth then |
| Allocate eligible transactions to hybrid storage |
| End If |
| Output: |
| Adaptive execution policy |
In the implementation, the single latency test of Algorithm 1 is realized with two latency thresholds around the 600-s design target: a predicted latency above the upper threshold triggers latency-aware action, a predicted latency below the lower threshold permits larger batching, and queue pressure above Q_th and storage pressure above S_th trigger congestion-aware scheduling and hybrid-storage allocation, respectively. In the arithmetic policy simulation used in Section 6.2, these actions are modelled as explicit coefficients applied to the observed latency: an 8% reduction for the latency-aware action, 5% for the queue-pressure action and 4% for the storage-pressure action, with the total reduction capped at 15% and a −2% adjustment when the predicted latency is below the lower threshold. These coefficients are simulation parameters, not measured deployment effects.
The four thresholds were optimized exclusively on the validation partition by exhaustive grid search (Table 5), not set from preliminary analysis. The search covered 1,080 configurations; configurations whose validation activation rate (the share of windows in which the controller changes latency) exceeded a hard cap of 50% were discarded, leaving 140 feasible configurations. Among these, the configuration with the lowest variance of latency around the 600-s target on the validation partition was selected. The selected thresholds were then frozen and evaluated once on the unseen test partition, where the activation rate was 46.1% (validation: 47.8%). A fixed-rule baseline with unoptimized round-number thresholds is used for comparison (Section 6.2.1).
The selected storage threshold (0.9) lies on the upper edge of its grid and the queue threshold (0.5) near the lower edge, so the search may be constrained by the grid range; the sensitivity of the storage-side results to the storage threshold is reported in Section 6.7.
The generated adaptive execution policy is subsequently forwarded to the Blockchain Execution Layer, where it regulates transaction batching, execution priority, and hybrid storage allocation before transaction confirmation.
5.5.3. Runtime Execution
The adaptive execution policy generated by the controller is forwarded to the Blockchain Execution Layer, where it regulates transaction batching, execution priority, and hybrid storage allocation before transaction confirmation. Since these decisions are applied externally through standardized application interfaces, the proposed framework preserves the native consensus protocol and transaction-validation mechanisms of the underlying blockchain platform.
Runtime execution outcomes generated during blockchain processing are subsequently monitored and forwarded to the Performance Feedback Layer for continuous evaluation and periodic model refinement.
5.6. Experimental Design and Performance Evaluation
The proposed framework is evaluated through a trace-driven experimental methodology designed to assess both predictive accuracy and adaptive execution performance under ERP-inspired blockchain transaction workloads. The evaluation follows the implementation workflow presented in the previous sections, beginning with workload reconstruction and feature engineering, followed by predictive model training, adaptive execution control, and runtime performance assessment.
5.6.1. Experimental Configuration
To evaluate the effectiveness of the proposed adaptive execution framework, a static execution policy is adopted as the experimental baseline within the trace-driven simulation environment. The baseline represents a conventional blockchain execution configuration in which transaction batching, execution scheduling, and storage management remain fixed throughout the execution process, without incorporating predictive workload intelligence or runtime adaptation.
Direct reproduction of published reinforcement-learning or deep-learning blockchain controllers was not feasible, because their implementations, workload traces and controller configurations are not available in a form that permits identical experimental conditions. The study therefore uses reproducible in-notebook comparators: (i) a static execution policy as the primary baseline; (ii) a fixed-rule controller with the same rule structure but frozen, non-optimized thresholds (500 s, 700 s, 0.70, 0.70); (iii) a Q-learning-inspired baseline, a tabular Q-learning agent over discretized latency, queue-pressure and storage-pressure states with five latency-adjustment actions (−8% to +8%), trained on the training and validation partitions only and never on final-test outcomes; and (iv) an LSTM predictor evaluated as a validation-stage comparator for the prediction task. These are baselines inspired by the cited approach families; no claim is made that they reproduce any specific published method. A qualitative comparison with representative published approaches is given in Table 1.
The complete experimental configuration and machine-learning hyperparameters are summarized in Table 6.
5.6.2. Experimental Environment
The proposed framework is evaluated using a trace-driven simulation environment based on public Bitcoin block data retrieved from the mempool.space API (retrieved 2026-09-30, UTC) using fields corresponding to the former Google BigQuery crypto_bitcoin.blocks schema; direct BigQuery row-level access to that table was unavailable at the time of data collection because it has been converted to a view. The simulation environment is designed to preserve realistic workload evolution while enabling controlled, reproducible, and implementation-oriented evaluation of predictive execution intelligence and adaptive blockchain regulation.
The hyperparameters in Table 6 were set manually and fixed before the experiments; they were not tuned on the test partition and were not systematically searched. The reported configuration therefore represents the implementation settings adopted throughout the evaluation rather than universally optimal hyperparameter settings.
5.6.3. ERP-Inspired Workload Dataset and Feature Analysis
The experimental evaluation utilizes the reconstructed ERP-inspired workload representations generated through the methodology described in Section 5.2 and Section 5.3. A total of 33,466 usable non-overlapping 10-minute workload windows covering 1 January to 31 December 2020 (UTC) were generated (Table 4), providing a temporally ordered workload dataset suitable for trace-driven evaluation.
To support predictive modelling, seventeen strictly lagged workload features were derived from the reconstructed transaction streams. These features collectively describe temporal workload evolution, execution-demand variation, congestion-sensitive behavior, and historical execution performance. The complete feature set employed throughout the experimental evaluation is summarized in Table 7.
The contribution of individual features to the selected predictor is reported in Section 6.3; because the predictive skill for confirmation latency is near zero, that analysis describes which lagged variables the model uses and does not establish causal drivers of latency.
5.6.4. Predictive Model Evaluation
The predictive capability of the proposed framework is assessed by evaluating the machine-learning models introduced in Section 5.4 under identical workload conditions. The objective of this stage is to determine the ability of each model to estimate blockchain confirmation latency from the engineered workload representations generated during the preprocessing stage.
Prediction accuracy is assessed using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and the coefficient of determination ((R^2)). These complementary metrics quantify predictive accuracy, robustness, and goodness of fit under dynamically varying workload conditions.
5.6.5. Adaptive Execution Evaluation
The operational effectiveness of the proposed framework is evaluated by assessing the implemented prediction–control–storage pipeline (without online retraining) under dynamically varying ERP-inspired blockchain workload conditions. Unlike the predictive model evaluation presented in the previous subsection, this stage evaluates the behavior of the integrated framework after predictive outputs have been transformed into adaptive execution policies by the Adaptive Execution Controller.
The adaptive framework is evaluated relative to the static baseline execution policy described in Section 5.6.1. Performance is assessed using execution-oriented indicators, including Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and confirmation-latency variance, which collectively measure execution accuracy, stability, and responsiveness under dynamically varying workload conditions.
6. Experimental Results and Discussion
This section presents the experimental evaluation and analytical discussion of the proposed AI-driven ERP-inspired blockchain adaptive execution framework under dynamically varying transaction workloads. The objective of this evaluation is to assess whether integrating predictive workload intelligence with adaptive execution orchestration improves blockchain confirmation-latency stability under dynamically varying ERP-inspired transaction workloads.
The experimental evaluation is organized in four parts. Part A (Section 6.1, Section 6.2, Section 6.3 and Section 6.4) evaluates confirmation-latency prediction and an adaptive controller that converts the prediction into assumed latency reductions. Part B (Section 6.5) evaluates near-term workload-intensity forecasting. Part C (Section 6.6) evaluates a mechanism-based queue simulation of ERP-record anchoring, in which cost and latency are produced by a simulated mechanism rather than by assumed coefficients. Finally, Section 6.7 reports trace-driven hybrid-storage estimates. Every result uses the same chronological partitions (Table 4) and model and threshold selection on the validation partition only.
To provide a comprehensive assessment of the proposed framework, both predictive performance and execution stability are evaluated using complementary performance metrics. Prediction accuracy is assessed using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and the coefficient of determination (R²), whereas execution-level performance is evaluated using MAE, RMSE, and confirmation-latency variance to quantify execution accuracy, robustness, and stability after adaptive workload-aware orchestration.
The percentage improvement achieved by the proposed adaptive execution framework over the static baseline execution policy is calculated as follows:
where Baseline denotes the execution performance obtained using the static execution policy without adaptive workload-aware orchestration, whereas Adaptive denotes the execution performance achieved by the proposed AI-driven adaptive execution framework.
The following subsections present the predictive evaluation, the adaptive execution-stability evaluation and its statistical validation, the feature-importance and prediction-uncertainty analyses, workload-intensity forecasting, the queue simulation, the hybrid-storage estimates, the comparative discussion, practical deployment implications and the limitations of the study.
6.1. Confirmation-Latency Prediction (Part A)
Table 8 compares the four predictors on the validation partition (n = 5,354; the LSTM is evaluated on 5,342 windows after its 12-window lookback). Gradient Boosting had the lowest validation RMSE and was selected; the test partition played no role in this choice. The differences among the models are small, and none explains more than about 1.4% of validation variance. The LSTM comparator reached a validation R² of about zero and was not carried forward to the test partition.
Table 9 reports the single final evaluation of the selected model on the unseen test partition (n = 6,694) against four naive baselines. The selected model reached MAE 398.4 s, RMSE 565.0 s and R² = 0.0098. Its RMSE was 0.54% lower than that of the training-mean forecast (95% moving-block bootstrap interval +0.27% to +0.85%) and 29.3% lower than the persistence forecast (+28.2% to +30.3%). The first difference is statistically detectable but negligible in size, and the training median attains a lower MAE (384.5 s) than the selected model. Across ten random seeds (42–51) the test RMSE was 564.97 s with a standard deviation of 0.06 s, so the near-zero skill is not a seed artefact. At 10-minute granularity and with strictly lagged predictors, the block-interarrival latency proxy is therefore close to unpredictable.
6.2. Adaptive Execution Stability Evaluation (Assumed-Coefficient Policy Simulation)
This section evaluates the integrated controller after predictions have been converted into execution decisions, against a conventional static policy (fixed batching, scheduling and storage allocation). The controller effects are produced by an arithmetic policy simulation with assumed action coefficients (Section 5.5.2) applied to the observed latency; they are not measured deployment effects, and Section 6.6 provides the mechanism-based evaluation. Results are summarized in Table 10.
The capped controller produced modest improvements over the static baseline (Table 10), but the activation-matched randomization control (Table 11) shows that 84% of the MAE reduction is reproduced when the same actions are applied to randomly chosen windows. Most of the gain therefore reflects the controller’s activation rate (46.1% of test windows) rather than predictive targeting, consistent with the near-chance skill of Section 6.1 (R² = 0.010). The fixed-rule and Q-learning-inspired comparators behave similarly: the proposed controller (MAE improvement 3.22%) improves on the Q-learning-inspired baseline (2.82%) but not on the fixed-rule baseline (5.44%), which act on 83.8% and 99.6% of test windows, respectively.
The 4.26% RMSE reduction should be read the same way: a controller acting on windows chosen independently of true latency can still yield a positive RMSE improvement through its activation rate alone. The largest relative improvement, in confirmation-latency variance (7.03%), is likewise not reliable: Levene’s test was not significant (p = 0.062), so no variance reduction is established (Section 6.2.1). The mechanism-based queue simulation of Section 6.6 is a more direct test of whether congestion-aware control adds value.
Figure 3 shows the static and capped adaptive simulations relative to the 600-s design target for the first 250 test windows; because both derive from the same observed latency sequence they are nearly identical and differ only where the controller acted.
6.2.1. Statistical Significance Validation
A paired t-test, a Wilcoxon signed-rank test, Cohen’s d, Levene’s test for equality of variances and a bootstrap confidence interval were computed on the paired baseline and adaptive absolute errors from the test partition (N = 6,694).
Because the gain under the fixed coefficients used by the legacy controller grows with how often it acts, Table 11 reports an activation-matched randomization control: for each method, its own per-window reductions are permuted across test windows, and the resulting improvement distribution is compared with the one actually observed. A large share reproduced by random placement indicates that most of the apparent gain reflects the controller's activation rate rather than the accuracy of its targeting.
The paired t-test (p = 3.25 × 10⁻⁹⁷) and Wilcoxon signed-rank test (p = 5.97 × 10⁻⁷¹) detect a difference between the baseline and adaptive error distributions that is unlikely to be sampling noise, with a small effect (Cohen’s d = 0.260). The 95% bootstrap interval for the MAE improvement is [2.96%, 3.49%] (2,000 iterations), so the measurement is stable. Levene’s test for equality of variances was not significant (p = 0.062), so no variance reduction is established. With N = 6,694, even very small effects yield very small p-values, so significance alone does not show that the controller’s targeting is responsible: only 16% of the MAE gain is attributable to targeting rather than to how often the controller acts (Table 11). Adaptive controllers should therefore be evaluated against activation-matched randomization controls, not against significance tests alone.
6.3. Workload Feature Importance Analysis
To describe which lagged workload variables the selected predictor relies on, impurity-based feature importance was computed for the selected Gradient Boosting model, trained on the training partition with the seventeen strictly lagged predictors of Table 7. The analysis is descriptive: given the near-zero out-of-sample R² (0.010; Section 6.1), the importance ranking should not be interpreted as evidence of causal influence on confirmation latency.
Figure 4 presents the ten largest importance scores of the selected Gradient Boosting model.
The previous window's confirmation latency (prev_block_time) is the most influential predictor (relative importance 0.211), followed by the previous window's block count (prev_block_count, 0.108) and queue pressure (0.077). The remaining descriptors in the top ten, namely the 3-window latency standard deviation, the 5-window transaction standard deviation, the previous transaction count, the transaction and weight percentage changes, the 3-window latency moving average and the 5-window payload moving average, each contribute between 0.04 and 0.08. Hour of day and day of week are not among the ten largest. The importance mass is therefore spread across many lagged variables, with no single dominant workload descriptor beyond the most recent latency.
Feature importance explains which inputs the predictor relies on; it does not show that the adaptive controller targets the windows that most need intervention. The controller's behaviour is evaluated separately through the activation-matched randomization control (Table 11), which indicates that most of its apparent gain is attributable to how often it acts.
6.4. Predicted Versus Observed Latency and Prediction Uncertainty
Figure 5 shows predicted versus observed latency on the test partition for the selected Gradient Boosting model. Predictions are confined to a narrow band, mostly between about 550 and 900 s, whereas observed latencies range from near zero to about 6,700 s. The residuals therefore track the deviation of the observed latency from its own mean rather than any systematic function of the inputs, which is the signature of the near-zero R² (0.0098) and should be read as limited predictive skill, not as a desirable property.
Because the model explains only about 1% of the variance in confirmation latency, the forecast barely varies across the observed range, and large positive deviations (observed latency above 2,000 s) are systematically under-predicted.
Because the predictor cannot anticipate long block intervals, any controller action keyed on predicted latency is effectively triggered by the narrow range in which predictions vary, together with the queue-pressure and storage-pressure conditions.
Overall, the residual analysis is consistent with the near-chance predictive skill reported in Section 6.1 (test R² = 0.010) rather than with reliable predictive behaviour. This qualifies the suitability of the predictive component as currently configured and motivates the workload-intensity forecasting result in Section 6.5, where predictive skill was substantially higher.
6.5. Near-Term Workload-Intensity Forecasting (Part B)
The negative predictive result in Section 6.1 concerns confirmation latency specifically. This section tests a related but distinct target: the per-block workload intensity of the NEXT 10-minute window, measured as (a) transactions per block, tx_per_block = transaction_count / block_count, and (b) block-fill ratio, fill_ratio = (weight / block_count) / 4,000,000 (the consensus weight limit per block). Both targets are per-block averages, so, unlike the same-window aggregates excluded from Part A (Table 7), they are not mechanically determined by how many blocks fell in the window.
6.5.1. Predictors and Experimental Design
Two strictly causal predictor sets are compared. Set A uses only lagged history of the target itself (lag-1, lag-2, 5- and 20-window moving averages and 5-window moving standard deviation, computed over windows strictly before the target window), together with the previous window's block count and confirmation latency, and calendar indicators (hour, day of week). Set B adds age_at_start, the elapsed time between the start of the target window and the most recently observed block — a quantity known in real time, since it depends only on blocks that have already arrived. The same chronological train / validation / test periods used in Parts A and C are reused here (21,398 / 5,354 / 6,694 windows, because the 20-window moving average removes 20 early windows). The Part B models use smaller configurations than Table 6 to keep the many refits tractable: Random Forest with 120 trees and maximum depth 10, Gradient Boosting with 150 trees, learning rate 0.06, depth 3 and subsample 0.8, and an MLP with layers (64, 32). Model selection (Random Forest, Gradient Boosting, Multilayer Perceptron) is performed on the validation set only, for each target and feature set independently; the selected model is then refit on train+validation and evaluated once on the held-out test period. Every reported result is compared against three naive forecasters — the training-period mean, persistence (the previous window's value), and a 5-window moving average — using a moving-block bootstrap (block length 48 windows, approximately 8 hours, chosen to preserve short-range temporal dependence; 2,000 resamples) to obtain a 95% confidence interval for the RMSE skill of the selected model relative to each baseline.
6.5.2. Results
Unlike confirmation-latency prediction, both workload-intensity targets showed practically meaningful predictive skill. With predictor Set B (lagged history plus age_at_start), the selected model achieved a 30.6% RMSE improvement over the persistence baseline for tx_per_block (95% bootstrap CI: [+28.9%, +32.3%]) and a 30.1% improvement for fill_ratio (95% CI: [+25.7%, +33.9%]); both confidence intervals exclude zero by a wide margin. Predictor Set A (lagged history only, without age_at_start) achieved smaller but still positive and reliable skill for both targets, indicating that most, but not all, of the predictability comes from workload history itself, with the real-time-available elapsed-time feature contributing an additional, measurable improvement. Table 12 summarizes the results. The test R² of the 5-window moving-average forecaster was 0.174 for tx_per_block and 0.196 for fill_ratio, and that of persistence was −0.182 and −0.075.
6.5.3. Interpretation
These results indicate that, although the exact confirmation latency of a given 10-minute window is close to memoryless at this resolution (Section 6.1), the intensity of upcoming workload — how many transactions per block, and how full the next blocks are likely to be — carries genuine, exploitable short-range structure. This is consistent with a congestion process in which demand builds up gradually in the mempool between blocks: the longer the elapsed time since the last block, the more transactions are typically available to be included in the next one, which is precisely the mechanism age_at_start is intended to capture. This result motivates using predicted workload intensity, rather than predicted confirmation latency, as the signal driving adaptive execution decisions, which is the approach taken in the mechanism-based queue simulation described next (Section 6.6).
6.6. Mechanism-Based Queue Simulation of ERP-Record Anchoring (Part C)
Section 6.1 and Section 6.5 evaluate prediction in isolation, against naive statistical baselines. This section asks a more direct operational question: does batching ERP records before on-chain submission, and timing that batching using a congestion signal, reduce cost at a fixed latency service-level agreement (SLA), and if so, does the specific choice of signal — machine-learned, simple heuristic, or none — matter? Unlike the adaptive controller evaluated in Sections 6.2–6.2.1, where execution-time reduction is an assumed, fixed-percentage function of the predicted state, latency here is produced entirely by a mechanism: how long a batch of ERP records waits before being anchored in a block that accepts its fee level.
6.6.1. Simulation Design
The simulation combines measured and assumed components, both stated explicitly. Measured: real 2020 block arrival times and block-fill ratios from the same trace used throughout this study, and the same chronological train / validation / test periods as Parts A and B. Assumed, and swept in a sensitivity analysis: ERP records arrive as a Poisson process at a stated rate (default: 30 records/hour); a stylised fee market in which a transaction paying fee level l (0–6) is included in the first block whose six most recent blocks (including itself) contain at most l ‘full’ blocks (weight ≥ 98% of the consensus cap), so that level 6 is always included in the next block and the cost multiplier is 1 + κ·l/6; and a latency SLA on the 95th-percentile record latency (default: 2 hours, with a 10% tuning safety margin). Every policy additionally applies the same fee-escalation rule: a pending batch is re-priced to the maximum fee level if its oldest record reaches a deadline D, so that no policy can silently violate the SLA by batching indefinitely.
6.6.2. Policies Compared
Five policy families are compared under an identical tuning protocol: (i) static immediate submission at a fixed fee level; (ii) static periodic batching at a fixed interval and fee level; (iii) adaptive batching that sends cheaply once a minimum batching age is reached AND a congestion signal falls below a threshold, using the Part B machine-learning workload forecast as the signal; (iv) the same adaptive logic using a simple reactive signal (the mean fill ratio of the six most recent blocks, with no machine learning); and (v) the same adaptive logic with no congestion signal at all (batching by age only), isolating the value of having any congestion information versus none. A sixth, perfect-foresight oracle signal (the true next-block fill ratio) provides an upper bound. All five families are tuned on the validation period only, over comparably fine grids (the static interval and the adaptive minimum batching age both range from 10 to 120 minutes in 10-minute steps), by minimising cost per ERP record subject to meeting the SLA; each tuned configuration is then evaluated once on the held-out test period, averaged over 10 independent ERP-demand realisations (random seeds).
The machine-learning congestion signal is a causal forecast of the next block’s fill ratio, built only from blocks that arrived before the decision slot (the 12 most recent block fills, the age of the newest block and calendar indicators). Its model was selected on the validation partition among Random Forest, Gradient Boosting and MLP (validation RMSE 0.0784, 0.0784 and 0.0789); Random Forest was selected. Part C uses 10-minute decision slots on the full block trace (33,720 training, 8,280 validation and 10,688 test slots), so its partition sizes differ from those of Parts A and B, while the chronological boundaries are the same.
6.6.3. Results
Table 13 reports the final held-out test results at the default assumptions (30 ERP records/hour, κ = 4, p95 latency SLA of 2 hours). Each policy family was tuned on the validation partition only, over a validation grid of 6,546 candidate configurations, and the selected configuration was then evaluated once on the test period, averaged over 10 independent ERP-demand realisations. The best static family selected on validation was static periodic batching (every 100 minutes at fee level 0, escalating to level 6 after 1 hour), at a cost of 0.100 per ERP record.
At the default setting, the adaptive policy was not cheaper than the best static policy. All three adaptive variants (ML forecast, reactive heuristic and age-only) cost 0.143 per record, 42.7% more than static periodic batching (95% range −42.8% to −42.7%). The ML forecast therefore provided no measurable benefit over the reactive rule or over batching by age alone (both differences 0.0%), and the perfect-foresight oracle reached the same cost, which is consistent with the congestion signal not being the binding factor in this configuration. The adaptive variants did achieve lower latency (p95 1.351 h versus 1.788 h; mean 45.2 versus 60.1 minutes), but at the price of more frequent on-chain submissions (20.6 versus 14.4 per day). All policies met the SLA in every test seed. Batching itself was highly effective: relative to static immediate submission (4.855 per record), static periodic batching reduced cost per record by approximately 98%.
Table 14 reports sensitivity to the fee-cost multiplier κ ∈ {1, 2, 4, 8} and the SLA ∈ {1, 2, 4 hours} at the default arrival rate, and to ERP arrival rates of 10 and 100 records/hour at κ = 4 and SLA = 2 hours. In four of the 14 settings (all at the 1-hour SLA), the ML adaptive policy violated the SLA in at least one test seed; cost comparisons in those settings are not like-for-like and are excluded from the counts below, so their nominal savings of about 50% should not be read as a benefit. Among the 10 remaining settings, the ML adaptive policy was reliably cheaper than the best static policy (95% range above zero, SLA met) in four, all at the 4-hour SLA, with savings of about 7.5–7.6%; in the other six it was reliably costlier, by 38.5–42.9%. It was never reliably cheaper than the reactive rule or the age-only policy (0 of 10 settings), and in two of the 4-hour-SLA settings the reactive rule was marginally but reliably cheaper than the ML signal (by 0.2% and 0.6%).
6.6.4. Interpretation
The queue simulation shows that batching ERP records before anchoring them on-chain is beneficial under the assumptions tested: tuned static periodic batching cost approximately 98% less per record than immediate submission at the default setting (Table 13). It does not show that a congestion-aware signal, whether machine-learned or a simple heuristic, adds value beyond batching by elapsed time. At the default setting the best static periodic policy was cheaper than every adaptive variant, and the ML forecast, the reactive rule, the age-only policy and the oracle were indistinguishable. Across the sensitivity grid, ML adaptive batching was cheaper than the best static policy only at the relaxed 4-hour SLA (by about 7.5–7.6%) and was costlier in six of the ten SLA-feasible settings (Table 14). This qualifies the practical contribution of the predictive components described in Section 5.4 and Section 5.5: workload-intensity forecasting is feasible (Section 6.5), but converting it into lower anchoring cost was not demonstrated here, and the primary operational benefit identified in this study comes from the batching mechanism itself. A congestion signal could plausibly matter more under a different fee-market dynamic or SLA; the sensitivity grid delimits the conditions tested rather than claiming the space has been fully mapped. All Part C conclusions are conditional on the stylised fee-market rule, the cost multipliers and the ERP arrival process, which are assumed rather than measured.
6.7. Hybrid Storage Estimates (Trace-Driven)
The hybrid-storage component is evaluated as a trace-driven allocation estimate on the test partition, not as a physical storage benchmark. The assumed allocation policy places 70% of a window’s payload off-chain when the storage-pressure indicator exceeds the frozen storage threshold (0.9) and 30% otherwise; each off-chain window leaves a 40-byte hash pointer on-chain. Per-window payload is approximated by the rolling six-window payload average used for the storage-pressure indicator. Off-chain and on-chain read latencies are assumed to be 15 ms and 2 ms. Pointer size and read latencies are declared assumptions, not measurements.
Under these assumptions the net on-chain footprint falls by 40.1% (8.095 GB retained against 13.515 GB if everything remained on-chain, including 0.268 MB of pointer overhead; 5.420 GB of payload moved off-chain), at the cost of a higher estimated mean retrieval latency (6.87 ms versus 2.0 ms). Because the split is fixed at 70%/30%, the reduction can only lie between about 30% and 70%, and its position in that range depends solely on the share of windows above the storage threshold; the figure is therefore the sensitivity of an assumed policy and not a measured storage benefit.
Table 15 (selected setting 0.9) shows how the estimates change with the storage threshold: lower thresholds move more payload off-chain and reduce the on-chain footprint further (up to 70%) but raise the mean retrieval latency (up to 11.1 ms). To examine scalability, the payload was multiplied by synthetic throughput factors of 1, 5, 10 and 50; the net on-chain footprint scaled from 8.09 GB to 405 GB against 13.5 GB to 676 GB for the naive policy, and the percentage reduction stayed at 40.11%. This invariance follows from the fixed split and shows only that the policy does not degrade with scale; absolute overhead is not free at higher throughput.
6.8. Comparative Discussion
The experimental results do not demonstrate that the predictive components improve execution outcomes; they show where value was and was not found. Unlike conventional approaches that optimize isolated execution parameters, the proposed framework is designed to transform workload predictions into adaptive runtime execution decisions through a unified closed-loop architecture, and this section positions that design against representative approaches while stating the empirical evidence plainly.
Unlike conventional machine-learning approaches, which stop after prediction, and reinforcement-learning approaches, which rely on iterative policy optimization, the framework couples workload prediction and adaptive execution in one layer (Table 1). This comparison with prior work is qualitative: no published method was reproduced, and the in-notebook comparators are a fixed-rule controller and a Q-learning-inspired baseline (Section 5.6.1). The proposed controller improved on the Q-learning-inspired baseline in MAE (3.22% versus 2.82%) but not on the fixed-rule baseline (5.44%), and in each case a large share of the gain was reproduced by random placement (Table 11).
The quantitative results in Section 6.1, Section 6.2, Section 6.3 and Section 6.4 show only a small, largely activation-driven improvement over the static baseline once evaluated against the activation-matched randomization control (Table 11), and near-zero predictive skill for confirmation latency (R² = 0.010). In the mechanism-based simulation (Section 6.6), the machine-learning congestion signal provided no measurable benefit over a reactive rule or batching by age. The architectural integration of prediction, control and storage regulation is therefore best understood as a design contribution; what the experiments establish is the benefit of batching, the predictability of near-term workload intensity, and a validation protocol that exposes activation-driven gains. The feature-importance analysis describes which lagged signals the predictor relies on and is not evidence of a causal driver.
6.9. Practical Deployment Implications
The experiments do not test integration with an enterprise blockchain platform; they evaluate the framework by trace-driven simulation. By design, the framework operates as an external execution-management layer that monitors workload characteristics, predicts workload and confirmation latency, and applies adaptive execution decisions without modifying the underlying blockchain architecture or consensus mechanism. This design is intended to ease integration with ERP systems and existing blockchain infrastructures, but integration has not been demonstrated in this study.
From an operational perspective, the rule-based Adaptive Execution Controller is designed to keep implementation complexity low. Unlike optimization approaches that require continuous policy retraining or computationally intensive runtime optimization, it applies fixed threshold rules to the predicted workload characteristics to regulate transaction batching, execution priority and hybrid storage allocation. In theory, its cost per execution cycle is O(1), because each decision consists of a fixed number of threshold comparisons and deterministic policy updates independent of the number of transactions processed in a cycle. This is a theoretical statement only: execution time, memory use and runtime overhead were not measured on a real device or platform, so low practical cost has not been demonstrated. Model training and the one-off validation grid search over 1,080 threshold configurations are performed offline and are not part of the per-cycle cost.
The modest, largely activation-driven execution-stability differences reported in Section 6, together with the near-chance predictive skill for confirmation latency, indicate that confirmation-latency prediction alone is not yet a reliable basis for enhancing the responsiveness of blockchain-supported ERP operations at the 10-minute aggregation granularity studied here. The complementary workload-intensity forecasting result in Section 6.5 — which achieved substantially higher predictive skill — is a more promising direction for the kind of proactive regulation described in this section, and is recommended as the basis for future deployment-oriented work.
Overall, the framework is intended to function as an execution-management layer that can be added to existing blockchain infrastructure without protocol changes. Whether it improves execution outcomes in a production ERP environment has not been shown: the evidence in this study comes from trace-driven simulation with assumed coefficients and a stylised fee market, and the most defensible operational recommendation it supports is to batch ERP records, with workload-intensity forecasting as a candidate signal for future validation on production workloads.
6.10. Limitations, Threats to Validity, and Future Research Directions
Several limitations should be acknowledged when interpreting the reported results. They also identify directions for extending the framework toward broader enterprise blockchain applications.
First, the experimental evaluation is performed using ERP-inspired workloads reconstructed from publicly available Bitcoin blockchain transaction traces. Although this reconstruction strategy preserves essential workload characteristics—including temporal burstiness, queue-pressure evolution, and transaction variability—it does not fully capture the semantic complexity of real enterprise ERP processes, such as business-process dependencies, transaction priorities, and organization-specific operational constraints. Consequently, future studies should validate the proposed framework using production ERP workloads and permissioned enterprise blockchain platforms to further assess its practical applicability.
Second, the proposed Adaptive Execution Controller employs a rule-based orchestration mechanism designed to provide transparent and interpretable execution decisions. Its decision complexity is constant-time, O(1), in theory; execution time and memory use were not measured, so practical deployment cost remains to be established, and more sophisticated adaptive control strategies may further improve execution behavior under highly heterogeneous workload conditions.
A further limitation concerns the predictive and adaptive-control results themselves. On a leakage-free, strictly lagged feature set, confirmation-latency prediction achieved only near-chance skill (test R² = 0.010), and an activation-matched randomization control (Table 11) showed that most of the adaptive controller's apparent improvement over the static baseline (84% for the proposed controller, and comparably large shares for the fixed-rule and Q-learning-inspired baselines) is reproduced when the same actions are applied to randomly selected windows. The variance-reduction claim was also not statistically significant (Levene p = 0.062). These results indicate that, at the 10-minute aggregation granularity and with the lagged features considered here, confirmation latency carries little exploitable predictive signal, and the controller's benefit over a static policy is driven substantially by how often it intervenes rather than by the accuracy of its targeting. This motivates the complementary workload-intensity forecasting direction described below, where predictive skill was considerably higher.
A further threat to validity concerns the experimental evaluation strategy. The current study adopts a trace-driven simulation environment that enables reproducible experimentation and controlled performance analysis. Although this methodology provides a reliable basis for comparative evaluation, additional validation through real-time deployment and continuous workload adaptation would provide stronger evidence of the framework's operational effectiveness under practical enterprise operating conditions.
Furthermore, the present work focuses primarily on confirmation-latency stabilization as the principal optimization objective. In practical enterprise blockchain environments, execution management frequently involves multiple, potentially competing objectives, including throughput optimization, storage efficiency, resource utilization, service-level agreement (SLA) compliance, and operational cost. Extending the proposed framework toward multi-objective adaptive optimization therefore represents an important direction for future research.
Further limitations concern the data and the assumptions. The reconstructed workloads are ERP-inspired: the Bitcoin traces contain no ERP document types, process dependencies or business priorities, and the findings have not been validated on production ERP logs or an enterprise platform. The closed-loop feedback and retraining stage was not implemented, so the evaluation covers an open-loop pipeline with frozen thresholds. The study uses one calendar year (2020) of one public blockchain, so the findings may not transfer to other periods, fee regimes or platforms. The prediction target is a block-interarrival proxy and not transaction-level confirmation latency, and windows without a block are excluded. The controller effects in Section 6.2 rely on assumed action coefficients (8%, 5% and 4%, capped at 15%), the Part C results on a stylised fee market, assumed ERP arrival rates and cost multipliers, and the storage results on an assumed 70%/30% allocation with assumed pointer size and read latencies; none of these is a measurement. Hyperparameters were set manually and not systematically searched, the controller-threshold grid may constrain the selected values (Section 5.5.2), and the LSTM comparator was evaluated at the validation stage only. Direct comparison with published reinforcement-learning or deep-learning controllers was not possible, and the Q-learning-inspired baseline should not be read as a reproduction of any specific method.
Future research will additionally investigate cross-platform validation using permissioned and consortium blockchain environments, advanced temporal prediction models such as LSTM- and Transformer-based architectures, and adaptive execution policies capable of continuously learning from runtime workload evolution. These extensions may further improve the scalability, robustness and practical applicability of the proposed framework across diverse enterprise blockchain deployments, which would need to be verified empirically.
Overall, these limitations define the scope within which the reported findings hold, and they motivate validation on production ERP workloads and permissioned enterprise platforms.
7. Conclusion and Future Work
This paper evaluated the prediction, control and storage components of an AI-driven adaptive execution framework with a closed-loop architecture for ERP-inspired blockchain workloads using public Bitcoin block data for 2020 (mempool.space API, retrieved 2026-09-30, fields of the former BigQuery crypto_bitcoin.blocks schema), strictly lagged features, chronological train/validation/test partitions and validation-only model and threshold selection; the feedback and retraining stage of the architecture was not implemented.
What worked: near-term workload intensity was predictable (test R² = 0.430 for transactions per block and 0.475 for block-fill ratio when the elapsed time since the last block was included), and batching ERP records reduced simulated anchoring cost by about 98% relative to immediate submission at a 2-hour SLA. What did not work: block-interarrival confirmation latency was close to unpredictable (test R² = 0.010); the machine-learning congestion signal gave no measurable advantage over a reactive rule or batching by age in the default queue simulation, where every adaptive policy cost 42.7% more than the best static policy; and 84% of the capped controller’s modest gain (MAE 3.22%) was reproduced by randomly placed actions. The 40.1% on-chain storage reduction is an estimate under an assumed allocation policy.
The practical value identified here therefore lies in mechanism-level design, namely batching and SLA-aware scheduling, and in forecasting workload intensity rather than confirmation latency. The study also contributes an evaluation protocol with randomization-based controls against which adaptive blockchain execution frameworks can be benchmarked. Future work will validate these findings on production ERP transaction logs and real fee-market data, extend the forecaster with online learning, and test the framework on permissioned platforms such as Hyperledger Fabric.
Author Contributions
Conceptualization, S.K. and S.A.T.; methodology, S.K.; software, S.K.; validation, S.K., S.A.T., and M.H.; formal analysis, S.K.; investigation, S.K.; writing—original draft preparation, S.K.; writing—review and editing, S.A.T. and M.H.; supervision, S.A.T. and M.H. All authors have read and agreed to the published version of the manuscript.
Funding
The authors received no specific funding for this work.
Data Availability Statement
To support experimental reproducibility and methodological transparency, the source code, preprocessing scripts, feature-engineering pipeline, predictive-model implementation, adaptive orchestration rules and threshold configurations, workload reconstruction procedures, and experimental configuration files used in this study are publicly available at: GitHub Repository https://github.com/sk1466-del/-AI-Driven-Closed-Loop-Adaptive-Execution-Framework-for-Efficient-ERP-Blockchain-Integration.git. The repository contains the final notebook, which includes the mempool.space data-retrieval code, the leakage-free feature pipeline, the validation-only model and threshold selection, the activation-matched randomization control, the workload-intensity forecasting analysis, the queue simulation and the storage estimates, together with the random seeds and partition boundaries used to reproduce the tables and figures reported here. The block data were retrieved from the public mempool.space API on 2026-09-30 (UTC).
References
- Z. Zheng, S. Xie, H.-N. Dai, X. Chen, and H. Wang, “Blockchain challenges and opportunities: A survey,” Int. J. Web Grid Serv., vol. 14, no. 4, pp. 352–375, 2018. [CrossRef]
- Z. Zheng, S. Xie, H. Dai, X. Chen, and H. Wang, “An overview of blockchain technology: Architecture, consensus, and future trends,” in Proc. IEEE Int. Congr. Big Data (BigData Congress), 2017, pp. 557–564.
- L. Imane, M. Noureddine, S. Driss, and L. Hanane, “Towards blockchain-integrated enterprise resource planning: A pre-implementation guide,” Computers, vol. 13, no. 1, Art. no. 11, 2024. [CrossRef]
- T. Kitsantas, “Exploring blockchain technology and enterprise resource planning system: Business and technical aspects, current problems, and future perspectives,” Sustainability, vol. 14, no. 13, Art. no. 7633, 2022. [CrossRef]
- I. Abellán Álvarez, V. Gramlich, and J. Sedlmeir, “Unsealing the secrets of blockchain consensus: A systematic comparison of the formal security of proof-of-work and proof-of-stake,” in Proc. 39th ACM/SIGAPP Symp. Applied Computing (SAC ’24), Avila, Spain, Apr. 2024, arXiv:2401.14527.
- W. Wang et al., “A survey on consensus mechanisms and mining strategy management in blockchain networks,” IEEE Access, vol. 7, pp. 22328–22370, 2019. [CrossRef]
- K. Croman et al., “On scaling decentralized blockchains,” in Financial Cryptography and Data Security (FC 2016 Workshops), Springer, 2016.
- I. Malakhov, C. Gaetan, A. Marin, and S. Rossi, “Workload prediction in BTC blockchain and application to the confirmation time estimation,” in Performance Engineering and Stochastic Modeling (EPEW 2021 and ASMTA 2021), Springer, 2021. [CrossRef]
- J. H. Friedman, “Greedy function approximation: A gradient boosting machine,” Ann. Statist., vol. 29, no. 5, pp. 1189–1232, 2001. [CrossRef]
- L. Breiman, “Random forests,” Mach. Learn., vol. 45, no. 1, pp. 5–32, 2001. [CrossRef]
- A. A. Monrat, O. Schelén, and K. Andersson, “A survey of blockchain from the perspectives of applications, challenges, and opportunities,” IEEE Access, vol. 7, pp. 117134–117151, 2019. [CrossRef]
- G. A. Akyuz and Ö. Ileri, “A comparative analysis of blockchain-smart contracts-ERP integration strategies for supply network (SN) collaboration,” IEEE Access, vol. 13, pp. 144887–144907, 2025.
- E. Androulaki et al., “Hyperledger Fabric: A distributed operating system for permissioned blockchains,” in Proc. 13th EuroSys Conf., 2018, Art. no. 30. [CrossRef]
- C. Gorenflo, S. Lee, L. Golab, and S. Keshav, “FastFabric: Scaling Hyperledger Fabric to 20,000 transactions per second,” in Proc. IEEE Int. Conf. Blockchain and Cryptocurrency (ICBC), 2019, pp. 455–463. [CrossRef]
- Y. Yu, S. Liu, P. L. Yeoh, B. Vucetic, and Y. Li, “LayerChain: A hierarchical edge-cloud blockchain for large-scale low-delay industrial Internet of Things applications,” IEEE Trans. Ind. Informat., vol. 17, no. 7, pp. 5077–5086, Jul. 2021.
- V. Malele and G. Mandinyenya, “AI-blockchain synergy for next-generation cybersecurity: Adaptive, ethical, and efficient architectures,” in Advancing Innovative Cybersecurity Solutions and Approaches to Protect Digital Ecosystems (IFIP-UNIVEN-CSIR ICC 2025), Springer, 2025.
- F. Chen, H. Wan, H. Cai, and G. Cheng, “Machine learning in/for blockchain: Future and challenges,” arXiv:1909.06189, 2019 (rev. 2020).
- F. Yuan et al., “AI-driven optimization of blockchain scalability, security, and privacy protection,” Algorithms, vol. 18, no. 5, Art. no. 263, 2025. [CrossRef]
- F. Jumani and M. Raza, “Machine learning for anomaly detection in blockchain: A critical analysis, empirical validation, and future outlook,” Computers, vol. 14, no. 7, Art. no. 247, 2025. [CrossRef]
- S. El Hessaini, R. Benaich, S. El Mendili, and Y. Gahi, “Enhancing blockchain consensus mechanisms with artificial intelligence: Potential improvements and applications,” in Information Systems and Technological Advances for Sustainable Development, Lecture Notes in Information Systems and Organisation, Springer, 2024, pp. 15–29.
- S. Jung, Y. Yoo, G. Yang, and C. Yoo, “Prediction of permissioned blockchain performance for resource scaling configurations,” ICT Express, vol. 10, no. 6, pp. 1253–1258, Dec. 2024. [CrossRef]
- C. Wu, B. Mehta, M. J. Amiri, R. Marcus, and B. T. Loo, “AdaChain: A learned adaptive blockchain,” Proc. VLDB Endow., vol. 16, no. 8, pp. 2033–2046, 2023. [CrossRef]
- J. A. Chacko et al., “Should my blockchain learn to drive? A study of Hyperledger Fabric,” arXiv:2406.06318, 2024.
- J. Eberhardt and S. Tai, “On or off the blockchain? Insights on off-chaining computation and data,” in Service-Oriented and Cloud Computing (ESOCC 2017), Springer, 2017, pp. 3–15.
Figure 1.
Overview of the proposed AI-driven closed-loop adaptive execution framework (design-level view; the adaptive policy update and real-time feedback loop are proposed but not implemented in the evaluated pipeline).
Figure 1.
Overview of the proposed AI-driven closed-loop adaptive execution framework (design-level view; the adaptive policy update and real-time feedback loop are proposed but not implemented in the evaluated pipeline).

Figure 2.
Layered architecture of the proposed framework; the consensus layer is design-level (not evaluated); LSTM* = validation comparator only.
Figure 2.
Layered architecture of the proposed framework; the consensus layer is design-level (not evaluated); LSTM* = validation comparator only.

Figure 3.
Latency proxy under the static baseline and capped adaptive controller vs. the 600-s target (first 250 test windows; assumed-coefficient simulation).
Figure 3.
Latency proxy under the static baseline and capped adaptive controller vs. the 600-s target (first 250 test windows; assumed-coefficient simulation).

Figure 4.
Top-10 impurity-based feature importances (Gradient Boosting).

Figure 5.
Predicted vs. observed latency proxy on the test partition (dashed line: perfect prediction).
Figure 5.
Predicted vs. observed latency proxy on the test partition (dashed line: perfect prediction).

Table 1.
Comparative analysis of representative blockchain optimization approaches.
| Study / Approach | System Scope | Primary Optimization Target | Workload Awareness | Adaptivity Level | Storage Strategy Integration | Reported Improvement Type | ERP-Inspired Suitability |
| ERP–blockchain architectural integration models [3,4,12] | Enterprise architecture | Process integrity and transaction traceability | Low | Static | Limited | Qualitative architectural improvement | Moderate |
| Infrastructure-level performance optimization frameworks [14] | Blockchain infrastructure | enhancement and execution-latency reduction | Low | Static architectural optimization | No | Improvement under controlled workloads | Low |
| Hierarchical low-delay blockchain architectures [15] | Blockchain infrastructure | Confirmation-latency reduction | Low | Static execution regulation | No | Low-delay operation reported | Low |
| ML-based workload and confirmation prediction approaches [8,21] | Predictive performance modeling | Confirmation-latency prediction accuracy | Moderate | Semi-adaptive (offline prediction) | No | Reported predictive accuracy improvement | Moderate |
| Learning-based adaptive configuration approaches [22,23] | Blockchain execution regulation | Latency and throughput optimization | Moderate | Fully adaptive | No | Reported latency optimization | Moderate |
| Hybrid / off-chain storage architectures [24] | Storage scalability | On-chain ledger-growth reduction | Low | Static placement strategy | Yes | Reported storage reduction | Moderate |
Table 2.
Deployment mapping of the proposed framework across representative enterprise blockchain platforms (design-level; not evaluated).
Table 2.
Deployment mapping of the proposed framework across representative enterprise blockchain platforms (design-level; not evaluated).
| Blockchain platform | Integration point | AI framework functions | Native platform functions preserved |
| Hyperledger Fabric | Before the Fabric Client SDK | Predictive intelligence, adaptive batching, hybrid storage | Endorsement policy, ordering service, ledger structure |
| Ethereum | Before transaction broadcasting | Latency prediction, congestion-aware scheduling | Smart contracts, transaction validation, blockchain ledger |
| Quorum | Alongside the transaction manager | Predictive orchestration, adaptive execution | Privacy manager, permissioning services, distributed ledger |
Table 3.
Mapping from observed Bitcoin block quantities to ERP-inspired workload quantities used in this study.
Table 3.
Mapping from observed Bitcoin block quantities to ERP-inspired workload quantities used in this study.
| Blockchain observation | ERP-inspired interpretation | Derived quantity used here |
| Transaction count per window | ERP transaction/record demand | tx_lag1, tx_ma_5, tx_std_5, tx_pct_change |
| Block payload size (bytes) | Transaction payload volume | size_lag1, size_ma_5; payload_roll_6 |
| Block weight | Execution/resource pressure | weight_lag1, weight_ma_5, weight_pct_change; block-fill ratio |
| Block count per window | Blockchain processing capacity | prev_block_count |
| Block inter-arrival time | Confirmation-latency proxy (prediction target) | confirmation_latency; prev_block_time and its moving statistics |
| Recent transaction history | Workload evolution | Rolling means, standard deviations and percentage changes |
| Normalized transaction and weight load | Queue pressure (congestion indicator) | queue_pressure, burst_flag |
| Payload over the six most recent windows | Storage-pressure indicator | storage_pressure (controller only) |
Table 4.
Chronological partitions of the non-overlapping 10-minute workload windows (Part A).
| Partition | Share | Windows | First window start (UTC) | Last window start (UTC) |
| Training | 64% | 21,418 | 2020-01-01 01:20 | 2020-08-22 05:30 |
| Validation | 16% | 5,354 | 2020-08-22 05:40 | 2020-10-18 17:30 |
| Test | 20% | 6,694 | 2020-10-18 18:00 | 2020-12-31 23:50 |
| Total | 100% | 33,466 | 2020-01-01 01:20 | 2020-12-31 23:50 |
Table 5.
Controller-threshold search grid, selected thresholds (validation only) and fixed-rule baseline thresholds.
Table 5.
Controller-threshold search grid, selected thresholds (validation only) and fixed-rule baseline thresholds.
| Parameter | Search grid | Selected | Fixed-rule |
| Lower latency threshold (s) | 450–570, step 30 | 510 | 500 |
| Upper latency threshold (s) | 624–774, step 30 | 714 | 700 |
| Queue-pressure threshold | 0.4–0.9, step 0.1 | 0.5 | 0.7 |
| Storage-pressure threshold | 0.4–0.9, step 0.1 | 0.9 | 0.7 |
| Configurations searched / feasible | 1,080 / 140 | — | — |
| Activation rate, validation / test | ≤ 50% (hard cap) | 47.8% / 46.1% | — / 83.8% |
Table 6.
Experimental configuration and machine-learning hyperparameters adopted for the proposed framework.
Table 6.
Experimental configuration and machine-learning hyperparameters adopted for the proposed framework.
| Configuration Item | Value |
| Workload source | Public Bitcoin block data from the mempool.space API, 1 Jan–31 Dec 2020 (fields of the former Google BigQuery crypto_bitcoin.blocks schema) |
| Workload representation | ERP-inspired reconstructed transaction workloads |
| Aggregation interval | 10 minutes |
| Data partitioning | Chronological hold-out split (64% training / 16% validation / 20% testing; shuffle = False; model and threshold selection use validation only) |
| Prediction models | Random Forest (RF), Gradient Boosting (GB), Multilayer Perceptron (MLP); LSTM comparator (validation only) |
| Random Forest | n_estimators = 300, max_depth = 12, min_samples_split = 5 (manually configured; not systematically searched) |
| Gradient Boosting | n_estimators = 300, learning_rate = 0.03, max_depth = 3 (manually configured; selected model on this run) |
| Multilayer Perceptron | hidden_layer_sizes = (128, 64), activation = ReLU, solver = Adam |
| MLP training | learning_rate_init = 0.0008, max_iter = 700, early stopping (15% validation fraction, patience 25) |
| LSTM comparator | 2 LSTM layers (64, 32 units), dropout = 0.20, lookback = 12 windows, Adam, up to 40 epochs, batch size = 64, early stopping (patience 8) |
| Random seed | 42 |
| Target confirmation latency | 600 s |
| Prediction target | Confirmation latency (seconds) |
| Prediction evaluation metrics | MAE, RMSE, (R^2) |
| Adaptive execution evaluation metrics | MAE, RMSE, Confirmation-latency Variance |
| Implementation environment | Python (scikit-learn, pandas, NumPy; TensorFlow/Keras for the LSTM comparator) |
Table 7.
Engineered workload features used for predictive modelling.
| Feature | Description |
| Tx_lag1 | Transaction count of the previous (t-1) 10-minute window |
| Size_lag1 | Total block payload size of the previous window |
| Weight_lag1 | Computational block weight of the previous window |
| Prev_block_count | Number of blocks observed in the previous window |
| Hour_of_Day | Hour-of-day indicator of the current window start |
| Day_of_Week | Day-of-week indicator of the current window start |
| Tx_ma_5 | 5-window moving average of transaction count, computed over windows strictly before the current one |
| Tx_std_5 | 5-window moving standard deviation of transaction count (past-only) |
| Size_ma_5 | 5-window moving average of block payload size (past-only) |
| Weight_ma_5 | 5-window moving average of block weight (past-only) |
| Prev_block_time | Confirmation latency of the previous window |
| Prev_block_time_ma_3 | 3-window moving average of confirmation latency (past-only) |
| Prev_block_time_std_3 | 3-window moving standard deviation of confirmation latency (past-only) |
| Burst_flag | 1 if Tx_lag1 exceeds the training-set mean plus one standard deviation, else 0 |
| Queue_pressure | 0.5·(Tx_lag1 / max Tx, train) + 0.5·(Weight_lag1 / max Weight, train), clipped to [0, 1]; normalization statistics from the training set only |
| Tx_pct_change | Percentage change in Tx_lag1 between the two most recent past windows |
| Weight_pct_change | Percentage change in Weight_lag1 between the two most recent past windows |
Table 8.
Validation-stage comparison of the predictive models for the block-interarrival confirmation-latency proxy.
Table 8.
Validation-stage comparison of the predictive models for the block-interarrival confirmation-latency proxy.
| Model | Val MAE (s) | Val RMSE (s) | Val R² |
| Gradient Boosting (selected) | 384.38 | 531.72 | 0.0135 |
| MLP | 383.50 | 532.28 | 0.0114 |
| Random Forest | 386.87 | 532.81 | 0.0094 |
| LSTM (lookback 12) | 383.72 | 535.72 | −0.0000 |
Table 9.
Final test results for confirmation-latency prediction (selected model and naive baselines; n = 6,694).
Table 9.
Final test results for confirmation-latency prediction (selected model and naive baselines; n = 6,694).
| Method | Test MAE (s) | Test RMSE (s) | Test R² |
| Train mean | 401.89 | 568.03 | −0.0009 |
| Train median | 384.52 | 592.54 | −0.0892 |
| Persistence (last window) | 560.64 | 799.51 | −0.9829 |
| Moving average (last 3 windows) | 469.86 | 652.35 | −0.3201 |
| Gradient Boosting (selected) | 398.42 | 564.99 | 0.0098 |
Table 10.
Comparative execution-stability evaluation of the proposed adaptive execution framework.
| Metric | Improvement over static baseline | 95% Bootstrap CI | Test activation rate |
| MAE (to 600 s target) | 3.22% | [2.96%, 3.49%] | 46.1% (val: 47.8%; capped at 50%) |
| RMSE (to 600 s target) | 4.26% | n/a | 46.1% (val: 47.8%; capped at 50%) |
| Confirmation-Latency Variance | 7.03% | n/a | 46.1% (val: 47.8%; capped at 50%) |
Table 11.
Activation-matched randomization control (2,000 permutations; last column = share of MAE gain reproduced by random placement).
Table 11.
Activation-matched randomization control (2,000 permutations; last column = share of MAE gain reproduced by random placement).
| Method | Test activation rate | MAE improvement | Share reproduced by random placement |
| Fixed-rule baseline | 83.8% | 5.44% | 89% |
| Q-learning-inspired baseline | 99.6% | 2.82% | 60% |
| Proposed adaptive controller | 46.1% | 3.22% | 84% |
Table 12.
Part B test results: workload-intensity forecasting (Gradient Boosting; n = 6,694; Set B = Set A + age_at_start; RMSE skill with 95% block-bootstrap CI).
Table 12.
Part B test results: workload-intensity forecasting (Gradient Boosting; n = 6,694; Set B = Set A + age_at_start; RMSE skill with 95% block-bootstrap CI).
| Target | Set | Test R² | Test RMSE | vs persistence (%) [95% CI] | vs train mean (%) [95% CI] |
| tx_per_block | A | 0.297 | 481.4 | +22.9 [+22.0, +23.9] | +16.2 [+14.3, +18.0] |
| tx_per_block | B | 0.430 | 433.5 | +30.6 [+28.9, +32.3] | +24.5 [+21.9, +27.2] |
| fill_ratio | A | 0.350 | 0.0847 | +22.3 [+19.5, +24.8] | +30.7 [+27.0, +35.6] |
| fill_ratio | B | 0.475 | 0.0761 | +30.1 [+25.7, +33.9] | +37.7 [+33.7, +42.0] |
Table 13.
Part C test results, default setting (30 records/h, κ = 4, 2-h p95 SLA; 10 seeds); saving vs. best static, negative = costlier; simulation, not live network.
Table 13.
Part C test results, default setting (30 records/h, κ = 4, 2-h p95 SLA; 10 seeds); saving vs. best static, negative = costlier; simulation, not live network.
| Policy | p95 (h) | Mean (min) | Cost | Saving (%) |
| Static immediate | 1.494 | 67.34 | 4.855 | −4753.7 |
| Static periodic (best static) | 1.788 | 60.13 | 0.100 | 0.0 |
| Adaptive: ML forecast | 1.351 | 45.24 | 0.143 | −42.7 |
| Adaptive: reactive (last-6 mean fill) | 1.351 | 45.24 | 0.143 | −42.7 |
| Adaptive: no signal (age-only) | 1.351 | 45.24 | 0.143 | −42.7 |
| Oracle (true next-block fill) | 1.351 | 45.24 | 0.143 | −42.7 |
Table 14.
Part C sensitivity to κ, SLA (h) and arrival rate λ; † = SLA violated (not like-for-like).
Table 14.
Part C sensitivity to κ, SLA (h) and arrival rate λ; † = SLA violated (not like-for-like).
| λ (rec/h) | κ | SLA (h) | Static cost | ML cost | ML vs static (%) | ML met SLA in all seeds |
| 30 | 1 | 1 | 0.133 | 0.066 | +50.2 | No† |
| 30 | 1 | 2 | 0.040 | 0.057 | −42.7 | Yes |
| 30 | 1 | 4 | 0.033 | 0.031 | +7.6 | Yes |
| 30 | 2 | 1 | 0.200 | 0.100 | +50.2 | No† |
| 30 | 2 | 2 | 0.060 | 0.086 | −42.7 | Yes |
| 30 | 2 | 4 | 0.050 | 0.046 | +7.6 | Yes |
| 30 | 4 | 1 | 0.333 | 0.166 | +50.2 | No† |
| 30 | 4 | 2 | 0.100 | 0.143 | −42.7 | Yes |
| 30 | 4 | 4 | 0.083 | 0.077 | +7.5 | Yes |
| 30 | 8 | 1 | 0.600 | 0.299 | +50.2 | No† |
| 30 | 8 | 2 | 0.180 | 0.257 | −42.7 | Yes |
| 30 | 8 | 4 | 0.150 | 0.138 | +7.6 | Yes |
| 10 | 4 | 2 | 0.300 | 0.416 | −38.5 | Yes |
| 100 | 4 | 2 | 0.030 | 0.043 | −42.9 | Yes |
Table 15.
Sensitivity of the storage estimates to the storage-pressure threshold (test partition).
| Storage threshold | Windows above threshold | Net on-chain reduction (%) | Mean retrieval (ms) |
| 0.3 | 100.0% | 70.00 | 11.10 |
| 0.4 | 99.4% | 69.88 | 11.07 |
| 0.5 | 95.4% | 68.87 | 10.86 |
| 0.6 | 81.9% | 64.89 | 10.16 |
| 0.7 | 61.3% | 57.82 | 9.09 |
| 0.8 | 36.9% | 48.21 | 7.82 |
| 0.9 (selected) | 18.7% | 40.11 | 6.87 |
| 1.0 | 8.8% | 35.20 | 6.36 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.