paper-with-me

Papers

Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation

2022-06-06 · Jin Xu, Xiaojiang Liu, Jianhao Yan, Deng Cai, Huayang Li, Jian Li

While large-scale neural language models, such as GPT2 and BART, have achieved impressive results on various text generation tasks, they tend to get stuck in undesirable sentence-level loops with maximization-based decoding algorithms (\textit{e.g.}, greedy search). This phenomenon is counter-intuitive since there are few consecutive sentence-level repetitions in human corpora (e.g., 0.02\% in Wikitext-103). To investigate the underlying reasons for generating consecutive sentence-level repetitions, we study the relationship between the probabilities of the repetitive tokens and their previous repetitions in the context. Through our quantitative experiments, we find that 1) Language models have a preference to repeat the previous sentence; 2) The sentence-level repetitions have a \textit{self-reinforcement effect}: the more times a sentence is repeated in the context, the higher the probability of continuing to generate that sentence; 3) The sentences with higher initial probabilities usually have a stronger self-reinforcement effect. Motivated by our findings, we propose a simple and effective training method \textbf{DITTO} (Pseu\underline{D}o-Repet\underline{IT}ion Penaliza\underline{T}i\underline{O}n), where the model learns to penalize probabilities of sentence-level repetitions from pseudo repetitive data. Although our method is motivated by mitigating repetitions, experiments show that DITTO not only mitigates the repetition issue without sacrificing perplexity, but also achieves better generation quality. Extensive experiments on open-ended text generation (Wikitext-103) and text summarization (CNN/DailyMail) demonstrate the generality and effectiveness of our method.

📄 PDF Abstract BibTeX arXiv:2206.02369

Code (2)

Jxu-Thu/DITTO 공식 구현 pytorch
Jxu-Thu/DIITTO pytorch

Tasks

SentenceText GenerationText Summarization

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Adam 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Analyzing and Mitigating Repetitions in Trip Recommendation

2025-07-26 · Wenzheng Shu, Kangqi Xu, Wenxin Tai, Ting Zhong 외 arxiv

Trip recommendation has emerged as a highly sought-after service over the past decade. Although current studies significantly understand human intention consistency, they struggle with undesired repetitive outcomes that …

From Loops to Oops: Fallback Behaviors of Language Models Under Uncertainty

2024-07-08 · Maor Ivgi, Ori Yoran, Jonathan Berant, Mor Geva

Large language models (LLMs) often exhibit undesirable behaviors, such as hallucinations and sequence repetitions. We propose to view these behaviors as fallbacks that models exhibit under uncertainty, and investigate th…

Instruction Following

It's my Job to be Repetitive! My Job! My Job! -- Linking Repetitions to In-Context Learning in Language Models

2021-10-16 · ACL ARR October 2021 10 · Anonymous

Recent studies have shown that large language models can display surprising accuracy at learning tasks from few examples presented in the input context, which goes under the name of in-context learning. Other studies hav…

In-Context Learning

Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective

2023-09-21 · NeurIPS 2023 11

There are a number of diverging hypotheses about the neural text degeneration problem, i.e., generating repetitive and dull loops, which makes this problem both interesting and confusing. In this work, we aim to advance …

Analyzing and Mitigating Inconsistency in Discrete Audio Tokens for Neural Codec Language Models

2024-09-28 · Wenrui Liu, Zhifang Guo, Jin Xu, YuanJun Lv 외

Building upon advancements in Large Language Models (LLMs), the field of audio processing has seen increased interest in training audio generation tasks with discrete audio token sequences. However, directly discretizing…

Audio GenerationLanguage ModelingLanguage Modelling