SynapFlow: A Modular Framework Towards Large-Scale Analysis of Dendritic Spines

Pamela Osuna-Vargas, Altug Kamacioglu, Dominik F. Aschauer, Petros E. Vlachos, Sercan Alipek +3 more
9/23/2025
cs.CV

Official code: pamelaosuna/SynapFlow (2 stars, MIT, last commit 2025-12-21).

Abstract

Dendritic spines are key structural components of excitatory synapses in the brain. Given the size of dendritic spines provides a proxy for synaptic efficacy, their detection and tracking across time is important for studies of the neural basis of learning and memory. Despite their relevance, large-scale analyses of the structural dynamics of dendritic spines in 3D+time microscopy data remain challenging and labor-intense. Here, we present a modular machine learning-based pipeline designed to automate the detection, time-tracking, and feature extraction of dendritic spines in volumes chronically recorded with two-photon microscopy. Our approach tackles the challenges posed by biological data by combining a transformer-based detection module, a depth-tracking component that integrates spatial features, a time-tracking module to associate 3D spines across time by leveraging spatial consistency, and a feature extraction unit that quantifies biologically relevant spine properties. We validate our method on open-source labeled spine data, and on two complementary annotated datasets that we publish alongside this work: one for detection and depth-tracking, and one for time-tracking, which, to the best of our knowledge, is the first data of this kind. To encourage future research, we release our data, code, and pre-trained weights at https://github.com/pamelaosuna/SynapFlow, establishing a baseline for scalable, end-to-end analysis of dendritic spine dynamics.

View on arXivView PDF

Code Implementations(1)

MIT
20PythonJul 28, 202510 months agoMIT

Similar Papers

Cite this paper

@article{osunavargas2025synapflow,
  title  = {SynapFlow: A Modular Framework Towards Large-Scale Analysis of Dendritic Spines},
  author = {Pamela Osuna-Vargas and Altug Kamacioglu and Dominik F. Aschauer and Petros E. Vlachos and Sercan Alipek and Jochen Triesch and Simon Rumpel and Matthias Kaschube},
  year   = {2025},
  eprint = {2509.18926},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.18926v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.18926.svg)](https://codeofpaper.com/paper/2509.18926)

Discussion