Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Personalized Brain-Based Analgesia Detection with Portable fNIRS and AI

Cristian Minoccheri, Pangyu Joo, Xiao-Su Hu, Hafsa Affendi, Fadi Elayyan, Angeline Harville, Neville J. McDonald, Tatiana Botero, Alexandre F. DaSilva
doi: https://doi.org/10.64898/2026.05.20.26353377
Cristian Minoccheri
1Headache and Orofacial Pain Effort (HOPE) Lab, Department of Biologic and Materials Sciences & Prosthodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Pangyu Joo
1Headache and Orofacial Pain Effort (HOPE) Lab, Department of Biologic and Materials Sciences & Prosthodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Xiao-Su Hu
1Headache and Orofacial Pain Effort (HOPE) Lab, Department of Biologic and Materials Sciences & Prosthodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Hafsa Affendi
2Department of Cariology, Restorative Sciences and Endodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Fadi Elayyan
2Department of Cariology, Restorative Sciences and Endodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Angeline Harville
2Department of Cariology, Restorative Sciences and Endodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Neville J. McDonald
2Department of Cariology, Restorative Sciences and Endodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Tatiana Botero
2Department of Cariology, Restorative Sciences and Endodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Alexandre F. DaSilva
1Headache and Orofacial Pain Effort (HOPE) Lab, Department of Biologic and Materials Sciences & Prosthodontics, School of Dentistry, University of Michigan, Ann Arbor, MI, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: adasilva{at}umich.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Neuroimaging-based pain decoding faces two underappreciated challenges: between-subject variability that prevents classifiers from generalizing across patients, and within-session cross-validation designs that inflate reported accuracy by conflating within- and between-person variance. Here we address both using portable functional near-infrared spectroscopy (fNIRS) during pharmacologically verified local nerve anesthesia. Twenty-five patients with clinically painful teeth underwent 36-channel bilateral fNIRS during percussion before ("Pre") and after ("Post") local nerve anesthesia. In 13 block-success patients, a paired Pre-versus-Post comparison with healthy-tooth control identified three temporal hemodynamic response function (HRF) features – late slope, mean first derivative, and baseline-normalized amplitude – whose analgesia interaction effects (d = 0.63–0.79) exceeded that of raw general linear model (GLM) amplitude (d = 0.56), with a significant difference-in-differences interaction (p = 0.011). Per-patient calibration with these features yielded leave-one-subject-out (LOSO) AUC = 0.68–0.76 for nonlinear classifiers (permutation p = 0.002), with HbO-specific feature selection achieving the best performance (RF AUC = 0.760); a healthy-tooth negative control was non-significant. End-to-end deep learning on raw time series (CNN-LSTM AUC = 0.719) was competitive with feature-based classifiers, while linear models did not reach significance. Critically, head-to-head comparison of within-session CV and LOSO on the same data revealed mean inflation of +0.13 AUC across all model types, including deep learning – demonstrating that high within-session accuracy alone does not establish subject-independent validity. Exploratory analyses suggested complementary roles for oxyhemoglobin (HbO; within-patient analgesia detection) and deoxyhemoglobin (HbR; cross-patient information), and that trial-to-trial response variability may complement amplitude for cross-patient pain detection. These results show that per-patient calibration with temporal HRF features supports subject-independent analgesic-state detection under strict LOSO evaluation, and that within-session validation – standard in the fNIRS pain-decoding literature – can substantially overestimate performance.

Competing Interest Statement

The content described within this fNIRS study has been developed at the University of Michigan and disclosed to the University of Michigan Office of Technology Transfer called CLARAi (Clinical Augmented Reality and Artificial Intelligence). All intellectual property rights including but not limited to patents/patent applications, trademark and copyright of software, algorithms, reports, displays, and visualizations are owned by the Regents of the University of Michigan. Dr. DaSilva is the co-founder of MELD Health Inc, a startup that licenses the mobile technology from University of Michigan for pain monitoring and rating called PainTrek. The remaining authors have no conflicts of interest to declare.

Funding Statement

This work was supported by the PI Discretionary Fund within the School of Dentistry/Biologic and Materials Sciences & Prosthodontics, University of Michigan.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

This study was approved by the University of Michigan Institutional Review Board (protocol number: HUM00164611). All participants provided written informed consent prior to enrollment.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Data Availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC 4.0 International license.
Back to top
PreviousNext
Posted May 28, 2026.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Personalized Brain-Based Analgesia Detection with Portable fNIRS and AI
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Personalized Brain-Based Analgesia Detection with Portable fNIRS and AI
Cristian Minoccheri, Pangyu Joo, Xiao-Su Hu, Hafsa Affendi, Fadi Elayyan, Angeline Harville, Neville J. McDonald, Tatiana Botero, Alexandre F. DaSilva
medRxiv 2026.05.20.26353377; doi: https://doi.org/10.64898/2026.05.20.26353377
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Personalized Brain-Based Analgesia Detection with Portable fNIRS and AI
Cristian Minoccheri, Pangyu Joo, Xiao-Su Hu, Hafsa Affendi, Fadi Elayyan, Angeline Harville, Neville J. McDonald, Tatiana Botero, Alexandre F. DaSilva
medRxiv 2026.05.20.26353377; doi: https://doi.org/10.64898/2026.05.20.26353377

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Dentistry and Oral Medicine
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (867)
  • Anesthesia (306)
  • Cardiovascular Medicine (4480)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (614)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15276)
  • Forensic Medicine (31)
  • Gastroenterology (1133)
  • Genetic and Genomic Medicine (6643)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4602)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1622)
  • Hematology (544)
  • HIV/AIDS (1275)
  • Infectious Diseases (except HIV/AIDS) (15959)
  • Intensive Care and Critical Care Medicine (1110)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (674)
  • Neurology (6692)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1152)
  • Occupational and Environmental Health (961)
  • Oncology (3369)
  • Ophthalmology (988)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (668)
  • Pediatrics (1703)
  • Pharmacology and Therapeutics (699)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5494)
  • Public and Global Health (9284)
  • Radiology and Imaging (2223)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1201)
  • Rheumatology (598)
  • Sexual and Reproductive Health (720)
  • Sports Medicine (535)
  • Surgery (720)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (266)