Rank Attribute Strength for Controllable Text Generation

Yanzhi Xia, Bo Hu, Meng Zhang, Y Y Zhang2025

Abstract

Controllable text generation aims to create text with certain specific attribute. However, the methods based on the concept of supervised training show only a small degree of controllability over attribute compared to decoding strategies. Furthermore, decoding strategies produce a detrimental effect on the text fluency of the text that is generated. To that end, we put forward a training-based controllable text generation approach that measures the attribute strength of a text and maps these scores with generation probabilities with a ranking loss function. It also moves attribute control in the model to an entirely new level while maintaining the smoothness of the generated text. Moreover, it does not need any changes to the current model architecture, which would make it possible to apply the method to train other, more representative, models. Empirical studies of the controllable text generation task reveal that the proposed approach achieves higher performance than the baselines on various measures and is useful.
BibTeX
@misc{xia2025rank,
  author = {Yanzhi Xia and Bo Hu and Meng Zhang and Y Y Zhang},
  title = {{Rank Attribute Strength for Controllable Text Generation}},
  year = {2025},
  doi = {10.1145/3727648.3727721},
}

Loading related content...

Figure