텍스트 분류를 위한 깊이 적응형 그래프 순환 신경망
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.