Semantic Goal-Oriented Communication

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

description

Semantic Goal-Oriented Communication. Madhu Sudan Microsoft Research + MIT. Joint with Oded Goldreich ( Weizmann ) and Brendan Juba ( MIT ). TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A. Disclaimer. Work in progress (for ever) … - PowerPoint PPT Presentation

Transcript of Semantic Goal-Oriented Communication

Page 1: Semantic Goal-Oriented Communication

of 32October 14, 2010 Semantic Communication @ Waterloo 1

Semantic Goal-Oriented Communication

Madhu SudanMicrosoft Research + MIT

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

Page 2: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 2 of 32

Disclaimer

Work in progress (for ever) …

Comments/Criticisms welcome.

October 14, 2010

Page 3: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 3 of 32October 14, 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: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo of 32

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 14, 2010 4

Page 5: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 5 of 32

Modelling Miscommunication

Classical Shannon Model

October 14, 2010

A B Channel

B2

Ak

A3

A2

A1 B1

B3

Bj

Semantic Communication Model

Page 6: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 6 of 32

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. Is there a specific Goal to all communication? Are there many possible Goals? Goal specifies problem, but what is a solution?

October 14, 2010

Page 7: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 7 of 32

Examples of Goals

In future slides:

User communicates/interacts with Server.

Will try to look at User’s goal.

October 14, 2010

Page 8: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 8 of 32

Communication: Example 1 (Printing)

October 14, 2010

Page 9: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 9 of 32

Communication: Ex. 2 (Computation)

October 14, 2010

X f(X)

Page 10: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 10 of 32

Communication: Ex. 3 (Web search)

October 14, 2010

Q(WWW(P)) = ?

WWWQ

Q

P

Page 11: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 11 of 32

Communication: Ex. 4 (Intelligence?)

October 14, 2010

Yes

No

Page 12: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 12 of 32

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 14, 2010

Page 13: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 13 of 32

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 14, 2010

Page 14: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 14 of 32

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 14, 2010

User

User : £ § k ! £ ¡ `

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

Page 15: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 15 of 32

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 14, 2010

User Server XXX

Page 16: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 16 of 32

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 14, 2010

User Server

Referee/Environment

Page 17: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 17 of 32

Generic Goals

Pure Control

Pure Informational

October 14, 2010

User Server

Referee/Environment

User Server

Referee/Environment

Page 18: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 18 of 32

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 14, 2010

Page 19: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 19 of 32

Implications of “Universality”

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

to some “common 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? Our Answer: No. Compatible goals suffice.

October 14, 2010

Page 20: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 20 of 32

Concrete Example: Computation

October 14, 2010

Page 21: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 21 of 32

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 14, 2010

Page 22: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 22 of 32

qk

October 14, 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: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 23 of 32October 14, 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: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 24 of 32October 14, 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? Paranoid view ) output “f(x)” or “?” Benign view ) Don’t care (everyone is helpful)

Page 25: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 25 of 32October 14, 2010

Main Theorems [Juba & S. ‘08]

If f is PSPACE-complete, then there exists a f-universal user who runs in probabilistic polynomial time. Extends to checkable (“compIP”) problems

(NP Å co-NP, breaking cryptosystems) 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: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 26 of 32

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 14, 2010

Page 27: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 27 of 32

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 14, 2010

Page 28: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 28 of 32

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 14, 2010

Page 29: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 29 of 32

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 14, 2010

Page 30: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 30 of 32

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 14, 2010

Page 31: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 31 of 32

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 14, 2010

Page 32: Semantic Goal-Oriented Communication

Semantic Communication @ Waterloo 32 of 32

Thank You!

October 14, 2010