English

Evaluating the Smooth Control of Attribute Intensity in Text Generation with LLMs

Computation and Language 2024-06-10 v1

Abstract

Controlling the attribute intensity of text generation is crucial across scenarios (e.g., writing conciseness, chatting emotion, and explanation clarity). The remarkable capabilities of large language models (LLMs) have revolutionized text generation, prompting us to explore such \emph{smooth control} of LLM generation. Specifically, we propose metrics to assess the range, calibration, and consistency of the generated text's attribute intensity in response to varying control values, as well as its relevance to the intended context. To quantify the attribute intensity and context relevance, we propose an effective evaluation framework leveraging the Elo rating system and GPT4, both renowned for their robust alignment with human judgment. We look into two viable training-free methods for achieving smooth control of LLMs: (1) Prompting with semantic shifters, and (2) Modifying internal model representations. The evaluations of these two methods are conducted on 55 different attributes with various models. Our code and dataset can be obtained from \url{https://github.com/ShangDataLab/Smooth-Control}.

Keywords

Cite

@article{arxiv.2406.04460,
  title  = {Evaluating the Smooth Control of Attribute Intensity in Text Generation with LLMs},
  author = {Shang Zhou and Feng Yao and Chengyu Dong and Zihan Wang and Jingbo Shang},
  journal= {arXiv preprint arXiv:2406.04460},
  year   = {2024}
}

Comments

Accepted to ACL 2024 Findings

R2 v1 2026-06-28T16:56:31.928Z