DAPC: A Prefix-Based Approach with Reinforced Attention for Attribute-Based Controllable Text Generation

Prefix-tuning with large language models has shown promise for enhancing attribute-based Controlled Text Generation (CTG), which aims to generate text with specific attributes. While previous works have achieved impressive results in language generation, they often suffer from performance decay across different generation length settings. In this work, we propose DAPC, a novel, lightweight prefix-based framework for CTG. The core idea of DAPC is to strategically enhance the controllability of prefixes, thereby improving the attribute distributions in the generated text. Specifically, we employ prefix-tuning through reinforcement learning to generate attribute-specific prefixes, ensuring more precise control over the target attributes. These single-attribute prefixes can easily be extended to multi-attribute prefixes for multi-attribute CTG through concatenation. Furthermore, we adopt an actor-critic framework to train a control module that dynamically adjusts the attention weights of prefixes. DAPC significantly reduces computational and storage overhead compared to previous complex methods. Experiments across various CTG tasks demonstrate that DAPC achieves significant and consistent improvements, with accuracy gains of $1 \%-15 \%$, while maintaining high fluency in tasks with different text generation length.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/icecai66283.2025.11170555
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DAPC: A Prefix-Based Approach with Reinforced Attention for Attribute-Based Controllable Text Generation

Shenglin Gui, Tao Feng, Xeron Du
Natural Language Processing Techniques
article

DAPC: A Prefix-Based Approach with Reinforced Attention for Attribute-Based Controllable Text Generation

Shenglin Gui, Tao Feng, Xeron Du
article en

Abstract

Prefix-tuning with large language models has shown promise for enhancing attribute-based Controlled Text Generation (CTG), which aims to generate text with specific attributes. While previous works have achieved impressive results in language generation, they often suffer from performance decay across different generation length settings. In this work, we propose DAPC, a novel, lightweight prefix-based framework for CTG. The core idea of DAPC is to strategically enhance the controllability of prefixes, thereby improving the attribute distributions in the generated text. Specifically, we employ prefix-tuning through reinforcement learning to generate attribute-specific prefixes, ensuring more precise control over the target attributes. These single-attribute prefixes can easily be extended to multi-attribute prefixes for multi-attribute CTG through concatenation. Furthermore, we adopt an actor-critic framework to train a control module that dynamically adjusts the attention weights of prefixes. DAPC significantly reduces computational and storage overhead compared to previous complex methods. Experiments across various CTG tasks demonstrate that DAPC achieves significant and consistent improvements, with accuracy gains of $1 \%-15 \%$, while maintaining high fluency in tasks with different text generation length.

University of Electronic Science and Technology of China (CN)
Openalex Percentile: Top 86%
Natural Language Processing Techniques
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.

DAPC: A Prefix-Based Approach with Reinforced Attention for Attribute-Based Controllable Text Generation — Shenglin Gui, Tao Feng, et al. · (2025) | TGRS Research Map | TGRS