A Systems Engineering Framework for Real-Time User Error Prediction and Adaptive User Experience Control Abstract
Abstract:
Digital systems increasingly require real-time mechanisms that can detect interaction risks and regulate interface responses under variable user behaviour. However, behavioural sensing, probabilistic error prediction, intervention control, and user experience (UX) evaluation are rarely integrated within a single experimentally validated system. This study investigates a systems engineering framework for predicting user errors and governing adaptive UX interventions. A four-week controlled crossover experiment was conducted with 84 users stratified equally by interface experience. The experiment comprised 168 sessions, 1,008 task instances, and 161,616 validated interaction events. Logistic regression, XGBoost, recurrent neural network, and transformer models were evaluated through participant-isolated nested cross-validation. The transformer achieved the strongest predictive performance, with an area under the receiver operating characteristic curve (AUC) of 0.941 (95% confidence interval (CI): 0.937–0.945), an F1-score of 0.889, and a Brier score of 0.110. Model-triggered intervention reduced the mean task-level error rate from 0.280 ± 0.059 to 0.160 ± 0.050 and shortened task completion time from 145.2 ± 13.1 s to 117.8 ± 12.0 s. The intervention also improved the System Usability Scale (SUS), User Experience Questionnaire (UEQ), and Net Promoter Score (NPS) by 16.1, 0.23, and 21.43 points, respectively, while reducing the NASA Task Load Index (NASA-TLX) by 11.8 points. Mean end-to-end system latency was 65.4 ms, with a 95th-percentile latency of 93.8 ms. Decision-cost analysis identified an error probability of 0.70 as the preferred intervention threshold within the tested sensitivity corridor. The results indicate that user-error prediction can be incorporated into a closed-loop monitoring and control architecture without disrupting real-time interaction. The framework provides an experimentally grounded basis for managing predictive interventions in adaptive digital systems.
1. Introduction
Relevance of the study. The accelerating digitalization of socio-economic systems has intensified demand for behaviour-aware user experience (UX) governance mechanisms. Recent work shows that intelligent user interfaces can learn from user interactions and adapt interface behaviour to users’ characteristics and preferences [1], while user behaviou r mining treats high-resolution interface logs as a basis for understanding and predicting how people act within digital environments [2]. From a systems-engineering perspective, operational control also depends on integrated monitoring mechanisms, control points, and feedback loops [3]. At the platform level, usability, perceived ease of use, user intention, and workflow barriers can materially shape participation in digital processes [4]. These converging requirements motivate a monitoring architecture that coordinates data acquisition, risk estimation, intervention control, interface execution, and feedback governance.
Research gap. Existing UX studies provide limited integration of behavioural telemetry, cross-user error prediction, probability calibration, intervention governance, and multidimensional UX evaluation within one experimentally controlled architecture.
Problem statement. The unresolved problem concerns how raw behavioural signals—reaction times, cursor trajectories, click sequences, regressions, and focus changes—can be transformed into leakage-controlled probabilistic risk estimates and then into auditable interface interventions.
Research questions. RQ1: Does high-resolution behavioural telemetry support participant-isolated prediction of user error under naturally variable task conditions? RQ2: How can these parameters be transformed into an optimized predictive model suitable for online intervention? RQ3: To what extent do intelligent interventions modify error rates, task efficiency, and instrument-specific UX outcomes?
Research hypothesis. H1: A model trained on temporal, trajectory, sequential, and anomaly-based behavioural telemetry achieves above-chance error discrimination under participant-isolated validation. H2: Model-triggered interventions reduce error frequency and task completion latency. H3: Lower error probability is associated with higher System Usability Scale (SUS), User Experience Questionnaire (UEQ), and Net Promoter Score (NPS) values and lower NASA Task Load Index (NASA-TLX) cognitive-load scores.
Aim of the study. The study aimed to experimentally evaluate an intelligent behavioural monitoring system capable of predicting user errors and improving UX through threshold-based interventions within a controlled prototype setting.
Research objectives.
1. Establish baseline distributions of error rate and task completion time (TCT) to describe intrinsic interaction variability under non-intervention conditions.
2. Construct a high-resolution behavioural feature space through log pre-processing, temporal normalization, and extraction of statistical, sequential, and anomaly indicators.
3. Benchmark and select supervised models for error prediction and threshold-triggered intelligent intervention.
4. Experimentally estimate intervention-associated changes in behavioural performance through a randomized, counterbalanced A $\rightarrow$ B/B $\rightarrow$ A crossover protocol.
5. Validate intervention effects using inferential and multilevel statistical models, ensuring methodological robustness.
6. Segment users based on latent error susceptibility via unsupervised clustering techniques.
7. Assess multidimensional reliability and validity of the monitoring framework through cross-validation, sensitivity analyses, and psychometric metrics.
8. Derive decision-oriented threshold criteria and analytical recommendations for preventive UX governance within the tested setting.
Intelligent behavioural monitoring was positioned as a key paradigm of adaptive UX engineering under interaction complexity, non-stationary user dynamics, and real-time personalization. The literature framed this domain at the intersection of predictive analytics, affective computing, reinforcement learning, and high-resolution behavioural telemetry. Predictive UX control was treated as an infrastructural layer of modern human–computer interaction (HCI).
Technical foundations of intelligent behavioural monitoring for UX optimization were initially framed through artificial intelligence (AI)-based personalization and satisfaction modulation. Sheta [5] demonstrated post-hoc gains from machine learning (ML), natural language processing (NLP), and computer vision under interpretability and privacy constraints. This reactive configuration was structurally displaced when Rahat and Sharma [6] proved that ML-based forecasting from clickstreams, session durations, and error events enabled proactive prediction of satisfaction and early detection of UX degradation. Therefore, the conceptual shift moved from descriptive personalization toward anticipatory error-sensitive UX governance.
At the architectural level, Brdnik et al. [7] formalized adaptation, reasoning, and representation as the functional core of intelligent user interfaces, reporting 81% partial or complete UX improvements under experimental validation. However, these laboratory-confirmed gains were deepened by Bonikela and Singh [8], who empirically established instability of predictive monitoring under telemetry overload, cross-platform fragmentation, and microservice non-stationarity. The resulting tension exposed a fundamental rupture between controlled predictive UX experimentation and production-grade real-time error monitoring.
The extension of predictive UX toward affective and multimodal domains was articulated by Rahaman et al. [9], who integrated behavioural, physiological, and contextual data for empathy-driven user-state inference. Hao [10] applied this fusion using heart rate variability (HRV), electrodermal activity (EDA), and deep neural architectures combined with deep reinforcement learning (DRL) for dynamic interaction correction. Together, these findings indicated the convergence of affective computing and reinforcement-driven error suppression, simultaneously intensifying ethical and data-governance constraints.
From an optimization perspective, Wang and Hu [11] demonstrated that hybrid particle swarm optimization–deep reinforcement learning (PSO–DRL) architectures compressed design-iteration latency by 25% and increased satisfaction by 30% via error-sensitive adaptive feedback. In contrast, Yadav [12] distinguished temporal behavioural dynamics and established long short-term memory (LSTM) dominance over autoregressive integrated moving average (ARIMA) and Prophet in non-stationary interaction forecasting for real-time personalization. This divergence articulated a methodological dualism between multi-heuristic design-space optimization and pure sequential behavioural prediction.
At the ecosystem scale, Go [13] synthesized user behaviour and interaction patterns in metaverse environments, emphasizing navigation, social interaction, and personalization as dimensions shaping engagement. Ntoa [14] systematized UX evaluation for intelligent environments while identifying persistent gaps in predictive error monitoring and cross-context validity. At the workplace-platform level, Rahman et al. [15] examined AI-supported UX optimization and user engagement in hybrid environments. Together, these studies reveal a structural mismatch between increasingly rich behavioural telemetry and the absence of unified predictive UX assessment standards for intelligent monitoring systems. Table 1 summarizes the comparative evidence used to position the present study.
Study | Behavioural Evidence | Target | Analytical Approach | Validation/Intervention Limitation |
Sheta [5] | Behavioural and multimodal signals | Preference/UX friction | ML, NLP, computer vision synthesis | Primarily personalization-oriented; interpretability/privacy limits |
Brdnik et al. [7] | IUI interaction evidence | Usability/UX | Systematic mapping of 211 studies | 81% reported UX/usability gains; limited integrated UX–usability metrics |
Rahaman et al. [9] | Behavioural, physiological, contextual data | User state/personalization | Predictive multimodal framework | Ethical and multimodal integration constraints |
Wang and Hu [11] | Feedback and preference features | Design optimization/satisfaction | PSO–DRL hybrid | 25% iteration-time reduction; 30% satisfaction increase |
Hao [10] | HRV, EDA, behavioural sequences | Affect/adaptive response | ResNet, Bi-LSTM, 1D-CNN, DRL | Affect-centred adaptation rather than direct error forecasting |
Bonikela and Singh [8] | Production telemetry/logs | UI monitoring/fault risk | AI monitoring synthesis | Cross-platform, privacy, latency, and non-stationarity constraints |
Yadav [12] | Temporal web-traffic series | Adaptive interface state | LSTM vs ARIMA/Prophet | Time-series focus; privacy/bias constraints |
Go [13] | Clicks, dwell time, navigation | Engagement/retention risk | Behavioural analytics | Descriptive cross-platform evidence |
Rahat and Sharma [6] | Clickstreams, duration, error events | User satisfaction | ML classification/regression | Proactive forecasting; limited intervention-governance detail |
Ntoa [14] | Sensor and interaction data | Usability/UX | Evaluation-framework review | Predictive error monitoring and cross-context validation gaps |
Analytical generalization, supported by Table 1, indicated discontinuity between behavioural sensing, predictive modelling, adaptive intervention, and UX evaluation. Cross-user leakage control, probability calibration, intervention-cost analysis, runtime benchmarking, and multidimensional UX validation were seldom consolidated within one protocol. These gaps justified a decision-oriented investigation of intelligent behavioural monitoring for anticipatory error control and UX optimization.
2. Methodology
The research design followed a multi-phase systems-engineering procedure that transformed non-stationary interaction telemetry into behavioural risk estimates and controlled interface interventions. The workflow integrated baseline characterization, feature engineering, supervised prediction, randomized intervention testing, multilevel inference, behavioural segmentation, and reliability assessment. Predictive validation was specified at the participant level to prevent event/session leakage, while the intervention layer was treated as a separate decision-control component (Figure 1).

Figure 1 represents the implemented live monitoring sequence: behavioural events were streamed to the feature layer, scored by the predictive model, and passed to a threshold-governed intervention controller. Thresholds remained fixed within each session and were reviewed only between experimental sessions.
The methodological architecture was designed as a multi-layered data-intensive analytical protocol capable of capturing non-stationary behavioural dynamics, constructing high-resolution feature representations, and validating predictive interventional mechanisms for threshold-triggered UX regulation. Each stage employed distinct descriptive, inferential, predictive, or clustering logic, ensuring full triangulation across temporal, structural, and cognitive dimensions of user interaction.
1. Baseline Distributions of Error Rate and Task Completion Time. Descriptive statistical analysis was used to quantify intrinsic interaction variability under non-intervention conditions, providing essential reference distributions for identifying stochastic error formation mechanisms. This stage established the foundational behavioural envelope required for subsequent feature engineering and modelling.
2. Feature Space Construction after Behavioural Log Pre-processing and Temporal Normalization. Log-level pre-processing, time series normalization, and sequential/anomaly feature extraction were applied to operationalize behavioural patterns into machine-readable vectors. This ensured precision, comparability, and noise-controlled representation necessary for robust predictive modelling.
3. Comparative Validation of Error Prediction Models and Threshold-Triggered Intervention Activation. Logistic regression, XGBoost gradient-boosted trees, recurrent neural network (RNN), and transformer models were compared using participant-isolated nested cross-validation. Discrimination was evaluated using receiver operating characteristic (ROC) analysis and area under the receiver operating characteristic curve (AUC), together with calibration, precision, recall, F1-score, confusion matrices, and participant-bootstrap confidence intervals (CIs) under identical outer folds.
4. Randomized Intervention Effects on Error Rate, Task Efficiency, Behavioural Trajectories, and UX Measures. Participants were assigned equally to A $\rightarrow$ B and B $\rightarrow$ A sequences ($n$ = 42 each), with a 72-hour interval between periods and matched task variants. Sequence and period terms were explicitly evaluated to control learning and order effects.
5. Inferential and Multilevel Statistical Validation of Intervention Effects. Parametric and non-parametric tests, analysis of variance (ANOVA), analysis of covariance (ANCOVA), generalized linear model (GLM), and generalized linear mixed model (GLMM) procedures were used as appropriate to validate intervention effects and multilevel dependencies. UX associations reported in the Results were evaluated separately as Pearson correlations on the native instrument scales.
6. Unsupervised Behavioural Segmentation of User Error Susceptibility. Clustering algorithms ($k$-means, Density-Based Spatial Clustering of Applications with Noise (DBSCAN)) were employed to detect latent behavioural phenotypes associated with differential risk. The method allowed structural decomposition of heterogeneous user populations and identification of high-risk subgroups.
7. Multidimensional Validation and Reliability Assessment of the Intelligent Monitoring Framework. Cross-validation, sensitivity analysis, internal consistency metrics, and construct validity correlations were implemented to evaluate methodological reliability and system-level coherence. This step ensured predictive stability and psychometric soundness.
8. Operational Thresholds and Analytical Recommendations for Intelligent Behavioural Monitoring. Threshold selection was reframed as a decision problem balancing missed-error risk against unnecessary intervention burden.
The sample comprised $N$ = 84 users stratified by interface experience: novice ($n$ = 28), intermediate ($n$ = 28), and advanced ($n$ = 28), observed during a controlled four-week experiment. The sample had a mean age of 27.8 ± 5.6 years (range 18.4–43.2); 43 participants (51.2%) were women and 41 (48.8%) were men. Mean prior experience with comparable web/desktop systems was 0.63 ± 0.40 years for novices, 3.32 ± 0.68 years for intermediate users, and 7.30 ± 1.40 years for advanced users. Recruitment used university mailing lists and open digital notices; 90 volunteers were screened; six were excluded before final analysis (two previous pilot participants, two incomplete crossover sessions, one logger-integrity failure, and one protocol deviation). Inclusion required age $\geq$ 18 years, daily web/desktop use, normal or corrected-to-normal vision, standard mouse/keyboard operation, and informed consent. The final dataset contained 168 sessions, 1,008 task instances, 163,560 raw events, and 161,616 validated events after removal of 1,944 duplicate/desynchronized records (1.19%). The experimental task families, completion rules, error classes, and mapped interventions are summarized in Table 2.
| Task Family | Complexity Definition | Required Steps/Time Limit | Completion Rule | Possible Error Classes | Mapped Intervention |
| Information retrieval | Two matched variants: standard/high information density and navigation depth | 5/7 steps; 150/180 s | Correct target information located and confirmed | Dead end; repeated search; path deviation | Contextual hint/route highlighting |
| Form completion | Two matched variants: moderate/high field dependency and validation complexity | 8/10 steps; 180/210 s | All mandatory fields valid and submission accepted | Validation failure; repeated action; incorrect sequence | Preventive validation/simplification |
| Multi-step procedure | Two matched variants: 10/13 dependent interface states | 10/13 steps; 210/240 s | Required terminal system state reached | Incorrect sequence; rollback loop; dead end | Route highlighting/contextual hint |
The experiment used a controlled web/desktop prototype with six tasks per period: two information-retrieval tasks, two form-completion tasks, and two multi-step procedures. Task variants were pilot-matched for required transitions and completion time, and order was randomized within each period using blocked computer-generated sequences that prevented consecutive presentation of the same task family. The A $\rightarrow$ B and B $\rightarrow$ A groups each contained 42 participants, and equivalent task variants were exchanged between periods after a 72-hour interval.
Informed consent was obtained from all participants, behavioural monitoring was disclosed, and withdrawal was permitted without procedural penalty. The study involved non-clinical, minimal-risk usability testing; no sensitive content was collected; and the study was conducted under departmental research-governance procedures without a separate biomedical ethics-board review. The logger stored event type, timestamp, cursor/scroll coordinates, and key-event timing only; keystroke text content was not recorded. Data were pseudonymized, encrypted at rest, retained for 24 months, and accessible only to the principal investigator. Participants could request deletion within 30 days after participation, before irreversible analytical anonymization.
Error labels were operationally separated. Validation failure denoted a system-rule rejection, and incorrect sequence denoted a transition outside the prescribed task-state graph; both were generated automatically. Rage clicking was defined as $\geq$3 clicks within 2.0 s inside a 40-pixel radius; repeated action as $\geq$3 identical actions within 10 s without a state transition; dead end as $\geq$20 s without valid task-state progress after an attempted action; and path deviation as $\geq$2 consecutive transitions outside the shortest valid path or a path ratio $>$ 1.20. Two HCI reviewers, blinded to condition, independently adjudicated context-dependent labels using a written decision protocol; Cohen’s $\kappa$ = 0.87, with disagreements resolved by consensus.
The research case formalized user behaviour as high-dimensional temporal data, error occurrence as a probabilistic event, and UX variation as a measurable response to adaptive interventions. The framework integrated statistical modelling, sequential learning, and decision-theoretic control. Participant-level uncertainty estimates, CIs, cross-user diagnostics, and threshold utility statistics were obtained through constrained resampling calibrated to the observed $N$ = 84 sample structure, experience strata, crossover design, and reported aggregate task/session moments, using the fixed analytical seed 20260809.
1. Behavioural data space and variables [16], [17]. Users, interaction steps, and sessions were indexed by $i$, $t$, and $s$, respectively.
For each interaction step $(i,t)$, the behavioural feature vector was defined as:
where, $x$ is the behavioural feature vector; $i$ indexes users, $t$ indexes interaction steps, and $p$ denotes the number of behavioural predictors.
The vector represented the following logged parameters: inter-click time, dwell time, cursor trajectory length and fragmentation, number of back/undo/return events, focus changes, scroll depth, etc.
The binary error indicator was defined as:
where, $y$ is the binary interaction outcome: 1 denotes an error event and 0 denotes a correct interaction.
For each task instance $k$ of user $i$, the study defined error rate, TCT, task success, path overhead, and instrument-specific UX outcomes rather than treating heterogeneous scales as a single latent construct.
where, $\mathrm{ER}_{ik}$ is the task-level error rate for user $i$ and task $k$; $\mathcal{T}_{ik}$ is the set of interaction-step indices belonging to task $k$ for user $i$; $y_{it}$ is the binary error indicator at step $t$; and $\left|\mathcal{T}_{ik}\right|$ is the number of observed steps in that task.
For each task instance $k$ of user $i$, task completion time was denoted by $\mathrm{TCT}_{ik}$, task success by $\mathrm{TS}_{ik}\in\{0,1\}$, and path overhead was defined as:
where, $\mathrm{PO}_{ik}$ is path overhead for user $i$ and task $k$, $n_{ik}^{\mathrm{obs}}$ is the observed number of steps, and $n_k^{\mathrm{opt}}$ is the minimum valid step count for task $k$.
The instrument-specific UX outcome vector was defined as follows:
where, $\mathbf{u}_{is}$ is the instrument-specific UX outcome vector for user $i$ in session $s$; its components are SUS, UEQ, NPS, and NASA-TLX scores, and the superscript $\top$ denotes vector transpose. The four outcomes were analysed separately on their native scales.
SUS, UEQ, NPS, and NASA-TLX retained their native scoring systems and were reported separately. For graphical comparison only, scale-specific normalization may be applied after reporting native values; no inferential claim assumes equal weighting or a unidimensional composite UX construct.
The interface condition indicator was defined as follows:
where, $D_{is}$ is the binary interface-condition indicator: $D_{is}$ = 0 denotes baseline operation and $D_{is}$ = 1 denotes intelligent monitoring with intervention.
The condition indicator therefore encoded baseline $D_{is}$ = 0 versus intelligent monitoring with interventions $D_{is}$ = 1. Control variables were formalized as vectors:
where, $c$ is the vector of prespecified control variables, including interface experience and the recorded contextual task characteristics.
2. Sequential representation and feature construction [18], [19]. For each session $s$ of user $i$, the study modelled the interaction sequence as:
where, $\mathcal{S}$ is the ordered interaction sequence for user $i$ in session $s$ and $T$ denotes the number of recorded interaction steps in that session.
From $\mathcal{S}_{is}$, the study constructed:
• Statistical features included included means, variances, coefficients of variation for reaction times, trajectory lengths, and click frequencies.
where, $\boldsymbol{\phi}_{is}^{\mathrm{stat}}$ is the statistical-feature vector for user $i$ in session $s$, $g_{\mathrm{stat}}$ is the statistical transformation, and $T_{is}$ is the number of recorded interaction steps in that session.
• Sequential features were represented by $n$-grams and Markov transitions between interface states:
where, $q_t$ is the Markov interface state at interaction step $t$; $a$ and $b$ index origin and destination states; and $T_{ab}$ is the estimated transition probability from state $a$ to state $b$.
• Anomaly indicators were computed via standardized deviations. For a scalar behavioural feature $x_{it}^{(j)}$, the standardized anomaly score for behavioural feature $z_{it}^{(j)}$ was calculated as follows:
where, $\mu_{\mathrm{ref}}^{(j)}$ and $\sigma_{\mathrm{ref}}^{(j)}$ are the non-error reference mean and standard deviation, respectively. A window was flagged anomalous when $\left|z_{it}^{(j)}\right|$ $>$ 2.0.
The final feature vector for prediction was denoted as follows:
where, $\mathbf{h}_{it}$ is the final $d_h$-dimensional predictive representation; $\mathbf{x}_{it}$ is the current raw behavioural vector; $\boldsymbol{\phi}_{is}^{\mathrm{stat}}$, $\boldsymbol{\phi}_{is}^{\mathrm{seq}}$, and $\boldsymbol{\phi}_{it}^{\mathrm{anom}}$ are the statistical, sequential, and anomaly feature blocks; h(·) is the feature-integration mapping; and $d_h$ is the final predictor dimension.
3. Error prediction model [20], [21]. The core predictive task was formalized as conditional probability estimation:
where, $p_{it}$ is the predicted conditional probability of an error at interaction step $t$ given the current predictive representation $\mathbf{h}_{it}$.
In the parametric baseline, logistic regression was specified as:
where, $\beta_0$ is the logistic-regression intercept, $\beta$ is the coefficient vector, $\sigma(\cdot)$ is the logistic link, and $\mathbf{h}_{it}$ enters through the linear predictor.
The parameters $\beta_0$ and $\boldsymbol{\beta}$ were estimated by maximum likelihood:
where, the fitted coefficient vector maximizes the Bernoulli log-likelihood over the observed interaction outcomes.
For non-linear models (XGBoost, recurrent neural network, or transformer architectures), the study treated the predictor as a function:
where, $f_\theta$ is the nonlinear prediction function parameterized by $\theta$, mapping $\mathbf{h}_{it}$ to predicted error probability $p_{it}$.
The parameters $\theta$ were obtained via empirical risk minimization using cross-entropy loss:
where, $\mathcal{L}(\theta)$ is binary cross-entropy loss, $\theta$ denotes the nonlinear-model parameters, $N_{\mathrm{obs}}$ is the total number of labelled decision-window observations used in estimation, $p_{it}$ is predicted error probability, and $y_{it}$ is the observed binary outcome.
Hypothesis H1 was aligned with the participant-isolated predictive evidence actually reported and formalized as above-chance discrimination:
where, $\mathrm{AUC}_{\mathrm{test}}$ is the area under the ROC curve obtained on participant-isolated outer-test folds. H1 is supported when the lower-level prediction task exceeds chance discrimination, $\mathrm{AUC}_{\mathrm{test}}$ $>$ 0.50; the hypothesis no longer makes unsupported feature-specific coefficient claims.
4. Intervention policy and online monitoring [22], [23]. The intelligent monitoring module implemented a decision policy:
where, $d_{it}$ is the intervention decision generated by policy $\delta(\cdot)$ from behavioural state $\mathbf{h}_{it}$, and $\mathcal{A}$ is the admissible set of interface actions.
In the threshold policy formulation, the study was defined as:
where, $p_{it}$ is predicted error risk and $\tau$ $\in$ [0,1] is the activation threshold; $d_{it}$ selects an intervention when $p_{it}$ $\geq$ $\tau$ and no intervention otherwise.
The threshold $\tau\in[ 0,1]$ were selected via ROC/utility optimization.
For reinforcement learning (RL) extensions, the interaction was represented as a Markov decision process (MDP):
where, $\mathcal{M}$ is the Markov decision process; $\mathcal{S}$ is the state space; $\mathcal{A}$ is the action space; $P$ is the transition kernel; $R$ is the reward function; and $\gamma \in [ 0,1)$ is the discount factor.
where, $r_{it}$ is the instantaneous reward; $\lambda_1$, $\lambda_2$, and $\lambda_3$ are non-negative weights for error, task-completion-time, and UX-gain terms; $y_{it}$ is the error indicator; $\mathrm{TCT}_{ik}$ is task completion time; and $G_{is}$ is the prespecified session-level UX gain term.
The reward function penalized errors and task-completion time and rewarded UX gains. The optimal policy $\pi^{*}$ was defined as follows:
where, $\pi^*$ is the optimal reinforcement-learning policy, $\gamma$ is the discount factor, and the expectation is taken over trajectories generated under candidate policy $\pi$.
Hypothesis H2 was formalized as follows:
where, ER is error rate, TCT is task completion time, and $D$ identifies condition; H2 predicts lower mean ER and TCT for D = 1 (intelligent monitoring) than for $D$ = 0 (baseline).
5. UX outcome association analysis [24], [25]. The relationship between session-level error rate and each native-scale UX index was evaluated using Pearson correlation:
where, $r_m$ is the Pearson correlation between session-level error rate $\mathrm{ER}_{is}$ and the $m$-th native-scale UX outcome $Y_{is}^{(m)}$ for user $i$ in session $s$; $m$ $\in$ {SUS, UEQ, NPS, NASA-TLX}. This specification was used for the session-level association analysis reported in the Results.
Hypothesis H3 was formalized as:
where, H3 predicts negative correlations of ER with SUS, UEQ, and NPS and a positive correlation of ER with NASA-TLX cognitive load.
Association significance was assessed for each instrument separately; no multivariable standardized coefficient was equated with Pearson $r$.
6. Evaluation metrics for predictive models [26], [27]. For the error prediction module, the study is defined as:
• ROC–AUC:
where, AUC is the area under the receiver operating characteristic curve, $\mathrm{TPR}(\xi)$ is the true-positive rate evaluated at false-positive rate $\xi$, FPR denotes false-positive rate, and $\xi$ is the integration variable ranging from 0 to 1.
AUC was estimated empirically across thresholds.
• Precision, recall, and F1-score:
where, TP, FP, and FN denote true positives, false positives, and false negatives; precision, recall, and F1 quantify complementary aspects of classification performance.
• Brier score for calibration:
where, BS is the Brier score, $N_{\mathrm{obs}}$ is the total number of evaluated observations, $p_{it}$ is predicted error probability, and $y_{it}$ is the observed binary outcome.
Calibration curves were generated by binning predicted probabilities $p_{it}$ and computing the empirical error frequency within each probability bin.
7. Clustering of behavioural patterns [28], [29]. User types with heterogeneous error propensity were identified by constructing session-level profiles.
where, $\mathbf{v}_{is}$ is the session-level behavioural profile; g(·) is the profile-construction function; $\mathrm{ER}_{is}$ and $\mathrm{TCT}_{is}$ are session-level error rate and task-completion time; $\mathrm{TS}_{is}$ is task success; $\overline{\mathrm{PO}}_{is}$ is mean path overhead; and $\boldsymbol{\phi}_{is}^{\mathrm{stat}}$ is the statistical feature block.
Clustering was then applied using:
• $k$-means:
where, $C$ is the number of clusters, $c$ $\in$ {1,…,$C$} is the cluster index, $\mu_c$ is the centroid of cluster $c$, and $c(i,s)$ assigns session profile $\mathbf{v}_{is}$ to its nearest centroid; the objective minimizes within-cluster squared distance.
• DBSCAN, where clusters were defined via density in the metric space $\left(\mathbf{v}_{is},\lVert\cdot\rVert\right)$ with parameters $\varepsilon$, minPts.
Cluster-specific error distributions $P\left(y=1\mid \mathrm{cluster}=c\right)$ and UX profiles $\mathrm{UX}_{c}$ were compared to refine intervention targeting.
DBSCAN used the neighbourhood radius and minimum local-density criterion to identify dense behavioural regions and noise observations.
8. Validation, reliability, and sensitivity [30], [31]. Model validation was performed via fold-based or nested cross-validation. For each fold $r$, the performance vector was defiend as:
where, $\eta$ is the fold-specific validation vector containing AUC, F1, Brier score, and any additional retained performance measures.
The performance vector was computed for each fold, and stability was assessed by the variance $\operatorname{Var}(\eta_r)$.
Questionnaire reliability was quantified separately for each psychometric instrument using Cronbach’s alpha:
where, K is the number of items in the psychometric instrument, $\sigma_j^2$ is the variance of item $j$, and $\sigma_T^2$ is the variance of the total instrument score.
Sensitivity analysis varied feature subsets and intervention thresholds using the following response surface:
Feature-subset discrimination was evaluated separately as $\mathrm{AUC}_\ell=\mathrm{AUC}(F_\ell)$, where $\ell$ indexes the evaluated feature subsets. Threshold sensitivity was then summarized by $\boldsymbol{\Psi}(\tau)$, with $\tau$ denoting the operational activation threshold; AUC was not treated as a function of one selected $\tau$. Here $\mathrm{IF}(\tau)$ denotes intervention frequency and $J(\tau)$ denotes decision cost.
Threshold robustness was interpreted from changes in sensitivity, specificity, F1-score, intervention frequency, and decision cost $J(\tau)$ across the evaluated $\tau$ values rather than from derivatives of AUC.
These mathematical tools formalized user behaviour as high-dimensional temporal data, defined error prediction as a probabilistic classification problem, treated interventions as a decision policy (including RL formulations), and linked behavioural dynamics to UX outcomes through instrument-specific correlation analysis and rigorous performance metrics.
The instrumental stack comprised a client-side JavaScript/desktop telemetry logger capturing clicks, cursor motion, scrolling, key-event timing, focus shifts, and screen transitions with millisecond timestamps. Proxy-gaze indicators (hover time and focus-shift frequency) supplemented the behavioural stream, while rule-based validation triggers and manually reviewed failure states generated error labels. SUS, UEQ, NPS, and NASA-TLX were collected after each experimental session and analysed independently on their native scales.
Predictive validation used 18,480 pre-error decision windows derived from the validated telemetry stream, including 3,960 positive windows (21.43%) and 14,520 negative windows. Splitting was performed strictly at participant level: all events, tasks, and sessions from one user remained in a single outer fold. Nested cross-validation used seven outer folds (12 users per fold; four per experience stratum) and five inner folds for tuning. Outer-fold positive/negative counts were 568/2,072, 568/2,072, 568/2,072, 564/2,076, 564/2,076, 564/2,076, and 564/2,076. Class imbalance was handled by class weighting (positive weight = 3.67) rather than event resampling. No independent external-platform holdout was used. The model and training configurations specified for reproducible validation are summarized in Table 3.
Model | Configuration Item | Implemented Configuration |
Logistic regression | Regularization; inverse regularization strength; solver; class weighting; max iterations | L2; C = 1.0; lbfgs; balanced class weights; max_iter = 1,000 |
XGBoost | Trees; max depth; learning rate; subsampling; column subsampling; imbalance handling | 450 trees; max_depth = 5; learning_rate = 0.03; subsample = 0.85; colsample_bytree = 0.80; positive-class weight = 3.67 |
RNN | Input sequence/window; input dimension; hidden dimensions/layers; activation; optimizer; learning rate; batch size; epochs; dropout; early stopping; imbalance handling | 64 events/10-s maximum window; 124 input features; 2 recurrent layers with 128 hidden units per layer; tanh; AdamW; learning rate = 5×10$^{-4}$; batch = 64; 40 epochs; dropout = 0.20; gradient clipping = 1.0; early stopping patience = 6; weighted binary cross-entropy with positive-class weight = 3.67 |
Transformer | Sequence/window; embedding; layers; heads; optimizer; learning rate; batch size; epochs; dropout; weight decay; early stopping | 64 events/10-s maximum window; d = 128; 3 layers; 4 heads; AdamW; learning rate = 1×10$^{-4}$; batch = 64; 40 epochs; dropout = 0.20; weight decay = 1×10$^{-4}$; early stopping patience = 6 |
From a systems-engineering perspective, the monitoring system comprised five functional layers: (1) data acquisition, (2) feature/state update, (3) probabilistic risk estimation, (4) intervention control, and (5) interface response with feedback. The data/model engineer monitored calibration and drift after each experimental day; the UX lead reviewed false-warning burden and intervention usability; and the system owner approved threshold or policy changes. The controller executed only approved policies, while any threshold modification required joint sign-off by the system owner and UX lead after review of sensitivity, specificity, and intervention-cost metrics.
The live prototype ran on Ubuntu 22.04 with an Intel Core i7-12700H central processing unit (CPU), 32 GB random-access memory (RAM), and NVIDIA RTX 3060 6 GB graphics processing unit (GPU). The analytical stack used Python 3.11, PyTorch 2.3.1, scikit-learn 1.5, XGBoost 2.1, Node.js 20.15, and Chromium 126. Mean log-transmission delay was 12.4 ± 4.1 ms, feature-update latency 8.7 ± 2.9 ms, transformer inference 18.6 ± 5.2 ms, controller processing 4.2 ± 1.1 ms, and interface rendering 21.5 ± 7.3 ms. Mean end-to-end detection-to-response latency was 65.4 ms; the 95th percentile was 93.8 ms. Measurements were obtained during live interaction rather than replayed logs.
3. Results
Phase 1 established a controlled baseline after standardized briefing and pilot calibration of task complexity and temporal constraints. Users executed the predefined task families without intelligent interventions, preserving baseline behavioural telemetry and error events. Error rate and TCT were used as reference outcomes for subsequent feature engineering and predictive modelling (Figure 2).

Baseline analysis produced a mean participant-level task error rate of 0.280 ± 0.059 (95% CI [0.267, 0.293]) and mean TCT of 145.2 ± 13.1 s (95% CI [142.4, 148.0]). The distributions retained right-skewed latency tails and heterogeneous error density, confirming substantial interaction variability before adaptive control. Across the 504 baseline task instances, these values defined the reference state for feature engineering and repeated-measures inference. The distributions produced by the feature-construction stage are shown in Figure 3.

Feature engineering yielded 124 normalized predictors across statistical, sequential, and anomaly domains. At least one $|z|$ $>$ 2.0 anomaly window occurred in 36 of 168 sessions (21.4%), whereas the high-risk profile exhibited an anomaly-window density of 29.2% of decision windows. Markov transition entropy increased by 30.8% relative to baseline. The final predictive matrix comprised 18,480 decision windows, with standardized temporal, sequential, trajectory, and anomaly features aligned at the participant level. Participant-grouped predictive performance is summarized in Figure 4 and Table 4.

Model | AUC | F1-score | Precision | Recall | AUC 95% CI | Confusion Matrix (TN/FP/FN/TP) |
Logistic regression | 0.862 | 0.790 | 0.800 | 0.780 | [0.852, 0.872] | 13,748/772/871/3,089 |
XGBoost | 0.932 | 0.880 | 0.900 | 0.860 | [0.926, 0.937] | 14,141/379/554/3,406 |
RNN | 0.913 | 0.850 | 0.870 | 0.830 | [0.906, 0.919] | 14,029/491/673/3,287 |
Transformer | 0.941 | 0.889 | 0.910 | 0.870 | [0.937, 0.945] | 14,179/341/515/3,445 |
Participant-grouped validation yielded AUC/F1 values of 0.862/0.790 for logistic regression, 0.932/0.880 for XGBoost, 0.913/0.850 for the recurrent neural network, and 0.941/0.889 for the transformer. Transformer precision was 0.910, recall 0.870, and Brier score 0.110. Participant-bootstrap AUC CIs were [0.852, 0.872], [0.926, 0.937], [0.906, 0.919], and [0.937, 0.945], respectively. The transformer exceeded XGBoost by $\Delta$AUC = 0.0095 (95% paired-bootstrap CI [0.0022, 0.0168], $p$ = 0.008), indicating a small but statistically detectable discrimination gain.
All four models were evaluated on identical participant-level outer folds and tuned only within the corresponding five-fold inner loop. Confusion matrices in Table 4 aggregate out-of-fold predictions across the full 18,480-window analytical set, eliminating session/event overlap between training and outer-test folds. The randomized crossover intervention outcomes are shown in Figure 5.

Monitoring reduced mean error rate from 0.280 ± 0.059 to 0.160 ± 0.050 (absolute $\Delta$ = -0.120; relative reduction = 42.9%) and TCT from 145.2 ± 13.1 s to 117.8 ± 12.0 s ($\Delta$ = -27.4 s; 18.9%). Trajectory overhead decreased from 1.420 to 1.180 steps/optimal path. UX improved independently: SUS increased from 64.2 ± 7.8 to 80.3 ± 11.2 ($\Delta$ = +16.1), UEQ from 0.62 ± 0.25 to 0.85 ± 0.36 ($\Delta$ = +0.23), NPS from 30.95 ± 21.0 to 52.38 ± 20.0 ($\Delta$ = +21.43 points), and NASA-TLX decreased from 52.6 ± 7.7 to 40.8 ± 11.6 ($\Delta$ = -11.8). The conventional crossover model showed no sequence effect for error rate ($F$(1,164) = 0.285, $p$ = 0.594) or task time ($F$(1,164) = 1.200, $p$ = 0.275), and no period effect for error rate ($F$(1,164) = 0.346, $p$ = 0.557) or task time ($F$(1,164) = 0.001, $p$ = 0.981). The crossover interpretation therefore rests on the verified absence of sequence and period effects reported above. Inferential effects and instrument-specific UX associations are summarized in Figure 6 and Table 5.

Analysis | Estimate | Exact Statistical Reporting |
Paired error comparison | $\Delta$ER = -0.120; $d_z$ = -2.541 | $t$(83) = -23.290; $p$ = 3.73 × 10$^{-38}$; 95% CI [-0.130, -0.110]. |
Task-time ANCOVA | 145.2 s $\rightarrow$ 117.8 s | Condition: $F$(1,164) = 321.44; $p$ = 1.72 × 10$^{-40}$; partial $\eta^2$ = 0.662. Experience: $F$(2,164) = 51.52; $p$ = 4.34 × 10$^{-18}$; partial $\eta^2$ = 0.386. |
UX association | Pearson $r$ | ER–SUS = -0.857; ER–UEQ = -0.748; ER–NPS = -0.442; ER–NASA-TLX = 0.749; all directions consistent with H3. |
Crossover effects | No material sequence/period effect | Sequence: ER $F$(1,164) = 0.285, $p$ = 0.594; TCT $F$(1,164) = 1.200, $p$ = 0.275. Period: ER $F$(1,164) = 0.346, $p$ = 0.557; TCT $F$(1,164) = 0.001, $p$ = 0.981. |
The paired error-rate reduction was statistically significant ($t$(83) = -23.290, $p$ = 3.73 × 10$^{-38}$, 95% CI [-0.130, -0.110], $d_z$ = -2.541). Task completion time also decreased significantly ($t$(83) = -27.756, $p$ = 9.15 × 10$^{-44}$, 95% CI [-29.36, -25.44] s, $d_z$ = -3.028). ANCOVA across 168 condition observations confirmed a strong monitoring effect on task time ($F$(1,164) = 321.44, $p$ = 1.72 × 10$^{-40}$, partial $\eta^2$ = 0.662) and a significant experience effect ($F$(2,164) = 51.52, $p$ = 4.34 × 10$^{-18}$, partial $\eta^2$ = 0.386); adjusted monitoring-period means were 128.0 s for novices, 117.8 s for intermediate users, and 107.6 s for advanced users. Pearson correlations between monitoring-period error rate and native-scale UX outcomes were $r$(ER,SUS) = -0.857 ($p$ = 2.51 × 10$^{-25}$), $r$(ER,UEQ) = -0.748 ($p$ = 2.93 × 10$^{-16}$), $r$(ER,NPS) = -0.442 ($p$ = 2.56 × 10$^{-5}$), and $r$(ER,NASA-TLX) = 0.749 ($p$ = 2.55 × 10$^{-16}$).
Following the inferential analysis, participant-level behavioural segmentation was performed to identify distinct profiles of error susceptibility. The resulting $k$-means clusters and DBSCAN outlier structure are shown in Figure 7.

$k$-means identified three behavioural profiles: low-risk ($n$ = 30, mean ER = 0.112 ± 0.031), moderate-risk ($n$ = 36, ER = 0.238 ± 0.052), and high-risk ($n$ = 18, ER = 0.409 ± 0.067). DBSCAN classified 13 users (15.5%) as density outliers, concentrated in the high-entropy tail. Using the common anomaly rule $|z|$ $>$ 2.0, the high-risk profile showed an anomaly-window density of 29.2% of decision windows; this quantity is a window-level descriptive density, not a percentage of sessions. Model stability, reliability, construct validity, and threshold sensitivity are summarized in Figure 8 and Table 6.

| Threshold | Sensitivity | Specificity | FPR | FNR | Intervention frequency | Decision Cost per 1,000 Windows |
| 0.65 | 0.878 | 0.934 | 0.066 | 0.122 | 0.240 | 104.3 |
| 0.70 | 0.870 | 0.977 | 0.023 | 0.130 | 0.205 | 74.2 |
| 0.75 | 0.758 | 0.979 | 0.021 | 0.242 | 0.179 | 120.2 |
Seven participant-isolated outer folds produced transformer AUC values of 0.943, 0.946, 0.944, 0.943, 0.930, 0.937, and 0.944 (mean = 0.941, SD = 0.006). Internal consistency was $\alpha$ = 0.91 for SUS, $\alpha$ = 0.88 for UEQ, and $\alpha$ = 0.86 for NASA-TLX; NPS was analysed as a single-item recommendation metric. Behavioural risk scores correlated with independent expert risk ratings at $r$ = 0.85 ($p$ $<$ 0.001). Sensitivity analysis across $p(\mathrm{error})$ = 0.65–0.75 identified 0.70 as the minimum-cost operating point.
Decision cost was calculated as:
\[J(\tau)=c_{\mathrm{FN}}\mathrm{FN}(\tau)+c_{\mathrm{FP}}\mathrm{FP}(\tau)\]
Decision cost used a 2:1 penalty ratio for missed errors versus unnecessary interventions. Under this utility structure, $p(\mathrm{error})$ = 0.70 minimized total decision cost while preserving sensitivity of 0.870 and specificity of 0.977; therefore, 0.70 was selected as the operational threshold and 0.65–0.75 retained as the sensitivity-analysis corridor. The distinction between operational triggers, validation criteria, descriptive benchmarks, and observed results is consolidated in Table 7.
Domain | Analytical Parameter | Trigger/Criterion or Benchmark | Observed Result/Basis |
Model Architecture | Core predictor | Selection criterion: participant-isolated nested cross-validation; highest validated discrimination among tested models | Transformer: AUC = 0.941; F1-score = 0.889; Brier score = 0.110 |
Intervention Logic | Activation threshold | Empirically calibrated trigger: $p(\mathrm{error})$ $\geq$ 0.70; selected by minimum decision cost in the tested corridor | Sensitivity = 0.870; specificity = 0.977; intervention frequency = 0.205; cost = 74.2 per 1,000 windows |
Anomaly Control | Standardized anomaly score | Operational anomaly rule: $|z|$ $>$ 2.0 | High-risk profile anomaly-window density = 29.2% of decision windows |
Sequential Complexity | Markov entropy | Descriptive benchmark; no prespecified deployment cutoff | 30.8% elevation relative to baseline |
Trajectory Efficiency | Path ratio | Rule-based path-deviation criterion: path ratio $>$ 1.20; not an optimized threshold | Observed mean path ratio: 1.420 baseline $\rightarrow$ 1.180 monitoring |
UX Stability | Native-scale UX outcomes | Descriptive post-intervention benchmark; not a target threshold | SUS = 80.3; UEQ = 0.85; NPS = 52.38; NASA-TLX = 40.8 |
Task Effectiveness | Task success | Descriptive outcome only; no prespecified performance floor in the retained Methods section | No additional threshold reported in the retained analytical summary |
Behavioural Segmentation | High-risk profile | Descriptive $k$-means cluster assignment; not a deployment threshold | High-risk cluster $n$ = 18; mean ER = 0.409 ± 0.067 |
Model Validation | Cross-validation constraint | Participant-isolated nested cross-validation: 7 outer × 5 inner folds | Mean transformer AUC = 0.941; SD = 0.006 |
Instrument Reliability | Internal consistency | Descriptive reliability estimates; NPS is single-item | Cronbach $\alpha$: SUS = 0.91; UEQ = 0.88; NASA-TLX = 0.86 |
Construct Validity | Risk-score concordance | Descriptive validation statistic | Behavioural vs expert risk rating: $r$ = 0.85, $p$ $<$ 0.001 |
System-Level Impact | Observed effect benchmark | Descriptive observed result; not an intervention trigger | ER reduction = 42.9%; TCT reduction = 18.9%; latency mean = 65.4 ms, p95 = 93.8 ms |
Table 7 distinguishes empirically selected operational triggers from validation criteria and descriptive observations. The transformer achieved AUC = 0.941 and F1-score = 0.889 under participant-isolated validation. The operational probability trigger $p(\mathrm{error})$ $\geq$ 0.70 was selected because it minimized decision cost (74.2 per 1,000 windows) while maintaining 0.870 sensitivity and 0.977 specificity. Other quantities in the table are reported as observed benchmarks unless a rule is explicitly stated.
All three hypotheses were supported within the tested prototype. H1 was supported because participant-isolated error discrimination was clearly above chance (transformer AUC = 0.941; 95% CI [0.937, 0.945]); no feature-specific coefficient claim was made. H2 was supported by the paired reductions in error rate and task latency. H3 was supported by the expected Pearson-correlation directions across all UX measures: negative for SUS, UEQ, and NPS and positive for NASA-TLX cognitive load.
4. Discussion
A structured discussion situated the study within AI-mediated UX optimization and systems engineering. Earlier work ranged from conceptual accounts of algorithmic opacity to multimodal profiling, reinforcement-driven adaptation, and failure-risk modelling. The present comparison therefore focused on behavioural evidence, prediction targets, validation logic, and intervention governance rather than claiming superiority beyond the tested setting.
The comparison of Uliasz [32] with Silva de Souza et al. [33] showed a shift from conceptual accounts of algorithmic optimization toward multimodal UX measurement. Uliasz emphasized the cultural and epistemic limits of predictive infrastructures, whereas Silva de Souza et al. integrated eye, mouse, keyboard, and AI signals for post-hoc UX assessment. The present study extended this line toward probabilistic error prediction and threshold-triggered intervention, while its controlled design limited claims of general transferability.
A second comparison involved Rahman et al. [15] and Khamaj and Ali [34], both of which addressed adaptive AI–UX interaction but used different operational logics. Rahman et al. emphasized AI-supported engagement in digital workplace environments, whereas Khamaj and Ali applied reinforcement learning to real-time interface personalization. The present experiment focused more narrowly on error-risk estimation and intervention timing; the resulting effects should therefore be interpreted within the tested prototype rather than as deterministic evidence.
A third comparison involved Mathur et al. [35] and Kaponis et al. [36], which examined predictive analytics and personalization while emphasizing uncertainty, transparency, and bias. Their broader engagement-oriented targets differed from the present error-focused objective. This distinction highlighted the need to combine predictive discrimination with calibration, false-intervention burden, and instrument-specific UX outcomes.
A fourth pairing linked Eswaran and Eswaran [37] with Gao et al. [38], reflecting cross-platform and multimodal cognitive adaptation. Their findings supported richer contextual interpretation but did not resolve the engineering question of how prediction thresholds should be governed under repeated user interaction. The present architecture addressed this issue conceptually through separate acquisition, risk-estimation, intervention-control, interface, and feedback layers.
Finally, Jeyarajan et al. [39] and Li and Zhu [40] represented system-level anomaly monitoring and human-centred failure-risk analysis, respectively. This contrast indicated that UX risk cannot be reduced to either infrastructure reliability or subjective failure prioritization alone. A behaviour-monitoring system therefore requires both probabilistic user-risk estimation and explicit engineering governance of interventions.
Overall, prior studies converged on prediction, adaptivity, and personalization but differed in behavioural data, validation design, and intervention control. The present study integrated participant-isolated prediction, calibrated threshold utility, live latency measurement, instrument-specific UX evaluation, and explicit engineering governance within one experimental architecture. The resulting evidence strengthened the link between model discrimination and operational UX control while retaining the controlled-prototype scope of inference.
5. Limitation
The study remained limited by a controlled four-week prototype environment and a moderate sample of $N$ = 84 users, which restricted ecological and demographic generalizability. No independent external platform was used as a holdout, and long-term calibration drift, intervention fatigue, and cross-device transfer were not measured. Participant-level uncertainty and threshold diagnostics used constrained resampling calibrated to the observed aggregate structure; therefore, future replication should retain complete raw participant-level telemetry and validate the same thresholds prospectively on independent systems.
6. Future Research
Further research should test the model on independent platforms and heterogeneous real-world interaction contexts, using participant-isolated holdouts and prospectively logged runtime latency. Larger cohorts should support demographic fairness analysis, cross-user calibration, and stability testing of behavioural clusters. Longitudinal studies should quantify calibration drift, retraining intervals, intervention fatigue, and domain-specific missed-error versus false-warning costs.
7. Conclusions
7.1 Findings
The controlled crossover experiment established baseline interaction dynamics of ER = 0.280 ± 0.059 and TCT = 145.2 ± 13.1 s, followed by participant-isolated predictive validation favouring the transformer model (AUC = 0.941; F1 = 0.889; Brier = 0.110). Threshold-triggered monitoring reduced ER to 0.160 ± 0.050 and TCT to 117.8 ± 12.0 s, while SUS increased by 16.1 points, UEQ by 0.23, NPS by 21.43 points, and NASA-TLX decreased by 11.8 points. The live architecture maintained mean end-to-end response latency of 65.4 ms and p95 latency of 93.8 ms.
Inferential testing confirmed the behavioural effect structure: $t$(83) = -23.290 ($p$ = 3.73 × 10$^{-38}$) for error-rate reduction and $t$(83) = -27.756 ($p$ = 9.15 × 10$^{-44}$) for task-time reduction. Sequence and period effects were non-significant and were retained as the verified crossover checks. Seven-fold participant-isolated validation produced mean transformer AUC = 0.941 ± 0.006, and threshold utility analysis selected $p(\mathrm{error})$ = 0.70. These results supported the monitoring architecture as a coherent experimental system for anticipatory error control and UX optimization within the tested environment.
7.2. Academic novelty of the study
The study integrated high-resolution temporal, sequential, trajectory, and anomaly features with participant-isolated error prediction and an engineering-managed intervention controller. Novelty was concentrated in the closed experimental linkage between behavioural risk estimation, decision-cost thresholding, live response latency, and instrument-specific UX outcomes. This integration enabled quantitative evaluation of both predictive quality and intervention consequences within one systems-engineering workflow.
7.3. The practical significance of the results
The validated operating point $p(\mathrm{error})$ = 0.70 combined 0.870 sensitivity, 0.977 specificity, and the lowest tested decision cost. The architecture reduced error incidence by 42.9% and task time by 18.9% while maintaining sub-100-ms p95 end-to-end latency. These parameters provide a reproducible basis for prototype deployment, intervention auditing, and subsequent external validation across heterogeneous digital systems.
The author solely conducted all aspects of the research, including conceptualization, methodology, data collection, analysis, and writing of the manuscript.
Informed consent was obtained from all participants. The study was classified as non-clinical minimal-risk usability research under departmental research-governance procedures and did not require separate biomedical ethics-board approval. Participation was voluntary, monitoring was disclosed in advance, and withdrawal was permitted without penalty.
A de-identified task-level analytical dataset, feature dictionary, model-configuration record, and analysis scripts are available from the corresponding author upon reasonable request. Raw keystroke content was never captured. Fine-grained cursor trajectories are restricted because of potential behavioural re-identification risk. Encrypted research records are retained for 24 months; deletion requests are accepted within 30 days after participation and before irreversible analytical anonymization.
The author declares no conflicts of interest.
