Abstract
Neural signals are high-dimensional, noisy, and dynamic, making it challenging to extract interpretable features linked to behavior or disease. We introduce Neurospectrum, a framework that encodes neural activity as latent trajectories shaped by spatial and temporal structure. At each timepoint, signals are represented on a graph capturing spatial relationships, with a learnable attention mechanism highlighting important regions. These are embedded using graph wavelets and passed through a manifold-regularized autoencoder that preserves temporal geometry. The resulting latent trajectory is summarized using a principled set of descriptors—including curvature, path signatures, persistent homology, and recurrent networks—that capture multiscale geometric, topological, and dynamical features. We evaluate Neurospectrum on simulated and experimental datasets, demonstrating its ability to track phase synchronization, reconstruct visual stimuli, and identify biomarkers of obsessive-compulsive disorder (OCD) in fMRI.
Introduction
Cells and neurons do not signal in isolation; they coordinate across complex spatial architectures to regulate everything from embryonic development to cognitive processing. However, capturing these spatiotemporal patterns is notoriously difficult. Traditional methods, such as kymographs (which collapse spatial data into a single dimension) or simple intensity measurements, often fail to capture the hierarchical, multi-scale coordination between neighboring units. Furthermore, signaling data is frequently non-linear, noisy, and highly heterogeneous.
Neurospectrum addresses these challenges by treating neural activity as a dynamic trajectory on a manifold. By combining graph-based wavelets with topological data analysis (TDA), the framework—specifically the Geometric Scattering Trajectory Homology (GSTH) pipeline—transforms complex signaling data into low-dimensional, interpretable trajectories that reveal the underlying logic of biological communication.
Methodology
The Neurospectrum framework consists of a sophisticated three-step pipeline designed to preserve the physical and temporal context of the data:
1. Spatial Embedding (Geometric Scattering)
The tissue or neural population is represented as a graph where individual cells or regions are nodes. The framework applies "geometric scattering"—a technique using graph wavelets—to extract features at multiple scales. This acts as a mathematical zoom lens, capturing both local interactions between immediate neighbors and global patterns across the entire network without requiring a predefined spatial axis.
2. Temporal Embedding (PHATE)
These multiscale spatial features are processed through a manifold-regularized autoencoder (utilizing PHATE) to preserve the global geometry of the data over time. This step reduces high-dimensional signaling data into a 3D "trajectory" that represents the evolution of the system's state. This ensures that the temporal relationships between different signaling phases are maintained in the latent space.
3. Topological Analysis (Persistent Homology)
Finally, the framework uses Topological Data Analysis (TDA) to characterize the shape of the resulting trajectory. By calculating persistent homology, the model identifies "loops" (indicating periodic or repeating signals) and "gaps" (indicating intermittent or uncoordinated signaling). These topological descriptors serve as robust features for downstream classification and regression tasks.
Experimental Results
Synthetic Simulations
In Kuramoto model simulations (coupled oscillators), Neurospectrum recovered the "coupling strength"—the degree to which oscillators influence each other—with a Mean Squared Error (MSE) of 0.0081. This significantly outperformed traditional TDA methods, proving the framework's sensitivity to subtle dynamical shifts.
Biological Signaling and Drug Classification
The framework was applied to in vivo calcium signaling in the mouse epidermis. Neurospectrum classified different drug treatments (such as thapsigargin and 2-APB) with 88% accuracy, surpassing kymograph-based methods (76%) and other topological approaches. The analysis revealed that "smooth" trajectories correlate with coordinated calcium waves, while "broken" trajectories indicate sporadic, uncoordinated cell spiking.
Neural Decoding and Clinical Biomarkers
When applied to two-photon microscopy data from the mouse visual cortex, the framework predicted the spatial frequency of visual stimuli with 72% accuracy. Furthermore, the model successfully identified biomarkers of obsessive-compulsive disorder (OCD) in human fMRI data, demonstrating its utility in clinical diagnostic contexts.
Discussion and Limitations
A key insight from this work is that the topology of a mathematical trajectory serves as a direct proxy for biological state. For instance, the presence of loops in the latent space (quantified by $H_1$ Betti numbers) indicates quasi-periodicity, a hallmark of stable biological processes.
While powerful, the framework currently faces limitations in predicting high-frequency temporal changes in certain neural datasets, possibly due to limitations in current imaging frame rates. Future work will focus on making the framework entirely end-to-end trainable by integrating the scattering and TDA steps directly into deep learning architectures, potentially allowing for the discovery of even more nuanced "languages" of cellular and neural communication.
Summary updated