
CEBRA
Self-supervised algorithm for embedding neural and behavioral recordings.
About CEBRA
CEBRA (Consistent EmBeddings of high-dimensional Recordings using Auxiliary variables) is a self-supervised machine learning method that turns high-dimensional neural and behavioral recordings into interpretable, low-dimensional embeddings. It uses contrastive learning with a generalized InfoNCE loss to map neural activity into a space where similar patterns are pulled together and dissimilar ones pushed apart, revealing structure in the data that isn't obvious in its raw form. The tool jointly uses behavioral and neural data and offers three modes: CEBRA-Time, which is fully self-supervised and needs no labeled behavior; CEBRA-Behavior, which is supervised and incorporates known behavioral variables; and CEBRA-Hybrid, which combines both. It has been validated on calcium imaging and electrophysiology datasets across species, and researchers have used it for tasks like decoding visual cortex activity to reconstruct viewed video, decoding movement trajectories from motor cortex, and reconstructing an animal's position during navigation from neural activity. CEBRA is developed by Mackenzie Mathis and Steffen Schneider's labs, with the foundational method published in Nature in 2023. It is open source under an Apache 2.0 license as of version 0.4.0, with code available on GitHub alongside documentation and interactive Colab notebook demos. A patent covering non-academic applications is pending through EPFL. It is a research tool aimed at neuroscientists rather than a general-purpose commercial product, so it requires familiarity with Python and neural data analysis to use effectively.
At a glance
- Founded
- 2023
- Platforms
- API
- API
- Available
- Last verified
- July 2026
Who It's For
- •Neuroscientists
- •Data scientists in neural engineering
- •Researchers studying brain-behavior relationships
- •Computational biologists
How It Works
- 1CEBRA combines neural and behavioral data using a self-supervised learning approach.
- 2It creates high-performance, interpretable latent spaces that reveal hidden structures.
- 3The software applies contrastive learning techniques to generate embeddings.
- 4The embeddings can be used for decoding and analyzing neural activity in various experiments.
How to Use CEBRA
- 1Upload neural and behavioral datasets into the CEBRA software.
- 2Configure parameters for the specific dataset and research question.
- 3Run the embedding algorithm to generate low-dimensional representations.
- 4Analyze the embeddings for decoding, visualization, and hypothesis testing.
Key Features
- •Self-supervised contrastive embedding (CEBRA-Time)
- •Supervised behavior-aware embedding (CEBRA-Behavior)
- •Hybrid mode combining both
- •Neural decoding and stimulus reconstruction
- •Open-source Python implementation
Use Cases
- •Decode neural activity to reconstruct viewed stimuli
- •Reconstruct animal position from neural recordings during navigation
- •Analyze neural dynamics across calcium imaging or electrophysiology datasets
- •Discover hidden structure in high-dimensional neural recordings
Pros & Cons
Advantages
- •Produces consistent, high-quality representations of neural data
- •Supports both supervised and discovery-driven analysis
- •Applicable across various datasets and species
- •Provides rapid decoding capabilities
Disadvantages
- •Requires neural and behavioral datasets for optimal use
- •Possibly complex setup for new users
- •Potential limitations with extremely noisy data
Alternatives
- UMAP
- t-SNE
Reviews for CEBRA
Based on 0 reviews
Rating Distribution
No Reviews Yet
Be the first to share your experience with CEBRA!
Frequently Asked Questions
What is CEBRA?
CEBRA (Consistent EmBeddings of high-dimensional Recordings using Auxiliary variables) is a self-supervised machine learning method that turns high-dimensional neural and behavioral recordings into interpretable, low-dimensional embeddings. It uses contrastive learning with a generalized InfoNCE loss to map neural activity into a space where similar patterns are pulled together and dissimilar ones pushed apart, revealing structure in the data that isn't obvious in its raw form.
How much does CEBRA cost?
CEBRA uses custom pricing — contact the vendor for a quote.
Is CEBRA free?
CEBRA is a paid tool and does not offer a free plan.
What are the best CEBRA alternatives?
Popular CEBRA alternatives include UMAP, t-SNE.
What is CEBRA used for?
CEBRA is commonly used for Decode neural activity to reconstruct viewed stimuli, Reconstruct animal position from neural recordings during navigation, Analyze neural dynamics across calcium imaging or electrophysiology datasets.
Does CEBRA have an API?
Yes, CEBRA offers an API for developers.
What platforms does CEBRA support?
CEBRA is available on API.
Information Accuracy
Please note: While we regularly update all tool information including descriptions, features, pricing, and other details, this information may change over time as tools evolve and update their offerings. For the most current and accurate information, we recommend visiting the official website directly. Our goal is to provide you with comprehensive and up-to-date information to help you make informed decisions.