NeurIPS 2026

The Laplacian Keyboard: Beyond the Linear Span

Siddarth Chandrasekar, Marlos C. Machado

pdfposter

LK builds a library of reusable options from graph eigenvectors that a meta-policy dynamically combines to solve tasks beyond what any single option can express.

the problem

The eigenvectors of the graph Laplacian show up all over science, from heat diffusion to signal compression, because they give a natural basis for complex systems. In reinforcement learning they do the same thing for the state space: the first few eigenvectors are smooth functions that capture how states connect, and later ones oscillate faster and faster.

That makes them a tempting basis for zero-shot control. Project a new reward function onto the first k eigenvectors, and a universal successor feature approximator (USFA) trained on those features hands you a policy without any further learning. The catch is that this policy is only as expressive as the linear span of the eigenvectors you kept. Any reward with sharp, high-frequency structure falls outside that span.

We make this precise with a bound on the value error: it grows with how rough the reward is (its graph norm ‖r‖G) and shrinks with the size of the basis, roughly ‖r‖G / ((1 − γ)√λk). Smooth rewards are captured by a small basis; rough ones need a bigger one, and no fixed basis covers every task. In practice, simply growing k doesn't help much either: on DeepMind Control, zero-shot performance saturates somewhere between k = 20 and 50, well below what a task-specific agent reaches.

the idea

Instead of treating the Laplacian basis as the whole answer, the Laplacian Keyboard treats it as a starting point. Every weight vector w given to the USFA defines a policy, so the USFA is really a continuous library of behaviours, learned entirely from reward-free offline data. We treat each of those policies as an option.

On a new task, a meta-policy plays this keyboard. It picks a weight vector, lets the corresponding option run for a few steps, then looks at where it is and picks again. If the reward happens to lie in the span of the basis, the meta-policy can simply settle on the single right w and recover the zero-shot solution. If it doesn't, the meta-policy stitches several options together into a policy no single linear combination could express. In the four-room example from the paper, the zero-shot policy with five eigenvectors never reaches the goal, while three stitched options trace out a near-optimal path.

Working over options rather than primitive actions has two side benefits: value information propagates over several steps at once, and exploration happens over coherent, temporally extended behaviours. And because the meta-policy acts in the smooth space of weight vectors, small changes in its output lead to similar behaviours.

what we found

We tested LK on Cheetah, Quadruped and Walker from DeepMind Control, with offline datasets collected by three different exploration methods, and averaged every result over 30 runs.

takeaways

No finite basis should be expected to cover every task an agent will face, especially in large environments. LK's answer is to stop treating the basis as a complete solution and instead compose what it offers: zero-shot when the task fits, efficient learning on top when it doesn't.

The keyboard idea isn't tied to the Laplacian. Other behaviour bases, such as Forward-Backward or HILP, could slot in directly, giving a whole family of keyboard agents. Two limitations stand out: options currently stop after a fixed number of steps rather than learning when to terminate, and in a few cases LK doesn't fully recover the zero-shot solution it should, in principle, always match. Better termination, and a fully online version that discovers its options as it goes, are the natural next steps.