Search papers, labs, and topics across Lattice.
This paper introduces a new canine pneumothorax diagnostic method combining VLM-guided Flow Matching for lesion segmentation with Random Matrix Theory (RMT) for anomaly detection. Flow Matching leverages a VLM to iteratively refine segmentation masks, while RMT identifies pneumothorax by detecting outlier eigenvalues in the segmented region's feature spectrum. The method achieves high accuracy and interpretability by synergistically combining generative segmentation and first-principles statistical analysis, and includes a new public, pixel-level annotated dataset.
By combining VLM-guided segmentation with spectral analysis, this approach offers a more interpretable and accurate alternative to traditional classifiers for veterinary diagnosis, sidestepping reliance on large labeled datasets.
Automatic diagnosis of canine pneumothorax is challenged by data scarcity and the need for trustworthy models. To address this, we first introduce a public, pixel-level annotated dataset to facilitate research. We then propose a novel diagnostic paradigm that reframes the task as a synergistic process of signal localization and spectral detection. For localization, our method employs a Vision-Language Model (VLM) to guide an iterative Flow Matching process, which progressively refines segmentation masks to achieve superior boundary accuracy. For detection, the segmented mask is used to isolate features from the suspected lesion. We then apply Random Matrix Theory (RMT), a departure from traditional classifiers, to analyze these features. This approach models healthy tissue as predictable random noise and identifies pneumothorax by detecting statistically significant outlier eigenvalues that represent a non-random pathological signal. The high-fidelity localization from Flow Matching is crucial for purifying the signal, thus maximizing the sensitivity of our RMT detector. This synergy of generative segmentation and first-principles statistical analysis yields a highly accurate and interpretable diagnostic system (source code is available at: https://github.com/Pu-Wang-alt/Canine-pneumothorax).