HackerPapers

arXiv:1704.01444cs.LG

Learning to Generate Reviews and Discovering Sentiment

Alec Radford, Rafal Jozefowicz, Ilya Sutskever

Abstract

We explore the properties of byte-level recurrent language models. When given sufficient amounts of capacity, training data, and compute time, the representations learned by these models include disentangled features corresponding to high-level concepts. Specifically, we find a single unit which performs sentiment analysis. These representations, learned in an unsupervised manner, achieve state of the art on the binary subset of the Stanford Sentiment Treebank. They are also very data efficient. When using only a handful of labeled examples, our approach matches the performance of strong baselines trained on full datasets. We also demonstrate the sentiment unit has a direct influence on the generative process of the model. Simply fixing its value to be positive or negative generates samples with the corresponding positive or negative sentiment.

arXiv comments
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.CLComputation and Language cs.NENeural and Evolutionary Computing

On Hacker News

Linked by 5 identifiable commenters in 5 comments across 5 threads, from Apr 2017 to Jun 2024.

Comments linking this paper, per year.

Discussed in comments5 threads

    • > [...] but they certainly don't prove what OP claimed. OP's claim was not: "LLMs know whether text is true, false, reliable, or is epistemically calibrated". But rather: "[LLMs condition] on latents *ABOUT* truth, falsity, reliability, and calibration". > It's also very…

      cmorezView on HNParent context

    • I tried to find the where I heard that Radford was inspired by that blog post, but the closest thing I found is that in the "Sentiment Neuron" paper (Learning to Generate Reviews and Discovering Sentiment: https://arxiv.org/pdf/1704.01444.pdf), in the "Discussion and Future…

      magoghmView on HNParent context

  1. What OpenAI really wants 1 comment
    • i highlighted this last night which seems to be making the rounds - https://twitter.com/swyx/status/1699369076529971545 Alec's CV (https://www.linkedin.com/in/alecradford/) seems to be: - 2011-2016 BSc Eng from Olin College - 2013+ started a data/AI consultancy as a sophomore…

      swyxView on HNParent context

    • Sure, in looking at what it would cost to replicate this: https://arxiv.org/pdf/1704.01444.pdf They say they used four Titan X cards for a month. I was actually looking at google cloud machine learning since I thought being targeted to tensorflow would be the most cost…

      tensorView on HNParent context

  2. Unsupervised sentiment neuron 1 comment
    • "The selected model reaches 1.12 bits per byte." (https://arxiv.org/pdf/1704.01444.pdf) For context, Claude Shannon found that humans could model English text with an entropy of 0.6 to 1.3 bits per character (http://languagelog.ldc.upenn.edu/myl/Shannon1950.pdf)

      tshadleyView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.