Conformal Predictions for Visual Animal Identification

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.

Authors

Institutions

Publication Details

Journal
Technologies
Published
2026-04-16
DOI
https://doi.org/10.3390/technologies14040232
Primary Topic
Food Supply Chain Traceability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Conformal Predictions for Visual Animal Identification

Ivanka Lazarova, Gergana Balieva, Alexander Marazov, Ralitsa Rankova et al.
Technologies
Food Supply Chain Traceability
article

Conformal Predictions for Visual Animal Identification

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

Abstract

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.

TechnologiesVol. 14(4)
Trakia University (BG), Bulgarian Academy of Sciences (BG), Institute of Biophysics and Biomedical Engineering (BG)
Zero hunger
Openalex Percentile: Top 22%
Food Supply Chain Traceability
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.

Conformal Predictions for Visual Animal Identification — Ivanka Lazarova, Gergana Balieva, et al. · Technologies (2026) | TGRS Research Map | TGRS