paper-with-me

Papers

Closing the Curious Case of Neural Text Degeneration

2023-10-02 · Matthew Finlayson, John Hewitt, Alexander Koller, Swabha Swayamdipta, Ashish Sabharwal

Despite their ubiquity in language generation, it remains unknown why truncation sampling heuristics like nucleus sampling are so effective. We provide a theoretical explanation for the effectiveness of the truncation sampling by proving that truncation methods that discard tokens below some probability threshold (the most common type of truncation) can guarantee that all sampled tokens have nonzero true probability. However, thresholds are a coarse heuristic, and necessarily discard some tokens with nonzero true probability as well. In pursuit of a more precise sampling strategy, we show that we can leverage a known source of model errors, the softmax bottleneck, to prove that certain tokens have nonzero true probability, without relying on a threshold. Based on our findings, we develop an experimental truncation strategy and the present pilot studies demonstrating the promise of this type of algorithm. Our evaluations show that our method outperforms its threshold-based counterparts under automatic and human evaluation metrics for low-entropy (i.e., close to greedy) open-ended text generation. Our theoretical findings and pilot experiments provide both insight into why truncation sampling works, and make progress toward more expressive sampling algorithms that better surface the generative capabilities of large language models.

📄 PDF Abstract BibTeX arXiv:2310.01693

Code (1)

mattf1n/basis-aware-threshold 공식 구현 jax

Tasks

Text Generation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

The Curious Case of Neural Text Degeneration

2019-04-22 · ICLR 2020 1 · Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes 외

Despite considerable advancements with deep neural language models, the enigma of neural text degeneration persists when these models are tested as text generators. The counter-intuitive empirical observation is that eve…

DiversityLanguage ModelingLanguage Modelling

Fast and Accurate Deep Loop Closing and Relocalization for Reliable LiDAR SLAM

2023-09-15 · Chenghao Shi, Xieyuanli Chen, Junhao Xiao, Bin Dai 외

Loop closing and relocalization are crucial techniques to establish reliable and robust long-term SLAM by addressing pose estimation drift and degeneration. This article begins by formulating loop closing and relocalizat…

Point Cloud RegistrationPose EstimationRetrieval

Relating Neural Text Degeneration to Exposure Bias

2021-09-17 · EMNLP (BlackboxNLP) 2021 11 · Ting-Rui Chiang, Yun-Nung Chen

This work focuses on relating two mysteries in neural-based text generation: exposure bias, and text degeneration. Despite the long time since exposure bias was mentioned and the numerous studies for its remedy, to our k…

Language ModelingLanguage ModellingText Generation

The Curious Case of Metonymic Verbs: A Distributional Characterization

2013-03-01 · WS 2013 3 · Jason Utt, Aless Lenci, ro, Sebastian Pad{\'o} 외

Word Embeddings vs Word Types for Sequence Labeling: the Curious Case of CV Parsing

2015-06-01 · WS 2015 6 · Melanie Tosik, Carsten Lygteskov Hansen, Gerard Goossen, Mihai Rotaru
Word Embeddings