Académique Documents
Professionnel Documents
Culture Documents
Admin
Problem Set 0 is due tomorrow at 5pm
Problem Set 1 will be out tomorrow a
little harder than Problem Set 0 and more
representative of what to expect
the Turing machine problem is tricky!
Noam Chomsky
Markov chains
w
Transition matrix
P(wi+1|wi)
Markov chains
Chomsky's work in linguistics imply
concomitant understandings of aspects of
mental processing and human nature. His
theory of a universal grammar was seen by
many as a direct challenge to the
established behaviorist theories of the
external environment. The link between
human innate aptitude to language and mind
are innate. The acquisition and
development of innate propensities
triggered by the experiential input of the
time and in later discussions, we are
still far from understanding the genetic
setup of humans and aptitude to language
have been suggested at that time and had
major consequences for understanding how
language is learned by children.
A. A. Markov
Language
a set (finite or infinite) of sentences, each finite in
length and constructed out of a finite set of elements
1
0
all sequences
Grammatical
meaningful
(1) Colorless green ideas sleep furiously.
(2) Furiously sleep ideas green colorless.
probable*
Grammar
a device that generates all of the grammatical
sequences of L and none of the ungrammatical ones
A formal system
tokens
initial positions
rules for moving between positions
Syntax
Atomic formulas: proposition symbols
(e.g. P, Q), True and False
Complex formulas built out of simple
formulas via rules
if and are okay, () is okay
if and are okay, () is okay
if and are okay, () is okay
if and are okay, () is okay
if is okay, is okay
THE
RUNS
FINISH
DOGS
RUN
THE
FINISH
DOGS
THE
RUNS
RUN
THE
RUNS
FINISH
DOGS
THE DOG
RUN
THE
RUNS
FINISH
DOGS
RUN
THE
RUNS
FINISH
DOGS
RUN
S, NP, VP, T, N, V
the, man, ball, hit, took
Starting positions
Formal rules
S
S
NP
VP
T
N
V
NP VP
TN
V NP
the
man, ball,
hit, took,
NP VP
TN
V NP
the
man, ball,
hit, took,
S
NP
T
the
VP
N
man hit
NP
T
the
ball
Context-sensitive languages
rules of the form Z X W Z Y W
e.g. anbncn
Transformational grammar
Phrase structure grammars miss some
structural connections between sentences
e.g. active and passive forms
Hence transformations
e.g. if active form is grammatical, so is passive
O(n) Context-sensitive
O(n3) Transformational
worse
undecidable
Chomskys project
Identifying a formal system that captures the
structure of human language (and thought)
Ignoring the limitations imposed by finite
human memory resources
This project was distinctive in
postulating rich structures involved in cognition
using human data (linguistic intuitions) to rule out
certain kinds of formal systems
also having implications for computer science
Computation
What is the goal of the computation, why is it
appropriate, and what is the logic of the strategy
by which it can be carried out?
constrains
Implementation
How can the representation and algorithm be
realized physically?
Break
Up next:
The Chomsky hierarchy
Machines
Computable
Context sensitive
Context free
Regular
Turing machine
Bounded TM
Push-down automaton
Finite state automaton
Turing machine
( state,read,move,state,write)
rules
state
read/write head
tape
rules
state
read/write head
tape
b
b
Finite state
anbm
s
Pushdown
anbm
anbn
Non-context-free constructions
Cross-serial dependencies
occur in Swiss German and Dutch
in English: respectively
Bob, Jim, and Ted earned $3, $4, and $5 respectively
Humans
Machines
Computable
Context sensitive
Context free
Regular
Turing machine
Bounded TM
Push-down automaton
Finite state automaton
Structured representations
e.g. hierarchical representations, expressing
relationships at multiple levels of abstraction
Structured representations
Driving
Start car
Step on gas
Move leg
Push gas
Turn on ignition
Insert key
in ignition
Turn key
Structured representations
Driving
Cooking
Structured representations
Driving
Cooking
Music and dance
Is any behavior not hierarchically organized?
Structured representations
e.g. hierarchical representations, expressing
relationships at multiple levels of abstraction
Next week
Take a look at Problem Set 1!
its harder, may take longer, plan accordingly