Method Article
The protocol aims to provide a detailed description of the methodology for conducting an fNIRS hyperscanning study in psychological counseling. This includes the preparations for the experiment, the procedure for collecting data, and the subsequent data analysis process.
Functional Near-Infrared Spectroscopy (fNIRS) hyperscanning is an innovative technique that enables real-time monitoring of brain activity among multiple individuals engaged in social interactions. Researchers in this field quantify concurrent brain activities through the index of inter-brain synchrony (IBS). In psychological counseling research, the use of fNIRS to measure IBS has garnered attention for its potential to illuminate the dynamics of counselor-client interactions. Nevertheless, the field currently lacks a standardized protocol for precisely measuring IBS between counselors and clients, which would facilitate the revelation of real-time interaction patterns during counseling sessions. To address this need, this paper proposes a detailed standardized protocol, outlining the procedural steps for conducting fNIRS hyperscanning in psychological counseling settings, focusing on the acquisition of brain signals, calculation of IBS between counselors and clients, and analysis of lead-lag patterns of IBS throughout counseling sessions. Implementing this standardized fNIRS hyperscanning pipeline not only enhances the reproducibility and reliability of IBS measurements in psychological counseling research but also facilitates deeper insights into the neural mechanisms underlying working alliance. By integrating fNIRS hyperscanning into naturalistic counseling environments, researchers can advance understanding of how IBS correlates with counseling outcomes, potentially informing personalized approaches to mental health treatment.
In recent years, using hyperscanning techniques to explore shared brain activities during dyadic or group interactions has become a popular research direction. Researchers often employ electroencephalogram (EEG)1, functional magnetic resonance imaging (fMRI)2, or functional near-infrared spectroscopy (fNIRS)3 to monitor the neural and brain activities of multiple subjects simultaneously. The neuroscience metric of inter-brain synchrony (IBS)4 is thus introduced to quantify the degree of brain activity coupling between people with meticulous analysis of the phase and amplitude alignment of neural or hemodynamic signals across time5. IBS refers to the phenomenon where the brain activities of two or more individuals become aligned or synchronized during social interactions. This synchronization can occur in various forms, such as in the phase, frequency, or amplitude of brain oscillations6,7,8.
In the realm of naturalistic social interactions involving multiple participants, a vast array of research has illuminated the phenomenon of IBS, particularly in contexts as diverse as parent-child dynamics9, educator-student exchanges10, romantic partnerships11, and audience-performer engagements12. Notably, IBS exhibits heightened levels within intimate relationships such as parent-child and romantic partnerships, compared to interactions with strangers13,14, underscoring its sensitivity to the depth of emotional connection. Concurrently, this heightened IBS frequently coincides with enhanced collaboration efficiency and behavioral improvements, suggesting a functional role in facilitating positive social outcomes15.
In the context of counseling, the working alliance -- a pivotal construct closely tied to counseling efficacy16 -- embodies a distinct interpersonal dynamic that gradually evolves between the counselor and client during the therapeutic process. At its essence, this alliance rests upon the fostering of profound emotional ties and the establishment of efficient collaborative frameworks17. Therefore, exploring IBS within counseling interactions provides a new perspective that enhances the understanding of the complexities and quality of these therapeutic relationships.
Counselor empathy, as perceived by the client, contributes to the development of a working alliance18. This indicates that the establishment of the working alliance may arise from the mutual understanding and corresponding neural activities between the counselor and the client. Empathy can be dissociated into two components: affective empathy and cognitive empathy. The inferior frontal gyrus (IFG) is implicated in affective empathy and is also associated with the neural processes underlying face-to-face communication19. The right temporal-parietal junction (rTPJ), an important part of the Theory of Mind network, is closely linked to cognitive empathy, particularly in understanding the mental states of others20. Consequently, early brain synchronization studies in counseling prioritized these two regions as regions of interest (ROIs) and identified IBS primarily in the rTPJ21. Subsequent research has thus focused predominantly on the rTPJ22. Studies have found that neural synchronization in the rTPJ between clients and therapists during counseling is significantly higher than in conversational contexts. There is a positive correlation between increased synchronous neural activity in the rTPJ and the strength of the therapeutic alliance21. The unique activity patterns in counseling may result from the in-depth exploration of emotional expressions and personal experiences. This suggests that IBS warrants further investigation within counseling. Additionally, the correlation between enhanced rTPJ activity and the strength of the working alliance indicates that IBS could serve as a neurobiological basis for assessing counseling relationships, offering a novel evaluation metric.
While these findings underscore the promising role of IBS in counselor-client dynamics, they also emphasize the need for further clarification regarding the direct causal link between brain synchronization, counseling effectiveness, and the working alliance. To advance this burgeoning field, developing standardized hyperscanning protocols and rigorous data analysis methodologies is paramount. By refining the methodological toolkit, it is possible to more precisely map the neural underpinnings of effective counseling, ultimately enhancing the quality of therapeutic interventions and their outcomes.
This article provides a protocol on how to conduct an fNIRS-based hyperscanning study and how to observe and analyze the IBS between the counselor-client dyads. fNIRS is a non-invasive imaging technique used to measure brain activity. It works by detecting changes in blood oxygenation and blood volume within the brain, which are indirect markers of neural activity. This is achieved by emitting near-infrared light into the brain and measuring the amount of light absorbed or scattered by the blood cells23. Thus, the hemodynamic/oxygenation activity is measured. Comparatively, fNIRS offers higher temporal resolution than fMRI, and it is less vulnerable to motion artifacts than EEG, rendering it well suited for studying social interactions in natural settings such as psychological counseling8.
This article also presents the specific steps of computing IBS via the method of wavelet transform coherence (WTC)24. WTC is an analytical technique that measures the relationship between two signals across different frequencies over time. It is beneficial for identifying areas of synchrony between brain regions or between participants in a study. It calculates the coherence between two time series by analyzing their cross-spectrum using wavelet transforms. To contextualize the importance of WTC, it is essential to first understand the foundational concepts of Wavelet Transform (WT)25, Coherence26, and how they converge in the framework of WTC27.
Wavelet Transform, a mathematical tool, excels at decomposing complex signals into their constituent time-frequency components, enabling the analysis of both localized changes in frequency over time and the overall frequency content of a signal27. This characteristic is particularly advantageous when studying neural activity, which is inherently non-stationary and exhibits dynamic changes across different frequencies. Coherence, on the other hand, quantifies the degree to which two signals share similar frequency components and phase relationships, serving as a metric of synchronization between them26. By combining these two concepts, WTC provides a powerful means to assess IBS, capturing both the temporal evolution and frequency specificity of neural coupling between individuals and providing insights into how different parts of the brain or brains interact dynamically throughout a task or stimulus24.
While the traditional WTC framework merely tests the correlation between the brain signals of different individuals, a method considering the directionality of the interaction between the counselor and client is presented here. There are different lead-lag patterns,where one signal consistently precedes variations in the other by a specific time interval, indicating a temporal relationship in IBS according to previous studies28,29. The IBS may not occur simultaneously between the counselor and the client during counseling. Thus, a comprehensive method is needed to explore the directionality of IBS. The method clarifies the role that counselors play throughout various phases of counseling (leading the IBS, in-phase IBS with the client, or led by the client).
This study proposes a detailed and implementable protocol based on the research question of whether IBS scores between counselors and clients can serve as potential biomarkers for assessing alliance quality or outcomes among clients with different adult attachment styles. The protocol outlines the utilization of fNIRS hyperscanning technology to investigate IBS between psychological counselors and clients within a counseling context. It provides comprehensive descriptions of the experimental procedures, precautions for each step, and subsequent data processing methods. It is anticipated that this protocol will offer valuable insights and guidance to future scholars interested in exploring IBS within the realm of psychological counseling.The specific protocol for data collection and processing is presented as follows.
All participants signed a written informed consent form before participating and were remunerated with approximately 60 yuan (Chinese currency) after the experiment. The study procedure outlined above was approved by the University Committee on Human Research Protection of East China Normal University (HR 425-2020).
1. Preparation for the experiment
2. Before the participants arrive
3. Data collection process
4. Data analysis
The results showed that there was a marginally significant effect that the secure group had higher task-related WTC increments than the dismissing group (t = 2.50, adjusted p = 0.07) at channel 19 in the angular gyrus (ANG; see Figure 2). The WTC values at CH19 were selected for further analysis of IBS. As to the time lag effect in IBS, significantly higher late-stage counselor-led IBS was observed in the dismissing group (M = 0.04, SD = 0.07) compared to the secure group (M = -0.02, SD = 0.07), t (31) = 6.18, p = 0.018, Cohen's d = 0.86. Similarly, significantly higher late-stage client-led IBS was found in the dismissing group (M = 0.04, SD = 0.07) compared to the secure group (M = -0.02, SD = 0.07), t (31) = 5.97, p = 0.020, Cohen's d = 0.86. (see Table 1). No other IBS indicators showed any significant differences.
Within the secure group, significant correlations were observed between increases in CORE score changes and increases in no-lag IBS, both at the early stage (r = 0.552, p = 0.018) and across the whole stage (r = 0.489, p = 0.039). In contrast, these correlations were not significant in the dismissing group. Conversely, within the dismissing group, a significant negative correlation was found between increases in no-lag IBS at the late stage and across the whole stage and a decrease in the task dimension of alliance (r = -0.612, p = 0.015 for late-stage; r = -0.522, p = 0.046 for whole-stage). These correlations were not significant within the secure group (see Figure 3).
Using multiple regression analysis, adult attachment was found to moderate the correlation between both early-stage (p = 0.031) and whole-stage no-lag IBS (p = 0.022) with changes in CORE-10 scores (see Table 2). No significant correlations or moderators were found between IBS indicators and behavioral data aside from those previously mentioned.
The study revealed an increase in IBS in the ANG, a region that is pivotal for attention, memory, language, and social processing58,59. This finding further reinforces the notion that during psychological counseling sessions, the coupling of brain regions may be related to the mentalizing system between counselors and their secure clients.
This study revealed significantly higher late-stage counselor-led and client-led IBS in ANG among dismissing dyads compared to secure dyads. This suggests that clients' attachment styles influence the dynamics of IBS during counseling sessions.
Only for secure dyads were early-stage and whole-stage IBS significantly positively correlated with changes in CORE scores. This suggests that an increase in IBS for secure clients may indicate a smoother development of the psychological counseling process. Adult attachment style significantly moderated the correlation between early-stage and whole-stage no-lag IBS with changes in CORE-10 scores (Figure 4). This suggests that the complex and nonlinear relationship between IBS and counseling outcomes was influenced by the heterogeneity in client composition, particularly their adult attachment styles.
The research findings show that within the dismissing group, increases in late-stage and whole-stage no-lag IBS were significantly associated with a decrease in the task dimension of the alliance. This may be related to the fact that patients who tend to dismiss or avoid their negative feelings require more emotional responsiveness rather than guidance from their counselors60. To clarify whether synchrony is beneficial or detrimental to dyadic regulation, future studies should investigate the timing and direction of synchrony during the process. This study suggests that IBS may help identify unique interaction patterns between dismissing clients and their counselors, indicating its potential as a biomarker for assessing alliance quality in these clients.
Figure 1: The environmental setup of the experiment. Please click here to view a larger version of this figure.
Figure 2: Optodes probe set. A probe set covers the right temporoparietal regions. This figure has been modified with permission from Dai et al.22. Please click here to view a larger version of this figure.
Figure 3: T-map of the difference in task-related WTC increment between the secure group and the dismissing group. In the secure group, stronger WTC value increments were found at channels with positive values; while in the dismissing group, stronger WTC value increments were found at channels with negative values. Higher absolute values are shown in darker colors. Please click here to view a larger version of this figure.
Figure 4: Correlation between IBS and CORE-10 score. (A) Correlation between IBS in the early stage and CORE-10 score changes of the two attachment groups. (B) Correlation between IBS in the late stage and the task dimension of the working alliance of the two attachment groups. (C) Correlation between whole-stage IBS and CORE-10 score changes of the two attachment groups. This figure has been modified with permission from Dai et al.22. Please click here to view a larger version of this figure.
Secure dyads | Dismissing dyads | t | p | Cohen’s d | |
Early-stage no time-lag IBS, mean (SD) | 0.06(0.09) | 0.07(0.09) | 0.32 | 0.58 | |
Later-stage no time-lag IBS, mean (SD) | 0.06(0.06) | 0.03(0.11) | 0.75 | 0.39 | |
Whole-stage no time-lag IBS, mean (SD) | 0.06(0.07) | 0.06(0.10) | 0 | 0.98 | |
Early-stage counselor-led IBS, mean (SD) | 0.01(0.09) | 0.04(0.08) | 1.03 | 0.32 | |
Late-stage counselor-led IBS, mean (SD) | -0.02(0.07) | 0.04(0.07) | 6.18 | 0.018* | 0.86 |
Early-stage client-led IBS, mean (SD) | 0.004(0.09) | 0.04(0.08) | 1.18 | 0.29 | |
Late-stage client-led IBS, mean (SD) | -0.02(0.07) | 0.04(0.07) | 5.97 | 0.020* | 0.86 |
Table 1: Comparison of IBS in two groups. *p < 0.05.
Predictors | β | t | p | |
Model 1 | Late-stage client-led BS | 0.42 | 1.860 | 0.073 |
Secure | 0.410 | 2.730 | 0.011 | |
Late-stage client-led BS × Secure | -0.647* | -2.886 | 0.007 | |
Model 2 | Whole-stage client-led BS | 0.267 | 1.294 | 0.206 |
Secure | 0.414 | 2.733 | 0.011 | |
Whole-stage client-led BS × Secure | -0.532* | -2.584 | 0.015 |
Table 2: Multiple linear regression with bond dimension of alliance as outcome variable *p < 0.05.
Supplementary File 1: wtc_computaion.m Please click here to download this file.
In the present protocol, the specific steps of how to conduct an fNIRS hyperscanning experiment in the natural setting of psychological counseling and how to calculate the IBS between counselor and client, as well as how to determine the lead-lag patterns of IBS across the counseling are described. The detailed operation can help researchers repeat an fNIRS hyperscanning experiment and further research in open science. Some critical issues about the experiment design, experiment conducting, and data analysis are discussed below.
The fNIRS experiments can be designed using a block design, an event-related design, or a mixed design of both. The current study employs an event-related design to explore real-time neural dynamics between counselors and clients during counseling sessions conducted in a natural setting. In this design, stimuli or tasks (e.g., the counselor's or client's reaction) are presented discretely and randomly, allowing researchers to capture responses to individual events. This approach offers flexibility in experimental design and enables detailed analyses of how different stimuli and cognitive processes manifest in brain activity61. While in a block design, stimuli or tasks are presented in continuous blocks, with each block containing multiple trials of the same condition. This method enhances the signal-to-noise ratio and produces robust hemodynamic responses, making it easier to analyze61. By alternating these blocks with controlled condition blocks, researchers can systematically examine the prolonged effects of counseling interactions on brain activity. Unlike event-related designs that focus on immediate responses to specific moments, block designs can reveal sustained neural processes throughout the entire counseling process. Future research could consider employing block design or mixed designs to delve deeper into changes in IBS during long-term counseling processes. By integrating these designs, researchers can comprehensively understand the impact of counseling on brain function and neural mechanisms.
At the same time, it is worth noting that the experiment discussed herein deviates from the standard 50-min counseling session, lasting only 40 min. This abbreviated duration stems primarily from the discomfort participants experience when wearing the fNIRS cap with optodes for extended periods and the difficulty in maintaining stillness throughout the counseling process. With this adjustment, an improvement in the quality of the data signals collected is anticipated, ensuring both high reliability and validity.
Moreover, given the established gender effect in IBS, as evidenced by previous studies39,40, this study specifically recruited only female participants to mitigate this influence. Focusing exclusively on females allows for more precise isolation and analysis of the effects of other variables, thereby minimizing the confounding impact of gender on synchronous brain activity during cooperative interactions. Further research may explore whether different gender combinations elicit distinct brain synchrony patterns during counseling.
In fNIRS hyperscanning experiments, ensuring signal quality is paramount. Experimenters must undergo comprehensive training to prepare for situations where signals may be blocked or degraded. Given the involvement of multiple participants, an adequate number of experimenters are required to correctly fit and adjust the fNIRS caps to achieve high-quality signals. Immediately after placement, channel signals should be checked and confirmed before the experiment commences to ensure everything is in order.
Given the confidentiality of the counseling process, the experimenters' presence is not ideal. Consequently, ensuring signal quality during the experimental recording poses a challenge. Remote monitoring techniques can be explored to allow experimenters to oversee the process without compromising privacy. Furthermore, the development of automated signal quality checks and alerts can help identify potential issues in real-time, enabling prompt corrective actions and enhancing data integrity and reliability.
The data analysis presented here includes three parts: data preprocessing, IBS calculation, and further statistics. The process of data preprocessing aims to remove the possible noise (i.e., motion artifacts, optical artifacts). Appropriate filters and algorithms should be used to reduce the impact of these interferences. In the current study, a wavelet-based method is used to remove the global physiological noise since it is more sensitive to the temporal property of the data. Other methods, such as the principal components analysis (PCA)3, could also be used to remove global components such as brain activity not specific to the task when an overall pattern of interaction between the participants is more concerned rather than detailed changes at each time point.
The method of WTC is adopted to calculate IBS. This method is chosen for the following main advantages: First, it provides detailed insights into the time-varying frequency content of signals, allowing researchers to observe how coherence between two signals changes over time and across different frequencies. Moreover, it helps detect and quantify the degree of synchronization between different brain regions or subjects in a hyperscanning setup. In addition, it is particularly suited for analyzing non-stationary data, which is common in fNIRS data due to physiological and experimental variations. All in all, it can identify periods and frequencies where significant relationships occur, making it easier to link neural dynamics to cognitive or behavioral events.
Furthermore, the study presented here explored the directionality of IBS between the participants by applying the time lag function to the fNIRS data, which deepened the understanding of interaction characteristics between counselors and clients. Other methods, such as Granger causality analysis (GCA)62, can also be utilized to detect the directionality of IBS by characterizing the direction of information flow and causal relationships between two signal sequences using vector autoregression models. When using this method, it is important to note that Granger causality analysis (GCA) assumes a linear relationship between the variables during data analysis. This assumption may limit its ability to capture more complex nonlinear relationships, thereby affecting the accuracy and comprehensiveness of the analysis results. In the existing literature on fNIRS hyperscanning studies, GCA has been employed to estimate IBS in various tasks, including cooperation63 and imitation64. Future applications of this method in the field of psychological counseling may also be considered.
Several limitations of this study need to be noted. Firstly, the ecological validity of this study is limited. Considering that participants experience discomfort wearing the fNIRS probe cap for extended periods and have difficulty remaining motionless during counseling, the session duration was adjusted to 40 min. However, typical counseling sessions in real-life settings often range from 50 min to 60 min. Future research should focus on developing more comfortable and convenient data collection technologies and exploring more flexible and diverse study designs to better reflect the true complexity of counseling processes. Secondly, according to previous studies, there is a gender effect39,40 in IBS; the present study thus recruits only female participants to avoid this effect. Further research explores whether different gender combinations produce distinct brain synchrony patterns during counseling. Finally, the fNIRS used in this study has a limitation: it only detects changes in blood flow concentration at the cortical level. This constraint restricts the exploration of neural events related to the development of relationships between clients and counselors during the counseling process. Consequently, this study focused solely on the rTPJ, which could be further extended to other brain regions in the future. Additionally, the study unexpectedly observed results in the angular gyrus. While there is some overlap between the rTPJ and the angular gyrus, the unique functions of each warrant further attention, and future studies should explore this in greater depth.
The protocol provides a pipeline of experiment conducting and data processing in a real-time psychological counseling scenario, exploring leading-lag patterns in counselor-client IBS. Such a pipeline provides a standard guide in the field, allowing researchers to repeat experiments and further possible perspectives. In the future, more suitable and comprehensive algorithms should be proposed to refine the quality of the signal, calculate the IBS, and explore the directionality of IBS. In addition, a broader application area should be developed, such as the field of psychiatry, the married couple, a family system, or even an organizational system. Furthermore, researchers could combine fNIRS with other imaging techniques like EEG or MRI to provide richer, more comprehensive insights into brain activity and interactions. The real-time analysis of fNIRS data should also be implemented to provide immediate feedback in clinical, educational, or managing settings, enhancing therapeutic learning and managing outcomes.
The authors have nothing to disclose.
This research was supported by the National Natural Science Foundation of China (31900767), the Research Project of Shanghai Science and Technology Commission (20dz2260300), and The Fundamental Research Funds for the Central Universities.
Name | Company | Catalog Number | Comments |
Chinese online survey platform | Ranster Technology Company,Changsha,China | The Free version of Wenjuanxing | |
EEG cap | Compumedics Neuroscan, Charlotte,USA | 64-channel Quik-Cap | |
fNIRS system | Hitachi Medical Corporation, Tokyo,Japan | ETG-7100 Optical Topography System | The NIRSport emitted and collected near-infrared light at two wavelengths (760 and 850 nm) at a sampling rate of 10.1725Hz. |
MATLAB 2018a | The MathWorks, Inc., Natick, MA | MATLAB 2018a | |
Swimming cap | Decathlon Group, Villeneuve-d'Ascq,France | 1681552 | medium size |
Request permission to reuse the text or figures of this JoVE article
Request PermissionThis article has been published
Video Coming Soon
Copyright © 2025 MyJoVE Corporation. All rights reserved