[Paper Review] FewRel 2.0: Towards More Challenging Few-Shot Relation Classification
FewRel 2.0 introduces a more challenging few-shot relation classification benchmark by adding a biomedical-domain test set for few-shot domain adaptation and a none-of-the-above (NOTA) relation option. Despite state-of-the-art models like BERT-PAIR and Prototypical Networks, performance drops significantly on both challenges, revealing critical gaps in current methods for real-world domain shift and open-vocabulary classification.
We present FewRel 2.0, a more challenging task to investigate two aspects of few-shot relation classification models: (1) Can they adapt to a new domain with only a handful of instances? (2) Can they detect none-of-the-above (NOTA) relations? To construct FewRel 2.0, we build upon the FewRel dataset (Han et al., 2018) by adding a new test set in a quite different domain, and a NOTA relation choice. With the new dataset and extensive experimental analysis, we found (1) that the state-of-the-art few-shot relation classification models struggle on these two aspects, and (2) that the commonly-used techniques for domain adaptation and NOTA detection still cannot handle the two challenges well. Our research calls for more attention and further efforts to these two real-world issues. All details and resources about the dataset and baselines are released at https: //github.com/thunlp/fewrel.
Motivation & Objective
- To address the lack of real-world evaluation for few-shot relation classification models in out-of-domain settings.
- To investigate the feasibility of detecting 'none-of-the-above' (NOTA) relations in few-shot learning, a critical but overlooked challenge.
- To evaluate whether existing few-shot learning techniques can generalize across domains and handle open-vocabulary classification.
- To release a new benchmark with a biomedical test set and NOTA relations to stimulate research on robust few-shot generalization.
- To demonstrate that current SOTA models struggle significantly on both few-shot domain adaptation and few-shot NOTA, highlighting the need for new methods.
Proposed method
- Construct a new test set from the PubMed biomedical corpus, contrasting with the original Wikipedia-based FewRel dataset to evaluate domain shift.
- Introduce a NOTA relation class in the few-shot setting, where queries may not belong to any of the N sampled relations.
- Adapt Prototypical Networks and BERT-PAIR models to handle NOTA by treating it as an additional N+1th class during training.
- Apply adversarial training to Prototypical Networks to improve domain generalization, aiming to reduce domain shift impact.
- Train models under varying NOTA rates (0%, 15%, 30%, 50%) to evaluate robustness to increasing proportions of unseen relations.
- Use BERT-based sentence encoders and relation-specific classification heads to improve contextual understanding and zero-shot generalization.
Experimental results
Research questions
- RQ1Can state-of-the-art few-shot relation classification models generalize to a new domain (e.g., biomedicine) with only a few labeled examples?
- RQ2How do existing few-shot models perform when queries may belong to a 'none-of-the-above' (NOTA) relation not seen during training?
- RQ3To what extent do adversarial training and fine-tuning improve domain adaptation in few-shot relation classification?
- RQ4How does the performance of models degrade as the proportion of NOTA relations increases in the test set?
- RQ5Can BERT-PAIR and Prototypical Networks be effectively adapted to handle both domain shift and open-vocabulary classification simultaneously?
Key findings
- State-of-the-art models, including BERT-PAIR and Prototypical Networks, suffer significant performance drops—up to 16–17 points—when tested on a biomedical domain, indicating poor few-shot domain adaptation.
- Even with adversarial training, models still underperform on the new domain, showing that current domain adaptation techniques are insufficient for few-shot settings.
- When NOTA is introduced, models that ignore it (marked with *) see accuracy drops of 8–13 points, proving that treating NOTA as a class is essential.
- BERT-PAIR achieves the best performance on both few-shot DA and NOTA, with 80.31% accuracy on 5-way 1-shot DA and 86.06% on 5-way 5-shot with 50% NOTA, but still lags behind the 0% NOTA baseline.
- Adding only 1,000 biomedical instances to the training set boosts BERT-PAIR’s accuracy to 72.30% (5-way 1-shot) and 80.50% (5-way 5-shot), indicating a large room for improvement with more data.
- The performance gap between 0% NOTA and 50% NOTA settings remains substantial (8 points for 1-shot, 7 for 5-shot), showing that NOTA detection is still a major unsolved challenge.
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.