Detection of Cognitive Distortions in Students’ Thoughts Using Topic Modeling and Fuzzy Clustering

Cognitive distortion (CD) refers to an irrational thinking pattern that causes individuals to misinterpret information and convince themselves of incorrect information. This study investigates patterns of CDs in students’ thoughts after academic exams. Machine learning models are utilized to detect and categorize these distortions. The methodology of this study utilizes topic modeling with two approaches: latent Dirichlet allocation (LDA) with Tf–Idf and non-negative matrix factorization (NMF). The NMF approach is applied with two different pre-trained embeddings (AraBERT and AraGPT). Fuzzy clustering is combined with these topic modeling approaches, and the results are compared. Experiments are conducted using two datasets: a collection of students’ thoughts and a generated dataset that is based on cognitive behavioral therapy (CBT) principles. When analyzing the students’ thoughts dataset, NMF with AraBERT demonstrated superior performance by producing the most meaningful topics with a coherence score of 0.78. However, in the generated dataset, NMF with AraGPT achieved a better balance between coherence and separation, along with clearer topic boundaries. Although NMF with AraBERT achieves the highest coherence score (0.86), it shows significant topic overlap inferred from the inter-clustering score (0.81). Fuzzy clustering, topic modeling, and NMF-AraGPT together provide the highest overall performance when applied to the students’ dataset. This combination provides distinct and well-separated topics inferred from the inter-clustering score (0.53). NMF topic modeling with AraGPT is the most effective model when integrated with fuzzy clustering based on the comprehensive analysis.

Authors

Institutions

Publication Details

Journal
International Journal of Interactive Mobile Technologies (iJIM)
Published
2025-08-27
DOI
https://doi.org/10.3991/ijim.v19i16.56253
Primary Topic
Computational and Text Analysis Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection of Cognitive Distortions in Students’ Thoughts Using Topic Modeling and Fuzzy Clustering

Maisa Al-Khazaleh, Marwah Alian, Hadeel Rida Alshboul
International Journal of Interactive Mobile Technologies (iJIM)
Computational and Text Analysis Methods
article

Detection of Cognitive Distortions in Students’ Thoughts Using Topic Modeling and Fuzzy Clustering

Maisa Al-Khazaleh, Marwah Alian, Hadeel Rida Alshboul
article en

Abstract

Cognitive distortion (CD) refers to an irrational thinking pattern that causes individuals to misinterpret information and convince themselves of incorrect information. This study investigates patterns of CDs in students’ thoughts after academic exams. Machine learning models are utilized to detect and categorize these distortions. The methodology of this study utilizes topic modeling with two approaches: latent Dirichlet allocation (LDA) with Tf–Idf and non-negative matrix factorization (NMF). The NMF approach is applied with two different pre-trained embeddings (AraBERT and AraGPT). Fuzzy clustering is combined with these topic modeling approaches, and the results are compared. Experiments are conducted using two datasets: a collection of students’ thoughts and a generated dataset that is based on cognitive behavioral therapy (CBT) principles. When analyzing the students’ thoughts dataset, NMF with AraBERT demonstrated superior performance by producing the most meaningful topics with a coherence score of 0.78. However, in the generated dataset, NMF with AraGPT achieved a better balance between coherence and separation, along with clearer topic boundaries. Although NMF with AraBERT achieves the highest coherence score (0.86), it shows significant topic overlap inferred from the inter-clustering score (0.81). Fuzzy clustering, topic modeling, and NMF-AraGPT together provide the highest overall performance when applied to the students’ dataset. This combination provides distinct and well-separated topics inferred from the inter-clustering score (0.53). NMF topic modeling with AraGPT is the most effective model when integrated with fuzzy clustering based on the comprehensive analysis.

International Journal of Interactive Mobile Technologies (iJIM)Vol. 19(16)
Hashemite University (JO), World Islamic Sciences and Education University (JO)
Openalex Percentile: Top 67%
Computational and Text Analysis Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.