IJCAI 2024poster3 citations

Towards Automatic Composition of ASP Programs from Natural Language Specifications

Manuel Borroto Santana, Irfan Kareem, Francesco Ricca

Abstract

This paper moves the first step towards automating the composition of Answer Set Programming (ASP) specifications. In particular, the following contributions are provided: (i) A dataset focused on graph-related problem specifications, designed to develop and assess tools for ASP automatic coding; (ii) A two-step architecture, implemented in the NL2ASP tool, for generating ASP programs from natural language specifications. NL2ASP uses neural machine translation to transform natural language into Controlled Natural Language (CNL) statements. Subsequently, CNL statements are converted into ASP code using the CNL2ASP tool. An experimental analysis confirms the viability of the approach.

Natural Language Processing: NLP: ApplicationsKnowledge Representation and Reasoning: KRR: Logic programmingMachine Learning: ML: Generative models
BibTeX
@inproceedings{ijcai2024p685,
  title     = {Towards Automatic Composition of ASP Programs from Natural Language Specifications},
  author    = {Borroto Santana, Manuel and Kareem, Irfan and Ricca, Francesco},
  booktitle = {Proceedings of the Thirty-Third International Joint Conference on
               Artificial Intelligence, {IJCAI-24}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Kate Larson},
  pages     = {6198--6206},
  year      = {2024},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2024/685},
  url       = {https://doi.org/10.24963/ijcai.2024/685},
}
Towards Automatic Composition of ASP Programs from Natural Language Specifications · IJCAI 2024