Skip to main content
Back

Ends Soon: Get 20% off all AlphaSignal Pro subscriptions. Subscribe here.

Janelia's DPMS Pools 80,000-Neuron Brain Scans Without Matching Every Cell

A new variational framework pools data across many subjects by learning a shared conditional prior over model parameters while keeping per-subject posteriors.

Pro

  • Janelia and collaborators release DPMS, a variational framework for pooling data across non-aligned system instances.
  • A deep conditional prior maps auxiliary metadata (e.g. neuron coordinates) to parameter priors shared across subjects.
  • Per-instance posteriors preserve individual variability while borrowing statistical strength from the group.
  • Validated on 100 synthetic brains and whole-brain zebrafish calcium imaging with ~80,000 neurons per fish.
  • Works across regression, classification, and factor-analysis dimensionality reduction with the same recipe.
  • Code available at github.com/neuro-will/probabilistic_model_synthesis.

Researchers at Janelia, Radboud University, and Northwestern University have introduced Deep Probabilistic Model Synthesis, or DPMS, a hierarchical variational-inference framework for learning across subjects whose internal components do not align. The DPMS paper evaluates the method on synthetic benchmarks and whole-brain calcium imaging recordings from larval zebrafish, with roughly 80,000 neurons recorded per fish.

DPMS links subject-specific models through a shared prior learned from component metadata, such as each neuron’s three-dimensional position. Data-rich subjects can therefore inform models for subjects with fewer observations while each subject retains its own parameter distribution.

Neuron IDs break naive pooling

Standard pooled training assumes that a feature has the same meaning in every sample. Biological recordings violate that assumption: neuron 4,217 in one fish has no direct counterpart in another, and even similar cells may occupy different positions or respond differently.

Fitting each subject independently preserves its structure. Those separate estimates cannot easily share evidence, and averaging their parameters is poorly defined when components lack one-to-one correspondence. The same problem appears in patient-specific physiological models, device-specific sensor models, and user-specific recommendation systems.

Coordinates become a shared prior

DPMS casts the collection of subject models as a hierarchy. A Conditional Prior Distribution, or CPD, maps auxiliary properties for each component to a probability distribution over that component’s model parameters. In the zebrafish experiments, three-dimensional neuron coordinates provide the conditioning information; other applications could use cell types, anatomical labels, or functional measurements.

  1. Encode component metadata. A neural network receives the auxiliary properties associated with a model component.
  2. Generate a parameter prior. The CPD predicts a distribution over the component’s likely weights or loadings.
  3. Fit subject-specific posteriors. Each subject’s approximate posterior incorporates its observations and can move away from the shared prior when supported by the data.
  4. Optimize the hierarchy jointly. Variational inference learns the shared CPD alongside the subject-level parameter distributions.

The CPD can be evaluated at every subject’s own coordinates, removing the need to align neuron identities before training. Shared spatial or functional structure determines how information moves between subjects.

DPMS regression results for zebrafish neural recordings
Regression experiments use whole-brain neural activity to predict fictive swimming signals recorded from motor nerves.

From simulated brains to 80,000 neurons

Datasets used to evaluate DPMS
Dataset Contents Purpose
Synthetic brains 100 simulated subjects with known relationships between neural activity, parameters, and behavior Tests whether the hierarchy recovers shared structure while retaining individual variation
Larval zebrafish Public whole-brain calcium recordings with roughly 80,000 neurons per fish and fictive swimming responses to visual stimuli Tests transfer at biological scale across subjects and stimulus conditions

The zebrafish recordings include responses associated with phototaxis and optomotor behavior. Motor-nerve signals provide a behavioral target while neuron coordinates supply the shared metadata used by the CPD.

The paper applies the framework to three model families:

  • Regression: predicts fictive swimming traces from whole-brain neural activity.
  • Classification: tests whether the shared-prior design extends to models with discrete outputs.
  • Factor analysis: learns lower-dimensional representations whose latent states can be compared across fish.

Data-rich fish help data-poor fish

The authors evaluate probabilistic fit with held-out evidence lower bound, or ELBO, and behavioral prediction with cross-validated R2. ELBO is a tractable lower bound on a model’s log evidence, while R2 compares predicted and observed behavioral traces. An R2 of 1 indicates perfect predictions, 0 matches a constant mean predictor, and negative values perform worse than that baseline.

In the regression experiments, target fish with limited training data improve when the hierarchy also includes better-sampled base fish. The paper reports this gain across individual cross-validation folds, indicating that the effect is not confined to one train-test split.

The factor-analysis experiments compare pooling fish recorded under the same behavior with pooling across different behaviors. Target fish still benefit from base fish recorded under different stimulus conditions when neuron metadata provides useful shared structure. The resulting latent space supports comparisons across animals without requiring direct neuron-to-neuron matches.

DPMS factor-analysis results across target zebrafish
Factor-analysis experiments quantify transfer to target fish under same-behavior and different-behavior pooling conditions.

Metadata sets the method’s ceiling

  • Auxiliary properties must be informative. Coordinates, cell types, or functional markers need to predict useful parameter structure. Weak metadata gives the CPD little basis for transfer.
  • Descriptors provide the bridge. DPMS does not infer correspondences when subjects share no informative component-level representation.
  • Variational inference remains approximate. Results depend on the chosen posterior family and optimization procedure, and ELBO remains a lower bound rather than an exact marginal likelihood.
  • Current evidence has a defined scope. The experiments cover synthetic data and one large zebrafish imaging setting. Other organisms, modalities, and model architectures require separate validation.
  • New domains require model work. Users must specify an appropriate likelihood, posterior family, metadata schema, and component-level parameterization.

Released code covers the starting point

The authors provide the full implementation and scripts for reproducing the synthetic experiments in the project’s source code. The zebrafish experiments use previously published Chen, Mu, Hu et al. calcium imaging recordings hosted by Janelia.

Adapting DPMS requires a probabilistic model for each subject, a consistent auxiliary feature vector for each component, subject-specific approximate posteriors, and a shared CPD network. A useful evaluation should compare the hierarchy with independent subject fits on held-out data, especially for subjects with limited observations.