テキスト分類のための深さ適応グラフ再帰ネットワーク
Depth-Adaptive Graph Recurrent Network for Text Classification
Depth-Adaptive Graph Recurrent Network for Text Classification
@misc{liu2020depthadaptive,
title = {Depth-Adaptive Graph Recurrent Network for Text Classification},
author = {Yijin Liu and Fandong Meng and Yufeng Chen and Jinan Xu and Jie Zhou},
year = {2020},
eprint = {2003.00166},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2003.00166}
}
Liu, Y., Meng, F., Chen, Y., Xu, J., & Zhou, J. (2020). Depth-Adaptive Graph Recurrent Network for Text Classification [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.00166
LIU Y, MENG F, CHEN Y, et al. Depth-Adaptive Graph Recurrent Network for Text Classification[EB/OL]. (2020-02-29)[2026-11-29]. https://arxiv.org/abs/2003.00166.
要旨
文状態 LSTM(S-LSTM)は、単語をノードとして捉え、それら間に層ごとの再帰的ステップを同時に実行する強力かつ高効率なグラフ再帰的ネットワークである。S-LSTM はテキスト表現において成功を収めているが、依然として二つの欠点を持っている。第一に、与えられた文において、ある単語は他よりも曖昧である場合があり、そのためこれらの困難な単語に対してはより多くの計算ステップが必要となるが、その逆もまた成り立つ。しかし、S-LSTM は単語の難易度に関わらず、すべての単語に対して固定された計算ステップ数を採用している。第二に、自然言語において本質的に重要である順次情報(例えば、単語の順序)の欠如である。本稿では、これらの問題に対処し、S-LSTM に対して深さ適応機構を提案する。この機構により、モデルは異なる単語に対して必要な計算ステップ数を学習できるようになる。さらに、順次情報を注入するために追加の RNN レイヤーを統合し、これは適応深さの決定のための入力特徴としても機能する。古典的なテキスト分類タスク(24 つの異なるサイズとドメインのデータセット)における結果は、従来の S-LSTM および他の高性能モデル(例:Transformer)に対して著しい改善をもたらす一方で、高い精度と速度のトレードオフを実現することを示している。
The Sentence-State LSTM (S-LSTM) is a powerful and high efficient graph recurrent network, which views words as nodes and performs layer-wise recurrent steps between them simultaneously. Despite its successes on text representations, the S-LSTM still suffers from two drawbacks. Firstly, given a sentence, certain words are usually more ambiguous than others, and thus more computation steps need to be taken for these difficult words and vice versa. However, the S-LSTM takes fixed computation steps for all words, irrespective of their hardness. The secondary one comes from the lack of sequential information (e.g., word order) that is inherently important for natural language. In this paper, we try to address these issues and propose a depth-adaptive mechanism for the S-LSTM, which allows the model to learn how many computational steps to conduct for different words as required. In addition, we integrate an extra RNN layer to inject sequential information, which also serves as an input feature for the decision of adaptive depths. Results on the classic text classification task (24 datasets in various sizes and domains) show that our model brings significant improvements against the conventional S-LSTM and other high-performance models (e.g., the Transformer), meanwhile achieving a good accuracy-speed trade off.