Explaining Embedding-Based Matching of Hand-DrawnBinary Symbols with Grad-CAM: A Case Study on CattleBrands
Cattle-brand identification poses unique challenges due to the sparse, high-contrast nature of symbolic marks and the large stylistic gap between clean reference templates and hand-drawn queries. Since a prediction layer cannot be applied reliably in this setting, weperform identification through feature extraction and similarity search using a VGG-16 encoder and a FAISS-based retrieval system. weinvestigate how the encoder represents these binary symbols by combining channel-level activation statistics, Grad-CAM saliency maps, and Top-10 retrieval results. Our analysis shows that a small group of filters, especially an outer-contour detector, dominates the embedding space, leading to systematic underrepresentation of internal strokes, multi-component patterns, and thin or rotated structures. By comparing the saliency profiles of each query and its reference template, we observe how spatial contribution mismatches propagate into ranking errors. The study provides a concise, reproducible framework for auditing CNN feature extraction in symbolic CBIR tasks and highlights structural vulnerabilities relevant to livestock identification, logo retrieval, and other domains involving sparse binary imagery.
Authors
- Marcos Vinicius S. Medeiros
- Aldo A. Díaz-Salazar
- Leandra Alves Soares
Institutions
- Fundação de Apoio a Pesquisa do Estado de Goiás (BR)
- Universidade Federal de Goiás (BR)
Publication Details
- Journal
- ACM SIGKDD Explorations Newsletter
- Published
- 2025-12-30
- DOI
- https://doi.org/10.1145/3787470.3787486
- Primary Topic
- Image Retrieval and Classification Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00