# Machine learning-based evaluation of spontaneous pain and analgesics from cellular calcium signals in the mouse primary somatosensory cortex using explainable features

**Authors:** Myeong Seong Bak, Haney Park, Heera Yoon, Geehoon Chung, Hyunjin Shin, Soonho Shin, Tai Wan Kim, Kyungjoon Lee, U. Valentin Nägerl, Sang Jeong Kim, Sun Kwang Kim

PMC · DOI: 10.3389/fnmol.2024.1356453 · Frontiers in Molecular Neuroscience · 2024-02-21

## TL;DR

This study introduces a machine learning model that classifies pain and analgesic states in mice using calcium signals from the somatosensory cortex, offering more transparency than deep learning methods.

## Contribution

A novel machine learning model using manually extracted calcium signal features to classify pain states with explainable decision-making.

## Key findings

- The ML model successfully distinguished non-pain, pain, and analgesic states across inflammatory and neuropathic pain models.
- The model confirmed the analgesic effects of ketoprofen, morphine, and magnolin in preclinical tests.
- Manually extracted features improved model transparency and provided insights into neuronal activity patterns related to pain.

## Abstract

Pain that arises spontaneously is considered more clinically relevant than pain evoked by external stimuli. However, measuring spontaneous pain in animal models in preclinical studies is challenging due to methodological limitations. To address this issue, recently we developed a deep learning (DL) model to assess spontaneous pain using cellular calcium signals of the primary somatosensory cortex (S1) in awake head-fixed mice. However, DL operate like a “black box”, where their decision-making process is not transparent and is difficult to understand, which is especially evident when our DL model classifies different states of pain based on cellular calcium signals. In this study, we introduce a novel machine learning (ML) model that utilizes features that were manually extracted from S1 calcium signals, including the dynamic changes in calcium levels and the cell-to-cell activity correlations.

We focused on observing neural activity patterns in the primary somatosensory cortex (S1) of mice using two-photon calcium imaging after injecting a calcium indicator (GCaMP6s) into the S1 cortex neurons. We extracted features related to the ratio of up and down-regulated cells in calcium activity and the correlation level of activity between cells as input data for the ML model. The ML model was validated using a Leave-One-Subject-Out Cross-Validation approach to distinguish between non-pain, pain, and drug-induced analgesic states.

The ML model was designed to classify data into three distinct categories: non-pain, pain, and drug-induced analgesic states. Its versatility was demonstrated by successfully classifying different states across various pain models, including inflammatory and neuropathic pain, as well as confirming its utility in identifying the analgesic effects of drugs like ketoprofen, morphine, and the efficacy of magnolin, a candidate analgesic compound. In conclusion, our ML model surpasses the limitations of previous DL approaches by leveraging manually extracted features. This not only clarifies the decision-making process of the ML model but also yields insights into neuronal activity patterns associated with pain, facilitating preclinical studies of analgesics with higher potential for clinical translation.

## Linked entities

- **Chemicals:** ketoprofen (PubChem CID 3825), morphine (PubChem CID 5288826), magnolin (PubChem CID 169234)
- **Species:** Mus musculus (taxon 10090)

## Full-text entities

- **Diseases:** neuropathic pain (MESH:D009437), inflammatory (MESH:D007249), Pain (MESH:D010146)
- **Chemicals:** morphine (MESH:D009020), ketoprofen (MESH:D007660), magnolin (MESH:C094148), calcium (MESH:D002118)
- **Species:** Mus musculus (house mouse, species) [taxon 10090]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC10915002/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC10915002/full.md

## References

68 references — full list in the complete paper: https://tomesphere.com/paper/PMC10915002/full.md

---
Source: https://tomesphere.com/paper/PMC10915002