Computing Distributions using Random Walks on Graphs Guy Kindler Guy Kindler DIMACS Dan Romik Dan Romik Weizmann Institute of Science.

Slides:



Advertisements
Similar presentations
Pattern Recognition and Machine Learning
Advertisements

Routing Complexity of Faulty Networks Omer Angel Itai Benjamini Eran Ofek Udi Wieder The Weizmann Institute of Science.
An Introduction to Randomness Extractors Ronen Shaltiel University of Haifa Daddy, how do computers get random bits?
Chapter 2 Multivariate Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Foundations of Cryptography Lecture 10 Lecturer: Moni Naor.
Great Theoretical Ideas in Computer Science.
Use of moment generating functions. Definition Let X denote a random variable with probability density function f(x) if continuous (probability mass function.
The General Linear Model. The Simple Linear Model Linear Regression.
Computability and Complexity 20-1 Computability and Complexity Andrei Bulatov Random Sources.
Probability theory 2010 Order statistics  Distribution of order variables (and extremes)  Joint distribution of order variables (and extremes)
An Algorithm for Polytope Decomposition and Exact Computation of Multiple Integrals.
Part 4 b Forward-Backward Algorithm & Viterbi Algorithm CSE717, SPRING 2008 CUBS, Univ at Buffalo.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 8 May 4, 2005
Part 2b Parameter Estimation CSE717, FALL 2008 CUBS, Univ at Buffalo.
A gentle introduction to Gaussian distribution. Review Random variable Coin flip experiment X = 0X = 1 X: Random variable.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
2. Point and interval estimation Introduction Properties of estimators Finite sample size Asymptotic properties Construction methods Method of moments.
The moment generating function of random variable X is given by Moment generating function.
On Testing Computability by small Width OBDDs Oded Goldreich Weizmann Institute of Science.
Cardinality of a Set “The number of elements in a set.” Let A be a set. a.If A =  (the empty set), then the cardinality of A is 0. b. If A has exactly.
If we measured a distribution P, what is the tree- dependent distribution P t that best approximates P? Search Space: All possible trees Goal: From all.
Binary Variables (1) Coin flipping: heads=1, tails=0 Bernoulli Distribution.
1 CSCI 2400 section 3 Models of Computation Instructor: Costas Busch.
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
1 Fingerprinting techniques. 2 Is X equal to Y? = ? = ?
Graphing Polynomial Functions. Graphs of Polynomial Functions 1. Polynomials have smooth, continuous curves 2. Continuous means it can be drawn without.
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Sets.
Counting III: Pascal’s Triangle, Polynomials, and Vector Programs Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2003 Lecture.
Section 5.5 Theorems about Roots of Polynomial Equations.
K. Shum Lecture 14 Continuous sample space, Special case of the law of large numbers, and Probability density function.
The Mean of a Discrete RV The mean of a RV is the average value the RV takes over the long-run. –The mean of a RV is analogous to the mean of a large population.
COMP 170 L2 L17: Random Variables and Expectation Page 1.
1 New Coins from old: Computing with unknown bias Elchanan Mossel, U.C. Berkeley
More statistical stuff CS 394C Feb 6, Today Review of material from Jan 31 Calculating pattern probabilities Why maximum parsimony and UPGMA are.
Consistency An estimator is a consistent estimator of θ, if , i.e., if
Chapter 7 Point Estimation of Parameters. Learning Objectives Explain the general concepts of estimating Explain important properties of point estimators.
4.5 Quadratic Equations Zero of the Function- a value where f(x) = 0 and the graph of the function intersects the x-axis Zero Product Property- for all.
IE 300, Fall 2012 Richard Sowers IESE. 8/30/2012 Goals: Rules of Probability Counting Equally likely Some examples.
Point Estimation of Parameters and Sampling Distributions Outlines:  Sampling Distributions and the central limit theorem  Point estimation  Methods.
Chapter 5. Continuous Random Variables. Continuous Random Variables Discrete random variables –Random variables whose set of possible values is either.
Chapter 5 Joint Probability Distributions and Random Samples  Jointly Distributed Random Variables.2 - Expected Values, Covariance, and Correlation.3.
PreCalculus Section 2.6 Solve polynomial equations by factoring and the Rational Roots Theorem. Solve by factoring: x 3 + 5x 2 – 4x – 20 = 0 x 6 – x 3.
Statistics Sampling Distributions and Point Estimation of Parameters Contents, figures, and exercises come from the textbook: Applied Statistics and Probability.
Week 111 Some facts about Power Series Consider the power series with non-negative coefficients a k. If converges for any positive value of t, say for.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
Week 21 Order Statistics The order statistics of a set of random variables X 1, X 2,…, X n are the same random variables arranged in increasing order.
Chapter 6 Large Random Samples Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
1 Review of Probability and Random Processes. 2 Importance of Random Processes Random variables and processes talk about quantities and signals which.
Conditional Expectation
Week 21 Statistical Model A statistical model for some data is a set of distributions, one of which corresponds to the true unknown distribution that produced.
Factoring GCF, Monics, Solving Monics. Quadratics Solve x 2 – 8x + 15 = 0 by using the following graph.
Part 3: Estimation of Parameters. Estimation of Parameters Most of the time, we have random samples but not the densities given. If the parametric form.
Splash Screen. Lesson Menu Five-Minute Check (over Lesson 4–4) CCSS Then/Now New Vocabulary Example 1:Equation with Rational Roots Example 2:Equation.
Section 6.5 Theorems about Roots of Polynomial Equations Objective: Students will be able to solve equations using Theorems involving roots. Rational Root.
Probability Theory and Parameter Estimation I
New Characterizations in Turnstile Streams with Applications
Markov Chains Mixing Times Lecture 5
Real Zeros Intro - Chapter 4.2.
Rational Root and Complex Conjugates Theorem
5-5 Theorems About Roots of Polynomial Equations
Random Sampling Population Random sample: Statistics Point estimate
Turnstile Streaming Algorithms Might as Well Be Linear Sketches
Lesson 9.1 How do you find and approximate the square root of a number? You need to find a number b such that
CSCI-2400 Models of Computation.
6.3 Sampling Distributions
Discrete Random Variables: Expectation, Mean and Variance
MinMax Principle in Game Theory – continued….
Discrete Random Variables: Expectation, Mean and Variance
Discrete Random Variables: Expectation, Mean and Variance
Presentation transcript:

Computing Distributions using Random Walks on Graphs Guy Kindler Guy Kindler DIMACS Dan Romik Dan Romik Weizmann Institute of Science

Computing distributions [Knuth, Yao 76] Given a source of random bits, Given a source of random bits, output a sample with given distribution D. output a sample with given distribution D.

1 1 FormalizationFormalization Example: Compute D={(“0”,1/2), (“1”,1/4), (“2”,1/4)} “H”=right “T”=left “1” 0 0 Interpretation: Computing a distribution using a random walk on a binary tree.

Infinite trees are sometimes needed D={(“0”,2/3), (“1”,1/3)} D={(“0”,2/3), (“1”,1/3)} oRequirement: Output is reached with probability 1 o[Knuth, Yao 76] Output can be reached in expected time Ent(D)+O(1) Tight!Tight!

Some other models o[Romik ’99] Generate dist. B from dist. A in optimal time. o[von Neumann ’51] Generate unbiased coins from biased ones (when bias is unknown). o[Keane & O’Brien ’94] Generate f(p) -biased coins from p - biased ones. o[Peres & Nacu ’03] Generate f(p) -biased in “good time”. o[Mossel & Peres ’03] Generate f(p) -biased coins from p - biased, using a finite graph.

Finite state generators “0” “1” “0” “1” “0” Output: 110… [Knuth+Yao]:

Finite state generators “0” “1” “0” “1” “0” oInterpretation – binary representation: Generating a random variable on [0,1] using a random walk on a graph oDefinition: A distribution function is computable, if it is the output distribution of some f.s.g. oQuestion [Knuth+Yao]: which distributions are computable? smooth/analytic Output: 110…

History of the problem o[Knuth+Yao ’76] Computable analytic density functions must be polynomials with rational coefficients o[Yao ’84] The roots of such functions must be rational o[this work] 1.All functions with above properties can be computed 2.Allowing smooth functions does not add computable functions.

We’ll discuss… [Theorem] Let D be a distribution with density function f. If of is a non-negative polynomia l owith rational coefficients oand no irrational roots in [0,1], then D is computable. “0” “1” “0” “1” “0”

Generating some distributions uniform distribution: Generating max(X,Y): o run two f.s.g’s “in parallel” o output the maximum “0” “1” oAll distributions with density of the form: f(x)=c x m (1-x) n [Knuth+Yao ’76] oAll order statistics of independent uniform variables

More distributions [Knuth+Yao ’76]: uniform on [a,b], for a, b rational. All distributions with density of the form: f(x)=c (x-a) m (b-x) n 1 [a,b] (x) Generating max(X,Y) : orun two f.s.g’s “in parallel” ooutput the maximum

oeasy: if f 1,.., f k are computable, then so is a 1 f 1 +…a k f k (for a i rational) All distributions Answer: all polynomials with rational coefficients, and no irrational roots in [0,1] ! Answer: all polynomials with rational coefficients, and no irrational roots in [0,1] ! All distributions with density of the form: f(x)=c (x-a) m (b-x) n 1 [a,b] (x) Question: what is the set of rational mixtures of such functions ? Proof: 1. Geometric in nature 2. Non-constructive Proof: 1. Geometric in nature 2. Non-constructive Q.E.D. !

ConclusionsConclusions oWe solved the computability problem in the f.s.g. model, for smooth functions. oWe have no good bounds on complexity (size of graph) in this model. Open problems oSolve for other computational models (stack automaton? [Yao84] ) oSolve the general computablity question (no smoothness restriction) oSolve the complexity question

The End…