Picture an infinite grid of points scattered across the plane in a perfectly regular pattern — a lattice. You can generate every single point by adding whole-number combinations of just two vectors, its basis. The catch: the same lattice has infinitely many valid bases. Some are short and almost perpendicular, like a neat pair of rulers. Others are long, nearly parallel, and practically useless for reading off where the points sit.
Given a bad, skewed basis, can you find a good one — short vectors, close to a right angle — without changing the lattice itself? In two or three dimensions you could eyeball it. In twenty, or two hundred, dimensions there is no eyeballing anything, and the number of equally valid bases explodes.
In 1982, Arjen Lenstra, Hendrik Lenstra, and László Lovász published an algorithm — now simply called LLL — that solves this cleanly: it always terminates in polynomial time and always hands back a basis that is provably short and provably close to orthogonal. It doesn't find the single best basis possible, but it gets close enough, fast enough, to be one of the most consequential algorithms in computational mathematics.
Comments
Loading comments...