Introduction
The proliferation of mobile health (mHealth) text messaging has created massive archives of patient-doctor conversations, but making sense of them is difficult. This paper introduces ConVIScope, a visual text analytics system that tightly integrates Natural Language Processing (NLP) with interactive visualizations, allowing healthcare professionals to seamlessly explore topics, sentiments, and demographic trends across thousands of patient messages at both macro (policy) and micro (individual care) levels.
The Challenge of mHealth Data
During the COVID-19 pandemic and beyond, healthcare systems have increasingly adopted virtualized treatment programs and text-based mHealth services to monitor patients, encourage treatment adherence, and handle logistics. This generates a goldmine of conversational data. Healthcare administrators want to look at this data on a macro-scale to inform policy (e.g., identifying regional logistical issues), while clinicians want to look at a micro-scale to improve individual care.
However, existing visual analytics tools are not built for this. Most medical visualization tools focus on highly structured Electronic Health Records (EHRs), while existing text visualization tools are designed for public forums or social media—not the unique, private, two-way structure of patient-doctor text messages. ConVIScope bridges this gap by providing an interactive, scalable way to explore these specific types of conversations.
System Design and NLP Pipeline
ConVIScope was developed through a 9-month user-centered design process with healthcare professionals. It combines a custom NLP pipeline with a multi-view interactive dashboard:
- NLP Pipeline: A logistic regression classifier categorizes conversations into pre-defined medical/logistical topics. Unsupervised Latent Dirichlet Allocation (LDA) finds emerging, unexpected themes, while user-defined topics can be explored using GloVe word embeddings. A lexicon-based method scores message sentiments from -2 (negative) to +2 (positive).
- Visualization & Interaction: The dashboard features demographic bar charts for filtering, a topic hierarchy, and a novel conversation analysis view.
Key Innovations: Focus+Context and Human-in-the-Loop
The core novelty of ConVIScope is its Conversation Analysis View, a compact heatmap where columns are conversations and rows are topics. To handle scale, it uses a focus+context approach: a high-resolution "focus" window shows a readable subset of conversations, flanked by a low-resolution "context" view that compresses the rest of the dataset into the periphery. This allows users to see overall trends without losing sight of individual messages.
Furthermore, the system incorporates Interactive Labeling. Users can manually validate or correct the NLP's topic predictions directly in the UI. This "human-in-the-loop" approach not only builds trust by allowing clinicians to verify machine flags against raw text but also generates clean data to retrain and improve the models over time.
Evaluation and Results
The authors evaluated ConVIScope using a real-world dataset of 5,775 patient-doctor conversations through case studies with six domain experts (clinicians and health researchers). Participants praised the cross-filtering capabilities, which allowed them to find correlations between specific patient features and topics—such as identifying social issues specifically impacting female cancer patients.
The tool supported diverse workflows: clinicians used the heatmap to hunt for specific patient issues and drill down to raw texts, while researchers focused on macro-level aggregated demographic correlations.
Limitations and Future Work
While successful, participants noted the "black box" nature of the sentiment analysis and desired more interpretability regarding why specific messages were flagged. Additionally, users requested better support for side-by-side cohort comparisons (e.g., comparing two different clinics). Future work will focus on improving sentiment model transparency and deploying the system for longitudinal testing at multiple clinical sites.
Summary updated