Verifying remote computations using PCPs Srinath Setty, Andrew - - PowerPoint PPT Presentation

verifying remote computations using pcps
SMART_READER_LITE
LIVE PREVIEW

Verifying remote computations using PCPs Srinath Setty, Andrew - - PowerPoint PPT Presentation

Verifying remote computations using PCPs Srinath Setty, Andrew Blumberg, and Michael Walfish UT Austin Can we build this? Computation F(x) Server Client y output Can we build this? Computation F(x) Server Client y output Check


slide-1
SLIDE 1

Verifying remote computations using PCPs

Srinath Setty, Andrew Blumberg, and Michael Walfish UT Austin

slide-2
SLIDE 2

Can we build this?

Client

F(x) y

Computation

  • utput

Server

slide-3
SLIDE 3

Can we build this?

Client

F(x) y

Computation

  • utput

Server

  • Check if y equals F(x) without re-executing
slide-4
SLIDE 4

Can we build this?

Client

F(x) y

Computation

  • utput

Server

  • Check if y equals F(x) without re-executing
  • Unconditional: no assumptions
slide-5
SLIDE 5

Why should we build this?

  • Offloading computations to the cloud
  • Outsourcing computations to volunteer

machines (Enigma@home, Einstein@home, ...)

slide-6
SLIDE 6

How can we solve this problem in principle?

  • Probabilistically checkable proofs (PCPs)

and argument systems [Arora et al. JACM, 1998]

slide-7
SLIDE 7

How can we solve this problem in principle?

  • Probabilistically checkable proofs (PCPs)

and argument systems [Arora et al. JACM, 1998]

  • PCP theorem: server proves that y = F(x)

and client validates without re-executing

slide-8
SLIDE 8

We have a conflict

  • PCPs are mind-blowing
slide-9
SLIDE 9

We have a conflict

  • PCPs are mind-blowing
  • But the costs are also mind-blowing
slide-10
SLIDE 10

We have a conflict

  • PCPs are mind-blowing
  • But the costs are also mind-blowing
  • For polynomial evaluation (700

variables), the server takes 105 years!

slide-11
SLIDE 11

We have a conflict

  • PCPs are mind-blowing
  • But the costs are also mind-blowing
  • For polynomial evaluation (700

variables), the server takes 105 years!

  • Our research program: try to make PCPs

practical

slide-12
SLIDE 12

Rest of this talk:

  • Overview of PCPs
  • Our refinements
slide-13
SLIDE 13

PCPs from 200,000 feet

Server Client

Boolean circuit F(x) F(x) y

slide-14
SLIDE 14

PCPs from 200,000 feet

Server Client Proof

Boolean circuit F(x) F(x) y

slide-15
SLIDE 15

PCPs from 200,000 feet

Server Client Proof Proof

Boolean circuit F(x) F(x) y

slide-16
SLIDE 16

PCPs from 200,000 feet

Server Client Proof

Random locations

Proof

Boolean circuit F(x) F(x) y

slide-17
SLIDE 17

PCPs from 200,000 feet

Server Client Proof Proof

Random locations Chosen values

Proof

Boolean circuit F(x) F(x) y

slide-18
SLIDE 18

PCPs from 200,000 feet

Server Client Proof Proof

Accept/ Reject Random locations

Tests

Chosen values

Proof

Boolean circuit F(x) F(x) y

slide-19
SLIDE 19

Our attempt to make PCPs practical

  • Build on the work that introduces

interaction [Kilian CRYPTO’95, Ishai et al. CC’07]

  • Use a higher-level abstraction to

represent computations

  • Reduces cost by 8 orders of magnitude
  • Apply a divide-and-conquer technique
  • Reduces cost by 2 orders of magnitude
slide-20
SLIDE 20

We build on an interactive variant of PCPs

  • The server proof is a generating function
  • The server responds to queries by

evaluating the function

  • The client binds the server to its function

using cryptographic commitment

[Ishai et al. CC’07]

slide-21
SLIDE 21

Can we use a higher- level abstraction?

  • Use arithmetic circuits instead of Boolean

circuits

  • Savings:
  • 8 orders of magnitude at the server
  • 4 orders of magnitude at the client
slide-22
SLIDE 22

Can we apply a divide- and-conquer strategy?

  • Decompose the computation into

parallel pieces

  • The client batch-verifies the computation
  • Saves two orders of magnitude in costs
slide-23
SLIDE 23

Examples that we implemented

  • Polynomial evaluation
  • Matrix multiplication
  • Fast Fourier Transform (FFT)
  • Image filtering with convolution matrices
slide-24
SLIDE 24

Example savings

For polynomial evaluation with 700 variables (Local execution time: 164 msec)

interactive baseline post- refinements Server’s work 130,000 years 11.5 hours Client’s work 940 sec 94 msec

The scheme is near-practical

slide-25
SLIDE 25

Summary

  • Our refinements reduce costs by over 10
  • rders of magnitude
  • More refinements are required to make the

scheme fully practical

  • Upshot: PCP-based verified computation

can be a systems problem