HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

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

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

Abstract

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.

Benchmarks

BenchmarkMethodologyMetrics
data-to-text-generation-on-webnlgHTML (fine-tuning)
BLEU: 65.4
data-to-text-generation-on-webnlg-full-1HTLM (prefix 0.1%)
BLEU: 56.3
table-to-text-generation-on-dartGPT-2-Large (fine-tuning)
BERT: 0.94
BLEU: 47.0
BLEURT: 0.4
METEOR: 0.39
Mover: 0.51
TER: 0.46
table-to-text-generation-on-dartHTLM (fine-tuning)
BERT: 0.94
BLEU: 47.2
BLEURT: 0.4
METEOR: 0.39
Mover: 0.51
TER: 0.44
table-to-text-generation-on-e2eHTLM (fine-tuning)
BLEU: 70.3
CIDEr: 2.47
METEOR: 46.3
NIST: 8.90
ROUGE-L: 70.8
table-to-text-generation-on-e2eGPT-2-Large (fine-tuning)
BLEU: 68.5
CIDEr: 2.45
METEOR: 46.0
NIST: 8.78
ROUGE-L: 69.9
table-to-text-generation-on-webnlg-allGPT-2-Large (fine-tuning)
BLEU: 55.5
METEOR: 0.42
TER: 0.42
table-to-text-generation-on-webnlg-allHTLM (fine-tuning)
BLEU: 55.6
METEOR: 0.42
TER: 0.4
table-to-text-generation-on-webnlg-seenHTLM (fine-tuning)
BLEU: 65.4
METEOR: 0.46
TER: 0.33
table-to-text-generation-on-webnlg-seenGPT-2-Large (fine-tuning)
BLEU: 65.3
METEOR: 0.46
TER: 0.33
table-to-text-generation-on-webnlg-unseenGPT-2-Large (fine-tuning)
BLEU: 43.1
METEOR: 0.38
TER: 0.53
table-to-text-generation-on-webnlg-unseenHTLM (fine-tuning)
BLEU: 48.4
METEOR: 0.39
TER: 0.51

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
HTLM: Hyper-Text Pre-Training and Prompting of Language Models | Papers | HyperAI