[Paper Review] Transductive Decoupled Variational Inference for Few-Shot Classification
TRIDENT proposes a transductive, decoupled variational inference framework for few-shot classification that separates image representations into semantic and label-specific latent variables, using an attention-based transductive feature extraction module (AttFEX) to enhance task-awareness. It achieves state-of-the-art performance on miniImageNet, tieredImageNet, and the challenging cross-domain miniImageNet→CUB setting, with up to 5% and 20% accuracy gains respectively.
The versatility to learn from a handful of samples is the hallmark of human intelligence. Few-shot learning is an endeavour to transcend this capability down to machines. Inspired by the promise and power of probabilistic deep learning, we propose a novel variational inference network for few-shot classification (coined as TRIDENT) to decouple the representation of an image into semantic and label latent variables, and simultaneously infer them in an intertwined fashion. To induce task-awareness, as part of the inference mechanics of TRIDENT, we exploit information across both query and support images of a few-shot task using a novel built-in attention-based transductive feature extraction module (we call AttFEX). Our extensive experimental results corroborate the efficacy of TRIDENT and demonstrate that, using the simplest of backbones, it sets a new state-of-the-art in the most commonly adopted datasets miniImageNet and tieredImageNet (offering up to 4% and 5% improvements, respectively), as well as for the recent challenging cross-domain miniImagenet --> CUB scenario offering a significant margin (up to 20% improvement) beyond the best existing cross-domain baselines. Code and experimentation can be found in our GitHub repository: https://github.com/anujinho/trident
Motivation & Objective
- Address the limitations of existing few-shot learning methods in low-data regimes, particularly sample bias and poor generalization to unseen classes.
- Decouple image representations into semantic and label-specific latent variables to improve classification robustness and disentangle irrelevant contextual information.
- Enhance task-awareness by leveraging both support and query images during inference through a novel attention-based transductive feature extraction mechanism.
- Improve generalization in few-shot settings by inferring distributions over model parameters and class prototypes rather than relying on point estimates.
- Demonstrate superior performance across standard few-shot benchmarks and challenging cross-domain few-shot scenarios
Proposed method
- Propose a variational inference network with two intertwined sub-networks to jointly infer semantic (z_s) and label (z_l) latent variables from images.
- Introduce AttFEX, an attention-based transductive feature extraction module that fuses features from both support and query images to produce task-aware representations.
- Use a meta-learning framework with MAML-style adaptation to update the latent variable inference networks based on task-specific support sets.
- Decouple the posterior inference into two separate variational approximations: one for semantic content (z_s) and one for discriminative label characteristics (z_l).
- Apply a differentiable attention mechanism in AttFEX to dynamically weigh features across all images in a few-shot task, enabling cross-image comparison and alignment.
- Optimize the model using a variational lower bound (ELBO) that encourages accurate posterior approximation and task-specific adaptation
Experimental results
Research questions
- RQ1Can decoupling image representations into semantic and label-specific latent variables improve few-shot classification performance?
- RQ2Does incorporating transductive information from both support and query images through an attention mechanism enhance task-awareness and classification accuracy?
- RQ3Can a variational inference framework that infers distributions over latent variables outperform point-estimate baselines in low-data few-shot settings?
- RQ4How does the proposed method generalize across domain shifts, such as from miniImageNet to CUB?
- RQ5What is the optimal configuration of latent space and feature map dimensions for maximizing performance in few-shot classification?
Key findings
- TRIDENT achieves a new state-of-the-art accuracy of 86.11% on the 5-way, 1-shot miniImageNet benchmark, outperforming previous SOTA methods by up to 5%.
- On tieredImageNet, TRIDENT achieves a 5% improvement over existing baselines, demonstrating strong generalization on standard few-shot benchmarks.
- In the challenging cross-domain setting (miniImageNet → CUB), TRIDENT achieves a 20% relative improvement over the best existing baseline, highlighting its robustness to domain shift.
- The ablation study shows that the optimal latent dimensionality is (64, 64) for z_l and z_s, with performance degrading beyond this point.
- AttFEX significantly improves performance when the query feature map dimension (W_M) exceeds the support map dimension (W_N), with (64, 32) yielding the best results.
- Qualitative analysis using UMAP and Davies-Bouldin scores confirms that label latent space (z_l) exhibits significantly better class separation and clustering after meta-adaptation than semantic space (z_s)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.