Information Aggregation via Dynamic Routing for Sequence Encoding
원문 초록
While much progress has been made in how to encode a text sequence into a sequence of vectors, less attention has been paid to how to aggregate these preceding vectors (outputs of RNN/CNN) into fixed-size encoding vector. Usually, a simple max or average pooling is used, which is a bottom-up and passive way of aggregation and lack of guidance by task information. In this paper, we propose an aggregation mechanism to obtain a fixed-size encoding with a dynamic routing policy. The dynamic routing policy is dynamically deciding that what and how much information need be transferred from each word to the final encoding of the text sequence. Following the work of Capsule Network, we design two dynamic routing policies to aggregate the outputs of RNN/CNN encoding layer into a final encoding vector. Compared to the other aggregation methods, dynamic routing can refine the messages according to the state of final encoding vector. Experimental results on five text classification tasks show that our method outperforms other aggregating models by a significant margin. Related source code is released on our github page.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
A Simple Ensemble Strategy for LLM Inference: Towards More Stable Text Classification
Linguistic Interpretability of Transformer-based Language Models: a systematic review
A thorough benchmark of automatic text classification: From traditional approaches to large language models
Task-Informed Anti-Curriculum by Masking Improves Downstream Performance on Text
GNN-CNN: An Efficient Hybrid Model of Convolutional and Graph Neural Networks for Text Representation
Reliable Decision Support with LLMs: A Framework for Evaluating Consistency in Binary Text Classification Applications
토론
이 논문과 연결된 포럼 글이 아직 없습니다.