Red de Recurrente de Gráficos Adaptativa a la Profundidad para Clasificación de Texto
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.
Resumen
La red recurrente de grafos LSTM de Estado de Oración (S-LSTM) es una red recurrente de grafos potente y altamente eficiente, que trata las palabras como nodos y realiza pasos recurrentes capa por capa entre ellos simultáneamente. A pesar de sus éxitos en representaciones de texto, el S-LSTM aún presenta dos limitaciones. En primer lugar, dada una oración, ciertas palabras suelen ser más ambiguas que otras, por lo que se requieren más pasos de computación para estas palabras difíciles y viceversa. Sin embargo, el S-LSTM realiza pasos de computación fijos para todas las palabras, independientemente de su dificultad. La segunda proviene de la falta de información secuencial (por ejemplo, el orden de las palabras) que es inherentemente importante para el lenguaje natural. En este trabajo, intentamos abordar estos problemas y proponer un mecanismo de profundidad adaptativa para el S-LSTM, que permite al modelo aprender cuántos pasos de computación realizar para diferentes palabras según sea necesario. Además, integramos una capa extra de RNN para inyectar información secuencial, la cual también sirve como característica de entrada para la decisión de profundidades adaptativas. Los resultados en la tarea clásica de clasificación de texto (24 conjuntos de datos de diversos tamaños y dominios) muestran que nuestro modelo aporta mejoras significativas frente al S-LSTM convencional y otros modelos de alto rendimiento (por ejemplo, el Transformer), al tiempo que logra un buen compromiso entre precisión y velocidad.
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.