Using machine learning to automate the analysis of an olfactory habituation-dishabituation task in mice

This paper presents and validates a machine learning pipeline combining DeepLabCut and SimBA to accurately automate the analysis of mouse olfactory habituation-dishabituation tasks, achieving results comparable to manual annotation while improving research throughput.

Boyanova, S., Correa, M. H., Bains, R. S., Wiseman, F. K.

Published 2026-02-25
📖 4 min read☕ Coffee break read
⚕️

This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you are a detective trying to solve a mystery about mouse memory. Your clue? How long a mouse stops to sniff a new smell. This is called an "olfactory habituation-dishabituation" task. In simple terms: if you show a mouse the same smell three times, it gets bored and stops sniffing (habituation). But if you show it a new smell, it gets excited and sniffs again (dishabituation). This tells scientists if the mouse's brain is working correctly.

The Problem:
Traditionally, to get this data, a human had to sit in front of a screen for hours, watching black-and-white videos of mice in cages. They would manually click a stopwatch every time a mouse sniffed a cotton swab. It was slow, boring, and prone to human error (like getting tired or distracted). Plus, the videos were taken from the side, meaning the mouse often hid behind its own body or the cage equipment, making it hard to see exactly what it was doing.

The Solution:
The authors of this paper built a "robot detective" using Artificial Intelligence (AI) to do the job automatically. They created a two-step machine learning pipeline:

  1. The "Eyes" (DeepLabCut): Think of this as a super-observant camera operator. It was trained to track specific body parts of the mouse (like its nose, ears, and tail) and the cotton swab, even when the mouse was moving or partially hidden. It's like teaching a computer to play "connect the dots" on a moving mouse, frame by frame.
  2. The "Brain" (SimBA): Once the "Eyes" track the movement, the "Brain" steps in. This is a classifier that looks at the movement patterns and decides: "Is the mouse sniffing, or is it just walking by?" It learned this by watching thousands of examples of humans manually scoring the videos.

The Experiment:
The team tested their new robot detective on two different groups of mice:

  • Group A: Mice modeling a specific type of dementia (ALS/FTD).
  • Group B: Healthy mice (the control group).

They ran the test when the mice were young (15 weeks) and again when they were old (67 weeks). They compared the robot's results against the old-school human stopwatch method.

The Results:
The robot detective was amazing!

  • Accuracy: The time the robot calculated for sniffing was almost identical to the time humans calculated. It's like having two detectives who agree on the facts 90% of the time.
  • The Verdict: When the scientists analyzed the data to see if the "dementia" mice behaved differently than the healthy ones, the robot gave the exact same answer as the humans.
  • Efficiency: The robot could process videos much faster than a human could, and it didn't get tired.

Why This Matters:

  • Speed: It frees up scientists to do more research instead of staring at screens.
  • Consistency: Robots don't have bad days or get distracted by coffee breaks.
  • Accessibility: You don't need a supercomputer to run this; a standard high-end desktop computer can handle it.
  • Real-world Application: Because the videos are taken from the side (like a home security camera), this method works well for mice living in their normal cages, not just in special lab arenas.

The Catch:
Like any new tool, it's not perfect. Sometimes, if the mouse hides completely or the video quality is poor, the robot might miss a sniff. Also, it needs to be "taught" (trained) with a good set of examples before it can work on a new type of experiment. But overall, this paper proves that AI can be a reliable partner in understanding how mouse brains work, making science faster and more accurate.

In a Nutshell:
The authors replaced the tedious job of human stopwatch-timers with a smart AI system that watches mice sniffing. The AI is just as accurate as the humans but much faster, allowing scientists to study brain diseases more efficiently.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →