Skip to content
Artificial intelligence. Clearly. RSS feed
AI NEWS AI

News. Evidence. Perspective.

ResearchExplainer

AI recognises rats’ sleep across changing drug conditions

A rat study tests whether control recordings can teach a classifier to recognise sleep after drug treatments change the signals.

A sleep experiment changes the animal’s biology on purpose. The instrument reading the experiment has a harder assignment: recognise the changing sleep pattern without confusing it with a change in the appearance of the signal.

A Scientific Reports study published on 20 October tests that problem in adult male rats. Its 13-animal cross-validation keeps each test animal out of training. Four-second brain and muscle recordings receive four labels: wake, REM, non-REM or artefact.[1]

Learning what should remain recognisable

The model combines local signal features with a shared context representation and a Transformer reading sequences. Training also pulls representations of the same sleep stage together. In the drug-transfer test, training uses saline-control recordings only.[1]

The distinction between unwanted variation and the experiment’s result has a history. In 2019, the AccuSleep researchers showed that ordinary signal standardisation could bias estimates when an intervention changed the fraction of time spent in each state. Their mixture z-scoring method used a small amount of labelled data per animal to separate recording differences from changes in sleep-state proportions.[2]

This is a subtle measurement problem. Imagine adjusting every day’s temperature readings to give them the same average before comparing a heatwave with a normal week. The adjustment would remove part of the difference being investigated. That is an analogy for why making two datasets look alike is not automatically the same as making their measurements comparable.

Saline-only training produced macro-F1 of 0.937, versus 0.943 with all conditions, across treatment conditions in held-out animals. F1 balances precision and recall; macro averaging gives each class equal weight. The evidence comes from one laboratory and does not establish transfer to other species or drug mechanisms beyond the serotonergic treatments studied.[1]

For an experimenter, the attraction is continuity of measurement: a recognisable sleep stage should keep its label while the experimental condition changes. The next comparison can then ask how much sleep changed, instead of first having to untangle whether the scoring system changed its interpretation.

Follow the evidence

Sources & further reading