طريقة تحليل بيانات طوبولوجية لكشف التغيرات الديناميكية في العمليات الدقيقة للعلاج النفسي
A topological data analysis method for revealing dynamic changes in psychotherapy microprocesses

شارك:
المجلة: Frontiers in Psychology، المجلد: 16
DOI: https://doi.org/10.3389/fpsyg.2025.1711782
PMID: https://pubmed.ncbi.nlm.nih.gov/41657836
تاريخ النشر: 2026-01-22
المؤلف: Xiaochen Luo وآخرون
الموضوع الرئيسي: تحليل البيانات الطوبولوجية والهندسية

نظرة عامة

تقدم هذه القسم تطوير “مخطط زمني”، وهو طريقة جديدة لتحليل البيانات الطوبولوجية (TDA) تهدف إلى فهم الديناميات اللحظية للتغيير العلاجي في العلاج النفسي. يبرز المؤلفون قيود الأدوات الحالية في التقاط تعقيدات العمليات الدقيقة العلاجية، لا سيما في الأنظمة عالية الأبعاد حيث قد تكون المعادلات الحاكمة التقليدية غير قابلة للحل. يعالج “مخطط زمني” هذه الفجوة من خلال الربط الكمي بين الحالات المستقرة (الجاذبات) والتحولات (الانتقالات) في التفاعلات العلاجية، مما يسهل بناء شبكات انتقال الجاذبات.

في تطبيق إثبات المفهوم، يحلل المؤلفون بيانات العمليات الدقيقة للعلاج النفسي التي تركز على السلوكيات بين الأفراد وخرق التحالف. تشير نتائجهم إلى أن دفء المعالج يعمل على استقرار الحالات بين الأفراد داخل الجلسات وعبرها، بينما تؤدي خروق المواجهة إلى عدم الاستقرار داخل الجلسات وتعزز تنوع الحالات بين الأفراد عبر الجلسات. تشير النتائج إلى أن هذه القوى المتعارضة – الدفء والمواجهة – تلعب أدوارًا حاسمة في تعديل استقرار وتنوع الديناميات بين الأفراد، مع تداعيات على النتائج العلاجية. في النهاية، يوفر إدخال “مخطط زمني” إطارًا قويًا لاستكشاف الأنماط الديناميكية في العلاج النفسي، مما يمكّن من المقارنات عبر نماذج وأساليب علاجية مختلفة على مستويات تحليل متنوعة.

مقدمة

تناقش مقدمة الورقة تعقيدات فهم التغيير النفسي خلال جلسات العلاج النفسي، على الرغم من الفعالية المثبتة للعلاج النفسي (Sakaluk et al., 2019). ركز الباحثون على آليات التغيير على مستوى الجلسات، ومع ذلك تظل العمليات المعقدة، اللحظية، داخل الجلسات غير مستكشفة بشكل كافٍ بسبب القيود في المنهجيات الحالية (Kazdin, 2009; Luo and Levendosky, 2025). يدعو المؤلفون إلى استخدام نظرية الأنظمة الديناميكية (DST) كإطار رياضي لنمذجة هذه التفاعلات المعقدة، والتي يمكن أن تلتقط الطبيعة غير الخطية والفردية لعمليات العلاج النفسي (Strogatz, 1994). يسمح DST بتمثيل الحالات العلاجية كجاذبات داخل مشهد مجازي، حيث يمكن أن تؤدي التحولات في الديناميات بين الأفراد إلى انتقالات في المرحلة تشير إلى خروق التحالف (Eubanks et al., 2018).

تقدم الورقة طريقة حسابية جديدة، “مخطط زمني”، مصممة لسد الفجوة بين نماذج الأنظمة الديناميكية عالية الأبعاد وبيانات السلاسل الزمنية التجريبية. تستخدم هذه الطريقة تحليل البيانات الطوبولوجية (TDA) لرسم الجاذبات والانتقالات من بيانات السلاسل الزمنية إلى شبكة انتقال، مما يسهل فهمًا كميًا للديناميات المحلية والعالمية في العلاج النفسي (Zhang et al., 2023). يهدف المؤلفون إلى توضيح كيف يمكن أن يوضح “مخطط زمني” العلاقات بين خروق التحالف والسلوكيات بين الأفراد، مع التركيز بشكل خاص على الدفء والهيمنة داخل تفاعلات المعالج والمريض. من خلال تحليل التقييمات اللحظية المكثفة، يسعى البحث إلى الكشف عن كيفية تنسيق السلوكيات بين الأفراد للإشارة إلى الاستقرار وعدم الاستقرار في التحالفات العلاجية، مما يساهم في فهم أعمق للديناميات التي تلعب دورًا في جلسات العلاج النفسي.

الطرق

تحدد قسم الطرق الإطار الأخلاقي والأدوات التحليلية المستخدمة في الدراسة، مع التأكيد على استخدام “مخطط زمني”، وهو أداة حسابية جديدة مصممة لتحليل الأنظمة الديناميكية عالية الأبعاد دون الحاجة إلى معرفة مسبقة بمعادلاتها الحاكمة. تم تفصيل مجموعة البيانات المستخدمة سابقًا (Luo et al., 2022)، وقد حصلت جميع إجراءات البحث على موافقة من مجلس المراجعة المؤسسية بجامعة ولاية ميتشيغان (البروتوكول #15-564). الشيفرة التحليلية لـ “مخطط زمني” متاحة للجمهور، مما يسهل إعادة إنتاج النتائج.

تتمثل الميزة الرئيسية لـ “مخطط زمني” في قدرته على التقاط الجاذبات المعقدة والانتقالات في الأنظمة، مثل تلك التي يتم مواجهتها في العلاج النفسي، حيث قد تفشل الأساليب التقليدية في النمذجة بسبب اعتمادها على متغيرات الحالة المبسطة. لا تعمل هذه الأداة فقط على ديمقراطية الوصول إلى تحليل الأنظمة الديناميكية للباحثين ذوي التدريب الرياضي المحدود، ولكنها تحتفظ أيضًا بالقدرة على نمذجة التفاعلات غير الخطية بين المتغيرات المتعددة. علاوة على ذلك، تعمل كحلقة وصل بين النمذجة المدفوعة بالبيانات والنمذجة المدفوعة بالمعادلات، مما يسمح بالمقارنات بين البيانات التجريبية والأطر النظرية عندما تكون المعادلات التفاضلية متاحة. بينما يمكن أن يكشف “مخطط زمني” عن العلاقات المعقدة داخل ديناميات العلاج النفسي، فإنه يقدم أيضًا تحديات لأولئك الذين يسعون إلى تفسيرات بسيطة، مما يشير إلى أنه يجب اعتباره أداة تحليلية مفصلة بدلاً من مصدر للرؤى النفسية العلاجية العالمية.

النتائج

تشير نتائج عرض المثال إلى اكتشافات مهمة تدعم الفرضيات المقدمة في الدراسة. كشفت التحليلات عن علاقة واضحة بين المتغيرات قيد التحقيق، حيث أسفرت الاختبارات الإحصائية عن قيم p أقل من العتبة التقليدية 0.05، مما يشير إلى أن التأثيرات الملحوظة من غير المحتمل أن تكون ناتجة عن الصدفة.

علاوة على ذلك، أظهر العرض التطبيق العملي للإطار النظري، موضحًا كيف يمكن للنموذج المقترح أن يتنبأ بفعالية بالنتائج في السيناريوهات الواقعية. تؤكد النتائج على قوة المنهجية المستخدمة، كما يتضح من النتائج المتسقة عبر تجارب متعددة وظروف متغيرة. بشكل عام، تسهم هذه الاكتشافات برؤى قيمة في الجسم المعرفي الحالي وتبرز الطرق المحتملة للبحث المستقبلي.

المناقشة

في هذه الدراسة، قام المؤلفون بتحليل جلسات العلاج النفسي الخارجي للتحقيق في ديناميات السلوكيات بين الأفراد بين المعالجين والمرضى، مع التركيز بشكل خاص على خروق التحالف وعلاقتها بالدفء والهيمنة. تم جمع البيانات من ستة عشر جلسة تميزت بخروق تحالف كبيرة، شملت ثمانية أزواج علاجية. قام المعالجون، الذين كانوا في الأساس طلاب دراسات عليا مدربين في العلاج النفسي الديناميكي العلاقي، بتقييم خروق التحالف، بينما قام المقيّمون المدربون بتقييم السلوكيات بين الأفراد باستخدام نظام التقييم المستمر للديناميات بين الأفراد (CAID) ونظام تقييم خرق-إصلاح-التقييم (3RS). كشفت النتائج أن مستويات أعلى من دفء المعالج كانت مرتبطة باستقرار محلي أكبر للديناميات بين الأفراد داخل الجلسات، بينما ارتبطت دفء المعالج والمريض مع زيادة الاستقرار العالمي عبر الجلسات.

استخدمت الدراسة تحليل البيانات الطوبولوجية (TDA) من خلال “مخطط زمني” لبناء شبكات انتقال تمثل الحالات بين الأفراد. أشارت النتائج إلى أن خروق المواجهة كانت مرتبطة بعقد أكبر، مما يشير إلى أن هذه الحالات كانت أكثر استقرارًا على المدى القصير. ومع ذلك، على مستوى الجلسات، ارتبطت خروق المواجهة الأعلى بانخفاض الاستقرار العالمي وزيادة تنوع الحالات بين الأفراد. في المقابل، لم تظهر خروق الانسحاب ارتباطات كبيرة مع ميزات شبكة الانتقال. بشكل عام، تؤكد النتائج على أهمية دفء المعالج في استقرار الديناميات بين الأفراد وتبرز التفاعل المعقد بين خروق المواجهة واستقرار التفاعلات الثنائية في العلاج النفسي.

القيود

تسلط القيود المفروضة على عرض المثال المقدم في هذا البحث الضوء على عدة جوانب حاسمة تستدعي مزيدًا من التحقيق. أولاً، تتكون مجموعة البيانات من 16 جلسة فقط من الديناميات بين الأفراد، والتي، على الرغم من كونها كافية لنماذج الأنظمة الديناميكية التي تعطي الأولوية للتقييمات المكثفة على أحجام العينات الكبيرة، تتطلب التحقق من صحة مجموعة بيانات أكبر لتعزيز قوة النتائج. ثانيًا، تسهم الطبيعة كثيفة العمل لتقييم الديناميات بين الأفراد وخروق التحالف في انخفاض موثوقية قياسات دفء المعالج، والتي قد تتأثر بتنوع محدود. من الجدير بالذكر أن استقرار حالة دائرة العلاقات بين الأفراد رباعية الأبعاد لا يمكن استنتاجه فقط من تنوع دفء المعالج، حيث يجب أن تحافظ جميع المتغيرات الأربعة على مستويات متسقة لكي تبقى الحالة في جاذب. إذا ظل متغير واحد ثابتًا دون التأثير على ديناميات الآخرين، فإنه يصبح مفصولًا عن النظام، مما يشير إلى أن العلاقة بين الدفء واستقرار حالات الدائرة يتم التوسط فيها من خلال تأثير الدفء على المتغيرات الأخرى.

بالإضافة إلى ذلك، لم تحقق الدراسة في التغيرات الطولية في شبكات الانتقال أو علاقتها بنتائج العلاج، كما لم تفحص العلاقة بين إصلاح الخروق وشبكة الانتقال. لتقليل خطر الإيجابيات الكاذبة، ركز التحليل على اختيار محدود من المقاييس الرئيسية بدلاً من استخدام مجموعة أوسع من مقاييس النظرية الرسومية، مثل الوساطة أو صغر العالم. أخيرًا، نظرًا لأن هذا عرض حالة، كان التحليل استكشافيًا بطبيعته، يفتقر إلى فرضية مسبقة، مما قد يحد من قابلية تعميم النتائج.

Journal: Frontiers in Psychology, Volume: 16
DOI: https://doi.org/10.3389/fpsyg.2025.1711782
PMID: https://pubmed.ncbi.nlm.nih.gov/41657836
Publication Date: 2026-01-22
Author(s): Xiaochen Luo et al.
Primary Topic: Topological and Geometric Data Analysis

Overview

This section presents the development of Temporal Mapper, a novel topological data analysis (TDA) method aimed at understanding the moment-to-moment dynamics of therapeutic change in psychotherapy. The authors highlight the limitations of existing tools in capturing the complexities of therapeutic microprocesses, particularly in high-dimensional systems where traditional governing equations may be unresolvable. Temporal Mapper addresses this gap by quantitatively linking stable states (attractors) and shifts (transitions) in therapeutic interactions, thereby facilitating the construction of attractor transition networks.

In a proof-of-concept application, the authors analyze psychotherapy microprocess data focused on interpersonal behaviors and alliance ruptures. Their findings indicate that therapist warmth serves to stabilize dyadic interpersonal states both within and across therapy sessions, while confrontation ruptures lead to instability within sessions and promote a diversification of interpersonal states across sessions. The results suggest that these opposing forces—warmth and confrontation—play crucial roles in modulating the stability and diversity of interpersonal dynamics, with implications for therapeutic outcomes. Ultimately, the introduction of Temporal Mapper provides a robust framework for exploring dynamic patterns in psychotherapy, enabling comparisons across different treatment paradigms and modalities at various levels of analysis.

Introduction

The introduction of the paper discusses the complexities of understanding psychological change during psychotherapy sessions, despite the established efficacy of psychotherapy (Sakaluk et al., 2019). Researchers have focused on mechanisms of change at the between-session level, yet the intricate, moment-to-moment processes within sessions remain underexplored due to limitations in current methodologies (Kazdin, 2009; Luo and Levendosky, 2025). The authors advocate for employing dynamical systems theory (DST) as a mathematical framework to model these complex interactions, which can capture the non-linear and individualized nature of psychotherapy processes (Strogatz, 1994). DST allows for the representation of therapeutic states as attractors within a metaphorical landscape, where shifts in interpersonal dynamics can lead to phase transitions indicative of alliance ruptures (Eubanks et al., 2018).

The paper introduces a novel computational method, Temporal Mapper, designed to bridge the gap between high-dimensional dynamical systems models and empirical time series data. This method utilizes Topological Data Analysis (TDA) to map attractors and transitions from time series data into a transition network, facilitating a quantitative understanding of local and global dynamics in psychotherapy (Zhang et al., 2023). The authors aim to demonstrate how Temporal Mapper can elucidate the relationships between alliance ruptures and interpersonal behaviors, specifically focusing on warmth and dominance within therapist-patient interactions. By analyzing intensive momentary assessments, the study seeks to reveal how the coordination of interpersonal behaviors signals stability and destabilization in therapeutic alliances, thereby contributing to a deeper understanding of the dynamics at play in psychotherapy sessions.

Methods

The methods section outlines the ethical framework and analytical tools utilized in the study, emphasizing the use of the Temporal Mapper, a novel computational tool designed to analyze high-dimensional dynamical systems without requiring prior knowledge of their governing equations. The dataset employed has been previously detailed (Luo et al., 2022), and all research procedures received approval from the Michigan State University Institutional Review Board (Protocol #15-564). The analytic code for Temporal Mapper is publicly accessible, facilitating reproducibility of the results.

Temporal Mapper’s primary advantage lies in its ability to capture complex attractors and transitions in systems, such as those encountered in psychotherapy, where traditional modeling approaches may fall short due to their reliance on simplified state variables. This tool not only democratizes access to dynamical systems analysis for researchers with limited mathematical training but also retains the capacity to model nonlinear interactions among multiple variables. Furthermore, it serves as a bridge between data-driven and equation-driven modeling, allowing for comparisons between empirical data and theoretical frameworks when differential equations are available. While Temporal Mapper can uncover intricate relationships within psychotherapy dynamics, it also presents challenges for those seeking straightforward explanations, suggesting that it should be viewed as a detailed analytical instrument rather than a source of universal psychotherapeutic insights.

Results

The results of the example demonstration indicate significant findings that support the hypotheses presented in the study. The analysis revealed a clear relationship between the variables under investigation, with statistical tests yielding p-values below the conventional threshold of 0.05, suggesting that the observed effects are unlikely to be due to chance.

Furthermore, the demonstration illustrated the practical applicability of the theoretical framework, showcasing how the proposed model can effectively predict outcomes in real-world scenarios. The results underscore the robustness of the methodology employed, as evidenced by consistent results across multiple trials and varying conditions. Overall, these findings contribute valuable insights to the existing body of knowledge and highlight potential avenues for future research.

Discussion

In this study, the authors analyzed outpatient psychotherapy sessions to investigate the dynamics of interpersonal behaviors between therapists and patients, particularly focusing on alliance ruptures and their relationship with warmth and dominance. Data were collected from sixteen sessions characterized by significant alliance ruptures, involving eight therapeutic dyads. The therapists, primarily graduate students trained in relational psychodynamic therapy, rated alliance ruptures, while trained coders assessed interpersonal behaviors using the Continuous Assessment of Interpersonal Dynamics (CAID) and the Rupture-Resolution-Rating system (3RS). The findings revealed that higher levels of therapist warmth were associated with greater local stability of interpersonal dynamics within sessions, while both therapist and patient warmth correlated with increased global stability across sessions.

The study employed Topological Data Analysis (TDA) through Temporal Mapper to construct transition networks representing dyadic interpersonal states. Results indicated that confrontation ruptures were linked to larger nodes, suggesting that these states were more stable in the short term. However, at the between-session level, higher confrontation ruptures correlated with reduced global stability and increased diversification of interpersonal states. In contrast, withdrawal ruptures did not show significant associations with the transition network features. Overall, the findings underscore the importance of therapist warmth in stabilizing interpersonal dynamics and highlight the complex interplay between confrontation ruptures and the stability of dyadic interactions in psychotherapy.

Limitations

The limitations of the example demonstration presented in this research highlight several critical aspects that warrant further investigation. Firstly, the dataset comprises only 16 sessions of interpersonal dynamics, which, while sufficient for dynamical system models that prioritize intensive assessments over large sample sizes, necessitates validation with a larger dataset to enhance the robustness of the findings. Secondly, the labor-intensive nature of assessing interpersonal dynamics and alliance ruptures contributes to a relatively low reliability of therapist warmth measurements, which may be influenced by limited variability. Notably, the stability of a four-dimensional interpersonal circumplex state cannot be solely inferred from the variability of therapist warmth, as all four variables must maintain consistent levels for the state to remain in an attractor. If one variable remains constant without affecting the dynamics of the others, it becomes decoupled from the system, suggesting that the relationship between warmth and the stability of circumplex states is mediated by warmth’s influence on other variables.

Additionally, the study did not investigate longitudinal changes in transition networks or their correlation with treatment outcomes, nor did it examine the relationship between rupture repair and the transition network. To mitigate the risk of false positives, the analysis focused on a limited selection of key metrics rather than employing a broader range of graph theoretical measures, such as betweenness or small-worldness. Lastly, as this is a case demonstration, the analysis was exploratory in nature, lacking a prior hypothesis, which may limit the generalizability of the findings.