← Writing

Fooled by Neural Noise: an analysis of circularity in Cognitive Neuroscience research

7 June 2023

Have you ever come across research studies that claim to find astonishing connections between the human brain and various behaviors or traits? While these findings may initially captivate our attention, it’s essential to examine the methodology behind such studies closely. In the realm of cognitive neuroscience, a field that delves into understanding the relationship between the brain and behavior, a common pitfall known as circular analysis can lead to misleading results. Circular analysis occurs when researchers inadvertently use the same data to both identify areas of brain activity and establish correlations with behavioral measures. This practice not only risks inflating the significance of results but also undermines the reliability and validity of the findings. In this article, we’ll explore the perils of circular analysis in cognitive neuroscience and shed light on why it’s crucial to implement robust research practices to avoid misleading conclusions.

Since running a study on the whole population is not feasible, experiments recruit a sample of participants, examine the results and try to generalize them. Even with an unbiased sampling, we may find patterns in the data that look significant but are actually random. No experiment is shielded from the possibility of what is defined as a Type I error (concluding that there is something in the data when actually there is nothing), so the scientific community usually accepts up to a 5% chance of fooling itself in this way. This may result, for example, in the scores of a questionnaire measuring a personality trait (like extraversion) correlating with the person’s brain activity while playing Pinball. Even when there is no correlation between extraversion and the brain on Pinball, we may still conclude, in 5% of cases, having found one. This 5% is embodied in the significance threshold of the p-value, a statistical measure that tells us how likely it is that randomness would produce the same or more extreme results if the null hypothesis was true. Setting aside the silly Pinball example, the conclusions based on an unspotted Type I error would not be hard to believe. Not only are we programmed to see patterns everywhere, but we are also prone to attribute meaning to things and events, including random experimental results. The thing we are less good at is keeping in mind that oftentimes true randomness does not look random.

Even though statistics try to control the probability of a Type I error, sometimes researchers come up with curious ways of preprocessing the data, making the probability of a significant result from random noise go from 5% up to nearly 100%. In the hope to prevent people from falling for it, I will describe here how to get to this number by examining and simulating circular analysis, described also as nonindependence error, or also as double-dipping. Such error is not uncommon in neuroscientific research, or at least it wasn’t, as the very significant results that emerged from this practice towards the end of the first decade of the 2000s started to attract increasing attention from the research community1,2.

Spurious correlations

Let’s say you want to make big money by trading the Tesla stock, buying before the prices go up and selling before they go down. To do this, you look for something that correlates with the stock, that is, when the measure you find goes up, Tesla goes up, and vice-versa (possibly the movement of your measure anticipates that of Tesla, giving you the time to place your orders). Since you are a climate enthusiast, you run an analysis to find in which of the tens of thousands of locations the temperature movement correlates with that of the Tesla stock. To your surprise, you discover several locations whose temperature movement correlates significantly with your stock. You decide to pick the one with the strongest relationship, and so now you have a nice measure to guide your investments. Are you ready to go all in? While we know it is quite unlikely that this relationship is legit, given enough thermometers you will for sure find some locations where the temperature shows a significant correlation with the stock — a phenomenon known as spurious correlation.

To appreciate it, you can take a look at the image below, where actual data show a significant correlation between the number of people who drowned in pools and the number of films Nicolas Cage starred in.

Line chart showing that yearly swimming-pool drownings and the number of films Nicolas Cage appeared in rise and fall together from 1999 to 2009, correlation 0.67 Figure 1. Example of spurious correlation. Or is it…

While the absurdity of these examples seems evident, the easier a (spurious) correlation is to justify, and the more likely people are to believe there is a relationship, especially if they really want to find one. If you were a researcher studying the brain and wanting to publish your extraordinary results in a very highly ranked journal, you would already be at a good starting point3. However, the error I just described is still easy to spot. Circular analysis requires one additional ingredient to make it work in brain research (and other fields as well).

A brief simplified intro to cognitive neuroscience experiments

Functional Magnetic Resonance Imaging (fMRI) is a popular research method in cognitive neuroscience. It involves scanning participants’ brains while they perform tasks, using specialized equipment to measure brain activity. To make the measurement as detailed as possible, the area being scanned containing the brain is divided into 100.000+ small cubes called voxels. Since the brain constantly produces signals due to its different processes, to isolate the activity linked to a specific task, the analyses do not use the raw activations, but rather use the difference between 2 experimental conditions. For example, to study what brain areas are involved in the processing of smiley faces, participants are shown also neutral faces. Then, the average activation of the neutral condition is subtracted from that of the smiling condition, and that is your signal. In Figure 2 you will find a schema of the signal recorded in one of the voxels through time.

Diagram of fMRI data: the brain divided into a grid of voxels at time points 1 to T, with one voxel’s signal plotted as a time series Figure 2. Image source: Sidén, P. (2020). Scalable Bayesian spatial analysis with Gaussian Markov random fields (PhD dissertation, Linköping University Electronic Press). https://doi.org/10.3384/diss.diva-165872

Since 100.000 voxels is a ton of data, the next step in the analysis consists in selecting what voxels to focus on. The selection can be driven by brain anatomy (you select the voxels belonging to a specific brain region), or by functional activation (you select based on the strength of the recorded signal), or a mix of the two. Finally, since we ultimately want to relate the neural response with a behavioural measure, before starting the scanning we ask participants to answer a questionnaire.

A researcher looking at colourful fMRI brain scans on two monitors Figure 3. Cog Neuro researcher looking at fMRI images forcing himself to believe that what he’s looking at is not just noise. Or is it… (credit: NIMH)

Such setup is what several published articles used to study different neural correlates, reporting very high correlations between the questionnaire scores and brain activity. But how likely were these results to reflect an actual relationship between brain and behavior? Coming back to the stock-temperature experiment, if instead of picking the thermometer with the highest correlation, ‘to make the measure more robust’ you decide to average together all the thermometers that have shown a significant positive correlation, what would you expect to happen? In the same fashion, researchers selected the voxels whose activations during a task positively and significantly correlated with the personality measure (in this case, what the computer task was is totally irrelevant — same for the questionnaire). Then, they averaged the activations and ran the final statistic on this grouped datapoints, finding very high correlation coefficients and very low p-values.

The problem with such analysis is that the probability of finding something significant is almost guaranteed. If instead of picking positive correlations one decided to pick negative ones, again significant patterns would emerge. At the bottom of all this is an inflation of the Type I, leading us to p-values that are always below threshold (significant) even if the null experimental hypothesis is true — i.e., there is no relationship between the questionnaire and the brain signal. To show how the inflation of the error rate works in such case, we can use Monte Carlo to simulate many such experiments, comparing the distribution of p-values with and without circular analysis.

Simulating (many) experiments

Monte Carlo simulation is a computational technique used to assess the probability of certain outcomes by running repeated random sampling experiments. In the context of circular analysis, Monte Carlo simulation allows researchers to simulate multiple experiments where circular analysis is applied, generating a distribution of p-values. By comparing this distribution with the distribution of p-values obtained without circular analysis, it becomes possible to evaluate the extent to which circular analysis inflates the error rate and impacts the significance of results.

Let’s simulate an experiment where we pick a certain amount of subjects from the population, where the questionnaire scores follow a normal distribution. As we want there not to be any relationship between the questionnaire scores and the brain activation at each voxel, we can safely pick the latter from a separate Gaussian. If we were able to scan a big chunk of the population, we would see the relationship between personality and the brain signal to look like that of Figure 4.

Joint scatter plot of a hypothetical personality score against a brain signal, showing no relationship Figure 4. Joint plot displaying the (lack of a) relationship between a hypothetical personality score and some brain signal.

However, since we can only scan a limited number of people, if we were to repeatedly run an experiment with a random sample from the population, we would expect the proportion of significant p-values to reflect our alpha/significance threshold (with an alpha of .05, we would register 5% of significant p-values, with a .01 alpha, 1% and so on). Now, with each scanner recording from on average 100k voxels, a significance threshold of .01 would guarantee us to find about 1000 voxels displaying a significant correlation. If we were only interested in positive correlations, halve the number. 

It is not uncommon for fMRI studies to have around 10 participants, and so we pick 10 of them and throw them into the scanner. After running the personality-voxel correlations, with an alpha of .01, approximately 1 of every 200 of them will be significant (it is not 1 every 100 [1%] because remember we are only looking at positive correlations). If we averaged all such voxels, we could easily get the starting point of an invitation to Stockholm with an almost perfect correlation. 

In Figure 5, panel A, you can appreciate one of the many significant correlations resulting from the simulation, while in panel B, the correlation between the (random) personality scores and the average of all significant and positively correlating (random) voxel activations. Nearly perfect.

Two scatter plots of voxel signal against personality score: (A) all voxels with no correlation, (B) only the voxels passing the significance threshold, showing a spurious correlation Figure 5. Overall correlation between all ‘voxels’ and the ‘personality score’ (A) without applying the significance threshold and (B) selecting only significant and positively correlating voxels.

But remember we are dealing with noise, and there is no true correlation in the population. Nevertheless, applying such voxel selection procedure is almost guaranteed to lead us to significant results even if we were just dealing with noise. You can then encapsulate the experiment to run as many simulations as you want. Let’s do 1000 of them.

As anticipated, Figure 6 shows the distribution of the % of significant (spurious) positive voxel-personality correlations from running the simulations. With an alpha set to .01, divide it by 2 (only positive correlations) and we get an expected value of .005.

Histogram of the percentage of significant positive correlations across simulations, at alpha 0.01 Figure 6. Distribution of the % of significant correlations using an alpha of .01 and considering only positive correlations.

With no big surprise (maybe I was lucky?), the % of simulations that came out significant was, well… 100%. These were accompanied by the anticipated high final correlations. Below, on panel A of Figure 7, the distribution of the correlation coefficient of an unbiased run. On the right, panel B, the distribution of correlation coefficients under circularity.

Distributions of correlation coefficients from 1000 simulated experiments with no real effect, comparing unbiased and circular analysis Figure 7. Distribution of correlation coefficients resulting from running 1000 simulations of experiments with no underlying real correlation using (A) an unbiased analysis or (B) a circular analysis.

In general, going beyond correlation coefficients, a researcher can assess if a procedure is flawed by plotting the distribution of p-values resulting from repeating the simulation many times. From my private conversations, not many know that the distribution of p-values under the null being true is uniform (and not Gaussian and centered around .5, sorry). This means that the probability of getting a p-value of 0.02 is the same as that of getting any other p-value (Figure 8, panel A). But if we repeat the circular analysis as described for 1000 times, despite there being no personality-neural activation relationship, the distribution of p-values would look very heavily skewed as in panel B of Fig. 8.

Distributions of p-values from 1000 simulated experiments with no real effect, comparing unbiased and circular analysis Figure 8. Distribution of p-values resulting from running 1000 simulations of experiments with no underlying real correlation using (A) an unbiased analysis or (B) a circular analysis.

Conclusions

The core solution to avoid double-dipping or circular analysis involves adopting strategies that minimize bias and maintain the integrity of statistical assumptions. One approach is to refrain from considering the questionnaire data until the voxels of interest have been selected based on alternative criteria. For instance, researchers can prioritize the selection of voxels exhibiting the highest activation during the computer task, determined by the contrast between conditions. This process mimics the concept of a train-test-split, where one part of the dataset is used for voxel selection and the other part is reserved to assess the relationship with the behavioral measure.

By dividing the dataset into distinct segments, researchers can reduce the risk of biased analysis. The first segment serves the purpose of identifying voxels of interest, ensuring that the selection is independent of the questionnaire data. This separation helps maintain objectivity and minimizes the potential for falsely identifying correlations.

Subsequently, the second segment, which remained untouched during voxel selection, can be used to assess the relationship between brain activation and the questionnaire data. By employing this approach, researchers avoid falling into the trap of circularity and ensure that the analysis is free from bias.

It is crucial to emphasize that researchers aiming to introduce novel ideas and methods must be cautious when challenging established practices. While breaking old schemas is important for scientific progress, it is equally vital to adhere to the assumptions underlying statistical tests. Neglecting these assumptions may lead to a 100% guaranteed significant result, which, unfortunately, would be erroneous. By implementing these suggested enhancements, researchers can gain a clearer understanding of how to mitigate circular analysis in cognitive neuroscience research. Through the careful application of unbiased analysis methods, the field can uphold rigorous scientific standards and advance our understanding of the complex relationship between brain and behavior.


You can find the notebook with all the code here: https://github.com/AnoAn/fooled_by_neural_noise

References

[1] Vul, E., Harris, C., Winkielman, P., & Pashler, H. (2009). Puzzlingly High Correlations in fMRI Studies of Emotion, Personality, and Social Cognition. Perspectives on psychological science : a journal of the Association for Psychological Science, 4(3), 274–290. https://doi.org/10.1111/j.1745-6924.2009.01125.x

[2] Kriegeskorte, N., Simmons, W. K., Bellgowan, P. S., & Baker, C. I. (2009). Circular analysis in systems neuroscience: the dangers of double dipping. Nature neuroscience, 12(5), 535–540.

[3] McCabe, D. P., & Castel, A. D. (2008). Seeing is believing: the effect of brain images on judgments of scientific reasoning. Cognition, 107(1), 343–352. https://doi.org/10.1016/j.cognition.2007.07.017