Abstract
Information theory allows us to investigate information processing in neural systems in terms of information transfer, storage and modification. Especially the measure of information transfer, transfer entropy, has seen a dramatic surge of interest in neuroscience. Estimating transfer entropy from two processes requires the observation of multiple realizations of these processes to estimate associated probability density functions. To obtain these necessary observations, available estimators typically assume stationarity of processes to allow pooling of observations over time. This assumption however, is a major obstacle to the application of these estimators in neuroscience as observed processes are often non-stationary. As a solution, Gomez-Herrero and colleagues theoretically showed that the stationarity assumption may be avoided by estimating transfer entropy from an ensemble of realizations. Such an ensemble of realizations is often readily available in neuroscience experiments in the form of experimental trials. Thus, in this work we combine the ensemble method with a recently proposed transfer entropy estimator to make transfer entropy estimation applicable to non-stationary time series. We present an efficient implementation of the approach that is suitable for the increased computational demand of the ensemble method's practical application. In particular, we use a massively parallel implementation for a graphics processing unit to handle the computationally most heavy aspects of the ensemble method for transfer entropy estimation. We test the performance and robustness of our implementation on data from numerical simulations of stochastic processes. We also demonstrate the applicability of the ensemble method to magnetoencephalographic data. While we mainly evaluate the proposed method for neuroscience data, we expect it to be applicable in a variety of fields that are concerned with the analysis of information transfer in complex biological, social, and artificial systems.
Introduction: The Stationarity Hurdle
Transfer Entropy (TE) is a powerful information-theoretic tool used to measure the directed "flow" of information between two processes, such as different brain regions. However, traditional TE estimators face a significant challenge: they typically assume stationarity, meaning the statistical properties of the signal remain constant over time.
In neuroscience, this assumption is rarely met. Brain activity is inherently dynamic, especially during tasks where neural populations rapidly shift states. To estimate TE without assuming stationarity, researchers must use an "ensemble" method, which pools data from many repetitions (trials) of the same experiment rather than over time. While theoretically sound, this approach is computationally intensive, often making it practically impossible for standard laboratory setups.
Methods: Ensemble Estimation and GPU Acceleration
The authors address this by combining the ensemble-based TE functional with the Kraskov-Stögbauer-Grassberger (KSG) estimator. This "binless" approach relies on nearest-neighbor statistics to estimate probability density functions.
The core innovation is a massively parallel implementation of the two most computationally expensive parts of the KSG estimator:
- k-Nearest Neighbor Search (kNNS): Finding the $k$ closest points in a high-dimensional state space.
- Range Search (RS): Counting points within a specific distance in lower-dimensional marginal spaces.
By offloading these searches to NVIDIA GPUs using CUDA, the authors transformed the algorithm into a parallel powerhouse. This implementation was integrated into TRENTOOL, an open-source MATLAB toolbox for TE analysis.
Validation and Results
The framework was validated using three distinct data types:
- Simulated Autoregressive (AR) Processes: To test the detection of smooth, time-varying changes in coupling strength.
- Coupled Lorenz Systems: To verify the method’s ability to reconstruct both information transfer and specific interaction delays.
- MEG Neural Time Series: Real-world data from 15 subjects performing a "perceptual closure" task.
Key Performance Metrics
- Speedup: The GPU implementation achieved a 50x speedup compared to a CPU-optimized search. Analysis that previously took weeks can now be completed in hours.
- Accuracy: The method successfully identified coupling onsets in Lorenz systems and correctly reconstructed interaction delays (e.g., 45ms).
- Neurobiological Insights: In the MEG task, the method mapped a clear progression of information: from the primary visual cortex (V1) to the orbitofrontal cortex (OFC) for initial scene "gist" processing, and finally to the fusiform face area (FFA) for face perception.
Conclusion and Future Directions
The "ensemble" approach leverages the trial-based structure of neuroscience experiments to bypass stationarity requirements. By utilizing GPU acceleration, this previously "theoretical" analysis becomes a practical reality for experimentalists.
Despite the speedup, the method remains data-hungry, requiring a large number of trials (typically 5,000–10,000 data points per ensemble) for stable estimates. Future work will focus on multi-GPU scaling for whole-brain connectivity and adaptive windowing to optimize temporal resolution.
Summary updated