Grounding Multimodal LLMs with Quantitative Skin Attributes: A Retrieval Study

Torop, Eskandar, Kurtansky, Liu, Weber, Camps, Rotemberg, Dy, Kose · Northeastern University & Memorial Sloan Kettering Cancer Center

View the interactive presentation → · All presentations

Background. AI models for skin cancer detection reach dermatologist-level accuracy but give little insight into why they reach a decision. Some classifiers have been shown to rely on surgical markings, rulers, or hair rather than the lesion itself. Quantitative lesion attributes measured from 3D total-body photography (TBP) are both interpretable and predictive of malignancy; examples include size, border irregularity, and lesion-to-skin contrast. Multimodal large language models (MLLMs) offer a natural-language interface for clinicians but are known to struggle with quantities. We asked whether an MLLM can be grounded in these attributes and then used for image search that can be steered by attribute.

Methods. We fine-tuned Qwen2-VL on the SLICE-3D dataset from the ISIC 2024 challenge: 401,059 lesion tiles, each 15 mm across, cropped from 3D TBP scans of 1,042 patients at seven hospitals. Sixteen attributes were selected with dermatology experts, covering size, border shape, color variation, color asymmetry, and color and contrast inside and outside the lesion. For every image and attribute, the model was asked a question such as “What is the area in mm²?” and trained to answer with the measured value. Fine-tuning used low-rank adaptation (LoRA, rank 8) on both the vision encoder and the language decoder, for one epoch on four GPUs.

From the tuned model we derived two embeddings:

Retrieval returns the most similar images by cosine similarity. Storing an embedding for every attribute combination is impractical, so a two-stage search first shortlists 200 candidates with the image-only embedding. It then re-ranks those candidates with the attribute-conditioned embedding.

Evaluation used the private test set of 511,474 images from 1,277 patients at nine sites. Two of those sites, Cairns and Monash in Australia, were never seen in training. We compared against the untuned Qwen2-VL and two dermatology foundation models, MONET and PanDerm.

Results.

Conclusions. Supervising an MLLM with clinically meaningful measurements yields a representation that is interpretable, searchable by the features clinicians already use, and still diagnostically informative. Current limitations are the lack of a clinician reader study, no stratification by skin type, qualitative-only dermoscopy results, and unreported search speed. Future work will extend the framework toward conversational reasoning and validate it across populations, imaging devices, and acquisition settings.


Image-only vs attribute-conditioned embeddings

Figure (paper, Fig. 1). The image-only embedding averages the image-token states from the second-to-last decoder layer. The area-conditioned embedding is the last token’s final-layer state after the model reads the image and the question “What is the area in mm²?”