of 32 october 19, 2010semantic communication @ u.penn. 1 semantic goal-oriented communication madhu...

33
of 32 October 19, 2010 Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann) and Brendan Juba (MIT).

Upload: eustacia-campbell

Post on 18-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

of 32October 19, 2010 Semantic Communication @ U.Penn. 1

Semantic Goal-Oriented Communication

Madhu SudanMicrosoft Research + MIT

Joint with Oded Goldreich (Weizmann) and Brendan Juba (MIT).

Page 2: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 2 of 33

Disclaimer

Work in progress (for ever) …

Comments/Criticisms welcome.

October 19, 2010

Page 3: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 3 of 33October 19, 2010

The Meaning of Bits

Is this perfect communication?

What if Alice is trying to send instructions? Aka, an algorithm Does Bob understand the correct algorithm? What if Alice and Bob speak in different (programming)

languages?

Channel Alice Bob 01001011 01001011

Bob Freeze!

Page 4: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. of 33

Miscommunication (in practice)

Exchanging (powerpoint) slides. Don’t render identically on different laptops.

Printing on new printer. User needs to “learn” the new printer, even

though printer is quite “intelligent”. Many such examples …

In all cases, sending bits is insufficient. Notion of meaning … intuitively clear. But can it be formalized?

Specifically? Generically? While conforming to our intuition

October 19, 2010 4

Page 5: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 5 of 33

Modelling Miscommunication

Classical Shannon Model

October 19, 2010

A B Channel

B2

Ak

A3

A2

A1 B1

B3

Bj

Semantic Communication Model

Page 6: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 6 of 33

Basic issues

Source of Miscommunication: Ai doesn’t know j Bj doesn’t know i

But what do they wish to achieve? Distinguish Bj from Bk?

What if they are indistinguishable? Thesis: Communication ought to have Goal!!!

Alice/Bob should strive to achieve Goal. What is the Goal of communication? (or what

are the Goals?) Goal specifies problem, but what is a solution?

October 19, 2010

Page 7: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 7 of 33

Examples of Goals

In future slides:

User communicates/interacts with Server.

Will try to look at User’s goal.

October 19, 2010

Page 8: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 8 of 33

Communication: Example 1 (Printing)

October 19, 2010

Page 9: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 9 of 33

Communication: Ex. 2 (Computation)

October 19, 2010

X f(X)

Page 10: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 10 of 33

Communication: Ex. 3 (Web search)

October 19, 2010

Q(WWW(P)) = ?

WWWQ

Q

P

Page 11: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 11 of 33

Communication: Ex. 4 (Intelligence?)

October 19, 2010

Yes

No

Page 12: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 12 of 33

Classically: Turing Machine/(von Neumann) RAM. Described most computers being built?

Modern computers: more into communication than computing. What is the mathematical model of a communicating

computer? Why do they communicate? What are all the “communication problems”? What is universality?

Aside: Modelling Computing

October 19, 2010

Page 13: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 13 of 33

Theory? or Practice?

Problems: Motivated by practice.

But to address them: Need a deeper theory. One that understands misunderstanding. In the limit … should be able to learn

languages, assign meaning etc. – to achieve goals (of communication).

Ad-hoc solutions unacceptable.

This talk: A starting point for the theory.

October 19, 2010

Page 14: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 14 of 33

Modelling User/Interacting agents

(standard AI model)

User has state and input/output wires. Defined by the map from current state and

input signals to new state and output signals.

October 19, 2010

User

User : £ § k ! £ ¡ `

= (C ountably in¯ nite) state space§ = (C ountable) input alphabet¡ = (C ountable) output alphabet

Page 15: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 15 of 33

Generic Goal?

Goal = function of ? User? – But user wishes to change actions to

achieve universality! Server? – But server also may change

behaviour to be helpful! Transcript of interaction? – How do we account

for the many different languages?

October 19, 2010

User Server XXX

Page 16: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 16 of 33

Generic Goals

Key Idea: Introduce 3rd entity: Referee Poses tasks to user. Judges success.

Generic Goal specified by Referee (just another agent) Boolean Function determining if the state

evolution of the referee reflects successful achievement of goal.

Class of users/servers.

October 19, 2010

User Server

Referee/Environment

Page 17: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 17 of 33

Referee for Computation (Ex. 2)

October 19, 2010

X

Y=f(X)?Referee/Environment

Y

Page 18: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 18 of 33

Broad subclasses of Goals

Pure Control

Pure Informational

October 19, 2010

User Server

Referee/Environment

User Server

Referee/Environment

Page 19: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 19 of 33

Sensing & Universality

To achieve goal: Server should be “helpful” User should be able to “sense progress”.

I.e., user should be compute a function that mimics referee’s verdict.

General positive result [GJS ’09]: Generic goals (with appropriate definitions)

universally achievable if 9 sensing function. General negative result [GJS ’09]:

Sensing is necessary (in sufficiently general classes of users/servers).

October 19, 2010

Page 20: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 20 of 33

Concrete Example: Computation

October 19, 2010

Page 21: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 21 of 33

Computational Goal for User

User wants to compute function f on input x.

Setting: User is prob. poly time bounded. Server is computationally unbounded, does not

speak same language as User, but is “helpful”. What kind of functions f?

E.g., uncomputable, PSPACE, NP, P?

October 19, 2010

Page 22: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 22 of 33

qk

October 19, 2010

Setup

ServerUser

f(x) = 0/1?

R Ã $$$q1

a1

ak

Computes P(x,R,a1,…,ak)

Hopefully P(x,…) = f(x)!

Different from interactions in cryptography/security:

There, User does not trust Server, while here he does not understand her.

Page 23: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 23 of 33October 19, 2010

Intelligence & Cooperation?

For User to have a non-trivial interaction, Server must be: Intelligent: Capable of computing f(x). Cooperative: Must communicate this to User.

Formally: Server S is helpful if 9 some (other) user U’ s.t. 8 x, starting states ¾ of the server (U’(x) $ S(¾)) outputs f(x)

Page 24: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 24 of 33October 19, 2010

Successful universal communication

Universality: Universal User U should be able to talk to any (every) helpful server S to compute f.

Formally: U is f-universal, if

8 helpful S, 8 ¾, 8 x(U(x) $ S(¾)) = f(x) (w.h.p.)

What happens if S is not helpful? Benign view ) Don’t care (everyone is helpful)

Page 25: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 25 of 33October 19, 2010

Main Theorems [Juba & S. ‘08]

If f is in PSPACE, then there exists a f-universal user who runs in probabilistic polynomial time. If we require server to only solve f, then hold

for every checkable (“compIP”) problem. Still includes NP Å co-NP, breaking crypto

S not helpful ) output is safe

Conversely, if there exists a f-universal user, then f is PSPACE-computable (in “compIP”) Scope of computation by communication is

limited by misunderstanding (alone).

Page 26: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 26 of 33

Proofs?

Positive result: f Є PSPACE ) membership is verifiable. User can make hypothesis about what the

Server is saying, and use membership proof to be convinced answer is right, or hypothesis is wrong. Enumerate, till hypothesis is right.

Negative result: In the absence of proofs, sufficiently rich class

of users allow arbitrary initial behavior, including erroneous ones.

(Only leads to finitely many errors …)

October 19, 2010

Page 27: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 27 of 33

Implications

Communication is not unboundedly helpful If it were, should have been able to solve every

problem (not just (PSPACE) computable ones). But there is gain in communication:

Can solve more complex problems than on one’s own, but not every such problem.

Resolving misunderstanding? Learning Language? Formally No! No such guarantee. Functionally Yes! If not, how can user solve

such hard problems?

October 19, 2010

Page 28: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 28 of 33

Implications for Language Learning

Standard question in linguistics, cognition … What is a precondition for two entities to come

to some “common understanding/language”? Standard answers:

Humans seem to need little commonality (a child can learn any language)

But humans share enormous common physical needs and have large common genetic code?

Is all this necessary? “POS debate” Our Answer: No. Compatible goals suffice.

October 19, 2010

Page 29: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 29 of 33

Implications for Language Learning

Well-explored theme in “linguistics” Semantics learned by functional relevance. But how does one have “common” grounding?

Is this a purely a function of having common physical environment + needs?

Is there a purely intellectual basis for common grounding?

Our answer: YES!

October 19, 2010

Page 30: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 30 of 33

Towards Efficiency

Learning of language is not efficient User takes at least k steps to enumerate k

possible servers (k possible languages). Can this be made faster?

Answers: No! Not without assumptions on language … Yes! If server and user are “broadminded”, and

have “compatible beliefs” [JS ‘10]

October 19, 2010

Page 31: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 31 of 33

Broadmindedness, Compatible beliefs:

Beliefs of server S: Expects users chosen from distribution X. Allows “typical” user to reach goal in time T.

Beliefs of user U: Anticipates some distribution Y on users that

the server is trying to serve. Compatibility: K = (1 - |X – Y|TV) Theorem[JS]: U can achieve goal in time

poly(T/K).

October 19, 2010

Page 32: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 32 of 33

Conclusions

Basis of semantic communucation: Model “miscommunication” Can be done by allowing users/servers to be

variable (members of a set). Such settings seem commonplace, especially in

“natural communication”, but no prior attempts to model them theoretically (in the context of information transmission).

Can also look at the “compression” problem. Unveils phenomena reflective of natural

communication [Juba,Kalai,Khanna,S. ’10]

October 19, 2010

Page 33: Of 32 October 19, 2010Semantic Communication @ U.Penn. 1 Semantic Goal-Oriented Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich

Semantic Communication @ U.Penn. 33 of 33

Thank You!

October 19, 2010