Relational Proxies: Emergent Relationships as Fine-Grained Discriminators

Abhra Chaudhuri, Massimiliano Mancini, Zeynep Akata, Anjan Dutta

TL;DR

Fine-grained visual categorization often fails when different categories share identical parts but arrange them differently. This paper introduces Relational Proxies, a framework that mathematically formalizes and extracts the "emergent relationships" between local parts and the global object structure, achieving state-of-the-art results across multiple fine-grained benchmarks.

What Problem Does This Paper Address?

Fine-Grained Visual Categorization (FGVC) deals with distinguishing very similar sub-categories, such as different bird species, car models, or plant cultivars. Traditional deep learning methods focus heavily on identifying discriminative local attributes (e.g., the shape of a beak or the style of a headlight).

However, what happens when two categories share almost the exact same set of parts? For instance, two species of plovers might possess identical local features (beak, head, wings, tail) but differ only in their relative proportions or geometry. Standard models treat global and local views in a "relation-agnostic" manner, ignoring how these parts structurally combine. This paper addresses this "Information Gap" by proving that cross-view relationships are mathematically essential for fine-grained discrimination.

Methods

The authors propose a dual-pathway architecture designed to capture both view-specific features and cross-view relationships without collapsing the representation space:

  1. Relation-Agnostic Encoder ($f$): A standard CNN backbone (e.g., ResNet50) independently extracts features for the global image ($z_g$) and a set of local part crops ($Z_{\mathbb{L}}$).
  2. Attribute Summarization Transformer (AST): This module aggregates the local part features into a single summary vector ($z_{\mathbb{L}}$). Crucially, it omits positional embeddings to ensure permutation invariance—meaning the order in which parts are processed does not alter the object's identity.
  3. Relation Modeling Function ($\xi$): A multilayer perceptron ($\rho$) combines the global feature $z_g$ and the summarized local features $z_{\mathbb{L}}$ to output a cross-view relational embedding ($r$).
  4. Relational Proxies: Instead of standard classification layers, the framework utilizes learnable class representative vectors (proxies) in a metric space. The model minimizes a modified proxy-anchor loss ($\mathcal{L}_{\text{rproxy}}$) that forces the global, local, and relational embeddings of an image to align closely with its true class proxy while pushing them away from negative proxies.
Relational Proxies Framework Architecture

Datasets

The model was rigorously evaluated on seven fine-grained visual classification benchmarks:

  • FGVC Aircraft (Aircraft variants)
  • Stanford Cars (Car makes/models)
  • CUB (Caltech-UCSD Birds-200-2011) & NA Birds (Bird species)
  • iNaturalist 2017 (Large-scale biodiversity dataset)
  • Cotton Cultivar & Soy Cultivar (Agricultural datasets characterized by extremely low inter-class variations)

To validate their theory on fine-grained distinguishability, they also compared performance on coarse-grained vs. fine-grained subsets of ImageNet (Tiny ImageNet vs. Dogs ImageNet).

Key Insights and Ideas

  • The Information Gap Proof: The authors provide a rigorous information-theoretic proof showing that relation-agnostic models face a strict upper bound on the label information they can capture.
  • The Duality Paradox: A key theoretical finding reveals that a single encoder cannot be simultaneously relation-agnostic and relation-aware. Forcing a single network to do both causes the global and local embeddings to mathematically collapse into each other, destroying fine-grained discriminative power. This justifies their dual-pathway design.
  • The $k$-Distinguishability Threshold: The paper introduces the concept of $k$-distinguishability, demonstrating that fine-grained recognition requires a minimum number of local parts ($k$). Empirically, model accuracy climbs sharply as the number of local views approaches $k$ and plateaus immediately after, proving that extra uncoordinated crops provide redundant information.

Key Results

Relational Proxies achieved state-of-the-art (SotA) performance across all seven benchmark datasets:

  • Massive Cultivar Gains: On the ultra-challenging Cotton and Soy Cultivar datasets—where geometric relationships like leaf curvature and branch angles are the primary discriminators—the method outperformed the previous SotA by over 4%.
  • Standard Benchmarks: The model surpassed existing competitive methods (like MMAL and TransFG) across the board, beating the SotA by 0.60% on Stanford Cars, 0.45% on iNaturalist, and 0.35% on FGVC Aircraft.
Comparison with State-of-the-Art Methods

Ablation studies verified that conditioning the proxies on all three components—the local attribute summary ($z_{\mathbb{L}}$), the global representation ($z_g$), and the relational embedding ($r$)—is critical to achieving peak accuracy:

Ablation Study of Proxy Conditioning

Limitations and Future Work

  • Uninformed Cropping: The current pipeline relies on a generic cropping methodology (thresholding final layer CNN activations to find the object, then taking fixed/random sub-crops) to generate local views. This approach is not guaranteed to always capture the most semantically meaningful object parts.
  • Future Directions: The authors suggest that integrating more sophisticated, informed part-detection mechanisms could allow the model to achieve equivalent performance using fewer local views. They also note that these learned relational features could pave the way for more explainable fine-grained AI and assist in cross-modal retrieval tasks.

Summary updated

Abstract

Fine-grained categories that largely share the same set of parts cannot be discriminated based on part information alone, as they mostly differ in the way the local parts relate to the overall global structure of the object. We propose Relational Proxies, a novel approach that leverages the relational information between the global and local views of an object for encoding its semantic label. Starting with a rigorous formalization of the notion of distinguishability between fine-grained categories, we prove the necessary and sufficient conditions that a model must satisfy in order to learn the underlying decision boundaries in the fine-grained setting. We design Relational Proxies based on our theoretical findings and evaluate it on seven challenging fine-grained benchmark datasets and achieve state-of-the-art results on all of them, surpassing the performance of all existing works with a margin exceeding 4% in some cases. We also experimentally validate our theory on fine-grained distinguishability and obtain consistent results across multiple benchmarks. Implementation is available at https://github.com/abhrac/relational-proxies.
BibTeX
@inproceedings{chaudhuri2022relational,
  author = {Abhra Chaudhuri and Massimiliano Mancini and Zeynep Akata and Anjan Dutta},
  title = {{Relational Proxies: Emergent Relationships as Fine-Grained Discriminators}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=xONqm0NUJc},
}
Figure