Improving attachment style clustering with ROCKET and CatBoost: Insights from EEG analysis

D Dor Mizrahi I Ilan Laufer I Inon Zuckerman

Abstract

Understanding attachment styles is essential in psychology and neuroscience, yet predicting them using objective neural data remains challenging. This study explores the use of machine learning (ML) models and EEG analysis to improve attachment style classification. We analyzed EEG data from 27 university students (ages 20–35) with attachment styles categorized as secure, avoidant, anxious, or fearful-avoidant, assessed using the ECR-R questionnaire. EEG features were extracted using the ROCKET algorithm, followed by Principal Component Analysis (PCA) for dimensionality reduction. The CatBoost algorithm was used for prediction, with a two-stage data pruning approach to enhance accuracy. Our model showed a strong relationship between the number of EEG epochs and predictive accuracy, with Secure and Fearful-Avoidant attachment styles being predicted most reliably. Anxious and Avoidant styles exhibited greater variability, reflecting their complex neural signatures. These findings support the idea that attachment exists on a spectrum rather than as fixed categories, influenced by life experiences, emotional regulation, and social context. The results reinforce the dimensional nature of attachment and highlight the trade-off between model accuracy and computational efficiency. This study demonstrates the potential of ML-driven EEG analysis in predicting attachment styles, offering new possibilities for psychological assessment. By identifying overlapping neural signatures, our findings highlight attachment as a dynamic rather than static process, which could inform clinical interventions and future research on neural markers of attachment.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 9
Published September 02, 2025
Pages e0331112
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (3)

D

Dor Mizrahi

I

Ilan Laufer

I

Inon Zuckerman