This is a preprint.
Rapid, open-source, and automated quantification of the head twitch response in C57BL/6J mice using DeepLabCut and Simple Behavioral Analysis
- PMID: 40568111
- PMCID: PMC12190173
- DOI: 10.1101/2025.04.28.650242
Rapid, open-source, and automated quantification of the head twitch response in C57BL/6J mice using DeepLabCut and Simple Behavioral Analysis
Update in
-
Rapid, Open-Source, and Automated Quantification of the Head Twitch Response in C57BL/6J Mice Using DeepLabCut and Simple Behavioral Analysis.ACS Pharmacol Transl Sci. 2025 Jul 31;8(8):2694-2709. doi: 10.1021/acsptsci.5c00305. eCollection 2025 Aug 8. ACS Pharmacol Transl Sci. 2025. PMID: 40810153
Abstract
Serotonergic psychedelics induce the head twitch response (HTR) in mice, an index of serotonin (5-HT) 2A receptor (5-HT2A) agonism and a behavioral proxy for psychedelic effects in humans. Existing methods for detecting HTRs include time-consuming visual scoring, magnetometer-based approaches, and analysis of videos using semi-automated commercial software. Here, we present a new automated approach for quantifying HTRs from experimental videos using the open-source machine learning-based toolkits, DeepLabCut (DLC) and Simple Behavioral Analysis (SimBA). Pose estimation DLC models were trained to predict X,Y coordinates of 13 body parts of C57BL/6J mice using historical experimental videos of HTRs induced by various psychedelic drugs. Next, a non-overlapping set of historical experimental videos was analyzed and used to train SimBA random forest behavioral classifiers to predict the presence of the HTR. The DLC+SimBA approach was then validated using a separate subset of visually scored videos. DLC+SimBA model performance was assessed at different video resolutions (50%, 25%, 12.5%) and frame rates (120, 60, 30 frames per second or fps). Our results indicate that HTRs can be quantified accurately at 50% resolution and 120 fps (precision = 95.45, recall = 95.56, F1 = 95.51) or at lower frame rates and resolutions (i.e., 50% resolution and 60 fps). The best performing DLC+SimBA model combination was deployed to evaluate the effects of bufotenine, a tryptamine derivative with uncharacterized potency and efficacy in the HTR paradigm. Interestingly, bufotenine only induced elevated HTRs (ED50 = 0.99 mg/kg, max counts = 24) when serotonin 1A receptors (5-HT1A) were pharmacologically blocked and activity at other sites of action may also impact its pharmacological effects (e.g., serotonin transporter). HTR counts for a subset of 21 videos from bufotenine experiments were strongly correlated for DLC+SimBA vs. visual scoring and semi-automated software detection methods (r = 0.98 and 0.99). Finally, the DLC+SimBA approach displayed high accuracy when compared to visual scoring of HTRs for three serotonergic psychedelic drugs with variable HTR frequencies (r = 0.99 vs. mean visual scores from 3 blinded raters). In summary, the DLC+SimBA approach represents a modular, noninvasive, and open-source method of HTR detection from experimental videos with accuracy comparable to magnetometer-based approaches and greater speed than visual scoring.
Keywords: automation; head twitch response; machine learning; mice; psychedelics; video.
Figures








Similar articles
-
Rapid, Open-Source, and Automated Quantification of the Head Twitch Response in C57BL/6J Mice Using DeepLabCut and Simple Behavioral Analysis.ACS Pharmacol Transl Sci. 2025 Jul 31;8(8):2694-2709. doi: 10.1021/acsptsci.5c00305. eCollection 2025 Aug 8. ACS Pharmacol Transl Sci. 2025. PMID: 40810153
-
Prescription of Controlled Substances: Benefits and Risks.2025 Jul 6. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. 2025 Jul 6. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. PMID: 30726003 Free Books & Documents.
-
Serotonin 2C receptors are also important in head-twitch responses in male mice.Psychopharmacology (Berl). 2025 Jul;242(7):1585-1605. doi: 10.1007/s00213-023-06482-9. Epub 2023 Oct 26. Psychopharmacology (Berl). 2025. PMID: 37882810
-
Falls prevention interventions for community-dwelling older adults: systematic review and meta-analysis of benefits, harms, and patient values and preferences.Syst Rev. 2024 Nov 26;13(1):289. doi: 10.1186/s13643-024-02681-3. Syst Rev. 2024. PMID: 39593159 Free PMC article.
-
The Black Book of Psychotropic Dosing and Monitoring.Psychopharmacol Bull. 2024 Jul 8;54(3):8-59. Psychopharmacol Bull. 2024. PMID: 38993656 Free PMC article. Review.
References
-
- González-Maeso J., Weisstaub N. V., Zhou M., Chan P., Ivic L., Ang R., Lira A., Bradley-Moore M., Ge Y., Zhou Q., Sealfon S. C., and Gingrich J. A. (2007) Hallucinogens Recruit Specific Cortical 5-HT2A Receptor-Mediated Signaling Pathways to Affect Behavior, Neuron 53, 439–452, DOI: 10.1016/j.neuron.2007.01.008. - DOI - PubMed
Publication types
Grants and funding
LinkOut - more resources
Full Text Sources
Miscellaneous