Image Categorization and Search via a GAT Autoencoder and Representative Models
Duygu Sap, Martin Lotz, Connor Mattinson
TL;DR
This work tackles image categorization and retrieval by representing images as nodes in a similarity graph and applying a graph attention autoencoder (GAT-AE) to learn context-aware latent representations. It introduces two representative-centric approaches: Approach I constructs central image representatives from listings and uses them to define categories and query matching, while Approach II uses pretrained feature extractors (e.g., ResNet-50) to form category prototypes by averaging image representatives. The methods are evaluated on fashion and natural image datasets, showing that the GAT-AE-based representatives can outperform or complement traditional methods such as HOG or direct feature similarity, with strong retrieval accuracy and interpretable prototypes. The work highlights the practical benefits of graph-structured attention for intra-class relationships and offers code for reproducible experimentation.
Abstract
We propose a method for image categorization and retrieval that leverages graphs and a graph attention network (GAT)-based autoencoder. Our approach is representative-centric, that is, we execute the categorization and retrieval process via the representative models we construct for the images and image categories. We utilize a graph where nodes represent images (or their representatives) and edges capture similarity relationships. GAT highlights important features and relationships between images, enabling the autoencoder to construct context-aware latent representations that capture the key features of each image relative to its neighbors. We obtain category representatives from these embeddings and categorize a query image by comparing its representative to the category representatives. We then retrieve the most similar image to the query image within its identified category. We demonstrate the effectiveness of our representative-centric approach through experiments with both the GAT autoencoders and standard feature-based techniques.
