IAIrfan Ali

Irfan Ali

*This is an algorithmically generated author record based on publicly available information.

Latest Publications

  • Open Access

    Advanced Cross-Validation Framework for Mental Health AI: BERT and Neural Networks Achieve High Accuracy on Mental Chat16K

    by Irfan Ali

    Conversational AI is becoming an essential tool for supporting mental health, yet there are still few robust evaluation frameworks for large-scale therapeutic dialogue datasets. This study presents a comprehensive analysis of the MentalChat16K dataset, which contains 16,084 mental health conversation pairs (6,338 real clinical interviews and 9,746 synthetic dialogues), using modern deep learning architectures. We develop and evaluate BERT-based text classification models and featureengineered neural networks for mental health conversation analysis. Our BERT classifier achieves 86.7% accuracy and 86.1% F1-score for sentiment-based mental health state classification. A feature-based neural network achieves 86.7% accuracy and 83.5% F1 Score for therapeutic response type prediction. In addition, five-fold cross-validation with a Random Forest classifier on engineered features yields 99.99% ± 0.02% accuracy. We show that this very high performance is driven by practical feature engineering on a more straightforward classification task, distinct from the primary BERT and neural network models. We further perform statistical significance testing using McNemar’s test and bootstrap confidence intervals, confirming that model performance differences are statistically significant (p < 0.05). Performance on real versus synthetic data is comparable (100.0% vs 99.95%), suggesting robustness across data sources. The dataset consists of 39.4% real clinical interviews and 60.6% GPT-3.5-generated conversational-stations; a demographic analysis highlights the lack of explicit demographic labels and the resulting limitations. Our methodology includes domain-optimised BERT architectures, thorough hyperparameter documentation, and a stratified cross-validation framework. GPU-accelerated experiments provide practical insights for deploying such models in workplace mental health systems. Overall, this study establishes performance benchmarks for conversational mental health AI with promising accuracy levels for research and development, while emphasising the need for independent clinical validation before any real-world use. This work contributes to the growing field of AI-powered mental health support technologies.

  • Multi-Aspect Temporal Topic Evolution with Neural-Symbolic Fusion and Information Extraction for Yelp Review Analysis: A Comprehensive Deep Learning Framework

    by Irfan Ali

    The exponential growth of user-generated content on review platforms like Yelp presents unprecedented opportunities for understanding consumer behaviour and market dynamics through advanced natural language processing. However, existing approaches face critical limitations: traditional topic models fail to capture fine-grained aspect-specific insights, neural methods lack integrated information extraction capabilities, and temporal dynamics modelling remains underdeveloped. Extracting actionable intelligence from unstructured review text is computationally challenging due to inherent linguistic complexity, temporal variability, multi-dimensional sentiment patterns, and the need to understand geographic market variations. These challenges necessitate a comprehensive framework that simultaneously addresses aspect extraction, topic discovery, temporal evolution, and market analysis. We propose the MultiAspect Temporal Topic Evolution with NeuralSymbolic Fusion and Information Extraction (MATTE-NSF-IE) framework, a novel end-to-end system for analysing restaurant reviews. The framework integrates four synergistic components: (1) a transformer-based information extraction module leveraging RoBERTa, VADER, and BERT for aspect ex- traction, sentiment classification, and named entity recognition; (2) a neural-symbolic topic modeling architecture combining Latent Dirichlet Allocation with TF-IDF weight- ing for aspect-aware topic discovery; (3) a temporal forecasting system using ensemble moving average prediction for sentiment trend analysis; and (4) a geographic market analysis module with statistical validation through Mann-Whitney U tests. We evaluated MATTE-NSFIE on the Yelp Open Dataset, analyzing 3,000 highquality restaurant reviews spanning 2005-2018 from 1,467 businesses across 248 metropolitan areas. The information extraction module achieved 70.0% F1- score for aspect extraction, 70.8% for sentiment classification, and 97.2% for named entity recognition. Topic modelling generated eight coherent aspect-specific topics with an 87.5% diversity score and 0.208 NPMI coherence. Temporal analysis achieved a mean absolute error of 17.9% in sentiment forecasting. Market analysis revealed statistically significant geographic patterns (p < 0.05) across 10 major cities, identifying variations in health trends (3.57-4.38), service priorities (0.72-0.78), and price sensitivity differences (0.44-0.57). The framework enables realtime business: intelligence applications, personalised recommendation systems, and comprehensive market analysis. Our approach provides actionable insights for restaurant management, investment decisions, understanding consumer behaviour, and locationbased market intelligence, positioning it for highimpact deployment in both academic research and industry applications.