Interpretable learning for detection of cognitive distortions from natural language texts

We developed a technology that, based on a dataset annotated for cognitive distortions, builds an interpretable model capable of detecting cognitive distortions in natural language texts. The novelty of the approach lies in the fact that the learning and detection methods are based on structural patterns such as N-grams, incorporating heterarchical relationships between them through the “priority on order” principle. We investigated and released two types of detection models: plain binary classification and a model based on a multi-class representation. We optimized the hyperparameters of the models and achieved an accuracy of 0.92 and an F 1-score of 0.95 in a cross-validation experiment. Additionally, we achieved over 1,000 times higher processing speed and lower computational cost compared to Large Language Model (LLM)-based alternatives.

Authors

Publication Details

Journal
PeerJ Computer Science
Published
2026-03-17
DOI
https://doi.org/10.7717/peerj-cs.3699
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable learning for detection of cognitive distortions from natural language texts

Anna Andreevna Arinicheva, Anton Germanovich Kolonin
PeerJ Computer Science
Explainable Artificial Intelligence (XAI)
article

Interpretable learning for detection of cognitive distortions from natural language texts

Anna Andreevna Arinicheva, Anton Germanovich Kolonin
article en

Abstract

We developed a technology that, based on a dataset annotated for cognitive distortions, builds an interpretable model capable of detecting cognitive distortions in natural language texts. The novelty of the approach lies in the fact that the learning and detection methods are based on structural patterns such as N-grams, incorporating heterarchical relationships between them through the “priority on order” principle. We investigated and released two types of detection models: plain binary classification and a model based on a multi-class representation. We optimized the hyperparameters of the models and achieved an accuracy of 0.92 and an F 1-score of 0.95 in a cross-validation experiment. Additionally, we achieved over 1,000 times higher processing speed and lower computational cost compared to Large Language Model (LLM)-based alternatives.

PeerJ Computer ScienceVol. 12
Quality Education
Openalex Percentile: Top 22%
Explainable Artificial Intelligence (XAI)
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.