of 29 may 2, 2011 semantic communication @ northwestern1 universal semantic communication madhu...

29
of 29 May 2, 2011 Semantic Communication @ Northwestern 1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann) and Brendan Juba (MIT).

Upload: tabitha-bennett

Post on 16-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

of 29May 2, 2011 Semantic Communication @ Northwestern 1

Universal Semantic Communication

Madhu SudanMicrosoft Research

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

Page 2: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 2 of 29May 2, 2011

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?

Question important theoretically, and in practice of computing/communication.

Channel Alice Bob 01001011 01001011

Bob Freeze!

Page 3: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 3 of 29

This talk

Meaning of information: Meaning via Goal-oriented communication

Example: Computational Goal Going Beyond Example

General Goals Efficiency via compatible beliefs Semantics in general

May 2, 2011

Page 4: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 4 of 29

Meaning? A first attempt

Sender is sending instructions/algorithms Can we understand/execute it?

Answer: NO! Under sufficient richness of language (any

finite length string means anything), can never achieve this state.

So what should we try to achieve?

May 2, 2011

Page 5: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 5 of 29

Communications as a means to an end

Communication is painful: Unreliability of communication medium,

misunderstanding, loss of privacy, secrecy. So why do it?

Must be some compensating gain.

Communication should strive to achieve some goal.

“Understanding Meaning” is when we can achieve the goal in the absence of common language.

May 2, 2011

Page 6: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 6 of 29

Part II: Computational Motivation

May 2, 2011

Page 7: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 7 of 29

Computational Goal for Bob

Why does Bob want to learn algorithm? Presumably to compute some function f

(A is expected to compute this function.) Lets focus on the function f.

Setting: Bob is prob. poly time bounded. Alice is computationally unbounded, does not

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

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

May 2, 2011

Page 8: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 8 of 29

qk

May 2, 2011

Setup

Bob Alice 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 9: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 9 of 29May 2, 2011

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 (for f) if 9 some (other) user U’ s.t. 8 x, starting states ¾ of the server (U’(x) $ S(¾)) outputs f(x)

Page 10: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 10 of 29May 2, 2011

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 11: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 11 of 29May 2, 2011

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 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. Scope of computation by communication is

limited by misunderstanding (alone).

Page 12: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 12 of 29

Implications

No universal communication protocol If there 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?

May 2, 2011

Page 13: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 13 of 29

Positive result: Enumeration + Interactive Proofs Guess: Interpreter; b 2 {0,1} (value of f(x))

Proof works ) f(x) = b. If it doesn’t ) {Interpreter or b} incorrect.

May 2, 2011

Few words about the proof: Positive result

Server

Prover

UserInterpreter

Page 14: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 14 of 29May 2, 2011

Proof of Negative Result

L not in PSPACE ) User makes mistakes. Suppose Server answers every question so as

to minimize the conversation length. (Reasonable effect of misunderstanding).

Conversation comes to end quickly. User has to decide. Conversation + Decision simulatable in PSPACE

(since Server’s strategy can be computed in PSPACE).

f is not PSPACE-computable ) User wrong. Warning: Only leads to finitely many mistakes.

Page 15: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 15 of 29

Part III: Beyond ExampleIII.1 General Goals

May 2, 2011

Page 16: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 16 of 29

General Goals

Limitations of example: Gain is computational Gain possible only if Server more powerful than

User (asymmetric).

Communication (presumably) serves many other goals What are they? Can we capture them all in single definition? Usual definitions (via transcript of interaction)

inadequate in “semantic” setting.

May 2, 2011

Page 17: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 17 of 29

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.

May 2, 2011

User

User : £ § k ! £ ¡ `

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

Page 18: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 18 of 29

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?

May 2, 2011

User Server XXX

Page 19: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 19 of 29

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.

May 2, 2011

User Server

Referee/Environment

Page 20: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 20 of 29

Results in “General Setting”

New concept: “Sensing” Ability of User to predict Referee’s verdict.

Computational example shows this can be achieved in non-trivial ways.

Relatively straightforward generalization of computational example: Sensing (is necessary and) sufficient for

achieving goals in semantic setting.

May 2, 2011

Page 21: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 21 of 29

Part III: Beyond ExampleIII.2: Efficient Learning?

May 2, 2011

Page 22: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 22 of 29

The Enumeration Bottleneck

Enumeration of users seems inefficient, can we get around it? Formally, in k time, User can only explore O(k)

other users. Bad News:

Provable bottleneck: Server could use passwords (of length log k).

Good News: Can formalize this as only bottleneck …

using “Beliefs, Compatibility”

May 2, 2011

Page 23: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Waterloo 23 of 29

Broadmindedness, Compatible beliefs:

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

# such users may be exponential 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 24: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 24 of 29

Part III: Beyond ExampleIII.3: Semantics?

May 2, 2011

Page 25: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 25 of 29

Semantic Communication

Origins: The Gap between Turing and Shannon Turing counts on reliable communication Shannon counts on general computation Separating theories was essential to initial

progress.

Modern technology: Communication & Computation deeply

intertwined. Unreasonable to separate the two. Semantic Communication: Prime example

May 2, 2011

Page 26: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 26 of 29

A new model

Classical Shannon Model

May 2, 2011

A B Channel

B2

Ak

A3

A2

A1 B1

B3

Bj

Semantic Communication Model

New Class of ProblemsNew challenges

Needs more attention!

Page 27: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 27 of 29

Compression in semantic setting

Human-Human communication: Robust, ambiguous, redundant.

Explored in [Juba,Kalai,Khanna,S. ICS ‘11] Thesis: Reason is diversity of audiences/their

priors. Leads to compression for “uncertain” priors. Reveals same phenomena as natural languages:

Novel redundancy (increases with uncertainty), still ambiguous, but robust.

May 2, 2011

Page 28: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 28 of 29

References

Juba & S. ECCC TR07-084: http://eccc.uni-trier.de/report/2007/084/

Goldreich, Juba & S. ECCC TR09-075: http://eccc.uni-trier.de/report/2009/075/

Juba & S. ICS ‘11: http://people.csail.mit.edu/madhu/papers/beliefs.pdf

Juba, Kalai, Khanna & S. ICS ‘11: http://people.csail.mit.edu/madhu/papers/ambiguity.pdf

May 2, 2011

Page 29: Of 29 May 2, 2011 Semantic Communication @ Northwestern1 Universal Semantic Communication Madhu Sudan Microsoft Research Joint with Oded Goldreich (Weizmann)

Semantic Communication @ Northwestern 29 of 29

Thank You!

May 2, 2011