[Paper Review] Optimal Ordered Problem Solver
The Optimal Ordered Problem Solver (OOPS) is a theoretically optimal, general-purpose algorithm for solving sequences of tasks by reusing and adapting solutions from earlier problems. It uses recursive program space search with bias-optimized universal search, enabling self-improvement through metasearching and achieving up to 1000x speedup in solving complex problems like Towers of Hanoi with 30 disks.
We present a novel, general, optimally fast, incremental way of searching for a universal algorithm that solves each task in a sequence of tasks. The Optimal Ordered Problem Solver (OOPS) continually organizes and exploits previously found solutions to earlier tasks, efficiently searching not only the space of domain-specific algorithms, but also the space of search algorithms. Essentially we extend the principles of optimal nonincremental universal search to build an incremental universal learner that is able to improve itself through experience. In illustrative experiments, our self-improver becomes the first general system that learns to solve all n disk Towers of Hanoi tasks (solution size 2^n-1) for n up to 30, profiting from previously solved, simpler tasks involving samples of a simple context free language.
Motivation & Objective
- To develop a general, time-optimal method for solving sequences of increasingly complex tasks by reusing solutions from earlier problems.
- To overcome limitations of heuristic, non-optimal incremental extensions of universal search that suffer from overfitting and suboptimal bias adaptation.
- To enable efficient, recursive backtracking in program space for realistic computers with limited resources.
- To demonstrate how self-improvement and metasearching—searching for faster search procedures—can be formally integrated into a universal problem-solving framework.
- To provide a foundation for OOPS-based reinforcement learning and scalable, physically realizable universal solvers.
Proposed method
- OOPS uses asymptotically optimal non-incremental universal search, testing programs in order of increasing length and inverse probability, with runtime bounded by $2^i P(p)$ in phase $i$.
- It dynamically modifies the probability distribution on program suffixes using computable functions, enabling bias adaptation based on prior task solutions.
- Program prefixes are executed incrementally as they are generated, with non-writeable storage used to preserve successful solutions from earlier tasks.
- The algorithm time-shares the second half of search time among all tasks $1$ to $n$, while the first half is dedicated to testing programs with the most recent successful program as a prefix.
- A recursive backtracking procedure called 'Try' enables time-optimal reset of modified storage during program space exploration.
- A low-level, self-delimiting programming language is defined with primitives for stack manipulation, control flow, and bias-shifting, enabling universal computation and self-modification.
Experimental results
Research questions
- RQ1Can a general-purpose problem solver be designed that optimally reuses solutions from previous tasks to accelerate solving new, harder tasks?
- RQ2How can the bias distribution over programs be adaptively and optimally updated based on prior task solutions without overfitting?
- RQ3What is the theoretical and practical feasibility of recursive, time-optimal backtracking in program space on realistic computers?
- RQ4To what extent can self-improvement and metasearching—searching for faster search strategies—be formally integrated into a universal solver?
- RQ5How does OOPS scale in performance on problems like Towers of Hanoi with 30 disks, where the minimal solution size exceeds $10^9$?
Key findings
- OOPS achieves a 1000x speedup in solving complex problems like Towers of Hanoi with 30 disks by reusing and adapting earlier solutions through self-improvement.
- The algorithm demonstrates incremental learning by reusing prior solutions to discover a prefix that temporarily rewrites the distribution on suffixes, accelerating universal search.
- In experiments, OOPS successfully solved task sequences involving context-free language recognition and Towers of Hanoi, showing measurable performance gains from reuse.
- The recursive 'Try' procedure enables time-optimal backtracking in program space, crucial for efficient search on limited hardware.
- OOPS is provably bias-optimal and asymptotically optimal for sequences of tasks, outperforming traditional reinforcement learners and AI planners on problems requiring deep structural reuse.
- Physical limitations such as memory and time constraints are analyzed, and the framework is shown to scale in essentially unbeatable fashion for large problems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.