Latent Variable Modeling for Controllable and Diverse Generation From Large Language Models

Conditional Variational Auto-Encoders (CVAEs) represent a powerful deep generative framework, utilizing latent variables (explicitly modelled hidden states) to capture underlying factors and govern the generation process accordingly. However, this idea is less explored in the era of Large Language Models (LLMs), facing challenges in structural differences between LLMs and traditional CVAEs as well as challenges in posterior collapse (homogeneous latent variables). In this work, we present the first attempt to extend decoder-only LLMs into encoder-decoder CVAEs, aimming at enhancing existing LLMs with flexible control via low-dimensional latent vectors. To achieve this, we introduce a novel optimization objective for effective latent variable modeling and propose a Gradient-only Skip (G-Skip) Connection, which jointly enhances generation controllability while preserving generation quality. Through experiments on AGNews, Yelp and DailyDialog, we validate the effectiveness of our method in achieving latent modelling and latent-guided language generation on the basis of Llama3-8B. Specifically, we establish new state-of-the-art performance in dialogue generation on the DailyDialog dataset, achieving a BERTScore of 88.30 and an FED score of 5.49.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Artificial Intelligence
Published
2025-06-19
DOI
https://doi.org/10.1109/tai.2025.3581507
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

Latent Variable Modeling for Controllable and Diverse Generation From Large Language Models

Zhuofan Chen, Chenghua Lin, Wenge Rong, Chen Li et al.
IEEE Transactions on Artificial Intelligence
Topic Modeling
article

Latent Variable Modeling for Controllable and Diverse Generation From Large Language Models

Zhuofan Chen, Chenghua Lin, Wenge Rong, Chen Li, Chang Liu, Bing Li, Jianfei Zhang
article en

Abstract

Conditional Variational Auto-Encoders (CVAEs) represent a powerful deep generative framework, utilizing latent variables (explicitly modelled hidden states) to capture underlying factors and govern the generation process accordingly. However, this idea is less explored in the era of Large Language Models (LLMs), facing challenges in structural differences between LLMs and traditional CVAEs as well as challenges in posterior collapse (homogeneous latent variables). In this work, we present the first attempt to extend decoder-only LLMs into encoder-decoder CVAEs, aimming at enhancing existing LLMs with flexible control via low-dimensional latent vectors. To achieve this, we introduce a novel optimization objective for effective latent variable modeling and propose a Gradient-only Skip (G-Skip) Connection, which jointly enhances generation controllability while preserving generation quality. Through experiments on AGNews, Yelp and DailyDialog, we validate the effectiveness of our method in achieving latent modelling and latent-guided language generation on the basis of Llama3-8B. Specifically, we establish new state-of-the-art performance in dialogue generation on the DailyDialog dataset, achieving a BERTScore of 88.30 and an FED score of 5.49.

IEEE Transactions on Artificial IntelligenceVol. 7(2)
University of Manchester (GB), Beihang University (CN)
Openalex Percentile: Top 93%
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.