DiffSampling: Enhancing Diversity and Accuracy in Neural Text Generation
Despite their growing capabilities, language models still frequently reproduce content from their training data, generate repetitive text, and favor common grammatical patterns and vocabulary. A possible cause is the decoding strategy: the most common strategies either consider only the most probable tokens, which reduces output diversity, or increase the likelihood of unlikely tokens, compromising output accuracy and correctness. In this paper, we propose three new decoding methods that leverage a mathematical analysis of the token probability distribution to ensure the generation of contextually appropriate text. In particular, the difference between consecutive, sorted probabilities can be used to truncate incorrect tokens. Experiments concerning math problem solving, extreme summarization, and the divergent association task demonstrate that our approach consistently performs at least as well as existing methods in terms of quality and diversity.
Code (0)
등록된 구현이 없습니다.
Tasks
DiversityExtreme SummarizationMathText GenerationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Exploring the Relationship Between Diversity and Quality in Ad Text Generation
In natural language generation for advertising, creating diverse and engaging ad texts is crucial for capturing a broad audience and avoiding advertising fatigue. Regardless of the importance of diversity, the impact of …
DiversityMachine TranslationText GenerationSeDi-Instruct: Enhancing Alignment of Language Models through Self-Directed Instruction Generation
The rapid evolution of Large Language Models (LLMs) has enabled the industry to develop various AI-based services. Instruction tuning is considered essential in adapting foundation models for target domains to provide hi…
DiversityEmbracing Aleatoric Uncertainty: Generating Diverse 3D Human Motion
Generating 3D human motions from text is a challenging yet valuable task. The key aspects of this task are ensuring text-motion consistency and achieving generation diversity. Although recent advancements have enabled th…
LoFT: Enhancing Faithfulness and Diversity for Table-to-Text Generation via Logic Form Control
Logical Table-to-Text (LT2T) generation is tasked with generating logically faithful sentences from tables. There currently exists two challenges in the field: 1) Faithfulness: how to generate sentences that are factuall…
DiversityFormTable-to-Text GenerationText GenerationAdvancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs
This chapter explores advancements in decoding strategies for large language models (LLMs), focusing on enhancing the Locally Typical Sampling (LTS) algorithm. Traditional decoding methods, such as top-k and nucleus samp…
Abstractive Text SummarizationComputational EfficiencyDiversityStory Generation+1