Learn Locally, Recurse Globally: Neural Circuit Synthesis Beyond Training Depth
Emile Richard
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Neural Network Optimization and Training · Type: new method · Keywords: neural circuit synthesis, extrapolation, recursive decomposition, Boolean circuit depth, transformer extrapolation
Areas: LLM Reasoning › Reasoning Mechanisms › Looped Reasoning; Model Architectures & Sequence Modeling › Language Model Architectures › Algorithmic Transformers
Summary
The paper introduces a learn locally, recurse globally paradigm that iteratively decomposes hard Boolean circuit synthesis tasks into in-distribution sub-problems, enabling a transformer to synthesize circuits far beyond its training depth.
Explained to a 5-year-old
Imagine a robot that learns to solve simple puzzles by looking at many examples. It gets really good at those easy puzzles but struggles when the puzzle gets more complicated. To help it, we give it a plan that breaks big puzzles into many small, easy steps. The robot solves each small step one after another, then puts all the answers together to finish the big puzzle. This way, the robot can handle puzzles that are far harder than anything it has seen before.
Explained to a 5-year-old, longer
Imagine a robot that learns to solve simple puzzles by looking at many examples. It gets really good at those easy puzzles but struggles when the puzzle gets more complicated. To help it, we give it a plan that breaks big puzzles into many small, easy steps. The robot solves each small step one after another, then puts all the answers together to finish the big puzzle. This way, the robot can handle puzzles that are far harder than anything it has seen before. The method works for many kinds of problems, not just puzzles. It also makes the solutions simpler and easier to understand. By using this idea, we can make computers that think more like humans, solving new problems without having to learn everything from scratch. The approach has been tested on logical puzzles and shows it can match professional tools. It also connects to old math ideas about breaking things apart. Overall, this gives a new way for computers to be smarter and more flexible.
For a technical reader
The work trains a transformer on easy sub-problems and then applies an outer loop that recursively decomposes difficult tasks into a sequence of those easy sub-problems, reassembling the results. This enables the model to extrapolate far beyond its original training depth, achieving synthesis quality comparable to standard EDA tools while producing shallower circuits. The framework leverages classical Boolean decomposition theorems and recent AC0 barrier results, providing both practical performance gains and theoretical insights.
Problem
Neural networks trained by gradient descent excel at interpolation within their training distribution but fail to extrapolate to more complex, compositional tasks, limiting their use in reasoning and planning.
Method
A neural model is trained on simple in-distribution sub-problems and then wrapped in a verifiable outer loop that recursively decomposes hard instances into a sequence of such sub-problems and reassembles their outputs.
Results
The approach synthesizes circuits at five times the training depth and handles input arities beyond the base model's capacity, achieving synthesis quality comparable to a standard EDA tool while producing shallower circuits.
Contributions
A recursive decomposition framework that enables neural models to extrapolate beyond their training distribution, a systematic evaluation on Boolean circuit synthesis, and connections to classical Boolean decomposition theory.
Practical relevance
Enables neural models to tackle more complex reasoning tasks, potentially improving the reliability of agentic systems and automated design tools.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction