12
0

Natural Language Planning via Coding and Inference Scaling

Abstract

Real-life textual planning tasks such as meeting scheduling have posed much challenge to LLMs especially when the complexity is high. While previous work primarily studied auto-regressive generation of plans with closed-source models, we systematically evaluate both closed- and open-source models, including those that scales output length with complexity during inference, in generating programs, which are executed to output the plan. We consider not only standard Python code, but also the code to a constraint satisfaction problem solver. Despite the algorithmic nature of the task, we show that programming often but not always outperforms planning. Our detailed error analysis also indicates a lack of robustness and efficiency in the generated code that hinders generalization.

View on arXiv
@article{amonkar2025_2505.13252,
  title={ Natural Language Planning via Coding and Inference Scaling },
  author={ Rikhil Amonkar and Ronan Le Bras and Li Zhang },
  journal={arXiv preprint arXiv:2505.13252},
  year={ 2025 }
}
Comments on this paper