Improve Meta-learning for Few-Shot Text Classification with All You Can Acquire from the Tasks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Xinyue, Gao, Yunlong, Zong, Linlin, Xu, Bo
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910648974180352
author Liu, Xinyue
Gao, Yunlong
Zong, Linlin
Xu, Bo
author_facet Liu, Xinyue
Gao, Yunlong
Zong, Linlin
Xu, Bo
contents Meta-learning has emerged as a prominent technology for few-shot text classification and has achieved promising performance. However, existing methods often encounter difficulties in drawing accurate class prototypes from support set samples, primarily due to probable large intra-class differences and small inter-class differences within the task. Recent approaches attempt to incorporate external knowledge or pre-trained language models to augment data, but this requires additional resources and thus does not suit many few-shot scenarios. In this paper, we propose a novel solution to address this issue by adequately leveraging the information within the task itself. Specifically, we utilize label information to construct a task-adaptive metric space, thereby adaptively reducing the intra-class differences and magnifying the inter-class differences. We further employ the optimal transport technique to estimate class prototypes with query set samples together, mitigating the problem of inaccurate and ambiguous support set samples caused by large intra-class differences. We conduct extensive experiments on eight benchmark datasets, and our approach shows obvious advantages over state-of-the-art models across all the tasks on all the datasets. For reproducibility, all the datasets and codes are available at https://github.com/YvoGao/LAQDA.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10454
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improve Meta-learning for Few-Shot Text Classification with All You Can Acquire from the Tasks
Liu, Xinyue
Gao, Yunlong
Zong, Linlin
Xu, Bo
Computer Vision and Pattern Recognition
Meta-learning has emerged as a prominent technology for few-shot text classification and has achieved promising performance. However, existing methods often encounter difficulties in drawing accurate class prototypes from support set samples, primarily due to probable large intra-class differences and small inter-class differences within the task. Recent approaches attempt to incorporate external knowledge or pre-trained language models to augment data, but this requires additional resources and thus does not suit many few-shot scenarios. In this paper, we propose a novel solution to address this issue by adequately leveraging the information within the task itself. Specifically, we utilize label information to construct a task-adaptive metric space, thereby adaptively reducing the intra-class differences and magnifying the inter-class differences. We further employ the optimal transport technique to estimate class prototypes with query set samples together, mitigating the problem of inaccurate and ambiguous support set samples caused by large intra-class differences. We conduct extensive experiments on eight benchmark datasets, and our approach shows obvious advantages over state-of-the-art models across all the tasks on all the datasets. For reproducibility, all the datasets and codes are available at https://github.com/YvoGao/LAQDA.
title Improve Meta-learning for Few-Shot Text Classification with All You Can Acquire from the Tasks
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.10454