Abstract
Skin carcinoma is the most prevalent form of cancer globally, accounting for over $8 billion in annual healthcare expenditures. Early diagnosis, accurate and timely treatment are critical to improving patient survival rates. In clinical settings, physicians document patient visits using detailed SOAP (Subjective, Objective, Assessment, and Plan) notes. However, manually generating these notes is labor-intensive and contributes to clinician burnout. In this work, we propose skin-SOAP, a weakly supervised multimodal framework to generate clinically structured SOAP notes from limited inputs, including lesion images and sparse clinical text. Our approach reduces reliance on manual annotations, enabling scalable, clinically grounded documentation while alleviating clinician burden and reducing the need for large annotated data. Our method achieves performance comparable to GPT-4o, Claude, and DeepSeek Janus Pro across key clinical relevance metrics. To evaluate this clinical relevance, we introduce two novel metrics MedConceptEval and Clinical Coherence Score (CCS) which assess semantic alignment with expert medical concepts and input features, respectively.
Introduction
In clinical practice, physicians document patient encounters using SOAP notes (Subjective, Objective, Assessment, and Plan). While essential for continuity of care and billing, manually writing these notes is a primary driver of clinician burnout. Automating this process is difficult due to data scarcity—high-quality, paired datasets of skin images and expert-written SOAP notes are rare—and the domain specificity required to integrate visual features with textual patient history.
Methodology
The Skin-SOAP framework employs a three-phase pipeline designed to bypass the need for massive human-annotated datasets:
- Data Generation (Weak Supervision): Researchers used GPT-3.5 to convert raw clinical metadata into descriptive captions. These were enriched via Retrieval-Augmented Generation (RAG) using factual medical knowledge from authoritative sources to create "weakly supervised" SOAP notes.
- Fine-Tuning: A Vision-LLaMA 3.2 model was adapted using QLoRA (Quantized Low-Rank Adaptation). This allowed the model to learn the relationship between skin images, clinical captions, and structured SOAP outputs efficiently.
- Inference: At runtime, the model takes a new lesion image and minimal clinical features to generate a complete, four-part SOAP note.
Datasets and Evaluation
The study utilized the PAD-UFES-20 dataset, containing 2,298 dermoscopic images across six lesion categories. To evaluate the results, the authors introduced two novel metrics:
- MedConceptEval: Measures alignment with expert medical concept sets.
- Clinical Coherence Score (CCS): Ensures generated sections are semantically consistent with initial input features using ClinicalBERT embeddings.
Key Results and Insights
Skin-SOAP achieved results comparable to or better than GPT-4o, Claude 3.7 Sonnet, and DeepSeek Janus Pro across several NLP metrics. Statistical analysis showed the model successfully learned the "language of clinical documentation," performing exceptionally well in the Assessment and Plan sections.
In qualitative assessments using an "LLM-as-a-Judge," Skin-SOAP received a perfect 20/20 score for structure, readability, completeness, and medical relevance, outperforming general-purpose baseline models. Interestingly, the model’s CCS was higher than that of human-written notes, suggesting it is exceptionally faithful to the provided input features.
Conclusion and Future Work
While Skin-SOAP demonstrates high clinical relevance, the authors note the need for validation across more diverse, multi-institutional datasets to ensure generalization. Future work will also focus on mitigating hallucination risks through "human-in-the-loop" refinement strategies and further improving the RAG dependency for even more accurate medical grounding.
Summary updated