Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Efficient and Training-Free Control of Language Generation (2205.06036v5)

Published 12 May 2022 in cs.CL

Abstract: In recent years, there has been a growing interest in the development of LLMs capable of generating text with controllable attributes. While several approaches have been proposed, many of these methods require condition-specific data or significant computational resources. In this study, we propose a novel method called Gamma Sampling, which enables controllable language generation without the need for any training data and maintains a fast generation speed. Gamma Sampling incorporates attribute-related information into the sampling process, effectively guiding the LLM to produce text with desired attributes. Our experimental results demonstrate that Gamma Sampling, when applied to GPT2, outperforms representative baselines in terms of diversity, attribute relevance, and overall quality of the generated samples.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (2)
  1. Shangda Wu (18 papers)
  2. Maosong Sun (337 papers)
Citations (1)

Summary

We haven't generated a summary for this paper yet.