A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing...

33
OT in General: Robot Ethics OT in Phonology: Final Devoicing A Crash Course in Optimality Theory Jochen Trommer [email protected] University of Leipzig Department of Linguistics Concatenative Approaches to Nonconcatenative Morphology EGG 2008 Jochen Trommer [email protected] A Crash Course in Optimality Theory

Transcript of A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing...

Page 1: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

A Crash Course in Optimality Theory

Jochen [email protected]

University of LeipzigDepartment of Linguistics

Concatenative Approaches toNonconcatenative Morphology

EGG 2008

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 2: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality Theory (in General)

a formalism which allows to choose between alternative options

for a given situation

on the basis of (potentially) contradicting

ranked preferences (constraints)

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 3: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality Theory (Phonology)

An application of this formalism to Phonology

+

Substantial assumptions on possible representations and constraints

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 4: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

OT in General: Robot Ethics

Isaac Asimovs ethical rules for the behaviour of robots(the “three laws of robotics:”)

1. A robot may not injure a human being or, throughinaction, allow a human being to come to harm.

2. A robot must obey the orders given it by humanbeings, except where such orders would conflictwith the First Law.

3. A robot must protect its own existence, as long assuch protection does not conflict with the First orSecond Law.

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 5: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Robot Ethics and Potential Conflicts

1. A robot may not injure a human being or, throughinaction, allow a human being to come to harm.

2. A robot must obey the orders given it by humanbeings, except where such orders wouldconflict with the First Law.

3. A robot must protect its own existence, as long assuch protection does not conflict with the Firstor Second Law.

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 6: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Robot Ethics in OT

Instead of stipulating in single rules

how they interact with other rules

the rules are formulated as completely general constraints

which are ranked among each other

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 7: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Robot Ethics in OT

*INJURE HUMAN : A robot may not injure a human being or,through inaction,allow a human being to come to harm.

OBEY ORDER: A robot must obeythe orders of human beings.

PROTECT EXISTENCE: A robot must protect its own existence.

Ranking:

*INJURE HUMAN: � OBEY ORDER � PROTECT EXISTENCE

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 8: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Story A:

Human says to Robot: Kill my wife!

1. R kills H’s wife2. R kills H (who gave him the order)3. R doesn’t kill anyone4. R kills himself

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 9: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Evaluating Possible Outcomes

1. Setting up a tableau

2. Assigning violation marks

3. Eliminating suboptimal candidates

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 10: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Step 1: Setting up a Tableau for Story A

Input: H says to R: Kill my wife!*INJURE OBEY PROTECT

HUMAN ORDER EXISTENCE

R kills H’s wifeR kills HR doesn’t kill anyoneR kills himself

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 11: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Step 2: Assigning Violation Marks for Story A

Input: H says to R: Kill my wife!*INJURE OBEY PROTECT

HUMAN ORDER EXISTENCE

R kills H’s wife *R kills H * *R doesn’t kill anyone *R kills himself * *

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 12: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Step 3: Eliminating Suboptimal Candidates for Story A

Input: H says to R: Kill my wife!*INJURE OBEY PROTECT

HUMAN ORDER EXISTENCE

R kills H’s wife *!R kills H *! *

+ R doesn’t kill anyone *R kills himself * *!

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 13: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality Theory: Evaluation of Tableaus

for the constraints x ∈ 1 . . . n

I remove all candidats from the candidate set, which aresuboptimal for constraint x

until there is only 1 candidate left

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 14: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality Theory: Evaluation of Tableaus

I Remove all candidates from the candidate set which aresuboptimal for constraint 1If there is only 1 candidate left: Stop!

I Remove all candidates from the candidate set which aresuboptimal for constraint 2If there is only 1 candidate left: Stop!

I Remove all candidates from the candidate set which aresuboptimal for constraint 3If there is only 1 candidate left: Stop!

I . . .

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 15: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Step 3: Eliminating Suboptimal Candidates for Story A

Input: H says to R: Kill my wife!*INJURE OBEY PROTECT

HUMAN ORDER EXISTENCE

R kills H’s wife *!R kills H *! *

+ R doesn’t kill anyone *R kills himself * *!

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 16: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality Theory: Symbols

* Star Constraint Violation

! Exclamation Mark (after star) Fatal Constraint Violation

+ Pointing Hand Optimal candidate

Shading Irrelevant Tableau Cells

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 17: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Step 3: Eliminating Suboptimal Candidates for Story A

Input: H says to R: Kill my wife!*INJURE OBEY PROTECT

HUMAN ORDER EXISTENCE

R kills H’s wife *!R kills H *! *

+ R doesn’t kill anyone *R kills himself * *!

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 18: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Ranking Matters: A Different Ranking for Story A

Input: H says to R: Kill my wife!OBEY *INJURE PROTECT

HUMAN ORDER EXISTENCE

+ R kills H’s wife *R kills H *! *R doesn’t kill anyone *!R kills himself *! *

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 19: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Input Matters: Story B

Input: H says to Robot: Kill my wife or I kill her!*INJURE OBEY PROTECT

HUMAN ORDER EXISTENCE

+ R kills H’s wife *R kills H * *!R doesn’t kill anyone * *!R kills himself * *! *

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 20: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality Theory in Phonology

Inputs: Phonological representations from Lexicon + Morphology

Outputs: Modified phonological forms

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 21: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Final devoicing in German

Rat [öa:t] ‘advice’ Rat+es [öa:t+@s] ‘advice (gen.)’

Stück [Styk] ‘piece’ Stück+es [Styk+@s] ‘piece’ (gen.)

Rad [öa:t] ‘wheel’ Rades [öa:d+@s] ‘wheel’ (gen.)

Tag [ta:k] ‘day’ Tages [ta:g+@s] ‘day’ (gen.)

Voiced stops get voiceless at the end of a word

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 22: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Final devoicing in Rule-based Phonology

[+voiced] Ô [–voiced] / #

/öa:d/ ⇒ /öa:t/

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 23: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Final Devoicing in Optimality Theory

Input: tu:gend+ a. tu:gent

b. du:gentc. tu:gendd. du:gend

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 24: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

The Basic Conflict in Optimality Theory

Markedness Constraints: Make things better!

Treue-Beschränkungen: Don’t change!

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 25: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Constraints

*[+voiced]# Stops at the word endshould not be [+voiced]

IDENT [voiced] Corresponding input and output soundsshould have identical valuesfor the feature [voiced]

Markedness

Faithfulness

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 26: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

The Interpretation of OT-Constraints

In the literature, OT-Constraints are oftenformulated as positive requirements,

but technically every constraint is a functionwhich assigns a specific number of constraint violationsfor a specific input-output pair

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 27: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

*[+voiced]#

Input: tu:gend *[+voiced]#+ a. tu:gent+ b. du:gent

c. tu:gend *!d. du:gend *!

*[+voiced]# Stops at the word endshould not be [+voiced]Count 1 constraint violationfor every voiced stop at the end of a word

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 28: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

IDENT [voiced]

Input: tu:gend IDENT [voiced]a. tu:gent *!b. du:gent *!*

+ c. tu:gendd. du:gend *!

IDENT [voiced] Corresponding input and output soundsshould have identical valuesfor the feature [voiced]Count 1 constraint violation for every output soundwhich has a different value of [voiced]with respect to the corresponding input sound

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 29: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Final Devoicing in Optimality Theory: Ranking

Input: tu:gend *[+voiced]# IDENT [voiced]+ a. tu:gent *

b. du:gent **!c. tu:gend *!d. du:gend *! *

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 30: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Final Devoicing in Optimality Theory: Ranking

Input: tu:gend *[+voiced]# IDENT [voiced]+ a. tu:gent *

b. du:gent **!c. tu:gend *!d. du:gend *! *

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 31: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Optimality-theoretic Constraints . . .

I are universal (innate?)

I phonetically grounded

I freely rankable

Different rankings resultin the grammars of different languages

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 32: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Final devoicing . . .

I is attested in many unrelated languages

I doesn’t have to be learned (Stampe, 1973)

I occurs also in the acquisition of languages without finaldevoicing (Smith, 1973)

Jochen Trommer [email protected] A Crash Course in Optimality Theory

Page 33: A Crash Course in Optimality TheoryOT in General: Robot Ethics OT in Phonology: Final Devoicing Robot Ethics and Potential Conflicts 1. A robot may not injure a human being or, through

OT in General: Robot Ethics OT in Phonology: Final Devoicing

Ranking for Languages without Final devoicing

Input: tu:gend IDENT [voiced] *[+voiced]#a. tu:gent *!b. du:gent *!*

+ c. tu:gend *d. du:gend *! *

Jochen Trommer [email protected] A Crash Course in Optimality Theory