10
CS 533: Natural Language Processing Introduction Karl Stratos Rutgers University Karl Stratos CS 533: Natural Language Processing 1/10

CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

CS 533: Natural Language Processing

Introduction

Karl Stratos

Rutgers University

Karl Stratos CS 533: Natural Language Processing 1/10

Page 2: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Modern Natural Language Processing (NLP)

NLP is everywhere

Other examples?

Karl Stratos CS 533: Natural Language Processing 2/10

Page 3: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Short-Term Goals

Make machines understand human language

Countless applications: machine translation (MT), personalassistant, crucial component in any AI system (e.g., autonomousdriving)

Karl Stratos CS 533: Natural Language Processing 3/10

Page 4: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Long-Term Goals

Make machines as intelligent and conscious as humans (ormore)

The Turing test Her (2013)

Karl Stratos CS 533: Natural Language Processing 4/10

Page 5: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Some History

I 1950: Alan Turing proposes the Turing test

I 1954: Georgetown–IBM experiment (rule-based MT)

“Within three or five years, machine translation will be a solved problem”

I 50-90s: focus on rule-based AI systems (e.g., SHRDLU)

I From early 90s: Rise of statistical/data-driven NLP

I IBM: statistical MT and speech recognition

“Every time I fire a linguist, the performance of the speech

recognizer goes up” -Fred Jelinek

I UPenn/AT&T: statistical techniques for tagging and parsing

I 2011: IBM Watson wins Jeopardy! against human champions

I From early 2010s: Rise of deep learning for NLP

I “Human-level” MT: The Great A.I. Awakening (NYT, 2016)I “Human-level” conversation”: Google Duplex (2018)

Karl Stratos CS 533: Natural Language Processing 5/10

Page 6: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Reality

“Hey Siri, tell my wife I love her”

Karl Stratos CS 533: Natural Language Processing 6/10

Page 7: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Why NLP is Hard: Ambiguity

Actual headline in Guardian (1982)

“British Left Waffles on Falklands”

I Syntactic ambiguity

British Left Waffles on Falklands British Left Waffles on Falklands

I Lexical ambiguity: Every single word

I Semantic ambiguity

Karl Stratos CS 533: Natural Language Processing 7/10

Page 8: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Why NLP is Hard: Nonsmoothness

A single word can completely change the meaning

Karl Stratos CS 533: Natural Language Processing 8/10

Page 9: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Why NLP is Hard: World Knolwedge

Winograd (1972)

I The city councilmen refused the demonstrators a permitbecause they feared violence.

I The city councilmen refused the demonstrators a permitbecause they advocated violence.

Karl Stratos CS 533: Natural Language Processing 9/10

Page 10: CS 533: Natural Language Processing - Introductionkarlstratos.com/.../cs533spring20/slides/introduction.pdf · 2020-01-22 · Short-Term Goals Make machines understand human language

Course Topics

I Language modeling

n-gram models, log-linear models, neural language models(feedforward, recurrent)

I Conditional language modeling

Attention-based models, translation, summarization

I Text classification

Naive Bayes classifier

I Structured prediction

Hidden Markov models, probabilistic context-free grammars

I Unsupervised learning

Expectation maximization algorithm, variational autoencoders

I Special topics on various applications

Information extraction, question answering, dialogue,grounding

(Subject to change)

Karl Stratos CS 533: Natural Language Processing 10/10