Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HTLM: Hyper-Text Pre-Training and Prompting of Language Models

About

We introduce HTLM, a hyper-text language model trained on a large-scale web crawl. Modeling hyper-text has a number of advantages: (1) it is easily gathered at scale, (2) it provides rich document-level and end-task-adjacent supervision (e.g. class and id attributes often encode document category information), and (3) it allows for new structured prompting that follows the established semantics of HTML (e.g. to do zero-shot summarization by infilling title tags for a webpage that contains the input text). We show that pretraining with a BART-style denoising loss directly on simplified HTML provides highly effective transfer for a wide range of end tasks and supervision levels. HTLM matches or exceeds the performance of comparably sized text-only LMs for zero-shot prompting and fine-tuning for classification benchmarks, while also setting new state-of-the-art performance levels for zero-shot summarization. We also find that hyper-text prompts provide more value to HTLM, in terms of data efficiency, than plain text prompts do for existing LMs, and that HTLM is highly effective at auto-prompting itself, by simply generating the most likely hyper-text formatting for any available training data. We will release all code and models to support future HTLM research.

Armen Aghajanyan, Dmytro Okhonko, Mike Lewis, Mandar Joshi, Hu Xu, Gargi Ghosh, Luke Zettlemoyer• 2021

Related benchmarks

TaskDatasetResultRank
Natural Language UnderstandingGLUE (dev)
SST-2 (Acc)97.3
504
Text ClassificationBoolQ
Accuracy55.3
84
Text ClassificationRTE
Accuracy51.2
78
SummarizationCNN/DM
ROUGE-138.51
56
SummarizationGigaword
ROUGE-L28.6
38
Data-to-text generationE2E
ROUGE-L0.712
36
Table-to-text generationDART
METEOR0.39
30
Table-to-text generationWebNLG
BLEU (Seen)65.4
17
Data-to-text generationDART
BLEU47.2
16
SummarizationXsum
ROUGE-24.12
14
Showing 10 of 15 rows

Other info

Follow for update