DOC PREVIEW
UW-Madison CS 838 - Uniform Approximation of Functions with Random Bases

This preview shows page 1-2-3-4-5-6 out of 19 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Uniform Approximation of Functions with Random Bases Ali Rahimi Intel Research Ben Recht UW Madison• Goal: Find a class F which is easy to search over, but can approximate complex behavior. dictated by application Which space of functions? classes covariate state Typically a list of example inputsApproximation Schemes • Approximate by • Jones (1992), • Barron (1993), • Girosi & Anzellotti (1995), • Using nearly identical analysis, all of these schemes achieveApproximation Schemes • Approximate by • Parameter tuning is tricky… • (Can achieve via a greedy “algorithm”). Simultaneously optimizeRandomize, don’t optimize • Approximate by • For which functions can we achieve ? • How are these functions related to objects we already know and love? • Practical Implementations optimize sampleFunction Class • Fix parameterized basis functions • Fix a probability distribution • Our target space will be: • With the convention thatRandom Features: Example • Fourier basis functions: • Gaussian parameters • If , then means that the frequency distribution of f has subgaussian tails.• Thm: Let f be in with . Let θ1,…, θn be sampled iid from p. Then with probability at least 1 - δ: • If additionally, φ(x;θ)=φ(θ'x), with φ:R→R L-Lipschitz, φ(0)=0, and |φ|<1 and p has a finite second moment, then with probability at least 1- δ#whereReproducing Kernel Hilbert Spaces • A symmetric function k:X£X ! R is a positive definite kernel if for all N • Reproducing Kernel Hilbert Space: • Extensive Applications: Support Vector Machines, Kernel Machines, etc.• RKHS generated by k: • Fp is dense in H, and for any f 2 FpGaussian RKHS vs Random Features • Representer Theorem: for many applications, the optimal function in an RKHS is of the form • RKHS form is preferred: when number of data points is small or the function is not smooth • Random Features are preferred: when number of data points is very large or the Representer theorem doesn’t apply given data setFourier Random Features RKHS is dense in continuous functionsRandom Decision Stumps Boosting FeaturesBinning Random Features Lay a random grid so that for any x and y Pr[x and y are binned together] = k(x,y) φ(x) is the bin ID, encoded as a binary indicator vector. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 … δ#-δ#1% Approximates Gaussian Process regression % with Gaussian kernel of variance gamma % lambda: regularization parameter % dataset: X is dxN, y is 1xN % test: xtest is dx1 % D: dimensionality of random feature % training w = randn(D, size(X,1)); b = 2*pi*rand(D,1); Z = cos(sqrt(gamma)*w*X + repmat(b,1,size(X,2))); alpha = (lambda*eye(size(X,2)+Z*Z')\(Z*y); % testing ztest = alpha(:)’*cos( sqrt(gamma)*w*xtest(:) + … + repmat(b,1,size(X,2)) );Randomize


View Full Document

UW-Madison CS 838 - Uniform Approximation of Functions with Random Bases

Documents in this Course
Load more
Download Uniform Approximation of Functions with Random Bases
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Uniform Approximation of Functions with Random Bases and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Uniform Approximation of Functions with Random Bases 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?