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

GENIUS: Sketch-based Language Model Pre-training via Extreme and Selective Masking for Text Generation and Augmentation

About

We introduce GENIUS: a conditional text generation model using sketches as input, which can fill in the missing contexts for a given sketch (key information consisting of textual spans, phrases, or words, concatenated by mask tokens). GENIUS is pre-trained on a large-scale textual corpus with a novel reconstruction from sketch objective using an extreme and selective masking strategy, enabling it to generate diverse and high-quality texts given sketches. Comparison with other competitive conditional language models (CLMs) reveals the superiority of GENIUS's text generation quality. We further show that GENIUS can be used as a strong and ready-to-use data augmentation tool for various natural language processing (NLP) tasks. Most existing textual data augmentation methods are either too conservative, by making small changes to the original text, or too aggressive, by creating entirely new samples. With GENIUS, we propose GeniusAug, which first extracts the target-aware sketches from the original training set and then generates new samples based on the sketches. Empirical experiments on 6 text classification datasets show that GeniusAug significantly improves the models' performance in both in-distribution (ID) and out-of-distribution (OOD) settings. We also demonstrate the effectiveness of GeniusAug on named entity recognition (NER) and machine reading comprehension (MRC) tasks. (Code and models are publicly available at https://github.com/microsoft/SCGLab and https://github.com/beyondguo/genius)

Biyang Guo, Yeyun Gong, Yelong Shen, Songqiao Han, Hailiang Huang, Nan Duan, Weizhu Chen• 2022

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceSNLI (test)
Accuracy74.64
681
Question AnsweringSQuAD v1.1 (dev)
F1 Score65.62
375
Named Entity RecognitionCoNLL 03
F1 (Entity)80.36
102
Question AnsweringNewsQA (dev)
F1 Score69.36
101
Named Entity RecognitionOntoNotes
F1-score56.59
91
Sequence ClassificationHuffpost low-resource (test)
Micro F184.21
64
Sequence ClassificationATIS
Micro F197.18
64
Sequence ClassificationMASSIVE
Micro F177.04
64
Sequence ClassificationYahoo
Micro F154.15
64
Sequence ClassificationIMDB
Micro F186.18
64
Showing 10 of 12 rows

Other info

Follow for update