Reliable Natural Language Understanding with Large Language Models and Answer Set Programming. Rajasekharan, A., Zeng, Y., Padalkar, P., & Gupta, G. arXiv.org, February, 2023. Place: Ithaca Publisher: Cornell University Library, arXiv.org
Paper abstract bibtex Humans understand language by extracting information (meaning) from sentences, combining it with existing commonsense knowledge, and then performing reasoning to draw conclusions. While large language models (LLMs) such as GPT-3 and ChatGPT are able to leverage patterns in the text to solve a variety of NLP tasks, they fall short in problems that require reasoning. They also cannot reliably explain the answers generated for a given question. In order to emulate humans better, we propose STAR, a framework that combines LLMs with Answer Set Programming (ASP). We show how LLMs can be used to effectively extract knowledge – represented as predicates – from language. Goal-directed ASP is then employed to reliably reason over this knowledge. We apply the STAR framework to three different NLU tasks requiring reasoning: qualitative reasoning, mathematical reasoning, and goal-directed conversation. Our experiments reveal that STAR is able to bridge the gap of reasoning in NLU tasks, leading to significant performance improvements, especially for smaller LLMs, i.e., LLMs with a smaller number of parameters. NLU applications developed using the STAR framework are also explainable: along with the predicates generated, a justification in the form of a proof tree can be produced for a given output.
@article{rajasekharan_reliable_2023,
title = {Reliable {Natural} {Language} {Understanding} with {Large} {Language} {Models} and {Answer} {Set} {Programming}},
url = {https://www.proquest.com/working-papers/reliable-natural-language-understanding-with/docview/2774720104/se-2},
abstract = {Humans understand language by extracting information (meaning) from sentences, combining it with existing commonsense knowledge, and then performing reasoning to draw conclusions. While large language models (LLMs) such as GPT-3 and ChatGPT are able to leverage patterns in the text to solve a variety of NLP tasks, they fall short in problems that require reasoning. They also cannot reliably explain the answers generated for a given question. In order to emulate humans better, we propose STAR, a framework that combines LLMs with Answer Set Programming (ASP). We show how LLMs can be used to effectively extract knowledge -- represented as predicates -- from language. Goal-directed ASP is then employed to reliably reason over this knowledge. We apply the STAR framework to three different NLU tasks requiring reasoning: qualitative reasoning, mathematical reasoning, and goal-directed conversation. Our experiments reveal that STAR is able to bridge the gap of reasoning in NLU tasks, leading to significant performance improvements, especially for smaller LLMs, i.e., LLMs with a smaller number of parameters. NLU applications developed using the STAR framework are also explainable: along with the predicates generated, a justification in the form of a proof tree can be produced for a given output.},
language = {English},
journal = {arXiv.org},
author = {Rajasekharan, Abhiramon and Zeng, Yankai and Padalkar, Parth and Gupta, Gopal},
month = feb,
year = {2023},
note = {Place: Ithaca
Publisher: Cornell University Library, arXiv.org},
keywords = {Language, Artificial Intelligence, Business And Economics--Banking And Finance, Computation and Language, Sentences, Declarative programming, Knowledge representation, Mathematical programming, Natural language (computers), Qualitative reasoning},
annote = {Copyright - © 2023. This work is published under http://creativecommons.org/licenses/by-nc-nd/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.},
annote = {Última actualización - 2023-02-14},
}
Downloads: 0
{"_id":"k6PeJcYgj9hMEv766","bibbaseid":"rajasekharan-zeng-padalkar-gupta-reliablenaturallanguageunderstandingwithlargelanguagemodelsandanswersetprogramming-2023","author_short":["Rajasekharan, A.","Zeng, Y.","Padalkar, P.","Gupta, G."],"bibdata":{"bibtype":"article","type":"article","title":"Reliable Natural Language Understanding with Large Language Models and Answer Set Programming","url":"https://www.proquest.com/working-papers/reliable-natural-language-understanding-with/docview/2774720104/se-2","abstract":"Humans understand language by extracting information (meaning) from sentences, combining it with existing commonsense knowledge, and then performing reasoning to draw conclusions. While large language models (LLMs) such as GPT-3 and ChatGPT are able to leverage patterns in the text to solve a variety of NLP tasks, they fall short in problems that require reasoning. They also cannot reliably explain the answers generated for a given question. In order to emulate humans better, we propose STAR, a framework that combines LLMs with Answer Set Programming (ASP). We show how LLMs can be used to effectively extract knowledge – represented as predicates – from language. Goal-directed ASP is then employed to reliably reason over this knowledge. We apply the STAR framework to three different NLU tasks requiring reasoning: qualitative reasoning, mathematical reasoning, and goal-directed conversation. Our experiments reveal that STAR is able to bridge the gap of reasoning in NLU tasks, leading to significant performance improvements, especially for smaller LLMs, i.e., LLMs with a smaller number of parameters. NLU applications developed using the STAR framework are also explainable: along with the predicates generated, a justification in the form of a proof tree can be produced for a given output.","language":"English","journal":"arXiv.org","author":[{"propositions":[],"lastnames":["Rajasekharan"],"firstnames":["Abhiramon"],"suffixes":[]},{"propositions":[],"lastnames":["Zeng"],"firstnames":["Yankai"],"suffixes":[]},{"propositions":[],"lastnames":["Padalkar"],"firstnames":["Parth"],"suffixes":[]},{"propositions":[],"lastnames":["Gupta"],"firstnames":["Gopal"],"suffixes":[]}],"month":"February","year":"2023","note":"Place: Ithaca Publisher: Cornell University Library, arXiv.org","keywords":"Language, Artificial Intelligence, Business And Economics–Banking And Finance, Computation and Language, Sentences, Declarative programming, Knowledge representation, Mathematical programming, Natural language (computers), Qualitative reasoning","annote":"Última actualización - 2023-02-14","bibtex":"@article{rajasekharan_reliable_2023,\n\ttitle = {Reliable {Natural} {Language} {Understanding} with {Large} {Language} {Models} and {Answer} {Set} {Programming}},\n\turl = {https://www.proquest.com/working-papers/reliable-natural-language-understanding-with/docview/2774720104/se-2},\n\tabstract = {Humans understand language by extracting information (meaning) from sentences, combining it with existing commonsense knowledge, and then performing reasoning to draw conclusions. While large language models (LLMs) such as GPT-3 and ChatGPT are able to leverage patterns in the text to solve a variety of NLP tasks, they fall short in problems that require reasoning. They also cannot reliably explain the answers generated for a given question. In order to emulate humans better, we propose STAR, a framework that combines LLMs with Answer Set Programming (ASP). We show how LLMs can be used to effectively extract knowledge -- represented as predicates -- from language. Goal-directed ASP is then employed to reliably reason over this knowledge. We apply the STAR framework to three different NLU tasks requiring reasoning: qualitative reasoning, mathematical reasoning, and goal-directed conversation. Our experiments reveal that STAR is able to bridge the gap of reasoning in NLU tasks, leading to significant performance improvements, especially for smaller LLMs, i.e., LLMs with a smaller number of parameters. NLU applications developed using the STAR framework are also explainable: along with the predicates generated, a justification in the form of a proof tree can be produced for a given output.},\n\tlanguage = {English},\n\tjournal = {arXiv.org},\n\tauthor = {Rajasekharan, Abhiramon and Zeng, Yankai and Padalkar, Parth and Gupta, Gopal},\n\tmonth = feb,\n\tyear = {2023},\n\tnote = {Place: Ithaca\nPublisher: Cornell University Library, arXiv.org},\n\tkeywords = {Language, Artificial Intelligence, Business And Economics--Banking And Finance, Computation and Language, Sentences, Declarative programming, Knowledge representation, Mathematical programming, Natural language (computers), Qualitative reasoning},\n\tannote = {Copyright - © 2023. This work is published under http://creativecommons.org/licenses/by-nc-nd/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.},\n\tannote = {Última actualización - 2023-02-14},\n}\n\n","author_short":["Rajasekharan, A.","Zeng, Y.","Padalkar, P.","Gupta, G."],"key":"rajasekharan_reliable_2023","id":"rajasekharan_reliable_2023","bibbaseid":"rajasekharan-zeng-padalkar-gupta-reliablenaturallanguageunderstandingwithlargelanguagemodelsandanswersetprogramming-2023","role":"author","urls":{"Paper":"https://www.proquest.com/working-papers/reliable-natural-language-understanding-with/docview/2774720104/se-2"},"keyword":["Language","Artificial Intelligence","Business And Economics–Banking And Finance","Computation and Language","Sentences","Declarative programming","Knowledge representation","Mathematical programming","Natural language (computers)","Qualitative reasoning"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://bibbase.org/network/files/22WYpzbBvi3hDHX7Y","dataSources":["cYu6uhMkeFHgRrEty","hLMh7bwHyFsPNWAEL","LKW3iRvnztCpLNTW7","TLD9JxqHfSQQ4r268","X9BvByJrC3kGJexn8","iovNvcnNYDGJcuMq2","NjZJ5ZmWhTtMZBfje"],"keywords":["language","artificial intelligence","business and economics–banking and finance","computation and language","sentences","declarative programming","knowledge representation","mathematical programming","natural language (computers)","qualitative reasoning"],"search_terms":["reliable","natural","language","understanding","large","language","models","answer","set","programming","rajasekharan","zeng","padalkar","gupta"],"title":"Reliable Natural Language Understanding with Large Language Models and Answer Set Programming","year":2023}