paper-with-me

홈 › Papers

Information Aggregation via Dynamic Routing for Sequence Encoding

2018-06-05 · COLING 2018 8 · Jingjing Gong, Xipeng Qiu, Shaojing Wang, Xuanjing Huang

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.

📄 PDF Abstract BibTeX arXiv:1806.01501

Code (2)

FudanNLP/Capsule4TextClassification 공식 구현 tf
michael-wzhu/dynamic_routing_pytorch pytorch

Tasks

Sentiment Analysistext-classificationText Classification

Methods 이 논문이 사용한 방법론

Capsule Network A capsule is an activation vector that basically executes on its inputs some complex internal computations. Length of these activation vectors signifies the probability of…
Average Pooling 설명 없음

Similar Papers 제목 키워드 기반

Dynamic Multi-Behavior Sequence Modeling for Next Item Recommendation

2023-01-28 · Junsu Cho, Dongmin Hyun, Dong won Lim, Hyeon jae Cheon 외

Sequential Recommender Systems (SRSs) aim to predict the next item that users will consume, by modeling the user interests within their item sequences. While most existing SRSs focus on a single type of user behavior, on…

Recommendation Systems

Towards Linear Time Neural Machine Translation with Capsule Networks

2018-11-01 · IJCNLP 2019 11 · Mingxuan Wang, Jun Xie, Zhixing Tan, Jinsong Su 외

In this study, we first investigate a novel capsule network with dynamic routing for linear time Neural Machine Translation (NMT), referred as \textsc{CapsNMT}. \textsc{CapsNMT} uses an aggregation mechanism to map the s…

Machine TranslationNMTSentenceTranslation

Beyond Gemini-3-Pro: Revisiting LLM Routing and Aggregation at Scale

2026-01-04 · Shengji Tang, Weihao Lin, Peng Ye, Jingqi Ye 외 arxiv

Large Language Models (LLMs) have rapidly advanced, with Gemini-3-Pro setting a new performance milestone. In this work, we explore collective intelligence as an alternative to monolithic scaling, and demonstrate that op…

Improving Video Instance Segmentation via Temporal Pyramid Routing

2021-07-28 · Xiangtai Li, Hao He, Yibo Yang, Henghui Ding 외

Video Instance Segmentation (VIS) is a new and inherently multi-task problem, which aims to detect, segment, and track each instance in a video sequence. Existing approaches are mainly based on single-frame features or s…

Instance SegmentationPanoptic SegmentationSegmentationSemantic Segmentation+1

Dynamic Layer Aggregation for Neural Machine Translation with Routing-by-Agreement

2019-02-15 · Zi-Yi Dou, Zhaopeng Tu, Xing Wang, Long-Yue Wang 외

With the promising progress of deep neural networks, layer aggregation has been used to fuse information across layers in various fields, such as computer vision and machine translation. However, most of the previous met…

Machine TranslationTranslation