Adversarial perturbation and bidirectional attention mechanism for few-shot English text classification

In few-shot text classification, how well the query and support sets are encoded largely decides the final accuracy. Yet, most prior methods overlook the pairwise correspondences between them and treat all features as equally important, neglecting the varying informativeness within each set. Therefore, we propose a novel adversarial perturbation and bidirectional attention mechanism for few-shot English text classification. The model combines the global information extraction ability of GRU and the local detail learning ability of attention mechanism to model text features. The adversarial training strategy is introduced to improve the stability and accuracy of the model when facing fuzzy expression or perturbation input. To capture nuanced interactions, we employ a bidirectional attention module that aligns support and query instances, highlighting within-class distinctions and forging category prototypes with enhanced discriminative power. The proposed model is tested on the public few-shot classification data sets, and results show that the classification accuracy rates with proposed method are better than other advanced models.

Authors

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2026-02-01
DOI
https://doi.org/10.6180/jase.202608_31.010
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adversarial perturbation and bidirectional attention mechanism for few-shot English text classification

Junjie Wu
SHILAP Revista de lepidopterología
Text and Document Classification Technologies
article

Adversarial perturbation and bidirectional attention mechanism for few-shot English text classification

Junjie Wu
article en

Abstract

In few-shot text classification, how well the query and support sets are encoded largely decides the final accuracy. Yet, most prior methods overlook the pairwise correspondences between them and treat all features as equally important, neglecting the varying informativeness within each set. Therefore, we propose a novel adversarial perturbation and bidirectional attention mechanism for few-shot English text classification. The model combines the global information extraction ability of GRU and the local detail learning ability of attention mechanism to model text features. The adversarial training strategy is introduced to improve the stability and accuracy of the model when facing fuzzy expression or perturbation input. To capture nuanced interactions, we employ a bidirectional attention module that aligns support and query instances, highlighting within-class distinctions and forging category prototypes with enhanced discriminative power. The proposed model is tested on the public few-shot classification data sets, and results show that the classification accuracy rates with proposed method are better than other advanced models.

SHILAP Revista de lepidopterología
Zhengzhou University of Science and Technology (CN)
Reduced inequalities
Openalex Percentile: Top 54%
Text and Document Classification Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.