arrow
Return

Hierarchical Topic-Aware Contextualized Transformers

delete2024-01-01
delete1
PRE
AI
R
Ruiying Lu
B
Bo Chen *
郭丹丹 cover
郭丹丹 (Dandan Guo)
D
Dongsheng Wang
M
Mingyuan Zhou
DOI:10.1109/TASLP.2023.3339344delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Training on disjoint fixed-length segments, Transformers convert static word embeddings into contextualized word representations. However, they often restrict the context of a token to the segment it resides in and hence neglect the contextual information across segments, failing to capture longer-term dependencies beyond the predefined segment length. This article uses a probabilistic deep topic model to provide hierarchical contextualized embeddings at both the token and segment levels, and integrate topic information through a constrained attention mechanism. The proposed method not only injects contextualized topic information into Transformers, but also controls languages generation guided by specific topics, styles, and sentiments. Three plug-and-play modules are proposed, including the contextual topical token embedding, the segment embedding, and the multi-head topic attention mechanism. We aim to capture the semantic coherence and word concurrence patterns at the global level, and also enrich the representation of each token by adapting to its local context, with negligible increased memory footprint and computational time. Experiments on various corpora show that by adding marginal extra parameters, the proposed hierarchical topic-aware contextualized Transformers consistently outperform their conventional counterparts, and generate sentences and paragraphs according to human preferences.
Keywords:
Contextualize
deep topic model
language generation
probabilistic model
transformers

Journal

I
IEEE-ACM Transactions on Audio Speech and Language Processing
IF:
5.1
Papers:
2.6K
Citations:
1.1W

Organization

U
university of texas system
Scholars:
18.5W
Papers: 15.6W
Citations: 210
X
Xidian University
Scholars:
2.4W
Papers: 1.9W
Citations: 9.7K