paper-with-me

Papers

Sparse Text Generation

2020-04-06 · EMNLP 2020 11 · Pedro Henrique Martins, Zita Marinho, André F. T. Martins

Current state-of-the-art text generators build on powerful language models such as GPT-2, achieving impressive performance. However, to avoid degenerate text, they require sampling from a modified softmax, via temperature parameters or ad-hoc truncation techniques, as in top-$k$ or nucleus sampling. This creates a mismatch between training and testing conditions. In this paper, we use the recently introduced entmax transformation to train and sample from a natively sparse language model, avoiding this mismatch. The result is a text generator with favorable performance in terms of fluency and consistency, fewer repetitions, and n-gram diversity closer to human text. In order to evaluate our model, we propose three new metrics for comparing sparse or truncated distributions: $\epsilon$-perplexity, sparsemax score, and Jensen-Shannon divergence. Human-evaluated experiments in story completion and dialogue generation show that entmax sampling leads to more engaging and coherent stories and conversations.

📄 PDF Abstract BibTeX arXiv:2004.02644

Code (1)

deep-spin/sparse_text_generation 공식 구현 pytorch

Tasks

Dialogue GenerationDiversityLanguage ModelingLanguage ModellingStory CompletionText Generation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Weight Decay 설명 없음
Residual Connection 설명 없음
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Reasoning-Based Personalized Generation for Users with Sparse Data

2026-01-31 · Bo Ni, Branislav Kveton, Samyadeep Basu, Subhojyoti Mukherjee 외 arxiv

Large Language Model (LLM) personalization holds great promise for tailoring responses by leveraging personal context and history. However, real-world users usually possess sparse interaction histories with limited perso…

Text Generation

Points-to-3D: Bridging the Gap between Sparse Points and Shape-Controllable Text-to-3D Generation

2023-07-26 · Chaohui Yu, Qiang Zhou, Jingliang Li, Zhe Zhang 외

Text-to-3D generation has recently garnered significant attention, fueled by 2D diffusion models trained on billions of image-text pairs. Existing methods primarily rely on score distillation to leverage the 2D diffusion…

3D GenerationNeRFText to 3D

Rethink Sparse Signals for Pose-guided Text-to-image Generation

2025-06-26 · Wenjie Xuan, Jing Zhang, Juhua Liu, Bo Du 외

Recent works favored dense signals (e.g., depth, DensePose), as an alternative to sparse signals (e.g., OpenPose), to provide detailed spatial guidance for pose-guided text-to-image generation. However, dense representat…

Image GenerationPose-Guided Image GenerationText to Image GenerationText-to-Image Generation

Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selection

2024-05-25 · Yun Zhu, Jia-Chen Gu, Caitlin Sikora, Ho Ko 외

Large language models (LLMs) augmented with retrieval exhibit robust performance and extensive versatility by incorporating external contexts. However, the input length grows linearly in the number of retrieved documents…

Computational EfficiencyRAGRetrievalRetrieval-augmented Generation

SparseGAN: Sparse Generative Adversarial Network for Text Generation

2021-03-22 · Liping Yuan, Jiehang Zeng, Xiaoqing Zheng

It is still a challenging task to learn a neural text generation model under the framework of generative adversarial networks (GANs) since the entire training process is not differentiable. The existing training strategi…

Generative Adversarial NetworkSentenceText GenerationWord Embeddings