SwinePath-CLIP: Domain-Guided Cross-Modal Retrieval for Swine Gross Pathology
Swine gross pathology images and veterinary descriptions vary in lesion appearance, anatomical detail, and reporting style, making it difficult to retrieve relevant records across modalities. We construct SwinePath, a paired image–text dataset, and develop SwinePath-CLIP for the bidirectional retrieval of pathology images and descriptions. To better use the information contained in veterinary language, Veterinary Phrase Salience Guidance (VPSG) creates auxiliary text views that retain informative pathological phrases. To strengthen the association between descriptions and visible lesions, Lesion-Cued Visual Bridge Regularization (LC-VBR) applies caption-guided patch weighting and a cross-modal bridge target, encouraging the model to attend to relevant local image regions. During retrieval, Transport-Calibrated Support (TC-CSLS) adjusts candidate scores by combining local density correction with balanced transport support. On the SwinePath test set, SwinePath-CLIP achieves Recall@1 of 36.60% for image-to-text retrieval and 35.53% for text-to-image retrieval. Its mean recall (mR) reaches 61.45%, compared with 55.04% for OpenCLIP. Ablation experiments show improvements from both VPSG and LC-VBR, followed by an additional gain from ranking calibration. These findings suggest that preserving salient veterinary phrases and emphasizing lesion-related visual evidence can improve the cross-modal retrieval of swine gross pathology records.
Authors
- Bin Wen (ORCID: https://orcid.org/0009-0008-2167-9899)
- Zhihui Wu (ORCID: https://orcid.org/0009-0000-8863-0514)
- Xudong Lin (ORCID: https://orcid.org/0009-0002-9679-3334)
- Zhiguo Du
- Ziyan Zhao
Institutions
- South China Agricultural University (CN)
Publication Details
- Journal
- AgriEngineering
- Published
- 2026-12-01
- DOI
- https://doi.org/10.3390/agriengineering8120520
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00