plug and play language model a simple baseline for
play

Plug and Play Language Model : A Simple Baseline for Controlled - PowerPoint PPT Presentation

Plug and Play Language Model : A Simple Baseline for Controlled Language Generation ICLR20 Sumanth Dathathri CMS, Caltech Eric Frank Uber AI Andrea Madotto HKUST Janice Lan Uber AI Jane Hung Uber AI Piero Molino Uber AI Jason Yosinski Uber


  1. Plug and Play Language Model : A Simple Baseline for Controlled Language Generation ICLR20 Sumanth Dathathri CMS, Caltech Eric Frank Uber AI Andrea Madotto HKUST Janice Lan Uber AI Jane Hung Uber AI Piero Molino Uber AI Jason Yosinski Uber AI Rosanne Liu Uber AI Xiachong Feng

  2. Author 1. Sumanth Dathathri CMS, Caltech 2. Andrea Madotto HKUST 3. Janice Lan Uber AI 4. …… Uber AI

  3. Background : Pre-trained LM • GPT-2 • BERT • Transformer XL • ……..

  4. Background : GPT-2

  5. Background : GPT-2 https://gpt2.apps.allenai.org/?text=Joel%20is%20a

  6. Background : Gradient 𝑧 = 𝑦 $ 𝑧 % = 2𝑦 𝑦 = 1 𝑧 % = 2

  7. Task : Controlled Generation

  8. Overview : Plug and Play LM for controlled language generation

  9. P(x) : Language Modeling With Transformers

  10. P(x) : Language Modeling With Transformers

  11. P(x) : Language Modeling With Transformers

  12. P(x) : Language Modeling With Transformers

  13. P(x) : Language Modeling With Transformers

  14. P(a|x) • Bag of Words (BoW) • Discriminator • Sentiment

  15. • Suppose we want x && a==positive 1. Generate x à p(x) 2. Classifier à p(a|x) 3. If a==positive : Done 4. Else : Generate x……

  16. Method

  17. Method : Gradient based

  18. Method : Gradient based

  19. Method

  20. Fluency • Kullback–Leibler (KL) Divergence • Post-norm Geometric Mean Fusion

  21. Bag of Words (BoW)

  22. Discriminator

  23. Thanks!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend