Feasibility and preliminary validation of an artificial intelligence-based facial emotion recognition application for real-time assessment of pediatric dental anxiety

Izvodljivost i preliminarna validacija aplikacije zasnovane na veštačkoj inteligenciji za prepoznavanje emocija na licu u proceni stomatološkog straha i anksioznosti kod dece u realnom vremenu

Khatri A, Tyagi R, Yangdol P, Khandelwal D, Bhatia U, Bhatia B.

2026 · Journal of dental anesthesia and pain medicine · CC BY-NC

Abstract Background Dental anxiety is prevalent among children worldwide and represents a barrier to pediatric dental care, contributing to care avoidance, treatment difficulty, and poorer oral health outcomes. Venham Clinical Anxiety Scale (VCAS) and Visual Facial Anxiety Scale (VFAS), are limited by subjectivity and interobserver variability. This study evaluated an artificial intelligence (AI)-based facial emotion recognition (FER) application for assessing dental anxiety across procedural stages in children undergoing tooth extraction. Methods A total of 186 children aged 7–13 years who were undergoing dental extraction were enrolled. EmoDent, a SwiftUI iOS application using a convolutional neural network (CNN) model, captured facial expressions at four time points: pre-treatment, before local anesthesia, during extraction, and post-treatment. VCAS and VFAS scores were recorded. Spearman’s rank correlation and Cohen’s kappa were applied (P < 0.05). Results Emotional responses varied significantly across treatment phases (P < 0.001). Happy (20.4%) and neutral (58.1%) expressions predominated pre-treatment, shifting to anger (49.5%) and sadness (24.7%) during local anesthesia, with partial recovery post-treatment. Concordance with traditional clinical scales was strongest during peak-stress phases. Although extreme trait prevalence mathematically deflated conventional Cohen’s kappa (0.146 and -0.010 during local anesthesia), alternative metrics showed high monitoring agreement, with Gwet’s AC1 reaching 0.941 versus VCAS and 0.942 versus VFAS. Conclusions The application demonstrated valid and reliable emotional assessment across all procedural stages and showed strong concordance with conventional scales. It offers a promising non-invasive adjunct, particularly for non-verbal children. Future studies should incorporate multimodal data and clinician feedback. Keywords: Artificial Intelligence, Behavior Management, Dental Anxiety, Facial Emotion Recognition, Tooth Extraction

INTRODUCTION Anxiety is common in children and can adversely affect daily functioning, health-related behaviors, and clinical outcomes. Dental anxiety exemplifies this burden and is prevalent in pediatric populations worldwide [ 1 ]. Systematic reviews indicate that approximately 23.9% of children and adolescents aged 3–18 years experience dental anxiety, with higher rates in preschool (36.5%) than school-aged children (25.8%) [ 1 ]. It is linked to poorer oral health-related quality of life, avoidance of dental care, missed appointments, and greater management challenges, including prolonged treatment duration and heightened behavioral difficulties [ 1 , 2 ]. Facial emotion recognition (FER) helps identify and interpret emotional states, especially in children unable to verbalize their feelings clearly. FER decodes emotional expressions from facial cues, universal forms of non-verbal communication [ 3 ]. Facial expressions are among the most informative indicators of human emotions and can help understand an individual’s state of mind, enabling appropriate responses. This importance has made them a central focus of theoretical and applied research [ 4 ]. FER also applies in social, educational, and healthcare settings, where accurate interpretation can enhance empathy, improve support systems, and guide individualized interventions. In pediatric dentistry, recognizing facial indicators of anxiety or discomfort enables prompt, appropriate behavior management strategies [ 5 ]. Explainable artificial intelligence (AI) approaches may further improve interpretability by identifying the facial regions and features contributing to emotion classifications [ 6 ]. Recent advances in AI have substantially improved FER, enabling more objective, real-time, and precise emotion analysis. Deep learning approaches, particularly convolutional neural networks (CNNs), have demonstrated high accuracy, often exceeding 90%, in classifying basic emotions in pediatric populations [ 3 , 6 ]. These systems detect subtle variations in facial expressions associated with pain, distress, or anxiety and provide explainable outputs that help clinicians and educators understand them. AI-driven FER has shown promise in healthcare applications, including pain detection in children, and in educational settings to assess student engagement during virtual learning [ 3 ]. As these technologies evolve, their clinical and educational integration may support more personalized care, reduce anxiety, and improve children’s well-being. To our knowledge, no previous study has utilized AI-based FER for real-time evaluation of pediatric dental anxiety across all stages of care, including pre-treatment, intra-treatment, and post-treatment, using models tailored to pediatric populations and accounting for age-related differences and procedure-specific emotional responses. Previous research has also not combined AI-based assessment with objective and subjective standardized anxiety measures. To address these gaps, we developed an AI-driven mobile application for real-time facial expression analysis, offering a clinically applicable approach to assessing pediatric dental anxiety. METHODS 1. Study participants Ethical approval was obtained from the institutional ethics committee (GTBHEC/APVL/2026/456-147; CTRI/2026/04/108541). Children aged 7–13 years who required extraction of grossly decayed teeth under local anesthesia (LA) were selected. Written informed consent was obtained from parents or legal guardians for study participation, along with child assent where appropriate, and for publication of identifiable facial photographs and video frames in academic journals and related scientific publications. Participants also had to be willing to undergo real-time video recording for facial emotion analysis. Children with developmental delays, autism spectrum disorder, neurological or psychiatric conditions, facial trauma, previous facial surgery, or congenital facial anomalies were excluded, as these could affect emotion analysis. Children requiring emergency care and those unable to cooperate with video capture were also excluded. 2. Sample size To calculate the sample size for estimating an outcome frequency, the finite population correction formula with design effect was used. Assuming a population size of 1,000,000, expected frequency of 26.4%, 90% confidence level corresponding to Z = 1.645, design effect of 1, and 5% margin of error, the initial target sample size was approximately 211 participants. A pilot study used approximately 10% of the originally calculated target sample size; therefore, 21 participants were included. After recruitment, 25 of the 211 participants were excluded because of technical errors or incomplete baseline data, leaving 186 in the final analyzable dataset. To clarify the effect of these exclusions, we assessed precision rather than recalculating the sample size post hoc. Using the original parameters, the margin of error with 186 participants was: 1.645 × √[(0.264 × (1 - 0.264)) / 186] ≈ 0.0531, corresponding to approximately 5.3%. Thus, reducing the sample from 211 to 186 increased the estimated absolute margin of error from approximately 5.0% to 5.3%, a difference of 0.3 percentage points. The final sample therefore retained approximately the precision specified in the original calculation. We considered this reduction acceptable given the study’s exploratory objective of assessing the feasibility and comparative performance of the three anxiety-assessment approaches. The pilot participants were included in the final analysis, and no methodological changes were made after the pilot phase. The original sample-size target was not recalculated, and the 5.3% margin of error represented a sensitivity assessment of the precision retained after exclusions, not a post hoc justification. The pilot was internal, using the same eligibility criteria, recruitment setting, assessment procedures, outcome definitions, AI facial-recognition application, Venham Clinical Anxiety Scale (VCAS), and Visual Facial Anxiety Scale (VFAS) evaluations as the main study ( Fig. 1 ). Fig. 1 The Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) flow diagram. AI, artificial intelligence; VCAS, Venham clinical anxiety scale; VFAS, visual facial anxiety scale; LA, local anesthesia. 3. App workflow The Emotion Detector application, named EmoDent, is SwiftUI-based application designed for iOS and macOS. It uses the device camera to detect and display facial emotions in real time, applying machine learning and computer vision frameworks to classify expressions as happy, sad, angry, fear, or neutral. For face detection and streaming, the application continuously captures camera frames, crops facial regions using Apple Vision, and sends them to the FER-based model, which computes Facial Action Units (AUs) for Real-time Visual Dashboard. It displays live emotion metrics, pain-score gauges, and facial-action badges over the camera view while recording video sessions with live HUD overlays. As a passive monitoring tool, it analyzed front-facing camera frames in real time, enabling continuous assessment of facial expressions during clinical procedures. The interface incorporates a live video feed overlaid with the predicted emotion label in real time, thereby allowing visualization of the model’s output. Additionally, the application included a toggleable face-mesh feature that could be toggled on or off, enabling real-time tracking of facial geometry to enhance the accuracy and interpretability of emotion detection ( Fig. 2a ). Fig. 2 (a) Screenshots show the user interface and functional features of the artificial intelligence (AI)-based EmoDent application. (b) EmoDent uses a pre-trained convolutional neural network (CNN)-based Core ML model to detect and classify facial emotions, including happy, sad, angry, fear, and neutral, in real time using the device’s front-facing camera. (c) The diagram shows the workflow architecture of the EmoDent facial emotion recognition application. (d) EmoDent captures facial emotion in real time during the extraction procedure. ML, machine learning. 4. AI usability The application was developed using free software available on iOS. It uses a pre-trained CNN-based Core ML model to classify facial expressions ( Fig. 2b ). For face detection and emotion classification, using the front camera, AI-based FER was applied at four time points: pre-treatment, during LA administered as an inferior alveolar nerve block (IANB), during extraction, and post-treatment. It uses Apple’s ARKit, an augmented reality (AR) framework, and Apple’s Vision framework to detect the face and facial geometry and transfer this to the core logic. When ARKit’s front-facing ARFaceAnchor detects a face, the camera frame is passed to Apple’s Vision framework. ARKit generates a three-dimensional topological facial mesh using key landmarks, including the eyes, nose, mouth contour, and chin. Apple Vision then performs inference using the integrated CNNEmotions.mlmodel. Core ML, an Apple framework that uses machine learning, models and creates various files that enable the application to read and use the model. The FER-2013 dataset was used to train the embedded model. After inference from the camera frame, the top prediction with sufficient confidence (for example, > 90%) was displayed in real time in a text node at the bottom of the screen. As facial expression changed, new predictions were made for each frame at approximately 60 frames per second, and the text node updated live ( Fig. 2c, d ). 5. Procedure The study was conducted during dental visits requiring mandibular primary molar extraction. Two independent operators performed the assessment. Operator 1 managed device positioning and recorded the automated outputs of the EmoDent application. Operator 2, blinded to the real-time EmoDent display and outputs, independently assessed anxiety using the VCAS and VFAS across all four procedural stages. 6. Model training data Before deployment, the classification model was manually evaluated using pediatric facial images representative of the study population. Model-generated classifications were compared with independent assessments by trained evaluators using the same five emotion categories: happy, neutral, angry, sad, and fear. Disagreements were resolved through consensus. The evaluation showed acceptable qualitative correspondence between manual and model-generated classifications, with no consistent category-specific misclassification pattern. Nevertheless, formal external validation in a large, independently annotated pediatric dataset was not performed; therefore, residual age-related bias from the predominantly adult composition of FER-2013 cannot be excluded. 7. Statistical analysis Data were entered into Microsoft Excel version 13 (Microsoft Corp., Redmond, WA, USA) and analyzed using IBM Statistical Package for the Social Sciences version 21 (IBM Corp., Armonk, NY, USA). Continuous variable (age) was summarized as mean and standard deviation. Categorical variables (AI ratings, VCAS scores, VFAS scores) were summarized as frequencies and percentages. The Friedman test evaluated changes from pre – post time interval for AI ratings, VCAS scores, and VFAS, overall effect sizes were quantified using Kendall's coefficient of concordance ( W ), and Spearman’s rank correlation assessed associations among them. Inter-method concordance between dichotomized monitoring thresholds (negative affect present vs. absent) and clinical scales was evaluated using percentage observed agreement, Cohen’s unweighted kappa (κ), Prevalence-Adjusted Bias-Adjusted Kappa (PABAK), and Gwet’s first-order agreement coefficient ( AC 1 ) to account for extreme trait prevalence. All statistical tests were performed using a 95% confidence interval, and P < 0.05 was considered statistically significant. RESULTS 1. Demographic profile of study participants The study included 186 participants aged 7–13 years, with a mean age of 9.34 ± 1.66 years. Boys represented 52.2% of the sample and girls 47.8%. According to frequency of visits to the dentist, most (45.16%) had two previous visits, 40.32% had one visit, and fewer reported higher frequency visits, showing that the majority had limited previous dental experience. 2. Comparison of emotional and anxiety responses across treatment phases EmoDent showed that pre-treatment emotions were predominantly neutral (58.1%) and happy (20.4%), indicating low baseline anxiety. During LA injection, negative emotions peaked, with anger (49.5%) and sadness (24.7%) most prominent. During extraction, emotions were more evenly distributed, although anger (28.5%), fear (15.6%), and sadness (30.6%) remained common. Post-treatment, partial recovery occurred, with neutral (41.9%) and happy (7.5%) responses increasing and fear decreasing to 0%, although residual anger remained detectable (41.4%) ( Table 1 ). Table 1 EmoDent facial expression distribution across phases Label Pre-treatment During local anesthesia During procedure Post-treatment Happy 38 (20.4) 0 (0.0) 8 (4.3) 14 (7.5) Neutral 108 (58.1) 9 (4.9) 39 (21.0) 78 (41.9) Angry 27 (14.5) 90 (49.5) 53 (28.5) 77 (41.4) Sad 4 (2.2) 45 (24.7) 57 (30.6) 17 (9.1) Fear 9 (4.8) 38 (20.9) 29 (15.6) 0 (0.0) Total N = 186 N = 182 (4 no result) N = 186 N = 186 3. Phase-wise prevalence of negative affect and behavioural signs Because the AI categories are nominal facial-expression outputs rather than a validated linear anxiety-severity scale, EmoDent outputs were dichotomized for monitoring. Happy and neutral expressions were classified as negative affect absent, and angry, sad, and fear expressions as negative affect present. VFAS ≥ 1 and VCAS ≥ 1 were the primary comparator thresholds because these values indicate any anxiety above none and any protest above full cooperation. Stricter thresholds of VFAS ≥ 2 and VCAS ≥ 2 were analyzed only for sensitivity. AI-detected < 0.05 was considered statistically significant. RESULTS 1. Demographic profile of study participants The study included 186 participants aged 7–13 years, with a mean age of 9.34 ± 1.66 years. Boys represented 52.2% of the sample and girls 47.8%. According to frequency of visits to the dentist, most (45.16%) had two previous visits, 40.32% had one visit, and fewer reported higher frequency visits, showing that the majority had limited previous dental experience. 2. Comparison of emotional and anxiety responses across treatment phases EmoDent showed that pre-treatment emotions were predominantly neutral (58.1%) and happy (20.4%), indicating low baseline anxiety. During LA injection, negative emotions peaked, with anger (49.5%) and sadness (24.7%) most prominent. During extraction, emotions were more evenly distributed, although anger (28.5%), fear (15.6%), and sadness (30.6%) remained common. Post-treatment, partial recovery occurred, with neutral (41.9%) and happy (7.5%) responses increasing and fear decreasing to 0%, although residual anger remained detectable (41.4%) ( Table 1 ). 3. Phase-wise prevalence of negative affect and behavioural signs Because the AI categories are nominal facial-expression outputs rather than a validated linear anxiety-severity scale, EmoDent outputs were dichotomized for monitoring. Happy and neutral expressions were classified as negative affect absent, and angry, sad, and fear expressions as negative affect present. VFAS ≥ 1 and VCAS ≥ 1 were the primary comparator thresholds because these values indicate any anxiety above none and any protest above full cooperation. Stricter thresholds of VFAS ≥ 2 and VCAS ≥ 2 were analyzed only for sensitivity. AI-detected negative affect closely tracked the clinical outcomes across the procedure ( Table 2 , Fig. 3 ). At baseline, EmoDent identified negative affect in 21.5% of children, whereas clinician-observed protest on VCAS and anxiety on VFAS were recorded in 55.9% and 66.1%, respectively. During the highly stressful LA phase, negative affect peaked at 95.1% of valid observations. This matched the distress captured by the comparator scales (98.4% for VCAS and 99.5% for VFAS). Intraoperatively, negative affect remained high at 74.7% before partially subsiding to 50.5% post-treatment. Table 2 Binary threshold prevalence by phase Phase Measure Valid N Positive n (%) Pre-treatment AI negative affect 186 40 (21.5) Venham any protest 186 104 (55.9) VFAS any anxiety 186 123 (66.1) During local anesthesia AI negative affect 182 173 (95.1) Venham any protest 182 179 (98.4) VFAS any anxiety 182 181 (99.5) During procedure AI negative affect 186 139 (74.7) Venham any protest 186 179 (96.2) VFAS any anxiety 186 178 (95.7) Post-treatment AI negative affect 186 94 (50.5) Venham any protest 186 144 (77.4) VFAS any anxiety 186 101 (54.3) AI, artificial intelligence; N, number; VFAS, visual facial anxiety scale. Fig. 3 The chart shows positive findings by procedural phase and assessment tool. Percentages are calculated using the valid sample size for each phase (n = 186 for the pre-treatment, during-procedure, and post-treatment phases; n = 182 for the local anesthesia phase). AI, artificial intelligence; N, number; VFAS, visual facial anxiety scale. A “No Result” (NR) classification occurred for 4 participants (2.2%) during the LA phase because of the application’s built-in quality control. Invasive pediatric dental procedures, such as LA infiltration and tooth extraction, challenge real-time facial emotion recognition. Facial features may be temporarily obscured by the operator’s hands or instruments, and rapid head movement or prolonged mouth opening can further affect facial-landmark detection. To address this, EmoDent uses a two-stage computer-vision approach. First, Apple ARKit’s ARFaceAnchor generates a three-dimensional facial mesh to continuously track facial landmarks. If excessive occlusion or sudden movement causes landmark tracking to fall below the required threshold, the application automatically suspends inference to avoid inaccurate predictions. Limited mouth opening during LA administration may produce false-negative results for fear or surprise; to minimize this risk, the CNN model evaluates broader facial geometry, including periocular squinting and brow furrowing. Similar clinical distress on image-based VCAS and VFAS during LA confirmed that the detected negative affect reflected true procedural distress rather than mechanical artefacts. 4. Phase-wise responsiveness The AI system’s ability to register changes across levels of procedural stress was assessed using the Friedman test and Kendall’s W ( Table 3 ). EmoDent negative affect showed statistically significant variation and moderate responsiveness across the four phases (χ 2 = 228.90, P < 0.001, Kendall’s W = 0.419). Although the conventional scales showed larger phase effects (Kendall’s W = 0.767 for VCAS and 0.644 for VFAS), significant phase-wise responsiveness confirmed that EmoDent captured macroscopic changes in affective state throughout the extraction workflow. Table 3 Phase-wise responsiveness Measure Complete N Friedman chi-square P-value Kendall W AI negative affect# 182 228.90 < 0.001 0.419 Venham ordinal 182 418.76 < 0.001 0.767 VFAS ordinal 182 351.79 < 0.001 0.644 # The AI labels are not a true anxiety severity scale. They are emotion categories. Therefore, the analysis does not pretend that any AI emotion category is mathematically “twice as anxious” as another category. Instead, the labels were grouped into a practical monitoring signal: negative effect absent vs negative effect present. AI, artificial intelligence; N, number; VFAS, visual facial anxiety scale. 5. Concurrent association with conventional scales The association between the application’s nominal categories and the scales’ ordinal scores was evaluated phase by phase using Spearman’s rank correlation ( Table 4 ). Concurrent association strength varied markedly by clinical phase. Weak but statistically significant positive correlations were observed between EmoDent negative affect and VCAS scores during pre-treatment (r = 0.215, P = 0.003) and LA (r = 0.234, P = 0.002). Conversely, correlation with VFAS was negligible during these early phases. During extraction, EmoDent correlated significantly only with VFAS (r = 0.195, P = 0.008). The strongest association was post-treatment, between EmoDent and VFAS ordinal scores (r = 0.324, P < 0.001). Table 4 Concurrent association with Venham and VFAS Phase Comparison N Spearman rho 95% CI lower 95% CI upper P-value Pre-treatment AI negative affect vs Venham ordinal 186 0.215 0.062 0.364 0.003 AI negative affect vs VFAS ordinal 186 0.001 -0.144 0.146 0.991 During local anesthesia AI negative affect vs Venham ordinal 182 0.234 0.113 0.336 0.002 AI negative affect vs VFAS ordinal 182 0.047 -0.062 0.167 0.525 During procedure AI negative affect vs Venham ordinal 186 -0.069 -0.199 0.066 0.350 AI negative affect vs VFAS ordinal 186 0.195 0.060 0.333 0.008 Post-treatment AI negative affect vs Venham ordinal 186 0.104 -0.045 0.233 0.159 AI negative affect vs VFAS ordinal 186 0.324 0.197 0.46 < 0.001 AI, artificial intelligence; CI, confidence interval; N, number; VFAS, visual facial anxiety scale. 6. Monitoring concordance and agreement analysis Multiple metrics assessed how reliably the AI monitoring threshold mirrored conventional clinical assessments ( Table 5 ). Because Cohen’s kappa is highly sensitive to extreme trait prevalence and can be substantially deflated, prevalence-adjusted bias-adjusted kappa (PABAK) and Gwet’s AC1 were used to provide more stable estimates during high-stress phases. Concordance between the automated tool and clinician observations was strongest during the most stressful phases. During LA, observed agreement reached 94.5% against both VCAS ≥ 1 and VFAS ≥ 1. Because nearly all children showed distress in this phase, Cohen’s kappa values were low (0.146 and −0.010). However, alternative metrics showed high monitoring agreement, with Gwet’s AC1 reaching 0.941 versus VCAS and 0.942 versus VFAS. During extraction, observed agreement remained approximately 77% against both clinical measures, with stable Gwet’s AC1 values of 0.691–0.700. Agreement decreased substantially during the lower-stress baseline and post-treatment recovery phases, except for moderate post-treatment agreement with VFAS (observed agreement = 65.1%, Cohen’s κ = 0.300, Gwet’s AC1 = 0.303). Table 5 Primary agreement metrics for monitoring threshold Phase Comparison N Observed agreement % Cohen’s kappa PABAK Gwet AC1 ICC(A,1) Pre-treatment AI negative affect vs Venham > = 1 186 51.613 0.093 0.03 0.079 0.094 AI negative affect vs VFAS > = 1 186 40.323 -0.008 -0.19 -0.176 -0.008 During local anesthesia AI negative affect vs Venham > = 1 182 94.505 0.146 0.89 0.941 0.146 AI negative affect vs VFAS > = 1 182 94.505 -0.010 0.89 0.942 -0.010 During procedure AI negative affect vs Venham > = 1 186 77.419 0.168 0.55 0.700 0.168 AI negative affect vs VFAS > = 1 186 76.882 0.156 0.54 0.691 0.157 Post-treatment AI negative affect vs Venham > = 1 186 53.763 0.070 0.08 0.142 0.070 AI negative affect vs VFAS > = 1 186 65.054 0.300 0.30 0.303 0.302 AI, artificial intelligence; Gwet’s AC1, Gwet’s Agreement Coefficient 1; ICC, Intraclass Correlation Coefficient; N, number; PABAK, prevalence-adjusted bias-adjusted kappa; VFAS, visual facial anxiety scale. DISCUSSION Dental anxiety is a multifactorial subjective experience that substantially impedes pediatric dental treatment, contributing to care avoidance, procedural delays, and poorer oral health [ 7 , 8 ]. Tooth extraction is consistently identified as one of the most anxiety-provoking procedure in children because of its invasiveness and the need for LA [ 9 , 10 ]; therefore, only extraction cases were included. A recent systematic review and meta-analysis estimated the global prevalence of early childhood dental fear and anxiety at approximately 30%, underscoring the need for objective, validated assessment [ 11 ]. This study explored the feasibility and clinical utility of EmoDent, a novel self-developed AI-based FER application, for continuous monitoring of dental anxiety alongside the VCAS and VFAS across four procedural stages in children undergoing dental extractions. The findings offer critical insights into the dynamic nature of dental anxiety, particularly during invasive procedures such as LA administration and tooth extraction. The anxiety measurements were performed by two different operators, one operator observed the findings of the EmoDent whereas another independently assessed anxiety responses using the VFAS and VCAS scales. The application showed marked phase-wise responsiveness across the extraction procedure (P < 0.001, Kendall’s W = 0.419), indicating dynamic changes in distress. Children predominantly displayed neutral (58.1%) and happy (20.4%) expressions before treatment, consistent with low pre-procedural anxiety on VCAS cooperation scores (43.9%) and VFAS (33.9% anxiety-free). A pronounced shift toward negative affect was observed during LA administration, with anger (49.5%) and sadness (24.7%) becoming dominant (AI-detected negative affect, 95.1%). This aligns with evidence that belonephobia is a primary trigger of dental anxiety in children, as reported by Armfield and Heaton [ 12 ]. Concurrently, VCAS protest increased to 98.4% and VFAS identified anxiety in 99.5% of participants, supporting the convergent validity of AI-detected affect. Stress persisted during extraction, predominantly as sadness (30.6%), fear, and anger, consistent with Cademartori et al. [ 10 ], who reported significantly greater protest or uncooperative behavior at extraction appointments. These observations are consistent with the systematic review by Cianetti et al. [ 13 ], which identified dental fear as a common global condition. Notably, EmoDent continued to detect residual anger after treatment, suggesting a lag in emotional recovery that single time-point assessments may miss. This has important implications for preventing chronic dental anxiety across subsequent visits. EmoDent may therefore serve as a sensitive, continuous indicator of emotional state, detecting negative-affect transitions that clinician observation or child self-report may miss. Traditional tools such as the VCAS and VFAS remain valuable but are limited by subjectivity and dependence on verbal or behavioral responses. In contrast, EmoDent offers an objective, automated approach that identifies subtle emotional cues in real time, including in children who are non-verbal, uncooperative, or too young to self-report. A pivotal finding was the binary monitoring threshold’s performance during peak-stress intervals. During LA administration, observed agreement between EmoDent and both comparators, VCAS ≥ 1 and VFAS ≥ 1, reached 94.5%. However, Cohen’s kappa values for this phase were near zero (0.146 versus VCAS and -0.010 versus VFAS). Rather than indicating AI failure, this disparity represents a classic manifestation of the “Kappa Paradox” described by Feinstein and Cicchetti [ 14 ]. As Sim and Wright [ 15 ] noted, Cohen’s kappa depends mathematically on trait prevalence; when a feature is nearly universal, marginal totals become skewed, artificially deflating the coefficient. Because LA provoked distress in nearly all participants (98.4% on VCAS and 99.5% on VFAS), Cohen’s kappa was deflated. To resolve this limitation, we therefore used PABAK and Gwet’s AC1, which are more resilient to extreme class imbalance. Accounting for this imbalance showed strong monitoring concordance, with Gwet’s AC1 reaching 0.941 versus VCAS and 0.942 versus VFAS during LA and stable intraoperative values of 0.691–0.700. This correction supports the binary thresholding design, which grouped anger, sadness, and fear as negative affect present, as a stable, defensible monitoring signal during peak distress. Spearman’s rank correlations demonstrated that EmoDent measures a construct overlapping with, but distinct from, traditional clinical scales. The strongest association emerged post-treatment between EmoDent and VFAS (r = 0.324, P < 0.001). This is plausible because both EmoDent and VFAS rely on visual facial representation of emotional state, whereas the VCAS incorporates gross physical actions and vocal protest. Cao et al. [ 16 ] highlighted that facial scales are sensitive, reliable, and easily interpreted in pediatric settings. A child may remain still to comply with the dentist’s instructions, producing a low VCAS score despite internal distress. EmoDent functions as a passive, non-invasive indicator of situational affect and can capture subtle internal tension not visible through overt behavioral metrics. These findings contribute to the literature on AI integration in pediatric dental behavior management. Alkhouli et al. [ 17 ] reported high diagnostic performance of a CNN-based system for pain detection during dental procedures, and Sikka et al. [ 18 ] demonstrated good-to-excellent accuracy of a computer-vision and machine-learning model for automated postoperative pain assessment in children, comparable to nurses. EmoDent extends this work from isolated pain detection to continuous, phase-by-phase emotional monitoring across the surgical appointment. A relevant comparison is found in Shetty et al. [ 19 ], who introduced the RMS-Digital Anxiety Scale (RMS-DAS), an AI-assisted self-report tool in which children select facial icons to describe their feelings. Although valid, RMS-DAS is restricted to a single pre-treatment baseline because self-report is not feasible during extraction. EmoDent addresses this constraint as a fully passive system that tracks real-time emotional transitions without requiring language comprehension, culturally specific schematic adaptation, or procedural interruption. Ghafarfaraji [ 20 ] further supports the clinical viability of deep CNNs in managing these subtle affective cues, reporting in a systematic review that automated expression and micro-expression tracking algorithms provide high discriminative power for monitoring real-time emotional and stress states. The current data therefore support EmoDent as a reliable continuous adjunctive signal that can alert dental teams to affective spikes and identify when behavioral support, distraction, or a temporary pause may be needed to protect psychological well-being. Limitations and future scope This study has several limitations. First, the sample was restricted to children aged 7–13 years. Second, EmoDent relies solely on facial analysis using the FER-2013 dataset. Because FER-2013 comprises primarily adult faces, its geometric classification boundaries may not fully map to the anatomical proportions and emotional expressions of pediatric populations. Third, environmental factors such as lighting, head position, and patient movement may influence recognition accuracy. In addition, the application does not yet provide real-time clinical alerts. Future development should expand sample diversity to younger children and children with developmental challenges. Multimodal emotion recognition incorporating vocal cues, heart rate, or body posture may improve robustness. Future iterations should also integrate real-time behavioral guidance and automated decision support and undergo longitudinal validation across multiple visits. Conclusions EmoDent accurately captured real-time emotional shifts across treatment stages and aligned well with conventional scales, offering an objective, non-invasive, and continuous assessment method. It may serve as a valuable adjunct, particularly for non-verbal or younger children. Its detection of emotional trends, particularly before and after treatment, highlights its potential role in early identification of anxiety and post-procedural emotional residue. With further refinement, including multimodal data and real-time feedback, EmoDent may help clinicians monitor emotions and select appropriate behavior management techniques. ACKNOWLEDGMENTS The authors sincerely thank Mr. Aman Tripathi for his valuable assistance with data collection, data management, and statistical analysis. His contributions were greatly appreciated throughout the conduct of this study. Footnotes AUTHOR CONTRIBUTIONS: Amit Khatri: Data curation, Formal analysis, Investigation, Project administration, Supervision, Validation, Visualization, Writing – review & editing. Rishi Tyagi: Supervision, Visualization, Writing – review & editing Padma Yangdol. Padma Yangdol: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Project administration, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. Deepak Khandelwal: Writing – review & editing. Urvi Bhatia: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. Bhavya Bhatia: Conceptualization, Software, Visualization, Writing – review & editing. FUNDING: No external funding was received for this study. COMPETING INTERESTS: The authors declare that they have no competing interests. ETHICAL APPROVAL: This study was approved by the Institutional Ethics Committee (GTBHEC/APVL/2026/456-147) and was registered with the Clinical Trials Registry of India ( CTRI/2026/04/108541 ). CONSENT TO PARTICIPATE: Written informed consent was obtained from the parents or legal guardians of all participants before enrolment. Child assent was obtained whenever appropriate. ARTIFICIAL INTELLIGENCE DECLARATION: Artificial intelligence-assisted language tools were used solely to improve grammar, readability, and manuscript presentation. All study design, data collection, statistical analyses, interpretation of results, and final manuscript preparation were performed, reviewed, and verified by the authors. The authors accept full responsibility for the accuracy, integrity, and scientific content of this work. References 1. Grisolia BM, Dos Santos APP, Dhyppolito IM, Buchanan H, Hill K, Oliveira BH. Prevalence of dental anxiety in children and adolescents globally: a systematic review with meta-analyses. Int J Paediatr Dent. 2021;31:168–183. doi: 10.1111/ipd.12712. 2. Appukuttan DP. Strategies to manage patients with dental anxiety and dental phobia: literature review. Clin Cosmet Investig Dent. 2016;8:35–50. doi: 10.2147/CCIDE.S63626. 3. Qian C, Marques JAL, de Alexandria AR. Real-time emotion recognition based on facial expressions using artificial intelligence techniques: a review and future directions. Multidiscip Rev. 2025;8:2025328 4. Mahendar M, Malik A, Batra I. In: Advanced Informatics for Computing Research. Luhach AK, Jat DS, Ghazali KHB, Gao XZ, Lingras P, editors. Singapore: Springer; 2021. A comparative study of deep learning techniques for emotion estimation based on E-learning through cognitive state analysis; pp. 226–235. 5. Acharya S, Godhi BS, Saxena V, Assiry AA, Alessa NA, Dawasaz AA, et al. Role of artificial intelligence in behavior management of pediatric dental patients-a mini review. J Clin Pediatr Dent. 2024;48:24–30. doi: 10.22514/jocpd.2024.055. 6. Rathod M, Dalvi C, Kaur K, Patil S, Gite S, Kamat P, et al. Kids’ emotion recognition using various deep-learning models with explainable AI. Sensors (Basel) 2022;22:8066. doi: 10.3390/s22208066. 7. Glaesmer H, Geupel H, Haak R. A controlled trial on the effect of hypnosis on dental anxiety in tooth removal patients. Patient Educ Couns. 2015;98:1112–1115. doi: 10.1016/j.pec.2015.05.007. 8. Ramírez-Carrasco A, Butrón-Téllez Girón C, Sanchez-Armass O, Pierdant-Pérez M. Effectiveness of hypnosis in combination with conventional techniques of behavior management in anxiety/pain reduction during dental anesthetic infiltration. Pain Res Manag. 2017;2017:1434015. doi: 10.1155/2017/1434015. 9. Klaassen MA, Veerkamp JS, Hoogstraten J. Dental treatment under general anaesthesia: the short-term change in young children’s oral-health-related quality of life. Eur Arch Paediatr Dent. 2008;9:130–137. doi: 10.1007/BF03262624. 10. Cademartori MG, Martins P, Romano AR, Goettems ML. Behavioral changes during dental appointments in children having tooth extractions. J Indian Soc Pedod Prev Dent. 2017;35:223–228. doi: 10.4103/JISPPD.JISPPD_195_16. 11. Sun IG, Chu CH, Lo ECM, Duangthip D. Global prevalence of early childhood dental fear and anxiety: a systematic review and meta-analysis. J Dent. 2024;142:104841. doi: 10.1016/j.jdent.2024.104841. 12. Armfield JM, Heaton LJ. Management of fear and anxiety in the dental clinic: a review. Aust Dent J. 2013;58:390–407. doi: 10.1111/adj.12118. 13. Cianetti S, Lombardo G, Lupatelli E, Pagano S, Abraha I, Montedori A, et al. Dental fear/anxiety among children and adolescents. A systematic review. Eur J Paediatr Dent. 2017;18:121–130. doi: 10.23804/ejpd.2017.18.02.07. 14. Feinstein AR, Cicchetti DV. High agreement but low kappa: I. The problems of two paradoxes. J Clin Epidemiol. 1990;43:543–549. doi: 10.1016/0895-4356(90)90158-l. 15. Sim J, Wright CC. The kappa statistic in reliability studies: use, interpretation, and sample size requirements. Phys Ther. 2005;85:257–268. 16. Cao X, Yumul R, Elvir Lazo OL, Friedman J, Durra O, Zhang X, et al. A novel visual facial anxiety scale for assessing preoperative anxiety. PLoS One. 2017;12:e0171233. doi: 10.1371/journal.pone.0171233. 17. Alkhouli M, Al-Nerabieah Z, Dashash M. Analyzing facial action units in children to differentiate genuine and fake pain during inferior alveolar nerve block: a cross-sectional study. Sci Rep. 2023;13:15564. doi: 10.1038/s41598-023-42982-6. 18. Sikka K, Ahmed AA, Diaz D, Goodwin MS, Craig KD, Bartlett MS, et al. Automated assessment of children’s postoperative pain using computer vision. Pediatrics. 2015;136:e124–e131. doi: 10.1542/peds.2015-0029. 19. Shetty RM, Walia T, Osman OTS. Reliability and validity of artificial intelligence-based innovative digital scale for the assessment of anxiety in children. Eur J Paediatr Dent. 2025;26:175–184. doi: 10.23804/ejpd.2024.1937. 20. Ghafarfaraji S. AI-based recognition of facial and microexpressions for the diagnosis of mental and neurological disorders: a systematic review. BMC Psychiatry. 2026;26:78. doi: 10.1186/s12888-025-07739-7.

Otvoreni pristup preko Europe PMC / PubMed. Dentopedia prikazuje literaturu u istraživačko-edukativne svrhe; nije zamena za klinički pregled. PMC13669300
Ružica
RužicaAI asistentkinja Dentopedije
Ceo prozor ↗
Zdravo! Postavite mi pitanje o stomatologiji — odgovoriću Vam iz leksikona i stručne biblioteke i navešću izvore.