$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Social interaction is of vital importance for human beings1,2. For understanding the dual-brain neurocognitive mechanism of social interaction, the hyperscanning approach has recently been extensively used, showing that the patterns of interpersonal neural synchronization (INS) can well characterize the social interaction process3,4,5,6,7,8,9,10,11,12,13,14. Among recent studies, an interesting finding is that the role difference of individuals in a dyad may lead to a time-lagged pattern of INS, i.e., INS occurs when the brain activity of one individual lags behind that of another individual by seconds, such as that from listeners to speakers5,9, from leaders to followers4, from teachers to students8, from mothers to children13,15, and from women to men in a romantic couple6. Most importantly, there is a good correspondence between the interval of the time-lagged INS and that of social interaction behaviors, such as between teachers questioning and students answering8 or between parenting behaviors of mothers and compliance behaviors of children15. Thus, time-lagged INS may reflect a directional information flow from one individual to another, as proposed in a recent hierarchical model for interpersonal verbal communication16.
Previously, the time-lagged INS was mainly calculated on the functional near-infrared spectroscopy (fNIRS) signal because of its relatively high spatial resolution, sound anatomical localization, and exceptionally high tolerance of motion artifacts17 when studying naturalistic social interactions. Moreover, to precisely characterize the correspondence between the neural time lag and the behavioral time lag during social interaction, it is essential to obtain the INS strength for each time lag (e.g., from no time lag to a time lag of 10 s). For this purpose, previously, the wavelet transform coherence (WTC) procedure was extensively applied after shifting the brain signal of one individual forward or backward relative to that of another individual5,6,18. When using this traditional WTC procedure for fNIRS signals, there is a potential challenge because the observed time-lagged INS may be confounded by the autocorrelation effect of the fNIRS signal for an individual19,20,21. For example, during a dyadic social interaction process, the signal of participant A at time point t may be synchronized with that of participant B at the same time point. Meanwhile, the signal of participant A at time point t may be synchronized with that of participant A at a later time point t+1 because of the autocorrelation effect. Therefore, a spurious time-lagged INS may occur between the signal of participant A at time point t and that of participant B at time point t+1.
Mihanović and his colleagues22 first introduced a method termed partial wavelet transform coherence (pWTC), and then applied it in marine science23,24. The original purpose of this method was to control the exogenous confounding noise when estimating the coherence of two signals. Here, to address the autocorrelation issue in the fNIRS hyperscanning data, the pWTC method was extended to calculate time-lagged INS on the fNIRS signal. Precisely, a time-lagged INS (and a directional information flow) from participant A to participant B can be calculated using the equation below (Equation 1)23.

Here, it is assumed that there are two signals, A and B, from participants A and B, respectively. The occurrence of signal B always precedes that of signal A with a time lag of n, where WTC (At, Bt+n) is the traditional time-lagged WTC. WTC (At, At+n) is the autocorrelated WTC in participant A. WTC (At, Bt) is the time-aligned WTC at time point t between participant A and B. * is the complex conjugate operator (Figure 1A).

Figure 1: Overview of pWTC. (A) The logic of the pWTC. There are two signals A and B, within a dyad. The occurrence of A always follows that of B with a lag n. A gray box is a wavelet window at a certain time point t or t+n. Based on the pWTC equation (represented in the figure), three WTCs need to be calculated: the time-lagged WTC of At+n and Bt; the autocorrelated WTC in participant A of At and At+n; and the time-aligned WTC at timepoint t, At and Bt. (B)The layout of optode probe sets. CH11 was placed at T3, and CH25 was placed at T4 following the international 10-20 system27,28. Please click here to view a larger version of this figure.
This protocol first introduced a simulation experiment to demonstrate how well the pWTC resolves the autocorrelation challenge. Then, it explained how to conduct pWTC in a step-by-step way based on an empirical experiment of naturalistic social interactions. Here, a communication context was used to introduce the method. This is because, previously, the time-lagged INS was usually calculated in a naturalistic communication context3,4,6,8,13,15,18. Additionally, a comparison between the pWTC and the traditional WTC and validation with the Granger causality (GC) test were also conducted.