Introduction to fNIRS Beyond Task Responses
Introduction to fNIRS
0% Completed

Beyond Task Responses: Connectivity and Synchrony

Most of this unit has answered one kind of question: does a region respond to a task, and how much? Many questions in neuroscience are of a different kind. Do two regions work together, even when nothing is happening? How is the brain organized as a network? Do the brains of people watching the same film, or talking to each other, become more alike? fNIRS is increasingly used to address these questions through functional connectivity, network analysis, and synchrony between people, and its portability and tolerance to movement make it particularly attractive for them.

These analyses inherit every step and every caveat of Lessons 5.1 to 5.3, and they add pitfalls of their own. The most important one fits in a single sentence: anything that two signals share, whether physiology, motion, or a stimulus, makes them look related, whether or not the regions or people behind them are. In this lesson, we describe how the main analyses are performed, what each assumes, where this principle bites, and which controls protect against it. How these analyses have been used to study development, social interaction, and natural behavior is the subject of Lesson 6.1.

1. From Activation to Relationships

In a task analysis, the quantity of interest is the part of a signal that is locked to known events, and the GLM of Lesson 5.3 estimates it while accounting for everything else. In the analyses of this lesson, the quantity of interest is a relationship between signals: how strongly two time series rise and fall together, measured most often with a correlation coefficient, or with coherence, which measures the same thing separately at each frequency. There is often no task to model at all, as in the resting state, or the “task” is a film, a conversation, or a game, with no discrete events to time.

This makes the analysis more vulnerable to shared contamination. In a task analysis, systemic physiology is a problem when it is locked to the task. In a correlation analysis, it is a problem whenever it is present in both signals at the same time, which, for a global process such as a blood pressure oscillation or a change in breathing, is almost always. A correlation cannot tell whether two signals move together because the regions behind them interact, or because the same blood pressure wave passed through both.

2. Functional Connectivity: Seeds and Matrices

Functional connectivity refers to statistical dependence between the signals of different regions, most often their correlation over time. The idea comes from fMRI: Biswal et al. (1995) showed that slow, spontaneous fluctuations of the signal in the resting brain were correlated between the left and right motor cortices, regions known to work together, and proposed that such correlations reveal how the brain is functionally organized. Optical methods followed more than a decade later, with early demonstrations using high-density diffuse optical tomography (White et al., 2009) and conventional fNIRS (Lu et al., 2010; Mesquita et al., 2010), which recovered similar networks, such as the strong correlation between homologous regions of the two hemispheres.

A typical resting-state recording lasts several minutes, during which the participant sits quietly, often with eyes open and fixating. After the processing steps of Lessons 5.1 to 5.3, including the removal of systemic and motion components, the data are usually filtered to the slow frequencies where spontaneous fluctuations are strongest, roughly 0.01 to 0.1 Hz. The two simplest analyses are then:

  • Seed-based connectivity. One channel or region, the seed, is chosen on the basis of the hypothesis, and its time course is correlated with that of every other channel. The result is a map of how strongly each location is coupled to the seed. Seed maps are easy to interpret, but they answer only the question asked: a different seed gives a different map, and results depend on how well the seed was placed.
  • Correlation matrices. The correlation is computed between every pair of channels or regions and arranged in a matrix, which summarizes all pairwise relationships at once. Correlation coefficients are usually transformed (with the Fisher z-transform) before they are averaged or compared across participants, because their distribution is not normal near ±1.

The same analyses can be applied during a task, but then regions that simply respond to the same events will be correlated. To study how coupling changes with the task itself, the modeled task responses are usually removed first, and the correlation is computed on what remains.

3. Data-Driven Approaches: Letting the Data Define the Networks

Seed-based analysis requires choosing a seed in advance. Data-driven methods avoid that choice by looking for patterns in all channels at once. The most widely used is independent component analysis (ICA), which decomposes the multichannel signal into a set of components, each with a spatial pattern across channels and a time course, chosen to be as statistically independent from each other as possible. In resting-state fMRI, ICA identified networks that were consistent across participants and resembled known functional systems (Beckmann et al., 2005). Zhang et al. (2010) applied it to resting-state fNIRS and found system-specific networks in sensorimotor and visual cortex, with better performance than seed correlation when the data were noisy, and showed that some components captured noise and artifacts rather than networks. Other data-driven methods, such as principal component analysis and clustering of channels with similar time courses, follow the same logic.

The freedom from seeds comes with choices of its own. The number of components must be chosen, and the result depends on it. The method does not label its components: deciding which ones are networks and which are physiology, motion, or noise is a judgment made by the researcher, ideally with explicit criteria. And because systemic physiology is often the largest shared signal in fNIRS, it can dominate the decomposition. Used carefully, this can be an advantage, since a component that captures systemic fluctuations can be identified and removed, but it also means that the components should never be interpreted as networks without checking where their signal comes from.

4. Networks and Graphs

A correlation matrix can also be read as a graph: a set of nodes (channels, regions, or, after reconstruction, parcels of the cortex) connected by edges whose strength is the correlation between them. Graph theory, a branch of mathematics used to study networks of all kinds, then provides measures of how the network is organized as a whole, rather than pair by pair. Watts and Strogatz (1998) showed that many real networks, from the nervous system of a worm to power grids, are small-world networks: highly clustered locally, like a regular lattice, yet with short paths between any two nodes, like a random network. Bullmore and Sporns (2009) described how these ideas spread to brain imaging, where structural and functional brain networks show small-world organization, modules, and highly connected hubs. Niu et al. (2012) were among the first to apply graph analysis to resting-state fNIRS, building networks from the correlation matrices of 46 channels; they found small-world properties, modular structure, and hubs, reproducible across participants and over time. Novi, Rodrigues and Mesquita (2016) applied the same approach to whole-head recordings and found that network parameters were similar across time and participants, identified the main hubs, and confirmed that homologous regions of the two hemispheres are strongly connected. Figure 1 shows the typical workflow, from the probe to the network.

Workflow for building a functional connectivity network: probe geometry, channel time series, correlation matrix, thresholded adjacency matrix, and network drawn on the probe

Figure 1. From channels to a network (simulated data; workflow after Novi, Rodrigues & Mesquita, 2016). (a) Probe with sources, detectors, and channels. (b) Time series of the channels after processing; colors mark two simulated networks. (c) Correlation matrix between all channels. (d) Adjacency matrix keeping correlations above a threshold rT. (e) The resulting network drawn on the probe; node size is proportional to degree.

Graph measure What it describes
Degree and strength How many connections a node has, or the sum of their weights; nodes with unusually high values are called hubs
Clustering coefficient How often a node’s neighbors are also connected to each other, a measure of local integration
Path length and global efficiency How many steps separate nodes on average, or its inverse, a measure of how easily information could travel across the network
Small-worldness The combination of high clustering and short path length, compared with random networks of the same size
Modularity How well the network divides into groups of nodes that are densely connected within and sparsely connected between groups

Graph measures are attractive because they summarize a complex pattern in a few numbers that can be compared between groups or conditions, but they inherit every problem of the correlations they are built from and add some of their own. The first is the definition of the nodes. In fNIRS, nodes are usually channels, which are placed by the probe design rather than by the brain’s organization, and most probes cover only part of the cortex. Measures such as path length and efficiency describe the network that was sampled, not the brain’s network, and they change if the probe changes. The second is thresholding: many analyses keep only the strongest correlations as edges, and the measures depend strongly on the threshold chosen. The third is that graph measures depend on the overall level of correlation. If one group has generally higher correlations, for example because its systemic physiology is stronger, its graph will differ in clustering, efficiency, and modularity even if the organization of the brain is the same. Comparisons are therefore made across a range of thresholds or at matched numbers of edges, and the preprocessing that removes shared physiology matters even more than for simple correlations. Finally, neighboring channels share tissue (Section 5), which inflates local clustering.

5. When Correlations Are Not Connectivity

The slow frequencies used for connectivity are also where systemic physiology is strongest. Mesquita et al. (2010) already noted that low-frequency blood pressure oscillations produced broad regions of high correlation that could mislead the interpretation of resting-state maps. Several sources of correlation have nothing to do with neural interaction, and each has a mitigation that applies to seed-based, data-driven, and graph analyses alike.

Source of correlation Why it creates correlation Mitigation
Systemic physiology Blood pressure oscillations, breathing, and changes in CO₂ affect the whole head at once, in scalp and brain Short-separation and auxiliary regression before computing correlations; analyze HbR as well as HbO₂, since HbR is less affected (Lesson 5.3)
Motion A movement shifts many optodes at once, creating simultaneous artifacts across the probe Motion detection and correction or rejection (Lesson 5.2); check that connectivity does not differ with the amount of motion
Shared tissue Neighboring channels, especially those sharing a source or detector, sample overlapping volumes of tissue Interpret correlations between neighboring channels with care; compare with distant pairs
Task responses During a task, regions that respond to the same events rise and fall together Remove the modeled task responses before computing task-related connectivity

The statistics of connectivity also suffer from the problem we met in Lesson 5.3. Because fNIRS signals are serially correlated, two completely independent slow signals can show sizable correlations by chance, and a recording of a few minutes contains far fewer independent observations than samples. Testing a correlation coefficient as if every sample were independent therefore inflates its significance. Testing every pair of channels also multiplies the number of comparisons: a probe with 40 channels has 780 pairs. Connectivity results are most convincing when they are compared between conditions or groups measured in the same way, rather than interpreted as absolute values, and when they survive the removal of systemic and motion components.

🔬 Explore It Yourself

Add a global systemic fluctuation to a simulated probe with two built-in networks and watch the correlation matrix fill in and the graph measures change, although the brain networks stay the same. Then regress out the short channels, and change the threshold to see how much every graph measure depends on it.

💭 Pause and Think

A resting-state study finds that the prefrontal network of patients with an anxiety disorder has higher HbO₂ connectivity, higher clustering, and higher global efficiency than that of controls. After short-separation regression, most of the differences disappear, and HbR connectivity never differed between groups. What is the most likely explanation, and what would you report?

Think about how anxiety could affect breathing, heart rate, blood pressure, and scalp blood flow, why HbO₂ is more sensitive to these changes than HbR, how a higher overall level of correlation changes graph measures, and what the short-separation channels removed.

6. Synchrony Between People

The same logic can be applied between people instead of between regions. In inter-subject correlation (ISC), participants experience the same complex stimulus, such as a film or a story, usually at different times, and the time course of a region in one participant is correlated with that of the same region in others. The approach was introduced in fMRI by Hasson et al. (2004), who found that the brains of people freely watching the same film became strongly synchronized, not only in sensory areas but also in association cortices. ISC is usually computed in one of two ways: as the average correlation over all pairs of participants, or by correlating each participant with the average of all the others (a leave-one-out approach), which gives one value per participant for group statistics. It can also be computed in sliding windows, to follow which moments of the stimulus drive the synchrony. Because the stimulus is the only thing the participants share, ISC isolates the part of the response that is driven by the stimulus without having to model it, which makes it well suited to naturalistic paradigms.

In hyperscanning, two or more people are recorded at the same time while they interact, and the analysis asks whether their brain signals become more synchronized during interaction, a measure usually called inter-brain synchrony. fNIRS is particularly suited to hyperscanning because participants can sit face to face, talk, and move (Lesson 1.4). Funane et al. (2011) and Cui et al. (2012) were among the first to record two people simultaneously with fNIRS during cooperative tasks, and both related the synchrony between participants’ prefrontal signals to their cooperation. When each participant wears a separate device, the recordings must be precisely synchronized, as discussed for wearable systems in Lesson 4.1. Synchrony is often measured with wavelet coherence, which estimates how consistently two signals oscillate together at each frequency and moment in time, and which also gives their phase relationship. The frequency band of interest, usually one related to the timing of the task or interaction, should be chosen in advance, since searching all frequencies multiplies the number of tests.

Synchrony between people is even more exposed to shared influences than connectivity within a brain, because people who interact share far more than their thoughts. They see and hear the same things at the same time, so their brains respond to the same events. They often adopt similar rhythms of breathing and speaking, and their heart rates and arousal can rise and fall together. In conversation, they take turns, so the motion and breathing artifacts of speaking alternate between them in a structured way. Each of these can produce synchrony between signals without any interaction between brains, and each requires a control.

🔬 Going Deeper: Comparing Real Pairs with Pairs That Never Met

How can you tell whether two people’s synchrony reflects their interaction or merely the fact that they did the same thing at the same time? A widely used control is to create pseudo-pairs: participants from different real pairs, who performed the same task but never interacted, are paired artificially, and their synchrony is computed in exactly the same way. Repeating this for many random pairings gives a distribution of the synchrony expected without interaction. If real pairs are not more synchronized than pseudo-pairs, the synchrony can be explained by the shared task and stimuli alone. Similar logic underlies surrogate tests, in which one signal is shifted in time or its phases are randomized to destroy any genuine relationship while keeping its other properties. These controls address shared stimuli, but not physiology that is itself synchronized by the interaction, such as breathing during conversation; for that, short-separation channels and auxiliary measurements in every participant are needed.

Two histograms of synchrony in pseudo-pairs, with real pairs overlaid: in one case real pairs fall within the pseudo-pair distribution, in the other they exceed it

Figure 2. The logic of pseudo-pairs (simulated). The gray histogram shows the synchrony of many artificial pairs of participants who did the same task but never interacted. (a) Real pairs are no more synchronized than pseudo-pairs: the shared task explains their synchrony. (b) Real pairs exceed the pseudo-pair distribution, which is evidence for synchrony beyond the shared task, provided shared physiology and motion have also been addressed.

⚠ A Common Mistake to Avoid

It is tempting to describe inter-brain synchrony as “brain-to-brain coupling,” or as evidence that two people’s brains are communicating. Synchrony is a statistical similarity between two signals, and it can arise from shared stimuli, shared actions, shared physiology, or shared artifacts, as well as from processes related to the interaction itself.

Before interpreting synchrony as a property of the interaction, show that it exceeds that of pseudo-pairs, that it survives the removal of systemic and motion components in both participants, and that it is specific to the conditions, regions, and frequencies you predicted. Remember also that the number of tests multiplies quickly, across channel pairs, frequencies, and time.

7. What These Analyses Can and Cannot Do

Connectivity, network, and synchrony analyses extend fNIRS to questions that task analyses cannot address: how the brain is organized at rest, how its networks differ between people and change with development or disease, how it responds to rich, continuous experiences, and how people’s brains relate during interaction. They are also where the portability and tolerance to movement of fNIRS give it the greatest advantage over other techniques, which is why they feature prominently in the applications of Unit 6.

What they cannot do is distinguish, by themselves, a relationship produced by the brain from one produced by anything else the signals share. Correlations, components, graphs, and coherence have no built-in way of knowing where a shared fluctuation came from, and a network can only be as complete as the probe that sampled it. The protections are the same as in the rest of this unit, applied with even more care: short-separation and auxiliary measurements to remove systemic signals, careful handling of motion, controls that reproduce everything except the process of interest, statistics that respect the properties of the noise and the number of tests, and transparent reporting. The last lesson of this unit turns to that reporting, and to the community’s efforts to make fNIRS analyses reproducible.


📌 Key Takeaways

  • Connectivity and synchrony analyses measure relationships between signals; anything two signals share (physiology, motion, stimuli, tissue) makes them look related.
  • Seed-based maps answer a question defined by the seed; correlation matrices summarize all pairs; data-driven methods such as ICA find patterns without a seed but require choosing and labeling components.
  • Graph measures (degree, clustering, efficiency, small-worldness, modularity) summarize network organization, but depend on how nodes are defined, on thresholds, on probe coverage, and on the overall level of correlation.
  • Remove systemic and motion components first, consider HbR as well as HbO₂, and account for serially correlated noise and the large number of comparisons.
  • Inter-subject correlation isolates stimulus-driven responses across people; inter-brain synchrony in hyperscanning compares people recorded together, often with wavelet coherence.
  • Synchrony is not “brain-to-brain coupling.” Use pseudo-pairs or surrogates, remove physiology and motion in every participant, and predict regions, conditions, and frequencies in advance.

📚 Further Reading & Key References

  1. Biswal, B., Yetkin, F.Z., Haughton, V.M. & Hyde, J.S. (1995). “Functional connectivity in the motor cortex of resting human brain using echo-planar MRI.” Magnetic Resonance in Medicine, 34(4), 537–541. [doi] — The origin of resting-state functional connectivity, in fMRI.
  2. White, B.R., Snyder, A.Z., Cohen, A.L., et al. (2009). “Resting-state functional connectivity in the human brain revealed with diffuse optical tomography.” NeuroImage, 47(1), 148–156. [doi] — An early demonstration of resting-state connectivity with optical imaging.
  3. Lu, C.M., Zhang, Y.J., Biswal, B.B., Zang, Y.F., Peng, D.L. & Zhu, C.Z. (2010). “Use of fNIRS to assess resting state functional connectivity.” Journal of Neuroscience Methods, 186(2), 242–249. [doi] — An early demonstration of resting-state connectivity with fNIRS, using seed-based and cluster analyses.
  4. Mesquita, R.C., Franceschini, M.A. & Boas, D.A. (2010). “Resting state functional connectivity of the whole head with near-infrared spectroscopy.” Biomedical Optics Express, 1(1), 324–336. [doi] — Whole-head fNIRS connectivity, and how systemic blood pressure oscillations can mislead it.
  5. Beckmann, C.F., DeLuca, M., Devlin, J.T. & Smith, S.M. (2005). “Investigations into resting-state connectivity using independent component analysis.” Philosophical Transactions of the Royal Society B, 360(1457), 1001–1013. [doi] — Independent component analysis of resting-state networks, in fMRI.
  6. Zhang, H., Zhang, Y.J., Lu, C.M., Ma, S.Y., Zang, Y.F. & Zhu, C.Z. (2010). “Functional connectivity as revealed by independent component analysis of resting-state fNIRS measurements.” NeuroImage, 51(3), 1150–1161. [doi] — Independent component analysis applied to resting-state fNIRS.
  7. Watts, D.J. & Strogatz, S.H. (1998). “Collective dynamics of ‘small-world’ networks.” Nature, 393(6684), 440–442. [doi] — The origin of the small-world network concept.
  8. Bullmore, E. & Sporns, O. (2009). “Complex brain networks: graph theoretical analysis of structural and functional systems.” Nature Reviews Neuroscience, 10(3), 186–198. [doi] — An accessible introduction to graph theory for brain networks.
  9. Niu, H., Wang, J., Zhao, T., Shu, N. & He, Y. (2012). “Revealing topological organization of human brain functional networks with resting-state functional near infrared spectroscopy.” PLoS ONE, 7(9), e45771. [doi] — An early graph analysis of resting-state fNIRS networks.
  10. Novi, S.L., Rodrigues, R.B.M.L. & Mesquita, R.C. (2016). “Resting state connectivity patterns with near-infrared spectroscopy data of the whole head.” Biomedical Optics Express, 7(7), 2524–2537. [doi] — Graph analysis of whole-head resting-state fNIRS, and the workflow shown in Figure 1.
  11. Hasson, U., Nir, Y., Levy, I., Fuhrmann, G. & Malach, R. (2004). “Intersubject synchronization of cortical activity during natural vision.” Science, 303(5664), 1634–1640. [doi] — The origin of inter-subject correlation, in fMRI.
  12. Funane, T., Kiguchi, M., Atsumori, H., Sato, H., Kubota, K. & Koizumi, H. (2011). “Synchronous activity of two people’s prefrontal cortices during a cooperative task measured by simultaneous near-infrared spectroscopy.” Journal of Biomedical Optics, 16(7), 077011. [doi] — An early fNIRS hyperscanning study of cooperation.
  13. Cui, X., Bryant, D.M. & Reiss, A.L. (2012). “NIRS-based hyperscanning reveals increased interpersonal coherence in superior frontal cortex during cooperation.” NeuroImage, 59(3), 2430–2437. [doi] — An early fNIRS hyperscanning study using inter-brain coherence.

Society for Functional Near-Infrared Spectroscopy.
Content is for educational purposes.