Reproduce “Geometric Mean Improves Loss For Few-Shot Learning” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Tong Wu, Takumi Kobayashi
A few-shot learning loss function leveraging the geometric mean was developed to enhance feature discriminability by ensuring all in-class samples contribute to metric learning. This method consistently improved classification accuracy over existing metric-based losses, such as Prototypical Networks (PN) and Neighborhood Component Analysis (NCA), achieving up to a 3% increase in 1-shot accuracy on miniImageNet and performing competitively with other complex FSL methods.
Key insights
- The geometric mean loss functions as an upper bound for NCA loss, allowing for further metric refinement even after NCA might converge.
- Gradient analysis reveals that the proposed loss adaptively assigns higher weights to gradients from less-attended (far-away) samples, ensuring a comprehensive metric learning process.
- The loss implicitly minimizes both the distance to the class centroid and the within-class variance, leading to more discriminative feature embeddings than Prototypical Networks.
- Empirical evaluation found that using the L1 norm (Manhattan distance) for the distance metric improves robustness, particularly against outliers, compared to the commonly used L2 norm.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.