Skip to main content
Log in

Geodesic-based distance reveals nonlinear topological features in neural activity from mouse visual cortex

  • Original Article
  • Published:
Biological Cybernetics Aims and scope Submit manuscript

Abstract

An increasingly popular approach to the analysis of neural data is to treat activity patterns as being constrained to and sampled from a manifold, which can be characterized by its topology. The persistent homology method identifies the type and number of holes in the manifold, thereby yielding functional information about the coding and dynamic properties of the underlying neural network. In this work, we give examples of highly nonlinear manifolds in which the persistent homology algorithm fails when it uses the Euclidean distance because it does not always yield a good approximation to the true distance distribution of a point cloud sampled from a manifold. To deal with this issue, we instead estimate the geodesic distance which is a better approximation of the true distance distribution and can therefore be used to successfully identify highly nonlinear features with persistent homology. To document the utility of the method, we utilize a toy model comprised of a circular manifold, built from orthogonal sinusoidal coordinate functions and show how the choice of metric determines the performance of the persistent homology algorithm. Furthermore, we explore the robustness of the method across different manifold properties, like the number of samples, curvature and amount of added noise. We point out strategies for interpreting its results as well as some possible pitfalls of its application. Subsequently, we apply this analysis to neural data coming from the Visual Coding-Neuropixels dataset recorded at the Allen Institute in mouse visual cortex in response to stimulation with drifting gratings. We find that different manifolds with a non-trivial topology can be seen across regions and stimulus properties. Finally, we interpret how these changes in manifold topology along with stimulus parameters and cortical region inform how the brain performs visual computation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Data Availability Statement

The data analysis was done on the Visual Coding-Neuropixels dataset from the Allen Institute. This dataset can be found at: https://portal.brain-map.org/explore/circuits/visual-coding-neuropixels

Notes

  1. https://portal.brain-map.org/explore/circuits/visual-coding-neuropixels.

References

Download references

Author information

Authors and Affiliations

Authors

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Code availability

The code for all our analyses is available at the following GitHub link: https://github.com/KBeshkov/-geod_top

Additional information

Communicated by Benjamin Lindner.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Beshkov, K., Tiesinga, P. Geodesic-based distance reveals nonlinear topological features in neural activity from mouse visual cortex. Biol Cybern 116, 53–68 (2022). https://doi.org/10.1007/s00422-021-00906-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00422-021-00906-5

Keywords

Navigation