paper-with-me

Papers

Topical Language Generation using Transformers

2021-03-11 · Rohola Zandie, Mohammad H. Mahoor

Large-scale transformer-based language models (LMs) demonstrate impressive capabilities in open text generation. However, controlling the generated text's properties such as the topic, style, and sentiment is challenging and often requires significant changes to the model architecture or retraining and fine-tuning the model on new supervised data. This paper presents a novel approach for Topical Language Generation (TLG) by combining a pre-trained LM with topic modeling information. We cast the problem using Bayesian probability formulation with topic probabilities as a prior, LM probabilities as the likelihood, and topical language generation probability as the posterior. In learning the model, we derive the topic probability distribution from the user-provided document's natural structure. Furthermore, we extend our model by introducing new parameters and functions to influence the quantity of the topical features presented in the generated text. This feature would allow us to easily control the topical properties of the generated text. Our experimental results demonstrate that our model outperforms the state-of-the-art results on coherency, diversity, and fluency while being faster in decoding.

📄 PDF Abstract BibTeX arXiv:2103.06434

Code (1)

roholazandie/topical_language_generation 공식 구현 pytorch

Tasks

DiversityText Generation

Similar Papers 제목 키워드 기반

Changing the Mind of Transformers for Topically-Controllable Language Generation

2021-03-29 · EACL 2021 2 · Haw-Shiuan Chang, Jiaming Yuan, Mohit Iyyer, Andrew McCallum

Large Transformer-based language models can aid human authors by suggesting plausible continuations of text written so far. However, current interactive writing assistants do not allow authors to guide text generation in…

ClusteringText Generation

Explainable and Discourse Topic-aware Neural Language Understanding

2020-06-18 · ICML 2020 1 · Yatin Chaudhary, Hinrich Schütze, Pankaj Gupta

Marrying topic models and language models exposes language understanding to a broader source of document-level context beyond sentences via topics. While introducing topical semantics in language models, existing approac…

Document ClassificationLanguage ModelingLanguage ModellingRetrieval+4

Topicalization in Language Models: A Case Study on Japanese

2022-10-01 · COLING 2022 10 · Riki Fujihara, Tatsuki Kuribayashi, Kaori Abe, Ryoko Tokuhisa 외

Humans use different wordings depending on the context to facilitate efficient communication. For example, instead of completely new information, information related to the preceding context is typically placed at the se…

PositionSentenceText Generation

Explicit Use of Topicality in Dialogue Response Generation

2022-07-01 · NAACL (ACL) 2022 7 · Takumi Yoshikoshi, Hayato Atarashi, Takashi Kodama, Sadao Kurohashi

The current chat dialogue systems implicitly consider the topic given the context, but not explicitly. As a result, these systems often generate inconsistent responses with the topic of the moment. In this study, we prop…

Response GenerationSelf-Supervised Learning

Mapping Researcher Activity based on Publication Data by means of Transformers

2023-06-15 · Zineddine Bettouche, Andreas Fischer

Modern performance on several natural language processing (NLP) tasks has been enhanced thanks to the Transformer-based pre-trained language model BERT. We employ this concept to investigate a local publication database.…

Language ModelingLanguage Modelling