Is there a closed-form formula for f(u,v):=E_x[max(u^⊤ x,0)max(v^⊤x,0)]?
Kaydence Villegas
Open question
2022-08-31
Closed-form formula for where u,v are fixed vectors in and x is uniform on the sphere Is there a closed-form formula for ?
Answer & Explanation
Larissa Hart
Beginner2022-09-01Added 11 answers
Step 1 Proved that , where is defined by . We're in the uv-plane and is nothing but the height a poin on the unit circle in this plane. The angle pointint the positive v axis ray OP is given by . By inspecting the geometry of the situation (basically drawing a diagram on a piece of paper...), it is evident that we can rewrite . Thus, we can rewrite the function as Step 2 Now is the time for the harvest. The second line in the above display is nothing but the main ingredient in so-called arc-cosine kernels: these is the kernel for the Gaussian process which emerges when one looks at infinite-width limit of neural networks with ReLU activations, width the weights initialized at random. More precisely, . Noting that, for large d, (1) The individual coordinates of a point sampled uniformy at random the unit sphere in is roughly distributed as , and (2) The pairwise correlations of the coordinates is approximately zero, we could have expected f(u,v) to be approximately equal to
Julius Frey
Beginner2022-09-02Added 4 answers
Step 1 We can look at normalized vector: , so let us assume that u and v are normalized. Then we can write with and unitary orthogonal to u, and then complete into an orthogonal base of , and look at coordinates in that base. Initial remarks: - the volume of the unit ball in is - the density of s.t. is uniformly distributed on the unit disk is
where stems from the integration over with and , and on the last line we use our formula for and . Let us compute the two integrals. The second one is simpler:
Step 2 In the first integral, the integrand is non zero iff and , so iff or . Let us denote Thus the integral is To conclude,