Neural Predictor-Corrector: Solving Homotopy Problems with Reinforcement Learning
Jiayao Mai, Bangyan Liao, Zhenjun Zhao, Yingping Zeng, Haoang Li, Javier Civera, Tailin Wu, Yi Zhou, Peidong Liu
TL;DR
This work unifies diverse homotopy-based problem solve methods under a single predictor-corrector framework and replaces hand-crafted heuristics with learned policies via reinforcement learning. The Neural Predictor-Corrector (NPC) treats predictor step size and corrector tolerance as actions in a Markov decision process and trains an amortized policy with PPO to generalize across problem instances. Across four representative tasks—robust optimization, global optimization, polynomial root-finding, and sampling—NPC achieves superior efficiency and stability compared to classical baselines and generalizes to unseen instances without per-instance training. The approach promises practical impact by enabling training-free deployment of a general, efficient solver for a broad class of challenging problems that can be framed as homotopy continuations.
Abstract
The Homotopy paradigm, a general principle for solving challenging problems, appears across diverse domains such as robust optimization, global optimization, polynomial root-finding, and sampling. Practical solvers for these problems typically follow a predictor-corrector (PC) structure, but rely on hand-crafted heuristics for step sizes and iteration termination, which are often suboptimal and task-specific. To address this, we unify these problems under a single framework, which enables the design of a general neural solver. Building on this unified view, we propose Neural Predictor-Corrector (NPC), which replaces hand-crafted heuristics with automatically learned policies. NPC formulates policy selection as a sequential decision-making problem and leverages reinforcement learning to automatically discover efficient strategies. To further enhance generalization, we introduce an amortized training mechanism, enabling one-time offline training for a class of problems and efficient online inference on new instances. Experiments on four representative homotopy problems demonstrate that our method generalizes effectively to unseen instances. It consistently outperforms classical and specialized baselines in efficiency while demonstrating superior stability across tasks, highlighting the value of unifying homotopy methods into a single neural framework.
