EUVIMEDAtrasti EUVIMED
Open access · CC BY 4.0

Conformal Predictions for Visual Animal Identification

Alexander Marazov, Gergana Balieva, Dimitar Tanchev, Ivanka Lazarova, Ralitsa Rankova

Technologies · 2026-04-16 · 14 (4) · 232

DOI: 10.3390/technologies14040232 ↗

At a glance

Journal article in Technologies, published online on 2026-04-16. Written by Alexander Marazov and 4 co-authors. 33 references. The full text is freely available (open access, CC BY 4.0). Funded by: Ministry of Education and Science in Bulgaria.

SantraukaBibliografiniai duomenysCiteRelated studies

Abstract (original language)

Neural network-based visual identification of animals has significant potential for livestock farming and herd management. Real farm environments rarely provide controlled visual conditions for high-quality dataset collection, which often leads to reduced model performance on out-of-distribution inputs and makes confidence estimation essential for reliable application. This work introduces a conformal prediction framework for animal identification based on pretrained neural network embeddings (ResNet-50 and Swin Transformer), enabling the generation of prediction sets with formal confidence guarantees. By calibrating a nonconformity score derived from cosine distances in the embedding space, the method ensures that the true identity is included in the prediction set at a user-defined confidence level. Three nonconformity scoring functions are evaluated to determine which produces the most compact prediction sets. Experiments on cow and goat datasets demonstrate that the framework achieves empirical coverage close to the target confidence levels across different embedding models. The ratio-based nonconformity measure consistently outperforms others, reducing mean set sizes by up to 79% compared to alternative measures. Swin-T embeddings outperform ResNet-50 by up to 14 percentage points in singleton prediction rate. The proposed framework preserves formal validity guarantees, improving robustness and interpretability in practical livestock applications where standard identification methods return only the nearest match without reliability estimates.

Funding

  • Ministry of Education and Science in Bulgaria

Cite

APA

Marazov, A., Balieva, G., Tanchev, D., Lazarova, I., & Rankova, R. (2026). Conformal Predictions for Visual Animal Identification. Technologies, 14(4), 232. https://doi.org/10.3390/technologies14040232

Vancouver

Marazov A, Balieva G, Tanchev D, Lazarova I, Rankova R. Conformal Predictions for Visual Animal Identification. Technologies. 2026;14(4):232. doi:10.3390/technologies14040232

BibTeX
@article{Marazov2026,
  author = {Marazov, Alexander and Balieva, Gergana and Tanchev, Dimitar and Lazarova, Ivanka and Rankova, Ralitsa},
  title = {Conformal Predictions for Visual Animal Identification},
  journal = {Technologies},
  year = {2026},
  volume = {14},
  number = {4},
  pages = {232},
  doi = {10.3390/technologies14040232}
}
Start for free →