Proceedings

Improving Efficiency of Answer Set Planning with Rough Solutions from Large Language Models for Robotic Task Planning

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4570-4578.

https://doi.org/10.24963/ijcai.2025/509

Abstract

Answer Set Programming (ASP) planning can be used to refine the rough solutions generated by Large Language Models (LLMs) to handle specific restrictions of actions, i.e., reconstruct the rough solutions to be executable, for robotic task planning. However, it is still challenging to efficiently solve ASP programs that have multiple variables with large domains, which prevents the above application of ASP planning from real-world task planning problems. In this paper, we consider how to reduce the domains of variables without losing possible solutions for ASP planning, while given these rough solutions from LLMs. Based on the above reduction, we introduce CLMASP, an approach that couples LLMs with ASP for robotic task planning. We evaluate CLMASP on the VirtualHome platform for common indoor tasks, demonstrating a significant improvement in the executable rate from under 10% to nearly 90% and reducing average ASP planning time from over 2 hours to under 5 seconds. Code is available at https://github.com/CLMASP/CLMASP.

  1. [Bacchus and Kabanza, 2000] Fahiem Bacchus and Frodu- ald Kabanza. Using temporal logics to express search con- trol knowledge for planning. Artificial intelligence, 116(1- 2):123-191, 2000.
  2. [Bhat et al., 2024] Vineet Bhat, Ali Umut Kaypak, Prashanth Krishnamurthy, Ramesh Karri, and Farshad Khorrami. Grounding llms for robot task planning using closed-loop state feedback. arXiv preprint arXiv:2402.08546, 2024.
  3. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, Jared D Kaplan, Prafulla Dhari- wal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing sys- tems, 33:1877-1901, 2020.
  4. [Calimeri et al., 2022] Francesco Calimeri, Giovambattista Ianni, Francesco Pacenza, Simona Perri, and Jessica Zan- gari. Asp-based multi-shot reasoning via dlv2 with incre- mental grounding. In Proceedings of the 24th Interna- tional Symposium on Principles and Practice of Declar- ative Programming, pages 1-9, 2022.
  5. [Chen et al., 2006] Yin Chen, Fangzhen Lin, Yisong Wang, and Mingyi Zhang. First-order loop formulas for normal logic programs. KR, 6:298-307, 2006.
  6. [Chen et al., 2013] Xiaoping Chen, Jianmin Ji, Zhiqiang Sui, and Jiongkun Xie. Handling open knowledge for service robots. In Proceedings of the 23rd International Joint Con- ference on Artificial Intelligence (IJCAI-13), pages 2459- 2465, 2013. IJCAI
  7. [Chen et al., 2024] Yongchao Chen, Jacob Arkin, Charles Dawson, Yang Zhang, Nicholas Roy, and Chuchu Fan. Autotamp: Autoregressive task and motion planning with llms as translators and checkers. In 2024 IEEE Interna- tional Conference on Robotics and Automation (ICRA), pages 6695-6702. IEEE, 2024.
  8. [Dal Palu et al., 2009] Alessandro Dal Palu, Agostino Dovier, Enrico Pontelli, and Gianfranco Rossi. Gasp: an- swer set programming with lazy grounding. Fundamenta Informaticae, 96(3):297-322, 2009.
  9. [Fandinno and Lierler, 2023] Jorge Fandinno and Yuliya Lierler. Splitting answer set programs with respect to in- tensionality statements. In Proceedings of the AAAI Con- ference on Artificial Intelligence, volume 37, pages 6338- 6345, 2023.
  10. [Gebser et al., 2019] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Multi-shot asp solving with clingo. Theory and Practice of Logic Pro- gramming, 19(1):27-82, 2019.
  11. [Gelfond and Lifschitz, 1988] Michael Gelfond and Vladimir Lifschitz. The stable model semantics for logic programming. In ICLP/SLP, volume 88, pages 1070-1080. Cambridge, MA, 1988.
  12. [Gou et al., 2023] Zhibin Gou, Zhihong Shao, Yeyun Gong, Yelong Shen, Yujiu Yang, Nan Duan, and Weizhu Chen. Critic: Large language models can self-correct with tool- interactive critiquing. arXiv preprint arXiv:2305.11738, 2023.
  13. [Huang et al., 2022] Wenlong Huang, Pieter Abbeel, Deepak Pathak, and Igor Mordatch. Language models as zero-shot planners: Extracting actionable knowledge for embodied agents. In International conference on machine learning, pages 9118-9147. PMLR, 2022.
  14. [Hurst et al., 2024] Aaron Hurst, Adam Lerer, Adam P Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Rad- ford, et al. Gpt-4o system card. arXiv preprint arXiv:2410.21276, 2024.
  15. [Ji et al., 2015a] Jianmin Ji, Hai Wan, Ziwei Huo, and Zhen- feng Yuan. Simplifying a logic program using its conse- quences. In IJCAI, pages 3069-3075, 2015. IJCAI
  16. [Ji et al., 2015b] Jianmin Ji, Hai Wan, Ziwei Huo, and Zhen- feng Yuan. Splitting a logic program revisited. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 29, 2015.
  17. [Ji et al., 2015c] Jianmin Ji, Jia-Huai You, and Yisong Wang. On forgetting postulates in answer set programming. In Twenty-Fourth International Joint Conference on Artificial Intelligence, 2015. IJCAI
  18. [Ji et al., 2016] Jianmin Ji, Hai Wan, Kewen Wang, Zhe Wang, Chuhan Zhang, and Jiangtao Xu. Eliminating dis- junctions in answer set programming by restricted unfold- ing. In IJCAI, pages 1130-1137, 2016. IJCAI
  19. [Kambhampati et al., 2024] Subbarao Kambhampati, Karthik Valmeekam, Lin Guan, Mudit Verma, Kaya Stechly, Siddhant Bhambri, Lucas Saldyt, and Anil Murthy. Position: Llms can't plan, but can help planning in llm-modulo frameworks. In Proceedings of the 41st In- ternational Conference on Machine Learning, ICML'24. JMLR.org, 2024.
  20. [Liang et al., 2023] Jacky Liang, Wenlong Huang, Fei Xia, Peng Xu, Karol Hausman, Brian Ichter, Pete Florence, and Andy Zeng. Code as policies: Language model programs for embodied control. In 2023 IEEE International Con- ference on Robotics and Automation (ICRA), pages 9493- 9500. IEEE, 2023.
  21. [Lifschitz and Turner, 1994] Vladimir Lifschitz and Hudson Turner. Splitting a logic program. In Proceedings of the Eleventh International Conference on Logic Programming (ICLP-94), page 23-37, 1994.
  22. [Lifschitz, 2019] Vladimir Lifschitz. Answer set program- ming. Springer Heidelberg, 2019.
  23. [Lin and Zhao, 2004] Fangzhen Lin and Yuting Zhao. Assat: Computing answer sets of a logic program by sat solvers. Artificial Intelligence, 157(1-2):115-137, 2004.
  24. [Liu et al., 2023] Bo Liu, Yuqian Jiang, Xiaohan Zhang, Qiang Liu, Shiqi Zhang, Joydeep Biswas, and Peter Stone. Llm+ p: Empowering large language models with optimal planning proficiency. arXiv preprint arXiv:2304.11477, 2023.
  25. [Meta AI, 2024] Meta AI. Introducing meta llama 3: The most capable openly available llm to date. https://ai.meta. com/blog/meta-llama-3/, 2024. Accessed: 2025-06-05. Link
  26. [Mu et al., 2024] Yao Mu, Qinglong Zhang, Mengkang Hu, Wenhai Wang, Mingyu Ding, Jun Jin, Bin Wang, Jifeng Dai, Yu Qiao, and Ping Luo. Embodiedgpt: Vision- language pre-training via embodied chain of thought. Ad- vances in Neural Information Processing Systems, 36, 2024. [OpenAI, 2023] OpenAI. Gpt-4 research and capabili- ties. https://openai.com/index/gpt-4-research/, 2023. Ac- cessed: 2025-06-05. Link
  27. [Pan et al., 2023] Liangming Pan, Alon Albalak, Xinyi Wang, and William Wang. Logic-lm: Empowering large language models with symbolic solvers for faithful logical reasoning. In Findings of the Association for Computa- tional Linguistics: EMNLP 2023, pages 3806-3824, 2023.
  28. [Pearce, 2004] David Pearce. Simplifying logic programs under answer set semantics. In International Conference on Logic Programming, pages 210-224. Springer, 2004.
  29. [Potassco Team, 2025] Potassco Team. Potassco user guides and documentation. https://potassco.org/doc/, 2025. Ac- cessed: 2025-06-05. Link
  30. [Saribatur and Eiter, 2021] Zeynep G Saribatur and Thomas Eiter. Omission-based abstraction for answer set pro- grams. Theory and Practice of Logic Programming, 21(2):145-195, 2021.
  31. [Saribatur and Woltran, 2024] Zeynep G Saribatur and Ste- fan Woltran. A unified view on forgetting and strong equivalence notions in answer set programming. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 10687-10695, 2024.
  32. [Saribatur et al., 2021] Zeynep G Saribatur, Thomas Eiter, and Peter Schüller. Abstraction for non-ground answer set programs. Artificial Intelligence, 300:103563, 2021.
  33. [Singh et al., 2023] Ishika Singh, Valts Blukis, Arsalan Mousavian, Ankit Goyal, Danfei Xu, Jonathan Tremblay, Dieter Fox, Jesse Thomason, and Animesh Garg. Prog- prompt: Generating situated robot task plans using large language models. In 2023 IEEE International Conference on Robotics and Automation (ICRA), pages 11523-11530. IEEE, 2023.
  34. [Song et al., 2023] Chan Hee Song, Jiaman Wu, Clayton Washington, Brian M Sadler, Wei-Lun Chao, and Yu Su. Llm-planner: Few-shot grounded planning for embodied agents with large language models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2998-3009, 2023.
  35. [Tran et al., 2023] Son Cao Tran, Enrico Pontelli, Marcello Balduccini, and Torsten Schaub. Answer set planning: a survey. Theory and Practice of Logic Programming, 23(1):226-298, 2023.
  36. [Van Harmelen et al., 2008] Frank Van Harmelen, Vladimir Lifschitz, and Bruce Porter. Handbook of knowledge rep- resentation. Elsevier, 2008.
  37. [Wu et al., 2023] Zhenyu Wu, Ziwei Wang, Xiuwei Xu, Ji- wen Lu, and Haibin Yan. Embodied task planning with large language models. arXiv e-prints, pages arXiv-2307, 2023.
  38. [Xiang et al., 2024] Jiannan Xiang, Tianhua Tao, Yi Gu, Tianmin Shu, Zirui Wang, Zichao Yang, and Zhiting Hu. Language models meet world models: Embodied experi- ences enhance language models. Advances in neural in- formation processing systems, 36, 2024.
  39. [Yang et al., 2023] Zhun Yang, Adam Ishay, and Joohyung Lee. Coupling large language models with logic pro- gramming for robust and general reasoning from text. In Findings of the Association for Computational Linguistics: ACL 2023, pages 5186-5219, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards