NeuroADDA: Active Discriminative Domain Adaptation in Connectomic

Shashata Sawmya, Thomas L. Athey, Gwyneth Liu, Nir ShavitarXiv 2025 · DOI · arXiv

Abstract

Connectomics—the mapping of every neural connection in a brain—is a massive data challenge hindered by the need for extensive manual annotation. NeuroADDA (Neuronal Active Discriminative Domain Adaptation) is a new framework that drastically reduces this manual labor by intelligently reusing pre-trained AI models. By selecting the most biologically similar source dataset via statistical distance and employing a "Goldilocks" active learning strategy, the researchers achieved a 25–67% reduction in segmentation error with as few as four annotated image samples.

Introduction

High-resolution electron microscopy (EM) generates petabytes of data, but segmenting individual neurons remains a bottleneck. Currently, the standard practice is to train a deep learning model from scratch for every new dataset. This is necessitated by "domain shift": models trained on one species (e.g., mouse) often fail on others (e.g., fruit fly) due to differences in biology and imaging protocols. NeuroADDA asks whether we can adapt existing models to new datasets with minimal human effort.

Methods

The NeuroADDA framework consists of two main phases designed to optimize model transfer:

  1. Optimal Domain Selection: Instead of arbitrary selection, the authors use Maximum Mean Discrepancy (MMD). By passing images through a U-Net encoder, they measure the statistical "distance" between the feature distributions of different datasets. The source dataset with the lowest MMD to the target is selected for adaptation.
  2. Active Discriminative Adaptation: Once a source is picked, the system identifies which specific target images would be most helpful for human labeling. While many systems pick the "most uncertain" images, these are often just imaging artifacts (the "Artifact Trap"). NeuroADDA utilizes median-uncertainty sampling to find the best balance for fine-tuning.
NeuroADDA methodology (A) and the MMD distance matrix (B) showing statistical distances between different species and datasets.

Key Insights and Results

MMD as a Biological Compass

A striking finding is that the mathematical distance between datasets in the AI's feature space correlates with phylogenetic distance. The AI naturally clusters mammalian data together, distinct from insects or nematodes, suggesting the models learn fundamental morphological traits of neurons. Statistical tests confirmed a "perfect agreement" with biological phylum-level assignments ($p = 0.019$).

Performance and the "Power of Four"

NeuroADDA consistently outperformed training from scratch across six major connectomics datasets (Mouse, Human, Fruit Fly, and Nematode). The researchers found that fine-tuning a well-chosen pre-trained model with just 4 samples can outperform a model trained from scratch on 16 samples.

Comparison of segmentation error (Variation of Information) between scratch training and NeuroADDA across six diverse datasets.

At a sample size of $n=4$, NeuroADDA achieved a 25–67% reduction in the Variation of Information (VI) metric. Selecting the "Minimum MMD" source dataset yielded the best performance in 99.2% of cases, whereas picking a dissimilar source often performed worse than starting from scratch.

Conclusion and Future Work

NeuroADDA demonstrates that intelligent domain adaptation can significantly lower the barrier to entry for connectomics research. By leveraging biological similarities and avoiding the "artifact trap," the framework represents a massive reduction in the human proofreading bottleneck. Future work may expand to 3D recurrent networks and a wider variety of species to further refine image-based phylogenetics and transfer success.

Summary updated

Abstract

Training segmentation models from scratch has been the standard approach for new electron microscopy connectomics datasets. However, leveraging pretrained models from existing datasets could improve efficiency and performance in constrained annotation budget. In this study, we investigate domain adaptation in connectomics by analyzing six major datasets spanning different organisms. We show that, Maximum Mean Discrepancy (MMD) between neuron image distributions serves as a reliable indicator of transferability, and identifies the optimal source domain for transfer learning. Building on this, we introduce NeuroADDA, a method that combines optimal domain selection with source-free active learning to effectively adapt pretrained backbones to a new dataset. NeuroADDA consistently outperforms training from scratch across diverse datasets and fine-tuning sample sizes, with the largest gain observed at $n=4$ samples with a 25-67\% reduction in Variation of Information. Finally, we show that our analysis of distributional differences among neuron images from multiple species in a learned feature space reveals that these domain "distances" correlate with phylogenetic distance among those species.
BibTeX
@misc{sawmya2025neuroadda,
  author = {Shashata Sawmya and Thomas L. Athey and Gwyneth Liu and Nir Shavit},
  title = {{NeuroADDA: Active Discriminative Domain Adaptation in Connectomic}},
  year = {2025},
  eprint = {2503.06196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.06196},
}
Figure