of 33 march 1, 2011 semantic communication @ ucla1 universal semantic communication madhu sudan...

33
of 33 March 1, 2011 Semantic Communication @ UCLA 1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann) and Brendan Juba (MIT).

Upload: dayna-leonard

Post on 23-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

of 33March 1, 2011 Semantic Communication @ UCLA 1

Universal Semantic Communication

Madhu SudanMicrosoft Research + MIT

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

Page 2: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 2 of 33March 1, 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?

Channel Alice Bob 01001011 01001011

Bob Freeze!

Page 3: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 3 of 33

Part I: Context/Motivation

March 1, 2011

Page 4: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 4 of 33

What? Why?

Example 1: I have a presentation that used to work well on my last laptop.

I transferred the file to my new laptop and it looks like this.

… but the bits are intact!

March 1, 2011

Page 5: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 5 of 33

What? Why?

Example 2: I would like to print some document on some printer. You can do it. I have same permissions as you. But I don’t have the printer installed.

I have the information … I don’t know how to translate to printer’s language.

March 1, 2011

Page 6: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

of 33March 1, 2011 Semantic Communication @ UCLA 6

Motivation: Better Computing

Computers are constantly communicating.

Networked computers use common languages: Interaction between computers (getting your computer

onto internet). Interaction between pieces of software. Interaction between software, data and devices.

Getting two computing environments to “talk” to each other is getting problematic: time consuming, unreliable, insecure.

Can we communicate more like humans do?

Page 7: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

of 33March 1, 2011 Semantic Communication @ UCLA 7

Classical Paradigm for interaction

Object 1 Object 2

Designer

Page 8: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

of 33March 1, 2011 Semantic Communication @ UCLA 8

Object 2Object 2Object 2

New paradigm

Object 1

Designer

Page 9: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 9 of 33March 1, 2011

Bits vs. their meaning Say, Alice and Bob know different programming

languages. Alice wishes to send an algorithm A to Bob. A = sequence of bits … (relative to prog. language)

Bad News: Can’t be done For every Bob, there exist algorithms A and A’, and

Alices, Alice and Alice’, such that Alice sending A is indistinguishable (to Bob) from Alice’ sending A’

Good News: Need not be done. From Bob’s perspective, if A and A’ are indistinguishable,

then they are equally useful to him.

What should be communicated? Why?

Page 10: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 10 of 33March 1, 2011

Aside: Why communicate? Classical “Theory of Computing”

Issues: Time/Space on DFA? Turing machines? Modern theory:

Issues: Reliability, Security, Privacy, Agreement? If communication is so problematic, then why not

“Not do it”?

F X F(X)

Alice

Bob Charlie

Dick

Alice

Bob Charlie

Dick

Page 11: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 11 of 33March 1, 2011

Communicating is painful. There must be some compensating gain.

What is Bob’s Goal? “Control”: Wants to alter the state of the

environment. “Intellectual”: Wants to glean knowledge

(about universe/environment).

Claim: By studying the goals, can enable Bob to overcome linguistic differences (and achieve goal).

Motivations for Communication

Page 12: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 12 of 33

Part II: Computational Motivation

March 1, 2011

Page 13: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 13 of 33

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?

March 1, 2011

Page 14: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 14 of 33

qk

March 1, 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 15: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 15 of 33March 1, 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 16: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 16 of 33March 1, 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 17: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 17 of 33March 1, 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 18: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 18 of 33

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?

March 1, 2011

Page 19: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 19 of 33

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.

March 1, 2011

Few words about the proof: Positive result

Server

Prover

UserInterpreter

Page 20: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 20 of 33March 1, 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 21: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 21 of 33

Principal Criticisms

Solution is no good. Enumerating interpreters is too slow.

Approach distinguishes right/wrong; does not solve search problem.

Search problem needs new definitions to allow better efficiency.

Can find better definitions [Juba+S, ICS‘11] Problem is not the right one.

Computation is not the goal of communication. Who wants to talk to a PSPACE-complete server?

March 1, 2011

Next part of talk

Page 22: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 22 of 33March 1, 2011

Part III: Generic Goals

Page 23: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 23 of 33

Generic Communication [Goldreich, J., S.]

Still has goals. Goals more diverse. Should be studied; defined formally.

Major types: Control, e.g.

Laptop wants to print on printer. Buy something on Amazon.

Sensing/Informational: Computing some (hard) function. Learning/Teaching. Coming to this talk.

Mix of the two.

March 1, 2011

Page 24: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 24 of 33

Universal Semantics in Generic Setting?

Can we still achieve goal without knowing common language? Seems feasible …

If user can detect whether goal is being achieved (or progress is being made).

Just need to define Sensing Progress? Helpful + Universal? … Goal? User?

March 1, 2011

Page 25: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 25 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.

March 1, 2011

User

User : £ § k ! £ ¡ `

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

Page 26: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 26 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?

March 1, 2011

User Server XXX

Page 27: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 27 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. Results generalize, assuming “sensing”

March 1, 2011

User Server

Referee/Environment

Page 28: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 28 of 33

Language Learning

Meaning = end effect of communication. [Dewey 1920s, Wittgenstein 1950s]

What would make learning more efficient? What assumptions about “language”? How to do encapsulate it as “class” restrictions

on users/servers. What learning procedures are efficient?

Time to get back to meaningful conversation!

March 1, 2011

Page 29: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 29 of 33March 1, 2011

Part IV: Some recent works

Page 30: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 30 of 33

Efficient Learning & Compatible Beliefs

Generically: Efficient learning of server not possible. E.g., Password protected server.

However, if: Server is “broad-minded” User & Server’s beliefs about each other are

“compatible” Then efficient learning is possible.

[Juba+S., ICS ‘11]: Provide definitions of broad-minded,

compatible, prove efficiency.

March 1, 2011

Page 31: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 31 of 33

Compression in natural settings

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:

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

March 1, 2011

Page 32: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 32 of 33

Conclusion: A new model

Classical Shannon Model

March 1, 2011

A B Channel

B2

Ak

A3

A2

A1 B1

B3

Bj

Semantic Communication Model

New Class of ProblemsNew challenges

Needs more attention!

Page 33: Of 33 March 1, 2011 Semantic Communication @ UCLA1 Universal Semantic Communication Madhu Sudan Microsoft Research + MIT Joint with Oded Goldreich (Weizmann)

Semantic Communication @ UCLA 33 of 33

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

March 1, 2011

Thank You!