NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PainPoints: A Framework for Language-based Detection of Chronic Pain and Expert-Collaborative Text-Summarization

Shreyas Fadnavis, Amit Dhurandhar, Raquel Norel, Jenna M. Reinen, Carla Agurto, Erica Secchettin, Vittorio Schweiger, Giovanni Perini, Guillermo A. CecchiarXiv 2022 · DOI

TL;DR

This paper introduces PainPoints, a novel framework that uses fine-tuned large language models (LLMs) to accurately distinguish between two types of chronic pain (Fibromyalgia and Neuropathic Pain) from patient interviews. It also generates clinically useful summaries of these interviews through an expert-collaborative approach, incorporating interpretability techniques to ensure practitioner trust and understanding.

What Problem Does This Paper Address?

Chronic pain is a widespread and debilitating condition, with different subtypes like Fibromyalgia (FM) and Neuropathic Pain (NP) having distinct causes, pathologies, and treatment approaches. Misdiagnosing these subtypes can lead to ineffective treatments and prolonged suffering. Clinicians typically diagnose these conditions through interviews, a process that can be subjective and prone to error due to variations in patient descriptions and interviewer experience. The paper aims to address this by developing an automated system that can accurately differentiate between FM and NP based on linguistic cues in patient interviews and then assist in generating concise, clinically relevant summaries of these interviews.

Methods

PainPoints employs a two-stage approach:

  1. Sentence-Level Classification: The core of the detection mechanism involves fine-tuning a BERT (Bidirectional Encoder Representations from Transformers) model for sentence-level classification. Instead of classifying entire documents, which might lose nuanced information, PainPoints breaks down interviews into individual sentences. This allows the model to capture subtle linguistic differences in how patients describe their pain, leading to more accurate sub-type identification. The fine-tuned BERT model achieves a mean AUC of 0.83 for distinguishing between FM and NP.
  2. Expert-Collaborative Text Summarization: To generate clinical notes, PainPoints leverages the interpretability of the fine-tuned BERT model. It uses an "Anchors" method to identify key words or "anchor words" that strongly influence the model's classification decision for each pain type. These anchors are then grouped into "facets" specific to FM or NP. The framework allows medical practitioners to interact with these facets, selecting or adding them to filter the original interview text. This filtered text is then summarized by an LLM, creating a custom summary that reflects the practitioner's focus and the identified pain characteristics. A new metric, "Facet Coverage" (FaCov), is introduced to quantify how well the generated summary retains the important facets from the original interview.

Datasets

The study utilized a dataset of 55 transcribed patient interviews: 40 for Fibromyalgia (FM) and 15 for Neuropathic Pain (NP). The FM group's recruitment and characteristics are described in a previous study (Schweiger et al., 2022). The NP patients were recruited using the same methods and from the same pain therapy center as the FM patients. The data was split into sentences, resulting in a total of 5970 sentences labeled with their respective pain sub-type for training and evaluation.

Key Insights and Ideas

  • Linguistic Nuances Matter: The paper strongly suggests that subtle differences in how patients describe their pain (e.g., "shooting," "burning" for NP vs. "diffuse," "widespread" for FM) are highly informative for automated classification.
  • Sentence-Level is Key: Focusing on sentence-level classification, rather than document-level, is crucial for capturing these fine-grained linguistic distinctions.
  • Interpretability Builds Trust: By using "Anchors" to identify influential words, the system provides transparency into why a classification was made, which is vital for clinical adoption.
  • Human-in-the-Loop for Summarization: The expert-collaborative summarization approach, where practitioners can guide the summary generation by selecting "facets," is a powerful way to create clinically relevant and trustworthy summaries.
  • Facet Coverage as a New Metric: The introduction of FaCov offers a more meaningful way to evaluate summary quality than traditional metrics like BLEU, as it focuses on the retention of key ideas (facets) rather than just word overlap.

Key Results

  • Classification Accuracy: The fine-tuned BERT model achieved a mean AUC of 0.83 for distinguishing between FM and NP patients, outperforming other classifiers trained on BERT embeddings.
  • Anchor Word Insights: Analysis of anchor words revealed distinct linguistic patterns for FM (e.g., "massage," "night," "excruciating") and NP (e.g., "tried," "everything," "pull," "feel") patients, aligning with known differences in their symptom presentation.
  • Expert-Collaborative Summaries: The system allows practitioners to interactively filter and re-summarize interviews, generating custom notes that are more clinically actionable.
  • FaCov Performance: The paper demonstrates that FaCov is a more robust metric for evaluating summaries, especially when compared to BLEU, as it better reflects the retention of key information.

Limitations and Future Work

  • Dataset Size: While the fine-tuned BERT model achieved good performance, the dataset size (55 interviews, 5970 sentences) is relatively small, especially for the NP cohort (15 patients).
  • Generalizability: The framework is currently focused on distinguishing between FM and NP. Its applicability to other chronic pain subtypes or different medical domains is not explored.
  • Expert Facet Derivation: The current expert facets are derived from specific questions. Future work could explore more dynamic ways to derive these facets.
  • Future Work: The authors plan to explore prompt-engineering techniques to allow practitioners to further tune facet-based summaries. They also aim to use this framework for downstream tasks like diagnosis, medication, and treatment planning.

Summary updated

BibTeX
@misc{fadnavis2022painpoints,
  author = {Shreyas Fadnavis and Amit Dhurandhar and Raquel Norel and Jenna M. Reinen and Carla Agurto and Erica Secchettin and Vittorio Schweiger and Giovanni Perini and Guillermo A. Cecchi},
  title = {{PainPoints: A Framework for Language-based Detection of Chronic Pain and Expert-Collaborative Text-Summarization}},
  year = {2022},
  eprint = {2209.09814},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.09814},
}
Figure