Next Article in Journal
Comparative Study on Aerodynamic Performance of VAWTs with Different Airfoils Under Dimple-Gurney Flap Synergistic Control
Previous Article in Journal
Active Learning in Engineering Education: A Case Study from a Digital Logic Design Course
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Explainable Neuro-Symbolic Framework for Online Exam Cheating Detection

by
Turgut Özseven
1,* and
Beyza Esin Özseven
2
1
Department of Computer Engineering, Tokat Gaziosmanpasa University, Tokat 60100, Türkiye
2
Republic of Turkey Ministry of National Education, Tokat 60300, Türkiye
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(6), 2884; https://doi.org/10.3390/app16062884
Submission received: 23 February 2026 / Revised: 6 March 2026 / Accepted: 9 March 2026 / Published: 17 March 2026

Abstract

With the proliferation of online examination systems, protecting academic integrity and reliably detecting cheating have become significant research problems. Current AI-based online monitoring systems can achieve high accuracy by analyzing visual behavioral cues; however, their often black-box nature limits their explainability, reliability, and legal compliance (e.g., GDPR). In contrast, while rule-based approaches are interpretable, they are insufficient for generalizing complex and ambiguous human behaviors. This study proposes an explainable neuro-symbolic framework combining data-driven learning with symbolic reasoning for cheating detection in online exams. The proposed framework comprises three main layers: a neural perceptron layer that generates a suspicious behavior score; a symbolic reasoning layer comprising ANFIS and ILP methods to increase explainability and manage ambiguity; and a neuro-symbolic fusion layer that integrates these two layers. The success of the proposed framework for plagiarism detection was evaluated using a dataset containing visual–behavioral features such as gaze behavior, head pose, hand-object interaction, and device usage, along with the XGBoost method at the neural perceptron layer. Experimental results show that the proposed approach achieves high detection success and supports decision-making using logical rules, thereby reducing false positives. In this respect, the study offers an ethical, transparent, and reliable solution for online exam security.

1. Introduction

In recent years, online education and distance assessment systems have become an indispensable part of higher education worldwide [1,2]. Studies show that cheating rates on online exams have increased significantly compared to in-person exams, and that students are developing new methods of cheating using technological tools [3,4,5]. This situation not only threatens the validity of assessment processes but also undermines the credibility of educational institutions. This need has increased interest in AI-based online monitoring (AI proctoring) systems that offer scalable, automated solutions [6,7].
In the current literature, deep learning and machine learning methods achieve high accuracy in cheating detection from visual–behavioral data [8,9]. However, many of these approaches rely on black-box models that fail to explain decision-making processes in a way that is understandable to humans [10,11,12,13]. This situation creates ethical risks, particularly the false positives that could blame innocent students, and contradicts the transparency and accountability requirements of automated decision-making systems. In contrast, while rule-based and symbolic systems offer high interpretability, they are limited in modeling the uncertain, context-dependent nature of human behavior. This creates the problem of not being able to justify model outputs, especially in sensitive areas such as academic assessment. Furthermore, it contradicts students’ rights to challenge and demand explanations for automated decisions under legal regulations, such as Article 22 of the European Union General Data Protection Regulation (GDPR) [14], and raises ethical concerns [13].
Although rule-based and symbolic systems offer high explainability, they fall short in generalizing complex and variable behavioral patterns. In this context, Neuro-Symbolic AI, referred to as the third wave in artificial intelligence research, aims to combine the power of data-driven learning with the transparency of symbolic reasoning [12,15,16]. Neuro-symbolic systems aim to integrate neural networks’ ability to learn features from complex, noisy data with the advantages of symbolic systems in terms of logical consistency and explainability [12,13].
This study proposes an interpretable-by-design neuro-symbolic framework for cheating detection in online exams. The proposed framework consists of a Neural Perceptron Layer (NPL) that generates a continuous suspicious behavior score from visual–behavioral cues, a symbolic reasoning layer (SRL) based on fuzzy rules managing ambiguities, and ANFIS and Inductive Logic Programming (ILP) ensuring logical consistency, and a neuro-symbolic fusion layer (NSFL) that integrates neural and symbolic outputs in a trust-aware manner. This structure aims to provide a transparent, reliable, and ethical solution for online exam supervision by not only offering high detection accuracy but also clearly revealing the behavioral and logical justifications behind each decision.
The main contributions of this work are summarized as follows:
  • A hybrid neuro-symbolic framework combining XGBoost, ANFIS, and ILP for online exam cheating detection.
  • A confidence-aware fusion mechanism where symbolic violations dynamically regulate neural decisions.
  • An interpretable-by-design explanation layer producing rule-based justifications instead of post hoc explanations.
  • Extensive experimental validation on a public dataset demonstrating high accuracy with reduced false positives.
The remainder of this paper is organized as follows. Section 2 reviews related work on AI-based online exam monitoring, explainable AI, and neuro-symbolic approaches. Section 3 presents the proposed neuro-symbolic framework, detailing the Neural Perception Layer (NPL), the Symbolic Reasoning Layer (SRL), and the Neuro-Symbolic Fusion Layer (NSFL). Section 4 describes the experimental setup, performance evaluation metrics, and empirical results, including statistical and logical analyses. Section 5 discusses the findings in relation to the literature, trustworthiness considerations, and system limitations. Finally, Section 6 concludes the paper and outlines directions for future research.

2. Related Works

Studies aimed at automatically detecting cheating and suspicious student behavior in online exams have increased significantly in recent years, driven by advances in computer vision, machine learning, and artificial intelligence. Research conducted after the COVID-19 pandemic shows that academic integrity violations have become widespread in remote assessment environments, and students have developed new cheating methods using tools such as secondary devices, screen sharing, and generative AI. This has increased interest in AI proctoring systems that offer scalable and automated solutions [4]. These systems generally aim to detect suspicious activity by analyzing students’ behavior during exams. Camera-based solutions, in particular, focus on identifying cheating behavior by using visual cues such as facial expressions, eye movements, and head movements [17,18,19,20]. These models can learn temporal behavioral patterns that emerge throughout the exam, going beyond mere snapshots [21].

2.1. Deep Learning and Machine Learning Approaches

Much of the current research relies on deep learning and computer vision-based approaches. Convolutional Neural Network (CNN)-based object detection models and face analysis methods have achieved high accuracy in tasks such as multi-person detection, head pose estimation, and forbidden object detection [9,17,18]. In addition, LSTM- and RNN-based architectures have been widely used for temporal modeling of behavioral signals, such as gaze direction and head movements [17,19,20]. These models can learn temporal behavioral patterns that emerge throughout the exam, going beyond mere snapshots [21]. While these approaches are effective in capturing behavioral patterns during online exams, they mostly remain black-box models [10]. Kamalov et al. [20] proposed a machine learning framework based on structured behavioral indicators, demonstrating effective discrimination performance but without integrating visual–behavioral reasoning or interpretability mechanisms. Essahraui et al. [9] employed convolutional neural networks (CNNs) to detect suspicious head-object interactions in webcam recordings. Similarly, Alkhalisy and Abid [17] applied deep learning models with data augmentation to improve abnormal behavior detection accuracy. While these approaches exhibit strong perceptual modeling capacity, they function as black-box systems without embedded logical reasoning.
Due to the limitations of single behavioral cues, multimodal approaches have gained prominence in recent years. Systems that consider multiple visual cues together, such as head pose, gaze behavior, hand-object interaction, and device use, have improved cheating-detection performance. However, most of these systems fail to clearly explain which combinations of behaviors the decisions are based on and are evaluated solely on high-accuracy metrics [22].
Across these approaches, a common limitation emerges: high predictive accuracy is achieved, yet logical constraints and deterministic-violation reasoning are not embedded in the inference pipeline. Decisions remain predominantly probabilistic.

2.2. Explainable AI in Online Proctoring

Within the scope of Explainable Artificial Intelligence (XAI), post-hoc explanation methods such as SHAP, LIME, and Grad-CAM [23,24] have been used to interpret model decisions in online exam supervision systems [25,26,27,28,29]. While these methods can show which features influenced a particular decision, they are insufficient to explain the model’s decision-making mechanism in a logical causal chain [30]. Furthermore, such explanations are generated after the model, and the decision-making process itself remains a black box [23,31,32]. These limitations pose a significant problem, especially in online exam environments where false positives incur high ethical costs [32]. GDPR and similar regulations require automated decision-making systems to be transparent and justifiable [33]. In this context, there is a need not only for models that offer high accuracy but also for systems that can clearly explain why decisions were made.
Arrieta et al. [23] provide a comprehensive taxonomy of XAI methods, distinguishing between inherently interpretable models and post hoc explanation approaches. In practice, many proctoring systems rely on SHAP or LIME to interpret model outputs [25]. Erdem and Karabatak [27] utilized XGBoost for unethical behavior detection and incorporated SHAP and LIME as post hoc explanation tools. Although feature importance information was provided, the explanation mechanism was external to the decision-making process. Liu et al. [28] introduced a multiple-instance learning framework for cheating localization in video streams, focusing on spatial attention rather than rule-level interpretability. Ortin et al. [29] developed a machine learning assistant for detecting fraudulent activities in programming exams, emphasizing classification performance over symbolic transparency.
However, post hoc methods attribute feature importance after a decision has been made and do not structurally modify the reasoning process itself. Regulatory discussions concerning automated decision-making under GDPR Article 22 emphasize that meaningful transparency requires justifiable reasoning mechanisms rather than surface-level attribution [13,14]. Therefore, while XAI techniques improve interpretability, they do not inherently guarantee logical consistency or reduce ethically problematic false-positive outcomes.

2.3. Neuro-Symbolic AI Approaches

There is a need not only for models that offer high accuracy but also for systems that can clearly explain why decisions were made. In recent years, neuro-symbolic AI approaches that combine the perceptual learning power of neural networks with the explainability of symbolic reasoning have emerged to address this need [12,34]. Neuro-symbolic systems learn features from complex, noisy visual data using neural models, supporting decision-making with logical rules expressed in the IF–THEN format [30]. While fuzzy logic and AN-FIS-based approaches offer advantages for modeling uncertainty in human behavior, ILP enables the explicit representation of causal relationships among behaviors [35].
Within the domain of online exam monitoring, neuro-symbolic integration remains limited. Most existing proctoring systems rely either on purely neural discrimination [9,17,28] or rigid rule-based heuristics, without combining graded fuzzy reasoning and deterministic logical violation detection within a unified fusion mechanism.

2.4. Positioning of the Proposed Framework

The proposed framework differs from prior work in several key aspects. First, unlike deep learning-based proctoring systems [9,17,27,28], symbolic reasoning is embedded directly within the inference pipeline rather than applied as a post hoc explanation. Second, unlike purely rule-based systems, the framework retains neural flexibility for modeling complex and ambiguous behavioral patterns. Third, unlike general neuro-symbolic architectures surveyed in [15,16,34,35], the proposed model introduces a confidence-aware fusion mechanism in which ILP-based logical violations dynamically regulate neural dominance.
By integrating XGBoost-based neural perception, ANFIS-based fuzzy reasoning, ILP-based deterministic violation detection, and trust-aware fusion, the framework aims to balance discrimination power, logical consistency, and ethical robustness. In this respect, it addresses the limitations of purely statistical or purely symbolic systems and provides an interpretable-by-design alternative for high-stakes online exam monitoring.

3. Proposed Neuro-Symbolic Framework

This study proposes an explainable hybrid neuro-symbolic framework for detecting suspicious student behavior in online exams. The proposed framework integrates machine learning or deep learning-based NPLs that learn from multimodal behavioral data with SRL mechanisms that involve automated or manual rule inference. The general architecture of the proposed framework is shown in Figure 1.
Before presenting the overall architecture in Figure 1, we briefly summarize the main symbols used throughout the framework. S B S n e u r a l denotes the continuous suspicious behavior score generated by the NPL, while S B S a n f i s represents the fuzzy symbolic suspicion score produced by the ANFIS module. I L P s c o r e { 0 , 1 } indicates whether a deterministic logical violation is detected. The fusion coefficient α [ 0 , 1 ] controls the confidence-weighted integration of neural and symbolic outputs. Detailed mathematical formulations are provided in Section 3.1, Section 3.2 and Section 3.3.
The proposed framework initially involves feeding the model features such as face, gaze, head pose, hand interaction, and phone presence. Geometric (e.g., angles, distances, orientations) and behavioral (e.g., gaze deviation, hand-face distance, phone confidence) features are derived from these in the feature engineering layer. These features are used as input to the classifier (XGBoost was used for the experimental study) in the NPL. The NPL outputs a continuous Suspicious Behavior Score (SBSneural) and a neural confidence score (confneural) that reflect the model’s level of instability. The NPL output is fed into two parallel symbolic reasoning layers. SRL-ANFIS derives soft rules from continuous features using fuzzy reasoning. SRL-ILP detects hard-rule violations using binary propositions and neural threshold information, with logical reasoning. In the final stage, the neural and symbolic outputs are combined in the fusion layer. Detailed descriptions of the three main layers (NPL, SRL, and NSFL) of the proposed framework are provided in the subsections below.

3.1. Neural Perception Layer (NPL)

This layer acts as the perceptual component of the proposed framework. Its primary goal is to generate a continuous SBSneural using behavioral features derived from raw visual cues, providing background information to the symbolic reasoning layers. In this context, the NPL provides a probabilistic, data-driven assessment. It learns complex and nonlinear behavioral patterns that symbolic rules alone cannot capture and generates a risk estimate for the final decision. However, it is not the sole decision-maker.
XGBoost was chosen for the experimental study due to its superior performance with high-dimensional behavioral features, its ability to model non-linear feature interactions explicitly, its stable learning on relatively small and unbalanced datasets, and its partial explainability through feature importance. XGBoost is a powerful ensemble method that learns decision trees sequentially using the gradient boosting principle, and it is widely used in human behavior modeling, action recognition, and surveillance-based anomaly detection [36].
The XGBoost model is defined as an ensemble of K decision trees:
y ^ = k = 1 K f k x , f k F ,
where
  • y ^ denotes the model prediction;
  • x R d represents the input feature vector;
  • k = 1 , , K denotes the index of the decision trees and K is the total number of trees;
  • f k denotes the k -th decision tree;
  • F is the space of regression trees.
  • K is the total number of trees.
Objective function:
L = i = 1 n l ( y i , y ^ i ) + k = 1 K Ω ( f k )
where
  • i = 1 , , n denotes the training samples;
  • k = 1 , , K denotes the index of decision trees;
  • y i is the ground-truth label for sample i ;
  • y ^ i is the predicted value;
  • l ( ) denotes the loss function.
Ω ( f ) = γ T + 1 2 λ j = 1 T w j 2
where
  • j = 1 , , T denotes the leaf index of the decision tree;
  • T k denotes the number of leaves in tree f k ;
  • w k represents the leaf weights;
  • γ and λ are regularization coefficients.
This structure prevents overlearning and increases the generalizability of behavioral patterns.
The NPL output represents the degree of suspicion of SBSneural behavior. This output is not a definitive decision but a probabilistic risk measure that yields continuous values between 0 and 1 ( S B S n e u r a l [ 0,1 ] ).
This reflects the level of instability of the confneural model, another output of NPL ( conf n e u r a l = S B S n e u r a l 0.5 ). This output is defined by the neural layer’s decision confidence and the distance of the output from the center of uncertainty. If S B S n e u r a l 0.5 , the model is interpreted as unstable; if S B S n e u r a l is 0 or 1, it is interpreted as high confidence. This approach is consistent with methods known in the literature as margin-based confidence estimation [37].
The outputs of the NPL are used directly as input for the SRL-ANFIS as a continuous behavior signal. For the SRL-ILP, they are thresholded and converted into a logical proposition using the equation below.
I L P s c o r e = n e u r a l h i g h , S B S n e u r a l > 0.7 , n e u r a l m e d i u m , 0.4 < S B S n e u r a l S B S n e u r a l 0.7 , n e u r a l l o w , S B S n e u r a l 0.4 .
The thresholds (0.4 and 0.7) used in Equation (4) to convert the continuous S B S n e u r a l score into symbolic predicates (neural_low, neural_medium, neural_high) were determined through a validation-driven empirical analysis rather than arbitrary selection.
First, the distribution of S B S n e u r a l scores on the validation set was examined and found to exhibit a bimodal structure, with natural density concentrations below 0.4 and above 0.7 corresponding predominantly to non-cheating and cheating instances, respectively.
Second, a sensitivity analysis was conducted by evaluating candidate threshold pairs within the interval [0.3–0.8]. The 0.7 threshold was selected as it corresponded to the region where precision increased sharply while maintaining high recall. Similarly, 0.4 was chosen as the boundary below which the false positive rate remained consistently low.
Finally, a three-level discretization (low–medium–high) was intentionally preferred to balance symbolic expressiveness and rule complexity. Finer discretizations increased rule fragmentation without improving logical adherence or fidelity metrics.
Therefore, the selected thresholds reflect a combination of empirical validation performance and symbolic modeling considerations.
NPLs are learnable and data-driven, but they lack ultimate decision-making authority. This architecture aims to balance the black-box problem in pure deep learning approaches with the lack of flexibility in pure rule-based systems.

3.2. Symbolic Reasoning Layers (SRL)

This layer consists of ANFIS, based on Subtractive Clustering, and ILP components for logical consistency checking, using fuzzy and logical inference mechanisms together. This dual structure aims not only to improve classification accuracy but also to provide interpretability, rule generalizability, and logical consistency simultaneously.
In classic ANFIS approaches, membership functions are defined manually, leading to a combinatorial explosion in the number of rules through grid partitioning [38]. Therefore, the Subtractive Clustering method was preferred. This is because this method automatically identifies rule centers from data, scales to high-dimensional behavioral features, and reduces reliance on manual expert definition. This approach is particularly recommended in the literature for problems in behavior analysis, human action recognition, and unsupervised rule discovery [38]. The ANFIS input vector consists of behavioral features included in the feature set, such as head pitch and gaze deviation ( x = [ x 1 , x 2 , , x d ] ). The output is a fuzzy rule-based suspicion score ( S B S a n f i s [ 0,1 ] ).
ANFIS represents each behavioral feature as a fuzzy set. The Gaussian membership function is defined as follows:
μ A i x = exp x c i ) 2 2 σ i 2 ,
where c i   and σ i are the center and dispersion parameters, respectively. These parameters are learned during training.
Each fuzzy rule k , where k = 1 , , R , is defined as:
R k : IF   x i 1   is   A k 1 x i d   is   A k d   THEN   f k ( x ~ i ) ,
where
  • A k j denotes the fuzzy set (Gaussian membership function) associated with feature j in rule k ;
  • R is the total number of fuzzy rules;
  • i = 1 , , R denotes the fuzzy rule index.
The membership function is defined as:
μ A i x = exp x i j c k j ) 2 2 σ j 2 ,   j = 1 , , d .
The firing strength of rule k for sample i is:
w k ( x ~ i ) = j = 1 d μ k j ( x i j ) , k = 1 , , R .
Normalized firing strength:
w ˉ k ( x ~ i ) = w k ( x ~ i ) r = 1 R w r ( x ~ i ) , k = 1 , , R .
The ANFIS output is computed as:
S B S a n f i s = k = 1 R w ˉ k ( x ~ i ) f k ( x ~ i ) .
SBSanfis represents the fuzzy rule-based suspicion score.
ANFIS’s decision confidence is defined by the firing strength of the most dominant rule:
conf s y m b o l i c = m a x i = 1 , ,   R ( w i ) .
This definition directly reflects “how strongly the model fits a particular behavioral pattern”.
Models like ANFIS and XGBoost generate continuous scores. However, they cannot guarantee against logical inconsistencies (e.g., looking at the screen + phone active). This is where ILP comes in: it represents precise behavioral violations and provides logical rule transparency close to human expertise, while also increasing symbolic explainability [39]. To ensure methodological transparency and reproducibility, the ILP component was implemented using the Aleph ILP system, a Prolog-based inverse entailment system derived from the Progol framework. Aleph was selected due to its explicit language bias control, robustness to moderate noise levels, and suitability for structured relational data. Each instance in the dataset was transformed into a set of logical facts. Continuous features were thresholded using validation-optimized cut-off values to obtain binary predicates. Positive and negative examples were designed as ILPscore. With ILP, behavioral observations are expressed as facts. Continuous traits are thresholded and transformed into binary propositions. For example:
gaze _ away g a z e _ d e v i a t i o n > δ g , phone _ active p h o n e _ c o n f > δ p .
High-risk situation originating from the NPL:
neural _ high S B S n e u r a l τ .
Example ILP Rule:
cheating: gaze_away, phone_active, neural_high.
ILP output:
I L P s c o r e 0 , 1 .
This output does not generate possibilities; it merely serves as a flag for a logical violation.

3.3. Neuro-Symbolic Fusion Layer (NSFL)

This layer is the core decision component of the proposed architecture, aiming to dynamically and confidently combine data-driven (neural) and rule-based (symbolic) inferences. The fundamental motivation behind this layer is that neural models are probabilistic, flexible, and noise-tolerant, while symbolic models are interpretable and logically consistent. However, both approaches have critical weaknesses when used alone. Therefore, the fusion layer is designed as a unique mechanism that applies logical pressure on probabilistic scores using instance-wise weighting rather than static weights.
NSFL uses three main pieces of information: SBSneural, SBSanfis, and ILPscore. In addition, confidence measures (confneural, confsymbolic) for both inferences are used. The symbolic confidence c o n f s y m b o l i c is derived from the ANFIS reasoning layer and corresponds to the maximum normalized firing strength of the activated fuzzy rules, as defined in Section 3.2.
Neural and symbolic inferences are combined using the following normalized confidence ratio:
Let
  • c o n f n e u r a l [ 0 , 1 ] be the neural confidence;
  • c o n f s y m b o l i c [ 0 , 1 ] be the symbolic confidence.
The base fusion coefficient is defined as:
α = conf n e u r a l conf n e u r a l + conf s y m b o l i c + ε ,
where ϵ = 10 6 is a small constant preventing division by zero.
Thus
  • α b a s e 1 when neural confidence dominates;
  • α b a s e 0 when symbolic confidence dominates.
One of the key original contributions of this study is that ILP does not make direct decisions; instead, it penalizes the fusion coefficient for a logical violation.
IF   I L P s c o r e = 1 : α α 1 β ,
where β [ 0,1 ] is the logical pressure coefficient and high β is a significant reduction in neural effect in cases of severe rule violations.
Thanks to this mechanism, even if the NPL produces a high score, symbolic inference takes precedence if a logically unacceptable situation arises. This approach is a softened, differentiated equivalent of the “logic overrides neural output” principle, frequently seen in classical neuro-symbolic systems.
After ILP modulation, the final suspicious behavior score is calculated as follows:
S B S f i n a l = α S B S n e u r a l + 1 α S B S a n f i s .
This score is continuously decomposable into interpretable components that simultaneously incorporate confidence and logical information.
The NSFL output is presented with S B S n e u r a l and conf n e u r a l , along with the fires, ANFIS rules, w r , the activated ILP rules, and final α and β effect components.

3.4. Final Decision and Explainable Output Layers

3.4.1. Final Decision Layer

The SBSfinal, generated by NSFL, is compared with the system’s decision threshold to determine the class label.
Decision = Cheating , if   S B S f i n a l τ , Non - Cheating , otherwise .
where τ [ 0,1 ] is the decision threshold optimized on the validation set. A low τ provides high sensitivity (recall) and a high τ provides a low false positive rate.
This thresholding approach is commonly used in high-risk and cost-asymmetric scenarios, such as online exam proctoring, because the cost of false positives (blaming an innocent student) is high.

3.4.2. Explainable Output Layer

The proposed framework not only generates a class label but also provides a multi-layered output explaining why and how the decision was made. This approach addresses the transparency and accountability requirements that are critical to educational technologies and AI proctoring systems.
For each instance, the system generates ANFIS, a neural, expert-readable symbolic explanation revealing which visual–behavioral cues the decision was based on, and ILP elements clearly demonstrating the logical reasoning behind the decision, creating end-to-end decision rationale at the fusion layer.
Thanks to the Explainable Output design, instructors and examiners, students, institutions, and supervisory authorities can question, verify, and develop appeal mechanisms for the system’s decisions. In this respect, the proposed approach offers a direct response to criticisms of “black-box proctoring systems” and concerns about fairness, transparency, and ethics.

4. Experimental Study and Results

In this section, the performance of the proposed neuro-symbolic framework was evaluated using the “Students’ Suspicious Behaviors Detection Dataset” [40]. The experiments aimed to measure the system’s accuracy in detecting fraud and the explainability of its decisions.

4.1. Experimental Setup

The experimental evaluation was conducted using the publicly available Students’ Suspicious Behaviors Detection Dataset [40], hosted on Mendeley Data. The dataset is openly accessible via its DOI (as cited in [40]), ensuring full reproducibility and independent verification of the experiments. The dataset was accessed in its original, unmodified form. The data consist of webcam-recorded video segments collected from more than 30 participants under controlled online examination scenarios. Recordings were captured at 20 frames per second (fps) and processed using MediaPipe and OpenCV libraries to extract structured visual–behavioral features. The dataset includes predefined suspicious behaviors such as gaze deviation, mobile phone usage, hand-object interaction, and multiple face presence. These behaviors were intentionally staged in controlled settings to simulate realistic cheating scenarios. The final processed dataset contains 5500 labeled video-frame samples, each with 37 extracted behavioral features. The class distribution between cheating and non-cheating instances is approximately balanced, reducing class imbalance bias. Labels were assigned according to behavioral criteria defined in the original dataset documentation [40]. A sample was labeled as “cheating” when at least one predefined suspicious behavior was present; otherwise, it was labeled as “non-cheating”. No additional annotation, synthetic data generation, or augmentation was performed by the authors. All experiments were conducted using this publicly available dataset without modification, enabling full reproducibility of the reported results. The dataset, consisting of 5500 labeled samples, was divided using a stratified 80/20 split, preserving the class distribution between cheating and non-cheating instances.
To ensure robustness and reduce split-dependent variance, 5-fold stratified cross-validation was performed on the training set during hyperparameter selection (including XGBoost parameters, clustering radius selection, and decision thresholds). This procedure was used solely for model selection and stability assessment. The final reported performance metrics correspond to the held-out test set, which was strictly separated from the training process and not used during model tuning.
All threshold values (including neural discretization thresholds and fusion parameters) were fixed prior to final test evaluation to prevent optimistic bias.
All experiments were conducted in a Google Colab [41] environment using Python 3.10. The main libraries used in the experiments include NumPy, pandas, scikit-learn, XGBoost, OpenCV, and MediaPipe, for data processing, feature extraction, and model training. Min–max normalization was applied to numerical features, and NaN/Inf cleaning was applied for infinite or undefined values. Derived features representing geometric relationships were obtained. As a result of these processes, two separate feature sets were created with dimensions X R 5500 × 24 for NPL and X R 5500 × 9 for SRL.
In NPL, the features “face_present, no_of_face, face_conf, head_pitch, head_yaw, head_roll, gaze_on_script, phone_present, phone_conf, hand_count, hand_obj_interaction, gaze_x_norm, gaze_y_norm, gaze_entropy, pupil_left_norm, pupil_right_norm, label” were taken from the dataset and “pupil_dist, gaze_deviation, face_center_offset, head_motion_score, eye_asymmetry, hand_face_distance, face_area” features were derived. SRL includes the features “head_pitch, head_yaw, gaze_on_script, phone_present, hand_obj_interaction, no_of_face, gaze_deviation, phone_conf, hand_face_distance”. The mathematical expression for the derived features obtained from raw visual–behavioral data is given below.
h e a d _ m o t i o n _ s c o r e = pitch 2 + yaw 2 + roll 2 ,
p u p i l _ d i s t = p r x p l x ) 2 + ( p r y p l y ) 2 ,
g a z e _ d e v i a t i o n = g x x f 2 + g y y f 2 ,
f a c e _ c e n t e r _ o f f s e t = x f x c ) 2 + ( y f y c ) 2 ,
e y e _ a s y m m e t r y = l x r x + l y r y ,
h a n d _ f a c e _ d i s t a n c e = x h x f ) 2 + ( y h y f ) 2 ,
f a c e _ a r e a = f a c e w f a c e h .
The derived features are defined as follows: p r x , p r y are the x and y coordinates of the right pupil, p l x , p l y are the x and y coordinates of the left pupil, g x , g y are the x and y coordinates of the gaze point, f a c e x , f a c e y are the left-top corner coordinates of the face bounding box, f a c e w , f a c e h are the width and height values of the face bounding box, x f = f a c e x + f a c e w 2 , y f = f a c e y + f a c e h 2 ,   x c , y c are the x and y coordinates of the camera/screen center, l x , l y are the x and y coordinates of the left eye center, and r x , r y are the x and y coordinates of the right eye center.
pupil_dist defines the Euclidean distance between the pupils to measure eye opening and gaze stability [42]. head_motion_score is a composite score representing the total angular magnitude of head pose. gaze_deviation is defined to measure how much the gaze deviates from the center of the screen or the center of the face [43]. face_center_offset is used to measure the stability of posture in front of the camera [44]. eye_asymmetry represents the measurement of asymmetry between the positions of the two eyes using the L1 (Manhattan) distance. hand_face_distance is a Euclidean distance metric that measures the geometric distance of the hand from the center of the face [4]. face_area defines the normalized area of the face in the image.

4.2. Performance Evaluation Metrics

To comprehensively evaluate the performance of the proposed framework, metrics were used in two categories: classification performance and explainability quality.
In unbalanced datasets, the accuracy metric alone can be misleading [8]. It is critical that the model does not miss rare attempts at cheating and does not unfairly accuse innocent students. In this context, accuracy [27], precision [16], recall [19], F1-score [27], and ROC-AUC [27] metrics were used.
The core contribution of this study, explainability, was evaluated using quantitative and qualitative metrics, unlike standard deep learning studies. Logic Adherence/Fidelity was used to measure how consistent the rules generated by SRL were with the patterns in the dataset [45]. The number and length of generated rules were analyzed using Rule Complexity. Fewer, shorter rules result in a higher explainability score because they are easier for instructors to understand [46].

4.3. Experimental Results

4.3.1. NPL (XGBoost) Experimental Results

In the NPL, the XGBoost method was trained to generate probabilities of suspicious behavior (SBSneural) using raw and derived continuous visual features. Model training was performed while maintaining sample-based discrimination between the training and test sets. Hyperparameters were determined by grid search on the validation set. The results show that the XGBoost-based NPL alone offers extremely high discrimination (Accuracy: 0.9953, Precision: 0.9966, Recall: 0.9935, F1-Score: 0.9995, ROC-AUC: 0.9999).
The feature significance calculated by XGBoost clearly reveals the dominance of behavioral cues. Table 1 lists the features with the most distinctive characteristics used.
This distribution shows that copy behaviors are captured through semantic and behavioral interactions rather than by a single geometric measure. When features were examined according to their geometric and physical roles, gaze_deviation, head_yaw, pupil_left_norm/pupil_right_norm, and face_center_offset contributed moderately. Some features (face_present, hand_count, gaze_entropy) had low importance. This does not mean that they are superfluous. On the contrary, edge-case behaviors play a critical role in SRL as rule-triggering signals. This is an important finding showing that NPL and SRL work complementarily. In this context, NPL knows very well what to learn, and SRL explains why a particular decision was made. Therefore, SRL is essential not for improving performance, but for reliability, explainability, and rule control.

4.3.2. SRL Experimental Results

In this section, the continuous and probabilistic outputs generated by NPLs are interpreted through a rule-based symbolic inference mechanism. The goal is to transform high-performance, opaque neural decisions into human-understandable behavioral rules.
In the SRL analysis process, the membership functions and the number of rules in the ANFIS model were automatically determined using the subtractive clustering method. The model’s training parameters were set as Epoch = 100, StepSize = 0.01, Radius = 0.1, and ErrorGoal = 0. In rule-based ANFIS learning, the model’s input is 9 features, and the output is SBSneural. The results obtained for ANFIS show that it has a high power to distinguish between cheating and non-cheating behaviors (Accuracy: 0.8651, Precision: 0.9012, Recall: 0.8049, F1-Score: 0.8503, ROC-AUC: 0.9290).
These results exhibit a conservative decision profile that prioritizes minimizing false accusations rather than maximizing sensitivity. While accuracy (0.8651) is lower than that of the neural perception layer, this result highlights ANFIS’s complementary role as a soft, interpretable constraint rather than the ultimate decision-maker. Furthermore, the results show that a high True Positive Rate (TPR) is achieved even at low False Positive Rate (FPR) levels. This confirms that ANFIS can create a more flexible decision boundary than methods based on sharp thresholds by modeling continuous behavioral signals (e.g., head angle, gaze deviation, hand-object interaction) using fuzzy membership functions.
ANFIS automatically generated 10 fuzzy rules, each corresponding to a different set of behaviors. The rules are expressed in IF-THEN form. The three most important rules are listed in Table 2.
The learned rules show that high gaze deviation is a dominant symbolic factor across all clusters. In contrast, phone-related and hand interaction cues differentiate high-risk patterns from medium-risk ones. Rules with high support rates represent common behavioral patterns, while rules with low support rates capture rare but highly suspicious cases.
The ANFIS layer provides soft and interpretable symbolic rules that can model graded behavioral patterns, but it does not explicitly enforce strict logical constraints. Specifically, certain combinations of behaviors, such as simultaneous gaze deviation and phone use, represent definite breaches of exam integrity and should be recorded deterministically. To address this limitation, ILP was used. The ILP approach aims to generate human-readable rules that explicitly express causal and relational structures among student behaviors by modeling thresholded behavioral indicators using attributes derived from NPL as logical predictors.
Therefore, the outputs of the symbolic reasoning layer directly influence the final decision, and this influence is embodied through the trust-aware neuro-symbolic fusion and final decision-making mechanism discussed in the next section.

4.3.3. NSFL Experimental Results

This section analyzes how sustained doubt scores from NPL and symbolic inferences from SRL (ANFIS + ILP) are integrated through the proposed trust-awareness fusion mechanism and how they influence the final decision-making process.
The final model obtained after NSFL achieved an ROC–AUC of 0.9956. This value is lower than that of NPL (ROC–AUC: 0.9999) and is the expected result of implementing symbolic constraints. In contrast, the fusion model provides high accuracy and stable class performance. A layer-based comparison is given in Table 3. The comparative ROC curve of NPL and NSFL is shown in Figure 2.
It should be noted that NPL, SRL, and NSFL are not independent competing classifiers but interdependent components of a unified neuro-symbolic architecture. Therefore, the layer-wise comparison presented in Table 3 aims to illustrate functional contribution rather than to establish superiority claims. The modest performance differences are structurally induced by the symbolic regulation mechanism rather than random variation.
When the ROC curves are examined, it shows that NSFL runs very close to NPL in the low false-positive region, but offers a more reliable decision boundary thanks to the suppression of logical inconsistencies. Thus, it aims to reduce false positives and increase decision reliability. Therefore, this modest decrease in performance should be considered a significant gain in exchange for the system’s ethical, explainable decision-making.
The proposed fusion mechanism determines the relative contributions of the NPL and SRL components with α, a dynamic weight based on trust. Experimental results show that the average α coefficient is 0.313. This value indicates that the system generally gives more weight to symbolic reasoning, but neural perception is not entirely suppressed. To analyze the effect of logical violations on the fusion process, cases in which ILP rules were triggered and those in which they were not were examined separately. According to the results, the average α value decreased to 0.232 in samples with violations (ILP = 1), whereas it was 0.326 in samples without logical violations (ILP = 0). This observation quantitatively confirms that ILP rules systematically reduce the impact of neural scores on the decision and prioritize symbolic inferences. This behavior shows that ILP is positioned not as an independent classifier, but as a logical regulator that regulates the fusion process.
While NPL provides almost perfect discrimination, symbolic layers add human-understandable justifications to the decision-making process. NSFL strikes a balance between these two approaches, producing neither a purely data-driven nor a purely rule-based decision-making mechanism.
In particular, the significant decrease in the α coefficient when ILP rules are triggered indicates that the system takes logical violations very seriously and accordingly reweights the decision-making process. This clearly demonstrates that the proposed approach adopts a design focused not solely on performance, but on reliability and logical consistency.
This multi-layered decision-making process not only ensures high accuracy but also provides a framework for explaining the decision. The following section details how these fusion outputs are transformed into the final classification decision and the explanatory outputs presented to the user.

4.3.4. Experimental Results of the Final Decision and Explainable Output Layer

The final decision was made by comparing the SBSfinal score to a fixed threshold (τ = 0.5). The metric values obtained with this structure (Accuracy: 0.9533, Precision: 0.9913, Recall: 0.9099, and F1: 0.9488) indicate that the system has high accuracy and a low false-positive rate. The precision of 0.9913 is particularly critical, as it minimizes false accusations in ethically sensitive applications such as copy detection. Conversely, the recall remaining at 0.9099 indicates that the system offers cautious but practical detection capabilities.
The most distinctive aspect of the final decision mechanism is the effect of ILP-based logical violations on the fusion coefficient. As shown in the previous section, when ILP rules are triggered, the fusion coefficient α decreases significantly, and the weight of the NPL output on the final decision is reduced. This allows the system to behave more cautiously, mainly when NPL classifies suspicious cases with high confidence, but they are logically inconsistent. Therefore, the final decision is based not only on statistical similarities but also on symbolic cause-and-effect relationships. This mechanism enables the proposed approach to be positioned not merely as a classifier, but as a reliable and verifiable decision-support system.
A key advantage of the proposed framework is its ability to provide multi-layered explanatory outputs along with the final decision. For each example, the user is provided with the following information:
  • Neural Confidence: The SBSneural score generated by the NPL and its corresponding confidence level.
  • Triggered ANFIS Rules: Fuzzy rules with the highest triggering value in the SRL and the behavioral patterns they represent. Activated ILP Rules: ILP rules are triggered when a logical violation is detected, and the associated logical conditions are met.
  • Fusion Dynamics: The change in the α coefficient depending on the ILP triggering state and its effect on the final score.
Thanks to these explanatory components, the system clearly reveals not only “what” the decision was, but also “why” that decision was made.

4.4. Analysis of Logical Adherence, Symbolic Fidelity, and Rule Complexity

The effectiveness of the proposed framework extends beyond predictive accuracy to also examine how well symbolic reasoning constrains and explains neural decisions. This section investigates the extent to which the proposed system adheres to logical rules, preserves symbolic accuracy, and maintains manageable rule complexity. The results are presented in Table 4.
Logic Adherence analysis measures the extent to which samples marked as high-risk by SRL (via ANFIS or ILP) are classified as cheating in the final decision-making stage. The resulting logical adherence ratio of 0.998 indicates that the symbolic layer is almost entirely incorporated into the final decision-making process. This result confirms that the fusion mechanism prioritizes symbolic consistency by suppressing neural output, particularly when logical violations are detected.
Symbolic Fidelity measures the degree to which final decisions can be accurately reproduced using only symbolic outputs (ANFIS score and ILP trigger status). Experimental results show that the symbolic layer largely explains final decisions, as evidenced by Fidelity–accuracy and Fidelity–AUC values. This high fidelity demonstrates that symbolic reasoning is not merely a supporting component; rather, it is central to the decision-making mechanism.
Rule Complexity analysis was conducted to assess the human comprehensibility of symbolic information. The fact that ILP rules have an average of 2.4 literals indicates that the logical rules are interpretable and straightforward. On the ANFIS side, while each rule with 9 antecedents may appear complex on the surface, this structure offers a soft, flexible representation thanks to fuzzy membership functions. Therefore, despite high dimensionality, ANFIS rules maintain their interpretability without creating rigid decision boundaries.
These analyses show that the proposed neuro-symbolic framework not only possesses high discrimination but also offers a logically consistent, symbolically explainable, and manageable decision-making mechanism in terms of rule complexity. In particular, the high logical consistency and symbolic fidelity values clearly demonstrate that the system does not blindly adhere to NPL outputs; instead, it integrates symbolic reasoning into the decision-making process.

4.5. Example Scenarios

In this section, the decision-making mechanism of the proposed neuro-symbolic framework is qualitatively analyzed through representative example scenarios selected from the dataset. Each scenario demonstrates how NPL, SRL, and NSFL contribute to the final decision (Table 5).
S1 (High Neural Suspicion with Logical Violation) represents an ideal situation where all layers consistently make decisions in the same direction. NPL produces the maximum suspicion score, while ANFIS provides high symbolic support. Simultaneously, apparent violations such as gaze deviation, phone presence, and hand-object interaction triggered the ILP rules. As a result of this logical violation, the α coefficient decreased, and SRL became more dominant. As a result, the system made a correct cheating decision with high confidence. When ILP is triggered, the fusion mechanism consciously reduces neural dominance, prioritizing logical consistency.
In S2 (High Neural Suspicion without Logical Violation), although the neural model produces high suspicion, no phone use or overt logical violation is detected. Since ILP is not triggered, the α value remains relatively high, and NPL is more dominant in the decision. ANFIS also provides medium-high symbolic support, keeping the final score above the threshold and resulting in a correct cheating decision. In the absence of logical violation, the system continues to benefit from the high discrimination of neural perception.
S3 (Ambiguous Neural Evidence Resolved by Symbolic Reasoning) demonstrates the importance of symbolic reasoning in resolving ambiguity. The neural score is moderate and insufficient for decision-making alone. ANFIS classified the behavioral pattern as low risk, and ILP did not detect any logical violations. Therefore, the α coefficient remained relatively low, and the symbolic layer became dominant, correctly leading to a non-cheating decision. ANFIS effectively balances neural ambiguity with smooth symbolic inferences.
S4 (Low-Risk Consistent Behavior) is a clean example of behavior where all layers consistently show low risk. Neural and symbolic scores are low, and there are no logical violations. The fusion mechanism maintained this consistency, resulting in a safe, non-cheating decision. The system produces stable and reliable decisions in low-risk situations without creating unnecessary complexity.
S5 (Conflict Case—False Positive Suppression) represents the most critical and controversial behavior of the system. Although NPL generated nearly maximum suspicion, symbolic indicators (gaze on script, phone absence, no hand-object interaction) were low-risk, and ILP detected no violations. Therefore, the fusion mechanism reduced the neural score, leading to a non-cheating decision. While this is an example of a false negative, it clearly demonstrates the system’s ethical design preference for preventing false positives. The proposed approach prioritizes symbolic and logical consistency rather than automatically accepting high but unexplained neural scores.

5. Discussion

The experimental results of the neuro-symbolic framework proposed in this study demonstrate that it offers significant gains in both performance and explainability in the field of cheating detection in online exams. The findings reveal that relying solely on data-driven approaches that achieve high discrimination is not enough; supporting decisions with logical reasoning is critical for exam security, ethics, and legal compliance.

5.1. Comparison with the Literature

In the current literature, many studies on cheating detection in online exams rely on deep learning and machine learning. In particular, XGBoost, CNN, and RNN-based approaches have achieved high accuracy and ROC-AUC scores from visual behavioral cues. The study by Erdem & Karabatak shows that unethical behavior in online exams was successfully detected using XGBoost-based classifiers, but the decisions were subsequently explained using post hoc methods such as SHAP and LIME [27]. Similarly, CNN or CNN–RNN-based deep learning models, while offering high performance, fail to present decision-making processes in a directly interpretable way. Furthermore, graph-based learning methods, such as “CHEESE” proposed by Liu et al. (2024), provide visual focus (heat maps) but cannot give a logical answer to the “why” question [28].
The results obtained in this study confirm that the XGBoost model used in NPL provides high discrimination, consistent with the literature. However, the proposed approach does not merely report this performance; it transforms neural outputs into logical rules through ANFIS and ILP-based symbolic layers. The proposed neuro-symbolic structure simultaneously addresses the lack of flexibility in pure rule-based systems and the transparency issues of pure DL models, achieving an overall accuracy of 95.33% and a precision of 99.13%. In this respect, the study aims to overcome the “high accuracy but low explainability” dilemma frequently encountered in the literature. In particular, the NSFL mechanism consciously reduces the impact of neural scores when symbolic violations are detected, offering a decision-making process that is not only performance-oriented but also reliability-oriented. This approach provides a more balanced, controllable structure than pure DL-based systems.

5.2. Trustworthiness & Transparency

The black-box problem in AI systems brings ethical risks, particularly in high-risk areas like education, such as the wrongful accusation of innocent students. This study directly addresses the right to challenge automated decisions and request explanations under Article 22 of the GDPR.
Our system provides a four-layered explanation for each decision:
  • Neural Confidence: The statistical probability level of the model.
  • ANFIS Rules: Expressing behavioral patterns with expert-readable fuzzy rules.
  • ILP Rules: Deterministically reporting logical violations (e.g., phone presence + looking away).
  • Fusion Dynamics: Decision rationale showing how much the symbolic layer suppresses the neural output (change in α coefficient).
As seen in scenario S5, even if the neural layer detects cheating, the system’s decision to “non-cheating” when there is insufficient logical evidence in the symbolic layer (i.e., no ILP violation) reflects the ethical design preference to prevent false positives. This demonstrates that the system is not only performance-oriented but also fair and accountable.

5.3. Limitations

This study has some limitations. First, the dataset consists of 5500 samples from controlled, partially staged online exam scenarios. Although publicly available and balanced, the dataset size remains moderate compared to large-scale industrial proctoring deployments. Therefore, generalization to diverse institutional settings, cultural contexts, or unconstrained real-world environments may be limited. Future work should validate the proposed framework across multi-institutional and cross-domain datasets. Second, ethical risks related to behavioral interpretation must be considered. Visual cues such as gaze deviation or head movement may be influenced by neurodiversity, cultural communication styles, environmental distractions, or disability-related factors. Over-reliance on such indicators could introduce bias or unfair penalization. The proposed fusion mechanism mitigates this risk through logical modulation and confidence-aware integration; however, algorithmic bias remains an inherent concern in AI-driven behavioral monitoring systems. Third, symbolic rules learned via ILP may reflect patterns specific to the dataset’s controlled setup. Although rule complexity was constrained to prevent overfitting, there remains a risk that certain logical predicates capture environment-dependent correlations rather than universally valid indicators of cheating. Broader validation across heterogeneous exam contexts is required to ensure robustness and fairness.
Despite these limitations, the proposed approach represents a significant step towards online exam security. Future studies integrating multimodal data, long-term behavioral analysis, and cross-validation across different exam scenarios will further enhance the system’s generalizability and practical applicability.

6. Conclusions and Future Work

This study presents a reliable, trust-based neuro-symbolic AI framework for detecting cheating and suspicious student behavior in online exams. The proposed framework aims to develop a system that not only provides high accuracy but also clearly reveals the rationale behind its decisions by combining the high discrimination of data-driven learning with the transparency of symbolic reasoning. In this context, a neural detection layer that continuously generates a suspicious behavior score from visual–behavioral cues is integrated with ANFIS and ILP-based symbolic reasoning layers that combine fuzzy rules and logical inference.
Experimental results show that the proposed neuro-symbolic framework achieves high performance in detecting cheating in online exams and produces more reliable decisions by reducing false-positive rates compared to pure data-driven models. In particular, the fusion mechanism consciously modulates neural output when symbolic violations are detected, thereby increasing the controllability of the decision-making process in ethically and legally critical scenarios. In this respect, the study offers an inherently explainable alternative to the limitations of black-box AI models in exam supervision.
In future studies, extending the proposed architecture to include multi-modal data sources is an important research direction. Including voice analysis, keyboard dynamics, screen interactions, and network-based behavioral logs will enable the development of a more comprehensive, context-aware plagiarism detection mechanism. Furthermore, cross-dataset evaluations in different cultural and institutional exam environments are important for testing the generalizability of symbolic rules. Finally, integrating human-in-the-loop feedback mechanisms into symbolic rule learning is a future area of research that can increase both the system’s adaptability and user confidence.
Another important direction for future research is integrating continuous learning mechanisms into the proposed neuro-symbolic framework. In real-world online examination environments, new cheating strategies and behavioral patterns may emerge over time. Therefore, enabling the system to incrementally update its neural models and refine symbolic rules based on newly observed data could further improve robustness and long-term applicability. Adaptive rule learning or human-in-the-loop feedback mechanisms may help the symbolic reasoning layer evolve to previously unseen contexts while maintaining interpretability and logical consistency.

Author Contributions

Conceptualization, B.E.Ö.; Methodology, T.Ö.; Software, T.Ö.; Validation, T.Ö.; Investigation, B.E.Ö.; Resources, B.E.Ö.; Writing—original draft, B.E.Ö.; Writing—review & editing, T.Ö.; Visualization, B.E.Ö. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original data presented in the study are openly available in Mendeley Data at https://data.mendeley.com/datasets/39xs8th543/1, accessed on 15 October 2025.

Acknowledgments

Generative AI tools (Grammarly v1.2 and ChatGPT 5.2) were used for language enhancement and grammar correction. All scientific content, analyses, comments, and conclusions were developed and verified solely by the authors.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper. The authors have no financial or personal relationships that could have influenced the work reported in this study.

References

  1. Tweissi, A.; Al Etaiwi, W.; Al Eisawi, D. The accuracy of AI-based automatic proctoring in online exams. Electron. J. E-Learn. 2022, 20, 419–435. [Google Scholar] [CrossRef]
  2. Almutawa, A.M.; Sruthi, S. Students’ perspective towards online proctoring in exams during COVID-19. J. Eng. Res. 2022, 10, 96–113. [Google Scholar] [CrossRef]
  3. Newton, P.M.; Essex, K. How Common is Cheating in Online Exams and did it Increase During the COVID-19 Pandemic? A Systematic Review. J. Acad. Ethics 2024, 22, 323–343. [Google Scholar] [CrossRef]
  4. Akçapınar, G. Detecting AI-Assisted Cheating in Online Exams through Behavior Analytics. arXiv 2025, arXiv:2510.18881. [Google Scholar] [CrossRef]
  5. Wang, H.; Shukur, Z.; Ariffin, K.A.Z.; Xiao, R.; Wang, L. Online exam cheating detection and blockchain trusted deposit based on YOLOv12. Sci. Rep. 2025, 15, 33236. [Google Scholar] [CrossRef] [PubMed]
  6. Potluri, T.; Venkatramaphanikumar, S.; Venkata Krishna Kishore, K. An automated online proctoring system using attentive-net to assess student mischievous behavior. Multimed. Tools Appl. 2023, 82, 30375–30404. [Google Scholar] [CrossRef] [PubMed]
  7. Senthil, V. Issues and Challenges of Using Artificial Intelligence Proctoring Tools. In Artificial Intelligence and IoT in Online Education Systems, 1st ed.; Ramanujam, E., Chakraborty, C., Eds.; Wiley: Hoboken, NJ, USA, 2025; pp. 515–532. [Google Scholar] [CrossRef]
  8. El Rhezzali, N.; Hilal, I.; Hnida, M. Optimizing Cheating Detection in Online Exams with K-Shingling, MinHashing, and LSH: A Comparative Analysis with TF-IDF and BoW. Int. J. Eng. Pedagog. 2025, 15, 40–56. [Google Scholar] [CrossRef]
  9. Essahraui, S.; Lamaakal, I.; Maleh, Y.; El Makkaoui, K.; Bouami, M.F.; Ouahbi, I.; Almousa, M.; AlQahtani, A.A.S.; El-Latif, A.A.A. Deep learning models for detecting cheating in online exams. Comput. Mater. Contin. 2025, 85, 3151–3183. [Google Scholar] [CrossRef]
  10. Li, H.; Xu, M.; Wang, Y.; Wei, H.; Qu, H. A Visual Analytics Approach to Facilitate the Proctoring of Online Exams. In Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems, Virtual, 8–13 May 2021; ACM: Yokohama, Japan, 2021; pp. 1–17. [Google Scholar] [CrossRef]
  11. Fitas, R. Neuro-symbolic AI for advanced signal and image processing: A review of recent trends and future directions. IEEE Access 2025, 3, 143360–143376. [Google Scholar] [CrossRef]
  12. Acharya, K.; Song, H. A Comprehensive Review of Neuro-symbolic AI for Robustness, Uncertainty Quantification, and Intervenability. Arab. J. Sci. Eng. 2025, 51, 35–67. [Google Scholar] [CrossRef]
  13. Colonna, L. Teachers in the loop? An analysis of automatic assessment systems under Article 22 GDPR. Int. Data Priv. Law 2024, 14, 3–18. [Google Scholar] [CrossRef]
  14. Regulation, P. General data protection regulation. Intouch 2018, 25, 1–5. [Google Scholar]
  15. Hitzler, P.; Eberhart, A.; Ebrahimi, M.; Sarker, M.K.; Zhou, L. Neuro-symbolic approaches in artificial intelligence. Natl. Sci. Rev. 2022, 9, nwac035. [Google Scholar] [CrossRef]
  16. Wang, W.; Yang, Y.; Wu, F. Towards data-and knowledge-driven AI: A survey on neuro-symbolic computing. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 47, 878–899. [Google Scholar] [CrossRef] [PubMed]
  17. Alkhalisy, M.A.E.; Abid, S.H. Abnormal Behavior Detection in Online Exams Using Deep Learning and Data Augmentation Techniques. Int. J. Online Biomed. Eng. 2023, 19, 33–48. [Google Scholar] [CrossRef]
  18. Nurpeisova, A.; Shaushenova, A.; Mutalova, Z.; Ongarbayeva, M.; Niyazbekova, S.; Bekenova, A.; Zhumaliyeva, L.; Zhumasseitova, S. Research on the development of a proctoring system for conducting online exams in Kazakhstan. Computation 2023, 11, 120. [Google Scholar] [CrossRef]
  19. Rabiha, S.G.; Kartowisastro, I.H.; Setiawan, R.; Budiharto, W. Survey of online exam proctoring model to detect cheating behavior based on face recognition. In Proceedings of the 2022 8th International Conference on Systems and Informatics (ICSAI), Guilin, China, 10–12 December 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 1–7. [Google Scholar]
  20. Kamalov, F.; Sulieman, H.; Santandreu Calonge, D. Machine learning based approach to exam cheating detection. PLoS ONE 2021, 16, e0254340. [Google Scholar] [CrossRef]
  21. Huy, D.P.M.; Nhu, N.G.; Le, D.-N. Deep learning approaches for predicting cheating from student exam results: A comparative study under imbalanced data conditions. Appl. Comput. Inform. 2026, 1–20. [Google Scholar] [CrossRef]
  22. Abozaid, A.; Atia, A. Multi-modal online exam cheating detection. In Proceedings of the 2022 International Conference on Electrical, Computer and Energy Technologies (ICECET), Prague, Czech Republic, 20–22 July 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 1–6. [Google Scholar]
  23. Arrieta, A.B.; Díaz-Rodríguez, N.; Del Ser, J.; Bennetot, A.; Tabik, S.; Barbado, A.; Garcia, S.; Gil-Lopez, S.; Molina, D.; Benjamins, R.; et al. Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Inf. Fusion 2020, 58, 82–115. [Google Scholar] [CrossRef]
  24. Yedilkhan, D.; Zhalgasbayev, A.; Saleshova, S.; Khaimuldin, N. OIKAN: A Hybrid AI Framework Combining Symbolic Inference and Deep Learning for Interpretable Information Retrieval Models. Algorithms 2025, 18, 639. [Google Scholar] [CrossRef]
  25. Givisis, I.; Kalatzis, D.; Christakis, C.; Kiouvrekis, Y. Comparing explainable AI models: SHAP, LIME, and their role in electric field strength prediction over urban areas. Electronics 2025, 14, 4766. [Google Scholar] [CrossRef]
  26. Chimatapu, R.; Hagras, H.; Kern, M.; Owusu, G. Hybrid deep learning type-2 fuzzy logic systems for explainable AI. In Proceedings of the 2020 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Glasgow, UK, 19–24 July 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 1–6. [Google Scholar]
  27. Erdem, B.; Karabatak, M. Cheating detection in online exams using deep learning and machine learning. Appl. Sci. 2025, 15, 400. [Google Scholar] [CrossRef]
  28. Liu, Y.; Ren, J.; Xu, J.; Bai, X.; Kaur, R.; Xia, F. Multiple instance learning for cheating detection and localization in online examinations. IEEE Trans. Cogn. Dev. Syst. 2024, 16, 1315–1326. [Google Scholar] [CrossRef]
  29. Ortin, F.; Gago, A.; Quiroga, J.; Garcia, M. A machine learning assistant for detecting fraudulent activities in synchronous online programming exams. PeerJ Comput. Sci. 2025, 11, e3159. [Google Scholar] [CrossRef]
  30. Jammal, F.; Dahab, M.; Bayahya, A.Y. Neuro-bridge-X: A Neuro-symbolic vision transformer with meta-XAI for interpretable leukemia diagnosis from peripheral blood smears. Diagnostics 2025, 15, 2040. [Google Scholar] [CrossRef]
  31. Krutsk, M.; Němeček, J.; Peleška, J.; Gürtler, P.; Šír, G. XAI Desiderata for Trustworthy AI: Insights from the AI Act. In TRUST-AI: The European Workshop on Trustworthy AI; CEUR Workshop Proceedings: Aachen, Germany, 2025. [Google Scholar]
  32. Simko, L.; Hutchinson, A.; Isaac, A.; Fries, E.; Sherr, M.; Aviv, A.J. ‘Modern problems require modern solutions’: Community-Developed Techniques for Online Exam Proctoring Evasion. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, Salt Lake City, UT, USA, 14–18 October 2024; ACM: Salt Lake City, UT, USA, 2024; pp. 2681–2695. [Google Scholar] [CrossRef]
  33. George, E.B. Explainable AI Methods for Predicting Student Grades and Improving Academic Success. J. Inf. Syst. Eng. Manag. 2025, 10, 117–126. [Google Scholar] [CrossRef]
  34. Bhuyan, B.P.; Ramdane-Cherif, A.; Tomar, R.; Singh, T.P. Neuro-symbolic artificial intelligence: A survey. Neural Comput. Appl. 2024, 36, 12809–12844. [Google Scholar] [CrossRef]
  35. Singh, S. Neuro-Fuzzy Architectures for Interpretable AI: A Comprehensive Survey and Research Outlook. J. Mach. Learn. Res. 2025, 1, 11. [Google Scholar]
  36. Chen, T. XGBoost: A Scalable Tree Boosting System. arXiv 2016, arXiv:1603.02754. [Google Scholar] [CrossRef]
  37. Hendrycks, D.; Gimpel, K. A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks. arXiv 2018, arXiv:1610.02136. [Google Scholar] [CrossRef]
  38. Jang, J.-S. ANFIS: Adaptive-network-based fuzzy inference system. IEEE Trans. Syst. Man Cybern. 1993, 23, 665–685. [Google Scholar] [CrossRef]
  39. Muggleton, S. Inductive logic programming. New Gener. Comput. 1991, 8, 295–318. [Google Scholar] [CrossRef]
  40. Hossen, M.K.; Uddin, M.S. Students Suspicious Behaviors Detection Dataset for AI-Powered Online Exam Proctoring, 1st ed.; Mendeley Data: London, UK, 2025. [Google Scholar] [CrossRef]
  41. Bisong, E. Google Colaboratory. In Building Machine Learning and Deep Learning Models on Google Cloud Platform; Apress: Berkeley, CA, USA, 2019; pp. 59–64. [Google Scholar] [CrossRef]
  42. Duchowski, A. Eye Movement Analysis. In Eye Tracking Methodology; Springer: London, UK, 2007; pp. 137–153. [Google Scholar] [CrossRef]
  43. Zhang, X.; Sugano, Y.; Fritz, M.; Bulling, A. Mpiigaze: Real-world dataset and deep appearance-based gaze estimation. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 41, 162–175. [Google Scholar] [CrossRef]
  44. Murphy-Chutorian, E.T. Pattern Analysis and Machine Intelligence. IEEE Trans. Publ. Date 2009, 31, 607–626. [Google Scholar]
  45. Magnini, M.; Ciatto, G.; Kuru, A.E.; Sirocchi, C.; Montagna, S. Neuro-Symbolic AI for Supporting Chronic Disease Diagnosis and Monitoring. In Proceedings of the 2025 IEEE International Conference on Pervasive Computing and Communications Workshops and Other Affiliated Events (PerCom Workshops), Pisa, Italy, 16–20 March 2025; IEEE Computer Society: Washington, DC, USA, 2025; pp. 446–451. [Google Scholar]
  46. Wang, S.; Tavares, A.; Lima, C.; Gomes, T.; Zhang, Y.; Liang, Y. MSBN-SPose: A Multi-Scale Bayesian Neuro-Symbolic Approach for Sitting Posture Recognition. Electronics 2025, 14, 3889. [Google Scholar] [CrossRef]
Figure 1. A proposed neuro-symbolic framework for detecting cheating in online exams.
Figure 1. A proposed neuro-symbolic framework for detecting cheating in online exams.
Applsci 16 02884 g001
Figure 2. ROC curves of NPL and NSFL.
Figure 2. ROC curves of NPL and NSFL.
Applsci 16 02884 g002
Table 1. Features with the most distinctive characteristics according to XGBoost results.
Table 1. Features with the most distinctive characteristics according to XGBoost results.
FeatureComment
hand_obj_interaction (0.224)Hand-object interaction is the strongest indicator of cheating.
gaze_on_script (0.184)Loss of screen focus
phone_present (0.145)External device usage
head_motion_score (0.084)General intensity of head movements
phone_conf (0.079)Reliability of phone detection
Table 2. Representative fuzzy rules learned by the ANFIS module.
Table 2. Representative fuzzy rules learned by the ANFIS module.
RuleIF (Antecedent—Summarized)THENSupport
R0gaze_on_script = High and no_of_face = High and gaze_deviation = High and phone_conf = LowSuspicious_Behavior = Medium1838
R6gaze_on_script = Low and phone_present = Medium and hand_obj_interaction = MediumSuspicious_Behavior = High149
R1gaze_on_script = High and no_of_face = Low and hand_face_distance = MediumSuspicious_Behavior = High33
Table 3. Layer-based performance metrics of the proposed framework.
Table 3. Layer-based performance metrics of the proposed framework.
LayerROC_AUCAccuracyPrecisionRecallF1
NPL (XGBoost)0.99990.99530.99660.99350.9950
SRL (ANFIS)0.92900.86510.90120.80490.8503
NSFL0.99560.95330.99130.90990.9488
Table 4. Analysis of Logical Adherence, Symbolic Fidelity, and Rule Complexity.
Table 4. Analysis of Logical Adherence, Symbolic Fidelity, and Rule Complexity.
MetricValueComment
Logic Adherence0.998High logical consistency
Fidelity (Accuracy)0.914Strong symbolic explanation
Fidelity (AUC)0.979High symbolic decision fidelity
Mean ILP Literal Count2.4Low rule complexity
ANFIS Antecedent Count9High but flexible structure
Table 5. Case Study Analysis with Decision-Driving Rules.
Table 5. Case Study Analysis with Decision-Driving Rules.
SBSneuralSBSanfisILPαSBSfinalDecisionGround TruthDecision-driving rule(s)
S11.0000.9220.2330.940CheatingCheatingILP: cheating(X) ← gaze_awayphone_activephone_present
ANFIS: R6 (High risk fuzzy pattern)
S20.9990.726×0.3330.817CheatingCheatingANFIS: R1 (Moderate–High suspicious gaze pattern)
S30.5680.332×0.0640.347Non-CheatingNon-CheatingANFIS: R0 (Medium symbolic risk → suppressed)
S40.0070.067×0.3300.047Non-CheatingNon-CheatingNo rule triggered (Low neural + low symbolic evidence)
S50.9890.044×0.3280.354Non-CheatingCheatingANFIS: R8 (Low symbolic risk)
ILP: no violation
✓/×: ILP Rule triggering enabled/unavailable. α: Fusion coefficient.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Özseven, T.; Esin Özseven, B. An Explainable Neuro-Symbolic Framework for Online Exam Cheating Detection. Appl. Sci. 2026, 16, 2884. https://doi.org/10.3390/app16062884

AMA Style

Özseven T, Esin Özseven B. An Explainable Neuro-Symbolic Framework for Online Exam Cheating Detection. Applied Sciences. 2026; 16(6):2884. https://doi.org/10.3390/app16062884

Chicago/Turabian Style

Özseven, Turgut, and Beyza Esin Özseven. 2026. "An Explainable Neuro-Symbolic Framework for Online Exam Cheating Detection" Applied Sciences 16, no. 6: 2884. https://doi.org/10.3390/app16062884

APA Style

Özseven, T., & Esin Özseven, B. (2026). An Explainable Neuro-Symbolic Framework for Online Exam Cheating Detection. Applied Sciences, 16(6), 2884. https://doi.org/10.3390/app16062884

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop