(This post is related to a paper entitled “A Quantized Johnson Lindenstrauss Lemma: The Finding of Buffon’s Needle” (arxiv, pdf) that I have recently submitted for publication.)
(left) Picture of [8, page 147] stating the initial formulation of Buffon’s needle problem (Courtesy of E. Kowalski’s blog) (right) Scheme of Buffon’s needle problem.
Last July, I read the biography of Paul Erdős written by Paul Hoffman and entitled “The Man Who Loved Only Numbers“. This is really a wonderful book sprinkled with many anecdotes about the particular life of this great mathematician and about his appealing mathematical obsessions (including prime numbers).
At one location of this book my attention was caught by the mention of what is called the “Buffon’s needle problem”. It seems to be a very old and well-known problem in the field of “geometrical probability” and I discovered later that Emmanuel Kowalski (Math dep., ETH Zürich, Switzerland) explained it in one of his blog posts.
In short, this problem, formulated by Georges-Louis Leclerc, Comte de Buffon in France in one of the numerous volumes of his impressive work entitled “L’Histoire Naturelle”, is formulated as follows:
“I suppose that in a room where the floor is simply divided by parallel joints one throws a stick (N/A: later called “needle”) in the air, and that one of the players bets that the stick will not cross any of the parallels on the floor, and that the other in contrast bets that the stick will cross some of these parallels; one asks for the chances of these two players.”
The English translation is due to . The solution (published by Leclerc in 1777) is astonishingly simple: for a short needle compared to the separation between two consecutive parallels, the probability of having one intersection between the needle and the parallels is equal to the needle length times ! If the needle is longer, then this probability is less easy to express but the expectation of the number of intersections (which can now be bigger than one) remains equal to this value. Surprisingly, this result still holds if the needle is replaced by a finite smooth curve that some authors then call the “noodle” problem (e.g., in )
The reason why this problem rang a bell is related to its similarity with a quantization process!
Indeed, think for a while to the needle as the segment formed by two points in the plane and assume all the parallel joints normal to the first canonical axis of . Let us also think to the area defined by two consecutive joints as an infinite strip of width . Then, the number of intersections that this “needle” makes with the grid of parallel joints is related to the distance between the two strips occupied by the two points, i.e., to the distance between a uniform quantization (or rounding off) of the -coordinate of the two points!
From this observation, if I realized that if we randomly turn these two points with a random rotation of and if a random translation along the -axis is added to their coordinates, the context of the initial Buffon’s problem is exactly recovered!
Interestingly enough, after this randomized transformation, the first coordinate of one of the two points (defining the needle extremities), say , reads
where is a uniform random variable on the circle . What you observe on the right of the last equivalence is nothing but a random projection of the point on the direction .
This was really amazing to discover: after these very simple developments, I had in front of me a kind of triple equivalence between Buffon’s needle problem, quantization process in the plane and a well-known linear random projection procedure. This boded well for a possible extension of this context to high-dimensional (random) projection procedures, e.g., those used in common linear dimensionality reduction methods and in the compressed sensing theory.
Actually, this gave me a new point of view for solving these two connected questions: How to combine the well-known Johnson-Lindenstrauss Lemma with a quantization of the embedding it proposes? What (new) distortion of the embedding can we expect from this non-linear operation?
Let me recall the tenet of the JL Lemma: For a set of points, if you fix and , as soon as , there exist a mapping such that, for all pairs ,
with some possible variants on the selected norms, e.g., from some measure concentration results in Banach space , the result is still true with the same condition on if we take the norm of . This is this variant that matters in the rest of this post.
It took me some while but after having generalized Buffon’s needle problem to a -dimensional space (where the needle is still a 1-D segment “thrown” randomly in a grid of -dimensional parallel hyperplane that are apart) — which provided a few interesting asymptotic relations concerning this probabilistic problem — I was also able to generalize the previous equivalence as follows: Uniformly quantizing the random projections in of two points in and measuring the difference between their quantized values is fully equivalent to study the number of intersections made by the segment determined by those two points (seen as a Buffon’s needle) with a parallel grid of -dimensional hyperplanes.
This equivalence was the starting point to discover the following proposition (the main result of the paper referenced above) which can be seen as a quantized form of the Johnson-Lindenstrauss Lemma:
Let be a set of points. Fix and . For , there exist a non-linear mapping and two constants such that, for all pairs ,
Moreover, this mapping can be randomly constructed by
where is a uniform quantization of bin width , is a Gaussian random matrix and is a uniform random vector over . Except for the quantization, this construction is similar to the one introduced in  (for non-regular quantizers).
Without entering into the details, the explanation of this result comes from the fact that the random projection can be seen as a random rotation of followed by a random scaling of the vector amplitude. Therefore, conditionally to this amplitude, the equivalence with Buffon’s problem is recovered for a (scaled) needle determined by the vectors and above, the dithering playing the role of the random needle shift.
Interestingly, compared to the common JL Lemma, the mapping is now “quasi-isometric“: we observe both an additive and a multiplicative distortions on the embedded distances of . These two distortions, however, decay as
This kind additive distortion decay was already observed for “binary” (or one-bit) quantization procedure [2, 3, 4] applied on random projection of points (e.g., for 1-bit compressed sensing). Above, we still observe such a distortion for the (multi-bit) quantization above and, moreover, this distortion is combined with a multiplicative one while both decay when increases. This fact is new, to the best of my knowledge.
Moreover, for coarse quantization, i.e., for high compared to
the typical size of , the distortion is mainly additive, while for small we tend to a classical Lipschitz isometric embedding, as provided by the JL Lemma.
Interested blog reader can have a look to my paper for a clearer (I hope) presentation of this informal summary. His summary is as follows:
“In 1733, Georges-Louis Leclerc, Comte de Buffon in France, set the ground of geometric probability theory by defining an enlightening problem: What is the probability that a needle thrown randomly on a ground made of equispaced parallel strips lies on two of them? In this work, we show that the solution to this problem, and its generalization to dimensions, allows us to discover a quantized form of the Johnson-Lindenstrauss (JL) Lemma, i.e., one that combines a linear dimensionality reduction procedure with a uniform quantization of precision . In particular, given a finite set of points and a distortion level , as soon as , we can (randomly) construct a mapping from to that approximately preserves the pairwise distances between the points of . Interestingly, compared to the common JL Lemma, the mapping is quasi-isometric and we observe both an additive and a multiplicative distortions on the embedded distances. These two distortions, however, decay as when increases. Moreover, for coarse quantization, i.e., for high compared to the set radius, the distortion is mainly additive, while for small we tend to a Lipschitz isometric embedding. Finally, we show that there exists “almost” a quasi-isometric embedding of in . This one involves a non-linear distortion of the -distance in that vanishes for distant points in this set. Noticeably, the additive distortion in this case is slower and decays as .”
Hoping there is no killing bug in my developments, any comments are also welcome.
 J. D. Hey, T. M. Neugebauer, and C. M. Pasca, “Georges-Louis Leclerc de Buffons Essays on Moral Arithmetic,” in The Selten School of Behavioral Economics, pp. 245–282. Springer, 2010.
 L. Jacques, J. N. Laska, P. T. Boufounos, and R. G. Baraniuk, “Robust 1-Bit Compressive Sensing via Binary Stable Embeddings of Sparse Vectors,” IEEE Transactions on Information Theory, Vol. 59(4), pp. 2082-2102, 2013.
 Y. Plan and R. Vershynin, “One-bit compressed sensing by linear programming,” Communications on Pure and Applied Mathematics, to appear. arXiv:1109.4299, 2011.
 M. Goemans and D. Williamson, “Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming,” Journ. ACM, vol. 42, no. 6, pp. 1145, 1995.
 J. F. Ramaley, “Buffon’s noodle problem,” The American Mathematical Monthly, vol. 76, no. 8, pp. 916–918, 1969.
 M. Ledoux and M. Talagrand, Probability in Banach Spaces: Isoperimetry and Processes, Springer, 1991.
 P. T. Boufounos, “Universal rate-efficient scalar quantization.” Information Theory, IEEE Transactions on 58.3 (2012): 1861-1872.
 G. C. Buffon, “Essai d’arithmetique morale,” Supplément à l’histoire naturelle, vol. 4, 1777. See also: http://www. buffon.cnrs.fr