Nearest Neighbor Language Models for Stylistic Controllable Generation

10/27/2022
by   Severino Trotta, et al.
0

Recent language modeling performance has been greatly improved by the use of external memory. This memory encodes the context so that similar contexts can be recalled during decoding. This similarity depends on how the model learns to encode context, which can be altered to include other attributes, such as style. We construct and evaluate an architecture for this purpose, using corpora annotated for politeness, formality, and toxicity. Through extensive experiments and human evaluation we demonstrate the potential of our method to generate text while controlling style. We find that style-specific datastores improve generation performance, though results vary greatly across styles, and the effect of pretraining data and specific styles should be explored in future work.

READ FULL TEXT
research
07/17/2018

Chinese Poetry Generation with Flexible Styles

Research has shown that sequence-to-sequence neural models, particularly...
research
04/04/2020

Hooks in the Headline: Learning to Generate Headlines with Controlled Styles

Current summarization systems only produce plain, factual headlines, but...
research
12/30/2022

On the Inconsistencies of Conditionals Learned by Masked Language Models

Learning to predict masked tokens in a sequence has been shown to be a p...
research
10/22/2020

Multi-dimensional Style Transfer for Partially Annotated Data using Language Models as Discriminators

Style transfer has been widely explored in natural language generation w...
research
04/30/2021

Dance Generation with Style Embedding: Learning and Transferring Latent Representations of Dance Styles

Choreography refers to creation of dance steps and motions for dances ac...
research
11/09/2019

xSLUE: A Benchmark and Analysis Platform for Cross-Style Language Understanding and Evaluation

Every natural text is written in some style. The style is formed by a co...
research
12/09/2016

Evaluating Creative Language Generation: The Case of Rap Lyric Ghostwriting

Language generation tasks that seek to mimic human ability to use langua...

Please sign up or login with your details

Forgot password? Click here to reset