Leveraging Large Language Models to Effectively Generate Visual Data for Canine Musculoskeletal Diagnoses

It is well-established that more data generally improves AI model performance.However, data collection can be challenging for certain tasks due to the rarity of occurrences or high costs.These challenges are evident in our use case, where we apply AI models to a novel approach for visually documenting the musculoskeletal condition of dogs.Here, abnormalities are marked as colored strokes on a body map of the dog.Since these strokes correspond to distinct muscles or joints, they can be mapped to the textual domain in which large language models (LLMs) operate.LLMs have recently demonstrated impressive capabilities across a wide range of tasks, including medical applications, offering promising potential for generating synthetic training data.In this work, we investigate whether LLMs can effectively generate synthetic visual training data for canine musculoskeletal diagnoses.For this, we developed a mapping that segments visual documentations into over 200 labeled regions representing muscles or joints.Using techniques like guided decoding, chain-of-thought reasoning, and few-shot prompting, we generated 1,000 synthetic visual documentations for patellar luxation (kneecap dislocation) diagnosis, the diagnosis for which we have the most real-world data.Our analysis shows that the generated documentations are sensitive to location and severity of the diagnosis while remaining independent of the dog's sex.However, they were also independent of the patient's weight and age, highlighting some limitations.We further generated 1,000 visual documentations for various other diagnoses to create a binary classification dataset.A model trained solely on this synthetic data achieved an F1 score of 88% on 70 real-world documentations.These results demonstrate the potential of LLM-generated synthetic data, which is particularly valuable for addressing data scarcity in rare diseases or rare instances in general.While our methodology is tailored to the medical domain, the insights and techniques can be adapted to other fields.

Authors

Publication Details

Journal
Computer Science Research Notes
Published
2025-01-01
DOI
https://doi.org/10.24132/csrn.2025-3
Primary Topic
Biomedical Text Mining and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Large Language Models to Effectively Generate Visual Data for Canine Musculoskeletal Diagnoses

Elke Hergenröther, Martin Thißen, Romana Piat, Ben Joel Schönbein et al.
Computer Science Research Notes
Biomedical Text Mining and Ontologies
article

Leveraging Large Language Models to Effectively Generate Visual Data for Canine Musculoskeletal Diagnoses

Elke Hergenröther, Martin Thißen, Romana Piat, Ben Joel Schönbein, Ute Trapp, Barbara Esteve Ratsch, Beate Egner, Thi Ngoc Diep Tran
article en

Abstract

It is well-established that more data generally improves AI model performance.However, data collection can be challenging for certain tasks due to the rarity of occurrences or high costs.These challenges are evident in our use case, where we apply AI models to a novel approach for visually documenting the musculoskeletal condition of dogs.Here, abnormalities are marked as colored strokes on a body map of the dog.Since these strokes correspond to distinct muscles or joints, they can be mapped to the textual domain in which large language models (LLMs) operate.LLMs have recently demonstrated impressive capabilities across a wide range of tasks, including medical applications, offering promising potential for generating synthetic training data.In this work, we investigate whether LLMs can effectively generate synthetic visual training data for canine musculoskeletal diagnoses.For this, we developed a mapping that segments visual documentations into over 200 labeled regions representing muscles or joints.Using techniques like guided decoding, chain-of-thought reasoning, and few-shot prompting, we generated 1,000 synthetic visual documentations for patellar luxation (kneecap dislocation) diagnosis, the diagnosis for which we have the most real-world data.Our analysis shows that the generated documentations are sensitive to location and severity of the diagnosis while remaining independent of the dog's sex.However, they were also independent of the patient's weight and age, highlighting some limitations.We further generated 1,000 visual documentations for various other diagnoses to create a binary classification dataset.A model trained solely on this synthetic data achieved an F1 score of 88% on 70 real-world documentations.These results demonstrate the potential of LLM-generated synthetic data, which is particularly valuable for addressing data scarcity in rare diseases or rare instances in general.While our methodology is tailored to the medical domain, the insights and techniques can be adapted to other fields.

Computer Science Research Notes
Openalex Percentile: Top 83%
Biomedical Text Mining and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.