Reproduce “Learning to Compare: Relation Network 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
Flood Sung, Yongxin Yang, Li Zhang, Tao Xiang, Philip H.S. Torr, Timothy M. Hospedales
The Relation Network by Flood Sung et al. at Queen Mary University of London, University of Oxford, and The University of Edinburgh introduces a novel framework for few-shot and zero-shot learning. This approach learns a deep, non-linear metric of similarity between samples, achieving state-of-the-art performance on datasets like Omniglot and miniImageNet for few-shot tasks, and CUB for zero-shot tasks, all while operating in a feed-forward manner during inference.
Key insights
- Learning a deep, non-linear comparison function (relation module) end-to-end with the embedding module allows for more flexible and discriminative similarity measurement.
- The network operates in a fully feed-forward manner during inference, eliminating the need for fine-tuning on new tasks or complex recurrent architectures.
- A unified framework can address both few-shot and zero-shot learning by adapting the input modality to the relation module.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.