A Topic-Constrained Sampling Method for Text Generation

Pre-trained large language models (PLLMs) can be fine-tuned to incorporate relevant knowledge and linguistic conventions of a local corpus, though this process typically involves high training costs and computing resources. This paper employs a local corpus to construct a Latent Dirichlet Allocation (LDA) topic model, and then generates topic-constrained text by the LDA. On the one hand, this method is easy to implement; on the other hand, it enhances the model's generalization capabilities on local corpus. Experimental results reveal that the proposed method achieves better performance than the baseline model in both diversity and generalization.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1145/3712623.3712634
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Topic-Constrained Sampling Method for Text Generation

Jiaqiang Wan, Huijin Zhu, Xinyu Qiu, Zhiqiang Wang et al.
Topic Modeling
article

A Topic-Constrained Sampling Method for Text Generation

Jiaqiang Wan, Huijin Zhu, Xinyu Qiu, Zhiqiang Wang, Wenyi Ran
article en

Abstract

Pre-trained large language models (PLLMs) can be fine-tuned to incorporate relevant knowledge and linguistic conventions of a local corpus, though this process typically involves high training costs and computing resources. This paper employs a local corpus to construct a Latent Dirichlet Allocation (LDA) topic model, and then generates topic-constrained text by the LDA. On the one hand, this method is easy to implement; on the other hand, it enhances the model's generalization capabilities on local corpus. Experimental results reveal that the proposed method achieves better performance than the baseline model in both diversity and generalization.

Chongqing University of Technology (CN)
Openalex Percentile: Top 75%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.