paper-with-me

Papers

TempLM: Distilling Language Models into Template-Based Generators

2022-05-23 · Tianyi Zhang, Mina Lee, Lisa Li, Ende Shen, Tatsunori B. Hashimoto

While pretrained language models (PLMs) have greatly improved text generation, they have also been known to produce unfaithful or inappropriate content. In contrast, classic template-based systems provide strong guarantees of faithfulness at the cost of fluency. We propose TempLM, which achieves the best of both worlds by distilling a PLM into a template-based generator. On the E2E and SynthBio data-to-text datasets, we show that TempLM is more faithful than the original PLM and is more fluent than prior template systems. Notably, on an out-of-domain evaluation, TempLM reduces a finetuned BART model's unfaithfulness rate from 83% to 0%. In a human study, we find that TempLM's templates substantially improve upon human-written ones in BERTScore.

📄 PDF Abstract BibTeX arXiv:2205.11055

Code (1)

tiiiger/templm 공식 구현 pytorch

Tasks

Text Generation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Residual Connection 설명 없음
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
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…

Similar Papers 제목 키워드 기반

Handling PDDL3.0 State Trajectory Constraints with Temporal Landmarks

2017-06-26 · Eliseo Marzal, Mohannad Babli, Eva Onaindia, Laura Sebastia

Temporal landmarks have been proved to be a helpful mechanism to deal with temporal planning problems, specifically to improve planners performance and handle problems with deadline constraints. In this paper, we show th…

Moonshine: Distilling Game Content Generators into Steerable Generative Models

2024-08-18 · Yuhe Nie, Michael Middleton, Tim Merino, Nidhushan Kanagaraja 외

Procedural Content Generation via Machine Learning (PCGML) has enhanced game content creation, yet challenges in controllability and limited training data persist. This study addresses these issues by distilling a constr…

Language ModelingLanguage ModellingLarge Language Model

A Verifiable Search Is Not a Learnable Chain-of-Thought

2026-06-20 · Harsh Patel arxiv

It is tempting to assume any task solvable by a short program can be taught to a model as its chain-of-thought: write the steps out, fine-tune, and the model follows. This paper shows the assumption fails for an identifi…

A Comprehensive Survey on Knowledge Distillation of Diffusion Models

2023-04-09 · Weijian Luo

Diffusion Models (DMs), also referred to as score-based diffusion models, utilize neural networks to specify score functions. Unlike most other probabilistic models, DMs directly model the score functions, which makes th…

Knowledge DistillationSurvey

Inducing Relational Knowledge from BERT

2019-11-28 · Zied Bouraoui, Jose Camacho-Collados, Steven Schockaert

One of the most remarkable properties of word embeddings is the fact that they capture certain types of semantic and syntactic relationships. Recently, pre-trained language models such as BERT have achieved groundbreakin…

Language ModelingLanguage ModellingRelationWord Embeddings