{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T17:55:51Z","timestamp":1793814951839,"version":"4.6.1"},"reference-count":30,"publisher":"MIT Press - Journals","license":[{"start":{"date-parts":[[2021,8,6]],"date-time":"2021-08-06T00:00:00Z","timestamp":1628208000000},"content-version":"vor","delay-in-days":217,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["direct.mit.edu"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2021,8,2]]},"abstract":"<jats:p>We explore few-shot learning (FSL) for relation classification (RC). Focusing on the realistic scenario of FSL, in which a test instance might not belong to any of the target categories (none-of-the-above, [NOTA]), we first revisit the recent popular dataset structure for FSL, pointing out its unrealistic data distribution. To remedy this, we propose a novel methodology for deriving more realistic few-shot test data from available datasets for supervised RC, and apply it to the TACRED dataset. This yields a new challenging benchmark for FSL-RC, on which state of the art models show poor performance. Next, we analyze classification schemes within the popular embedding-based nearest-neighbor approach for FSL, with respect to constraints they impose on the embedding space. Triggered by this analysis, we propose a novel classification scheme in which the NOTA category is represented as learned vectors, shown empirically to be an appealing option for FSL.<\/jats:p>","DOI":"10.1162\/tacl_a_00392","type":"journal-article","created":{"date-parts":[[2021,9,20]],"date-time":"2021-09-20T19:28:02Z","timestamp":1632166082000},"page":"691-706","update-policy":"https:\/\/doi.org\/10.1162\/mitpressjournals.corrections.policy","source":"Crossref","is-referenced-by-count":23,"title":["Revisiting Few-shot Relation Classification: Evaluation Data and Classification Schemes"],"prefix":"10.1162","volume":"9","author":[{"given":"Ofer","family":"Sabo","sequence":"first","affiliation":[{"name":"Computer Science Department, Bar Ilan University, Israel. ofersabo@gmail.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yanai","family":"Elazar","sequence":"additional","affiliation":[{"name":"Computer Science Department, Bar Ilan University, Israel"},{"name":"Allen Institute for Artificial Intelligence. yanaiela@gmail.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yoav","family":"Goldberg","sequence":"additional","affiliation":[{"name":"Computer Science Department, Bar Ilan University, Israel"},{"name":"Allen Institute for Artificial Intelligence. yoav.goldberg@gmail.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ido","family":"Dagan","sequence":"additional","affiliation":[{"name":"Computer Science Department, Bar Ilan University, Israel. ido.k.dagan@gmail.com"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"281","published-online":{"date-parts":[[2021,8,2]]},"reference":[{"key":"2021080620252486300_bib1","doi-asserted-by":"publisher","first-page":"2895","DOI":"10.18653\/v1\/P19-1279","article-title":"Matching the blanks: Distributional similarity for relation learning","volume-title":"Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics","author":"Soares","year":"2019"},{"key":"2021080620252486300_bib2","article-title":"Few-shot text classification with distributional signatures","volume-title":"International Conference on Learning Representations","author":"Bao","year":"2020"},{"key":"2021080620252486300_bib3","article-title":"Few-shot text classification with distributional signatures","volume-title":"International Conference on Learning Representations","author":"Bao","year":"2020"},{"key":"2021080620252486300_bib4","first-page":"4171","article-title":"BERT: Pre-training of deep bidirectional transformers for language understanding","volume-title":"Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)","author":"Devlin","year":"2019"},{"key":"2021080620252486300_bib5","first-page":"377","article-title":"Learning better data representation using inference-driven metric learning","volume-title":"Proceedings of the ACL 2010 Conference Short Papers","author":"Dhillon","year":"2010"},{"key":"2021080620252486300_bib6","first-page":"1126","article-title":"Model-agnostic meta-learning for fast adaptation of deep networks","volume-title":"Proceedings of the 34th International Conference on Machine Learning","author":"Finn","year":"2017"},{"key":"2021080620252486300_bib7","doi-asserted-by":"crossref","first-page":"6250","DOI":"10.18653\/v1\/D19-1649","article-title":"FewRel 2.0: Towards more challenging few-shot relation classification","volume-title":"Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)","author":"Gao","year":"2019"},{"key":"2021080620252486300_bib8","doi-asserted-by":"publisher","first-page":"4803","DOI":"10.18653\/v1\/D18-1514","article-title":"FewRel: A large-scale supervised few-shot relation classification dataset with state-of-the-art evaluation","volume-title":"Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing","author":"Han","year":"2018"},{"key":"2021080620252486300_bib9","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-319-24261-3_7","article-title":"Deep metric learning using triplet network","volume-title":"3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7\u20139, 2015, Workshop Track Proceedings","author":"Hoffer","year":"2015"},{"issue":"1","key":"2021080620252486300_bib10","article-title":"Spacy 2: Natural language understanding with bloom embeddings","volume":"7","author":"Honnibal","year":"2017","journal-title":"Convolutional Neural Networks and Incremental Parsing"},{"key":"2021080620252486300_bib11","doi-asserted-by":"publisher","first-page":"333","DOI":"10.18653\/v1\/K17-1034","article-title":"Zero-shot relation extraction via reading comprehension","volume-title":"Proceedings of the 21st Conference on Computational Natural Language Learning (CoNLL 2017)","author":"Levy","year":"2017"},{"key":"2021080620252486300_bib12","first-page":"7260","article-title":"Revisiting local descriptor based image-to-class measure for few-shot learning","volume-title":"CVPR","author":"Li","year":"2019"},{"key":"2021080620252486300_bib13","doi-asserted-by":"publisher","first-page":"1656","DOI":"10.1109\/ICCVW.2017.194","article-title":"Simple triplet loss based on intra\/inter-class metric learning for face verification","volume-title":"2017 IEEE International Conference on Computer Vision Workshops, ICCV Workshops 2017, Venice, Italy, October 22\u201329, 2017","author":"Ming","year":"2017"},{"key":"2021080620252486300_bib14","doi-asserted-by":"publisher","first-page":"1003","DOI":"10.3115\/1690219.1690287","article-title":"Distant supervision for relation extraction without labeled data","volume-title":"Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP","author":"Mintz","year":"2009"},{"key":"2021080620252486300_bib15","doi-asserted-by":"publisher","first-page":"1105","DOI":"10.18653\/v1\/P16-1105","article-title":"End-to-end relation extraction using LSTMs on sequences and tree structures","volume-title":"Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)","author":"Miwa","year":"2016"},{"key":"2021080620252486300_bib16","doi-asserted-by":"publisher","first-page":"72","DOI":"10.18653\/v1\/W18-5511","article-title":"Zero-shot relation classification as textual entailment","volume-title":"Proceedings of the First Workshop on Fact Extraction and VERification (FEVER)","author":"Obamuyide","year":"2018"},{"key":"2021080620252486300_bib17","doi-asserted-by":"publisher","first-page":"5873","DOI":"10.18653\/v1\/P19-1589","article-title":"Model-agnostic meta-learning for relation classification with limited supervision","volume-title":"Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics","author":"Obamuyide","year":"2019"},{"key":"2021080620252486300_bib18","article-title":"Optimization as a model for few-shot learning","volume-title":"5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24\u201326, 2017, Conference Track Proceedings","author":"Ravi","year":"2017"},{"key":"2021080620252486300_bib19","doi-asserted-by":"publisher","first-page":"815","DOI":"10.1109\/CVPR.2015.7298682","article-title":"FaceNet: A unified embedding for face recognition and clustering","volume-title":"IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7\u201312, 2015","author":"Schroff","year":"2015"},{"issue":"9","key":"2021080620252486300_bib20","doi-asserted-by":"publisher","first-page":"1524","DOI":"10.1109\/TNN.2010.2052630","article-title":"Scalable large-margin mahalanobis distance metric learning","volume":"21","author":"Shen","year":"2010","journal-title":"IEEE Transactions on Neural Networks"},{"key":"2021080620252486300_bib21","first-page":"4077","article-title":"Prototypical networks for few-shot learning","volume-title":"Advances in Neural Information Processing Systems","author":"Snell","year":"2017"},{"key":"2021080620252486300_bib22","doi-asserted-by":"publisher","first-page":"3566","DOI":"10.18653\/v1\/D19-1364","article-title":"Out-of-domain detection for low-resource text classification tasks","volume-title":"Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)","author":"Tan","year":"2019"},{"key":"2021080620252486300_bib23","article-title":"Cross-domain few-shot classification via learned feature-wise transformation","volume-title":"International Conference on Learning Representations","author":"Tseng","year":"2020"},{"key":"2021080620252486300_bib24","first-page":"3630","article-title":"Matching networks for one shot learning","volume-title":"Advances in Neural Information Processing Systems","author":"Vinyals","year":"2016"},{"key":"2021080620252486300_bib25","doi-asserted-by":"publisher","first-page":"1298","DOI":"10.18653\/v1\/P16-1123","article-title":"Relation classification via multi-level attention CNNs","volume-title":"Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)","author":"Wang","year":"2016"},{"issue":"2","key":"2021080620252486300_bib26","first-page":"207","article-title":"Distance metric learning for large margin nearest neighbor classification.","volume":"10","author":"Weinberger","year":"2009","journal-title":"Journal of Machine Learning Research"},{"key":"2021080620252486300_bib27","doi-asserted-by":"publisher","first-page":"764","DOI":"10.18653\/v1\/P19-1074","article-title":"DocRED: A large-scale document-level relation extraction dataset","volume-title":"Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics","author":"Yao","year":"2019"},{"key":"2021080620252486300_bib28","doi-asserted-by":"publisher","first-page":"1206","DOI":"10.18653\/v1\/N18-1109","article-title":"Diverse few-shot text classification with multiple metrics","volume-title":"Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)","author":"Mo","year":"2018"},{"key":"2021080620252486300_bib29","doi-asserted-by":"publisher","first-page":"2205","DOI":"10.18653\/v1\/D18-1244","article-title":"Graph convolution over pruned dependency trees improves relation extraction","volume-title":"Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing","author":"Zhang","year":"2018"},{"key":"2021080620252486300_bib30","doi-asserted-by":"publisher","first-page":"35","DOI":"10.18653\/v1\/D17-1004","article-title":"Position-aware attention and supervised data improve slot filling","volume-title":"Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing","author":"Zhang","year":"2017"}],"container-title":["Transactions of the Association for Computational Linguistics"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/direct.mit.edu\/tacl\/article-pdf\/doi\/10.1162\/tacl_a_00392\/1955155\/tacl_a_00392.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"http:\/\/direct.mit.edu\/tacl\/article-pdf\/doi\/10.1162\/tacl_a_00392\/1955155\/tacl_a_00392.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,9,20]],"date-time":"2021-09-20T19:28:21Z","timestamp":1632166101000},"score":1,"resource":{"primary":{"URL":"https:\/\/direct.mit.edu\/tacl\/article\/doi\/10.1162\/tacl_a_00392\/106791\/Revisiting-Few-shot-Relation-Classification"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021]]},"references-count":30,"URL":"https:\/\/doi.org\/10.1162\/tacl_a_00392","relation":{},"ISSN":["2307-387X"],"issn-type":[{"value":"2307-387X","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2021]]},"published":{"date-parts":[[2021]]}}}