INTENSE: Detecting and disentangling neuronal selectivity in calcium imaging data

INTENSE is an open-source, information-theoretic framework that robustly detects and disentangles neuronal selectivity from calcium imaging data by accounting for temporal autocorrelation, indicator kinetics, and behavioral covariance to link large-scale neural activity with complex behaviors.

Nikita Pospelov, Viktor Plusnin, Olga Rogozhnikova, Anna Ivanova, Vladimir Sotskov, Ksenia Toropova, Olga Ivashkina, Vladik Avetisov, Konstantin Anokhin

Published 2026-03-06
📖 5 min read🧠 Deep dive

Imagine you are standing in a crowded, noisy room full of people talking at once. You want to figure out exactly what each person is thinking about just by listening to their voices. But there's a catch: the microphones you're using are a bit broken. They don't just pick up the voice right now; they echo the voice for a few seconds after the person stops speaking. Also, the people in the room are moving around, and their movements are all connected (if one person walks to the door, the person next to them usually does too).

This is exactly the problem neuroscientists face when studying the brains of animals. They use a special camera (calcium imaging) to watch thousands of neurons "light up" as a mouse runs around. But the camera is slow (like the broken microphone), and the mouse's behavior is complex and interconnected.

The paper introduces a new tool called INTENSE to solve this mess. Here is how it works, explained simply:

1. The Problem: The "Echo" and The "Crowd"

  • The Slow Camera: When a neuron fires, it doesn't light up instantly and then go dark. It glows brightly and then slowly fades away over a second or two. This means if a mouse runs fast, the camera might still be glowing from the previous run, making it look like the neuron is reacting to the current run when it's actually just an echo.
  • The Correlated Crowd: If a mouse runs fast, it also tends to turn its head and move its body. If you just look at the data, you might think a neuron is "tuned" to speed. But maybe it's actually tuned to turning its head, and it just looks like it's about speed because the mouse does both at the same time. It's like thinking a person is a "runner" just because they are wearing running shoes, when they are actually a "dancer" who happens to wear the same shoes.

2. The Solution: INTENSE (The Smart Detective)

The authors created INTENSE (INformation-Theoretic Evaluation of Neuronal SElectivity). Think of INTENSE as a super-smart detective that uses a specific set of rules to figure out who is really doing what.

A. It Doesn't Just Look for "Straight Lines"

Old methods were like looking for a straight line on a graph. If the mouse moves faster and the neuron glows brighter in a straight line, they say, "Aha! They are connected!"
But brains are messy. Sometimes a neuron glows when the mouse is very fast, but also when it's very slow, but not in the middle. That's a curve, not a line.
INTENSE uses a concept called Mutual Information. Imagine it's a "curiosity meter." It asks: "Does knowing what the mouse is doing make me less surprised about what the neuron is doing?" If the answer is "Yes," they are connected. This works for straight lines, curves, and weird, complex patterns that old tools miss.

B. The "Time-Travel" Test (Circular Shifting)

To fix the "echo" problem (the slow camera), INTENSE plays a trick. It takes the video of the mouse and the video of the neurons and shuffles them around in time, like cutting a deck of cards and moving the bottom cards to the top.

  • It asks: "If I pretend the neuron is reacting to the mouse's behavior from 5 seconds ago (or 5 seconds in the future), does the connection still look real?"
  • By doing this thousands of times, it builds a baseline of "random noise." If the real connection is stronger than the random noise, it knows it's a real signal, not just an echo.

C. The "Unmasking" Trick (Disentanglement)

This is the most powerful part. Remember the "runner vs. dancer" problem?
INTENSE uses a technique called Conditional Mutual Information. It's like putting a blindfold on one variable to see what's left.

  • Scenario: A neuron seems to react to both "Speed" and "Head Turning."
  • The Trick: INTENSE asks, "If I already know the mouse is turning its head, does the neuron still react to Speed?"
  • The Result: If the answer is "No," then the neuron wasn't actually reacting to speed; it was just reacting to the head turning, and speed was just a fake clue. INTENSE strips away the fake clues to reveal the true cause.

3. What Did They Find?

The team tested INTENSE on real mice running around an open field.

  • It found the classics: It successfully found the famous "Place Cells" (neurons that light up only when the mouse is in a specific spot), proving it works as well as the old, complicated methods.
  • It found the hidden gems: Because it looks for non-linear patterns, it found many more neurons that were selective to things like "object interaction" or "head direction" that the old methods missed.
  • It cleaned up the data: It showed that a lot of what we thought was "mixed selectivity" (one neuron doing two things) was actually just one thing causing another. Once INTENSE removed the confusion, it turned out that most neurons are actually quite simple and focused on just one specific thing.

The Big Picture

Before INTENSE, trying to understand brain activity in a moving animal was like trying to read a book written in a language you don't speak, with the pages stuck together and the ink smearing.

INTENSE is like a translator that:

  1. Reads the messy, smudged ink (the slow camera data).
  2. Untangles the pages that are stuck together (the correlated behaviors).
  3. Tells you exactly what the story is (what the neuron is actually thinking about).

It allows scientists to finally see the brain's code clearly, distinguishing between what a neuron is actually doing and what it just looks like it's doing because of the chaos of the real world.