Average Case Lower Bounds for Monotone Switching Networks

Similar documents
Algorithmic Discrete Mathematics 6. Exercise Sheet

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.

Randomized Perfect Bipartite Matching

Network Flows: Introduction & Maximum Flow

Main Reference: Sections in CLRS.

Algorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)

Soviet Rail Network, 1955

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1

The Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

1 Motivation and Basic Definitions

Introduction to Congestion Games

Maximum Flow and Minimum Cut

The Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

Soviet Rail Network, 1955

CS 473G Lecture 15: Max-Flow Algorithms and Applications Fall 2005

Graphs III - Network Flow

Algorithm Design and Analysis

! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges.

Flow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001

Max Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network.

CSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it

Admin MAX FLOW APPLICATIONS. Flow graph/networks. Flow constraints 4/30/13. CS lunch today Grading. in-flow = out-flow for every vertex (except s, t)

Network Flow. Data Structures and Algorithms Andrei Bulatov

CSE 521: Design & Analysis of Algorithms I

Algorithm Design and Analysis

Greedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques

Physics 240: Worksheet 16 Name

u(t) Figure 1. Open loop control system

Notes for Lecture 17-18

18 Extensions of Maximum Flow

4/12/12. Applications of the Maxflow Problem 7.5 Bipartite Matching. Bipartite Matching. Bipartite Matching. Bipartite matching: the flow network

6.8 Laplace Transform: General Formulas

16 Max-Flow Algorithms and Applications

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Matching. Slides designed by Kevin Wayne.

Today: Max Flow Proofs

Reminder: Flow Networks

6/3/2009. CS 244 Algorithm Design Instructor: t Artur Czumaj. Lecture 8 Network flows. Maximum Flow and Minimum Cut. Minimum Cut Problem.

MATH 128A, SUMMER 2009, FINAL EXAM SOLUTION

Today s topics. CSE 421 Algorithms. Problem Reduction Examples. Problem Reduction. Undirected Network Flow. Bipartite Matching. Problem Reductions

Flow Networks. Ma/CS 6a. Class 14: Flow Exercises

Network Flow Applications

Price of Stability and Introduction to Mechanism Design

They were originally developed for network problem [Dantzig, Ford, Fulkerson 1956]

18.03SC Unit 3 Practice Exam and Solutions

CMU-Q Lecture 3: Search algorithms: Informed. Teacher: Gianni A. Di Caro

More Digital Logic. t p output. Low-to-high and high-to-low transitions could have different t p. V in (t)

Flow networks, flow, maximum flow. Some definitions. Edmonton. Saskatoon Winnipeg. Vancouver Regina. Calgary. 12/12 a.

EECE 301 Signals & Systems Prof. Mark Fowler

Selfish Routing. Tim Roughgarden Cornell University. Includes joint work with Éva Tardos

Notes on cointegration of real interest rates and real exchange rates. ρ (2)

Syntactic Complexity of Suffix-Free Languages. Marek Szykuła

FLAT CYCLOTOMIC POLYNOMIALS OF ORDER FOUR AND HIGHER

Homework sheet Exercises done during the lecture of March 12, 2014

1 Review of Zero-Sum Games

Let us start with a two dimensional case. We consider a vector ( x,

10. State Space Methods

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes

Chapter 7: Solving Trig Equations

Approximation Algorithms for Unique Games via Orthogonal Separators

CHAPTER 12 DIRECT CURRENT CIRCUITS

V The Fourier Transform

PENALIZED LEAST SQUARES AND PENALIZED LIKELIHOOD

Ordinary Differential Equations

Laplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff

Maximum Flow in Planar Graphs

Maximum Flow. Contents. Max Flow Network. Maximum Flow and Minimum Cut

2. VECTORS. R Vectors are denoted by bold-face characters such as R, V, etc. The magnitude of a vector, such as R, is denoted as R, R, V

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

SOLUTIONS TO ECE 3084

EE 315 Notes. Gürdal Arslan CLASS 1. (Sections ) What is a signal?

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality

Computer-Aided Analysis of Electronic Circuits Course Notes 3

Timed Circuits. Asynchronous Circuit Design. Timing Relationships. A Simple Example. Timed States. Timing Sequences. ({r 6 },t6 = 1.

arxiv: v1 [cs.cg] 21 Mar 2013

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

Random Walk with Anti-Correlated Steps

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

6.2 Transforms of Derivatives and Integrals.

Chapter 2. First Order Scalar Equations

13.1 Circuit Elements in the s Domain Circuit Analysis in the s Domain The Transfer Function and Natural Response 13.

, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max

Linear Motion, Speed & Velocity

FITTING EQUATIONS TO DATA

!!"#"$%&#'()!"#&'(*%)+,&',-)./0)1-*23)

5.1 - Logarithms and Their Properties

Innova Junior College H2 Mathematics JC2 Preliminary Examinations Paper 2 Solutions 0 (*)

6.003 Homework #9 Solutions

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

Online Convex Optimization Example And Follow-The-Leader

6.003 Homework #9 Solutions

Fractional Ornstein-Uhlenbeck Bridge

Some Basic Information about M-S-D Systems

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

ME 391 Mechanical Engineering Analysis

EXERCISES FOR SECTION 1.5

Lie Derivatives operator vector field flow push back Lie derivative of

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence

Stationary Distribution. Design and Analysis of Algorithms Andrei Bulatov

Transcription:

Average Cae Lower Bound for Monoone Swiching Nework Yuval Filmu, Toniann Piai, Rober Robere, Sephen Cook Deparmen of Compuer Science Univeriy of Torono

Monoone Compuaion (Refreher) Monoone circui were inroduced a a naural rericion on general circui for he purpoe of proving lower bound.

Monoone Compuaion (Refreher) Monoone circui were inroduced a a naural rericion on general circui for he purpoe of proving lower bound. Many of he (general) circui cla eparaion we believe o be rue imply heir monoone verion, o monoone eparaion are a good place o ar.

Monoone Compuaion (Refreher) Monoone circui were inroduced a a naural rericion on general circui for he purpoe of proving lower bound. Many of he (general) circui cla eparaion we believe o be rue imply heir monoone verion, o monoone eparaion are a good place o ar. Much of he work up unil now ha been on exac monoone compuaion --- wha abou average-cae?

Previou Monoone Lower Bound Problem Clique Direced Conn. Poiner Jumping GEN GEN

Previou Monoone Lower Bound Problem Clique Direced Conn. Poiner Jumping GEN GEN Fir Proved By... Razborov [85] Karchmer-Wigderon [88] Grigni-Siper [95] Raz-McKenzie [97] Chan-Poechin [12]

Previou Monoone Lower Bound Problem Clique Direced Conn. Poiner Jumping GEN GEN Fir Proved By... Razborov [85] Karchmer-Wigderon [88] Grigni-Siper [95] Raz-McKenzie [97] Chan-Poechin [12] Lower Bound (Ck Size) (Ck Deph) (Ck Deph) (Ck Deph) (Nework Size)

Monoone, Average Cae LB Problem Clique Diribuion Random Graph Lower Bound (Roman [10])

Monoone, Average Cae LB Problem Clique Direced Conn. Diribuion Random Graph Lower Bound (Roman [10]) Poiner Jumping GEN??

Monoone, Average Cae LB Problem Clique Direced Conn. Diribuion Random Graph Lower Bound (Roman [10]) Poiner Jumping GEN?? Our work

Monoone Swiching Nework Model for ml baed on undireced conneciviy x z z y v z

Monoone Swiching Nework Model for ml baed on undireced conneciviy x z z y v z x = z = 1 y = v = 0

Monoone Swiching Nework Model for ml baed on undireced conneciviy x z z y v z x = z = 1 y = v = 0 Dead Alive

Monoone Swiching Nework Model for ml baed on undireced conneciviy x z z y v z x = z = 1 y = v = 0 - live pah, o accep!

Monoone Swiching Nework Model for ml baed on undireced conneciviy x z z y v z y = z = 1 x = v = 0 Alo accep!

Monoone Swiching Nework Model for ml baed on undireced conneciviy x z z y v z x = z = v = 1 y = 0 Two acceping pah, bu ha alrigh!

Monoone Swiching Nework y x z v z z Allow reverible nondeerminim

Monoone Swiching Nework y x z z z v M compue a boolean funcion f if f(x) = 1 iff M(x) ha a live - pah

Monoone Swiching Nework y x z v z z ml = all problem olvable by polynomially-ized monoone wiching nework

Monoone Swiching Nework In hi model, he canonical complee problem for ml i undireced graph conneciviy:

Monoone Swiching Nework In hi model, he canonical complee problem for ml i undireced graph conneciviy: u Given a li of edge in an undireced graph, i here an - pah? v

Monoone Swiching Nework In hi model, he canonical complee problem for ml i undireced graph conneciviy: u u u uv v v v

Monoone Swiching Nework In hi model, he canonical complee problem for ml i undireced graph conneciviy: u u u uv v v v

Swiching Nework and Circui Swiching nework ize and circui deph are cloely relaed. Theorem: A wiching nework of ize O() compuing a boolean funcion f can be convered ino a bounded fan-in circui wih deph Theorem: A bounded fanin circui of deph O(d) compuing a boolean funcion f can be convered ino a wiching nework wih ae.

Swiching Nework and Circui Swiching nework ize and circui deph are cloely relaed. Theorem: A wiching nework of ize O() compuing a boolean funcion f can be convered ino a bounded fan-in circui wih deph In oher word, a lower bound of on wiching nework ize implie a deph lower Theorem: A bounded of fanin circui for circui. of deph O(d) compuing a boolean funcion f can be convered ino a wiching nework wih ae.

The GEN Problem Inpu: Poiive ineger N, a ube of riple and wo diinguihed poin, in [N]. Problem: Doe generae uing he riple in L?

The GEN Problem (Algebraic Inuiion) Inpu: Poiive ineger N, a muliplicaion able and wo diinguihed poin, in [N]. Problem: Doe lie in he e generaed by repeaed powering of?

Generaion uing Triple (Inuiion) Think of each riple (x, y, z) a a pair of direced edge: (x, y) and (y, z) N = 6

Generaion uing Triple (Inuiion) (,, a) a b N = 6

Generaion uing Triple (Inuiion) (, a, b) (Order of fir wo coordinae doen maer) a b N = 6

Generaion uing Triple To generae we ar wih, and ee wha we can reach wih he riple a b N = 6

Generaion uing Triple To generae we ar wih, and ee wha we can reach wih he riple a b N = 6 Uing (,,a) and {} we generae {,a}

Generaion uing Triple To generae we ar wih, and ee wha we can reach wih he riple a b N = 6 Uing (,a,b) and {,a} we generae {,a,b}

Generaion uing Triple And o on... a b N = 6

Generaion uing Triple If ever ener our generaed e we accep he inance! a b N = 6

Graph Inance Viewing GEN a a graph i a nice implificaion: If G i a DAG where each node ha fan-in 0 or 2, we aociae a naural GEN inance wih riple (x,y,z) for each pair of edge (x,z), (y,z). Graph Inance of GEN iomorphic o G

GEN i in mp I i eay o give a polynomially-ized monoone circui family for GEN.

GEN i in mp We have one wire for each poin in he inpu e [N]. A wire will have value 1 during he compuaion if ha poin can be generaed. u v

GEN i in mp Conruc a gadge G ha updae he conen of he wire, uing he inpu riple. u v G

GEN i in mp Conruc a gadge G ha updae he conen of he wire, uing he inpu riple. = 1 u = 1 v G v = 1 if v gen. from {, u} = 1 if gen. from {, u}

GEN i in mp How doe G work? For each poin z, e he wire of z o be equal o. = 1 u = 1 v G v = 1 if v gen. from {, u} = 1 if gen. from {, u}

GEN i in mp How doe G work? For each poin z, e he wire of z o be equal o. So, G ha ize (looely). = 1 u = 1 v G v = 1 if v gen. from {, u} = 1 if gen. from {, u}

GEN i in mp To compue GEN, we imply ring n copie of G in a row, aring wih = 1 and all oher wire wih 0. = 1 u v G G G G

GEN i in mp To compue GEN, we imply ring n copie of G in a row, aring wih = 1 and all oher wire wih 0. = 1 u v Wha G abou monoone G wiching G nework? G

Reverible Pebbling Game Given: A DAG G wih a ource node and a ink node

Reverible Pebbling Game Given: A DAG G wih a ource node and a ink node Goal: Place a pebble on he ink node, minimize # of pebble

Reverible Pebbling Game Given: A DAG G wih a ource node and a ink node Goal: Place a pebble on he ink node, minimize # of pebble One move: If all he predeceor of a node have pebble, hen place a pebble on or remove a pebble from ha node.

Reverible Pebbling Game, Example ha no predeceor, o we can alway place a pebble on i

Reverible Pebbling Game, Example

Reverible Pebbling Game, Example

Reverible Pebbling Game, Example Now remove pebble, ince we don need hem...

Reverible Pebbling Game, Example Now remove pebble, ince we don need hem

Reverible Pebbling Game, Example Noe ha if we removed he pebble on fir, we canno remove he oher pebble due o reveribiliy:

Reverible Pebbling Game The reverible pebbling game naurally define an efficien wiching nework algorihm for GEN on hi graph.

Reverible Pebbling Game The reverible pebbling game naurally define an efficien wiching nework algorihm for GEN on hi graph. a b

Reverible Pebbling Game The reverible pebbling game naurally define an efficien wiching nework algorihm for GEN on hi graph. No ored! a b

Reverible Pebbling Game The reverible pebbling game naurally define an efficien wiching nework algorihm for GEN on hi graph. We only ore c log n bi, where c i he maximum number of pebble.

Reverible Pebbling Game The reverible pebbling game naurally define an efficien wiching nework algorihm for GEN on hi graph. We only ore c log n bi, where c i he maximum number of pebble. Require ae

Reverible Pebbling Game The reverible pebbling game naurally define an efficien wiching nework algorihm for GEN on hi graph. We only ore c log n bi, where c i he maximum number of pebble. We how ha hi i eenially igh, even when he monoone algorihm i allowed o err on a large fracion of he inpu.

Reverible Pebble Number If G i a DAG hen define he reverible pebbling number of G o be he minimum number of pebble needed o pebble he ink of G.

Reverible Pebble Number If G i a DAG hen define he reverible pebbling number of G o be he minimum number of pebble needed o pebble he ink of G. (Cook [73]) Heigh h pyramid

Reverible Pebble Number If G i a DAG hen define he reverible pebbling number of G o be he minimum number of pebble needed o pebble he ink of G. (Cook [73]) Heigh h pyramid (Poechin [12]) Pah wih n node

Deerminiic Lower Bound Poechin give a mehod (refined by Chan and Poechin) o lower bound he number of ae of monoone wiching nework compuing cerain funcion.

Deerminiic Lower Bound Poechin give a mehod (refined by Chan and Poechin) o lower bound he number of ae of monoone wiching nework compuing cerain funcion. High level: 1. Chooe a large e of YES inance S. 2. Show ha, for any wiching nework M and any inance I in S, you can find a ae in M ha i highly pecific o I. 3. Show ha any ae can only be highly pecific o a relaively mall number of inance I.

Deerminiic Lower Bound (Skech) Some riple cro he cu and are e o 0 The maxerm of GEN are - cu (like a cu in - conneciviy). We add all riple which do no cro he cu. Le be he e of all cu.

Deerminiic Lower Bound (Skech) If M i a monoone wiching nework compuing GEN, we can naurally aociae wih each ae v a vecor which i 1 iff ha ae i reachable on a given cu.

Deerminiic Lower Bound (Skech) If M i a monoone wiching nework compuing GEN, we can naurally aociae wih each ae v a vecor which i 1 iff ha ae i reachable on a given cu.

Deerminiic Lower Bound (Skech) If M i a monoone wiching nework compuing GEN, we can naurally aociae wih each ae v a vecor which i 1 iff ha ae i reachable on a given cu. On here i a live pah o v o v

Deerminiic Lower Bound (Skech) If M i a monoone wiching nework compuing GEN, we can naurally aociae wih each ae v a vecor which i 1 iff ha ae i reachable on a given cu. On here i no live pah o v o v

Deerminiic Lower Bound (Skech) The vecor are called reachabiliy vecor. They ell u exacly how he nework operae on he cu. To ge a lower bound, we fix a large e of YES inance of GEN: pyramid inance of heigh h. Le be he e of heigh-h pyramid.

Deerminiic Lower Bound (Skech) we define anoher vecor.. 1. For every monoone wiching nework M compuing GEN and for each P in here i a ae.. 2. depend only on coordinae in P, and ha zero correlaion wih any funcion depending only on h coordinae 3.

Deerminiic Lower Bound (Skech) 1. For every monoone wiching nework M compuing GEN and for each P in here i a ae.. he ae mu perform a lo of work eparaing he pyramid P from all of he cu (I i highly pecific o P)

Deerminiic Lower Bound (Skech) 2. depend only on coordinae in P, and ha zero correlaion wih any funcion depending only on h coordinae. for any wo diinc pyramid ha hare a mo h coordinae, he funcion and are uncorrelaed (or orhogonal)

Summing hi inequaliy over all ae v and uing 1 give he lower bound. Deerminiic Lower Bound (Skech) 3. (uing orhogonaliy from 2) any ae can only be pecific (in he ene of 1) o a mo pyramid

Deerminiic Lower Bound (Skech) How do we come up wih hee funcion? For a fixed pyramid P, we inroduce new funcion for each riple l in P which aify a propery we call nicene, along wih wo oher properie: 1. For any,, and have he ame Fourier coefficien up o level h. 2. i mall. Nicene: If C i a cu and l croe C, hen

Average Cae Compuaion Le f be a boolean funcion and M a wiching nework. Le D be a diribuion on M compue f wih error on D if

Our Diribuion on GEN Inpu The diribuion we ue i uppored on a e of graph inance, and a e of maxerm. Definiion: Fix a DAG G wih fan-in 0 or 2. Define he diribuion a follow: wih probabiliy ½ chooe eiher a random cu inance or a random graph inance of GEN iomorphic o G

Our Diribuion on GEN Inpu The diribuion we ue i uppored on a e of graph inance, and a e of maxerm. Definiion: Fix a DAG G wih fan-in 0 or 2. Define he diribuion a follow: wih probabiliy ½ chooe eiher a random cu inance or a random graph inance of GEN iomorphic o G We vary he complexiy of he GEN problem by chooing graph wih differen reverible pebbling number.

Diribuion (Picure!) [N]

Random Cu [N]

Random Cu All riple added excep hoe ha cro he cu [N]

Random G-Inance [N]

Random G-Inance [N]

Random G-Inance Graph ha m < N verice Many poible iomorphic inance on [N] [N]

Lower bounding he average cae If he circui i allowed o error, here are wo baic difficulie in he previou proof: 1. The circui migh no accep all pyramid (no longer complee) 2. The circui migh no rejec all cu (no longer ound)

Lower bounding he average cae If he circui i allowed o error, here are wo baic difficulie in he previou proof: 1. The circui migh no accep all pyramid (no longer complee) 2. The circui migh no rejec all cu (no longer ound) The fir problem i eay o handle --- we can ill find a large ube of pyramid ha i acceped by he circui, on average.

Lower bounding he average cae If he circui i allowed o error, here are wo baic difficulie in he previou proof: 1. The circui migh no accep all pyramid (no longer complee) 2. The circui migh no rejec all cu (no longer ound) The econd problem i much harder, and overcoming i i our main echnical conribuion.

Lower bounding he average cae If he circui i allowed o error, here are wo baic difficulie in he previou proof: 1. The circui migh no accep all pyramid (no longer complee) 2. The circui migh no rejec all cu (no longer ound) The econd problem i much harder, and overcoming i i our main echnical conribuion. The problem arie in a echnical par of he conrucion of he vecor, and fixing i i ricky.

Puing i All Togeher: Main Theorem Main Theorem: Le N, m, h be poiive ineger and, non-negaive real parameer aifying Le G be a DAG wih fan-in 0 or 2, m verice, and reverible pebbling number h. Any monoone wiching nework compuing GEN on [N] wih error on ha a lea ae.

Corollarie All corollarie are obained by chooing graph wih differen pebbling number and eing parameer appropriaely.

Corollarie All corollarie are obained by chooing graph wih differen pebbling number and eing parameer appropriaely. Pyramid of heigh

Corollarie All corollarie are obained by chooing graph wih differen pebbling number and eing parameer appropriaely. Pyramid of heigh Pyramid of heigh h = N/2

Corollarie All corollarie are obained by chooing graph wih differen pebbling number and eing parameer appropriaely. Pyramid of heigh Pyramid of heigh h = N/2 Direced pah of lengh N

Corollarie All corollarie are obained by chooing graph wih differen pebbling number and eing parameer appropriaely. Pyramid of heigh Pyramid of heigh h = N/2 Direced pah of lengh N All lower bound are over wih error

Furher Direcion Framework preened only applie o GEN -- can we exend i o oher funcion?

Furher Direcion Framework preened only applie o GEN -- can we exend i o oher funcion? Can we opimize he lower bound furher? (In paricular, we loe a quare roo due o Cauchy-Schwarz)

Furher Direcion Framework preened only applie o GEN -- can we exend i o oher funcion? Can we opimize he lower bound furher? (In paricular, we loe a quare roo due o Cauchy-Schwarz) Doe hi proof have a more direc (read: combinaorial) analog in he world of monoone circui?