Conversational Neuro-Symbolic Commonsense Reasoning

Forough Arabshahi, Jennifer Lee, Mikayla Gawarecki, Kathryn Mazaitis, Amos Azaria, Tom M. Mitchell

Abstract

In order for conversational AI systems to hold more natural and broad-ranging conversations, they will require much more commonsense, including the ability to identify unstated presumptions of their conversational partners. For example, in the command "If it snows at night then wake me up early because I don't want to be late for work" the speaker relies on commonsense reasoning of the listener to infer the implicit presumption that they wish to be woken only if it snows enough to cause traffic slowdowns. We consider here the problem of understanding such imprecisely stated natural language commands given in the form of "if-(state), then-(action), because-(goal)" statements. More precisely, we consider the problem of identifying the unstated presumptions of the speaker that allow the requested action to achieve the desired goal from the given state (perhaps elaborated by making the implicit presumptions explicit). We release a benchmark data set for this task, collected from humans and annotated with commonsense presumptions. We present a neuro-symbolic theorem prover that extracts multi-hop reasoning chains, and apply it to this problem. Furthermore, to accommodate the reality that current AI commonsense systems lack full coverage, we also present an interactive conversational framework built on our neuro-symbolic system, that conversationally evokes commonsense knowledge from humans to complete its reasoning chains.

Introduction

When humans communicate, they are remarkably efficient, often omitting details that are obvious through shared context. If a person says, "Wake me up early if it snows so I can get to work on time," a human listener intuitively understands that the alarm is only necessary if the snowfall is heavy enough to cause traffic delays, and only if it is a workday. These are unstated presumptions.

Current AI assistants like Siri or Alexa struggle with these commands because they lack a robust "common sense" engine. They typically rely on explicit, pre-programmed instructions and struggle with the inherent incompleteness of static knowledge bases and the vast variation in natural language. This paper introduces CORGI (COmmonsense ReasoninG by Instruction), a framework designed to bridge these logical gaps.

The CORGI Framework

CORGI approaches command understanding as a theorem-proving task. It expects inputs in a structured format: If (state), then (action), because (goal). The "because" clause is the critical innovation here; it provides the "why" behind the command, acting as a semantic anchor that allows the system to reason about the user's ultimate intent.

Neuro-Symbolic Theorem Proving

To handle the flexibility of human language, CORGI employs a neuro-symbolic theorem prover. Traditional symbolic logic is brittle, requiring exact string matches to connect concepts. CORGI overcomes this using soft unification. It uses an LSTM and character-level RNN to create vector embeddings for rules and variables. By calculating the cosine similarity between these embeddings, the system can recognize that "wake me up" and "make sure I am awake" are functionally identical, allowing for multi-hop reasoning that is robust to linguistic variation.

CORGI's architecture integrates a parser, a neuro-symbolic theorem prover with soft unification, and a user feedback loop for real-time knowledge acquisition.

Interactive Knowledge Acquisition

Recognizing that no knowledge base can be truly complete, CORGI includes an interactive conversational loop. If the system cannot find a logical proof connecting the state and action to the goal using its internal knowledge, it enters a user feedback loop. It asks targeted questions like "How do I know if [goal]?" to elicit missing commonsense links from the user in real-time, which are then added to its knowledge base.

Experimental Evaluation

The authors evaluated CORGI using a new benchmark dataset of 160 "if-then-because" commands, split between "Restricted Domains" (e.g., calendars, weather) and "Everyday Domains" (e.g., general daily activities). This dataset is uniquely annotated with the specific hidden presumptions required to logically satisfy the commands.

The researchers conducted a user study with both novice and expert users to test the system's ability to complete reasoning chains through interaction. The results highlighted the necessity of both the feedback loop and the neuro-symbolic approach.

Success rates across different CORGI configurations demonstrate that both user feedback and soft unification are critical for resolving commonsense gaps.

Without user feedback, the success rate for all variations was 0%, demonstrating the insufficiency of current static commonsense knowledge bases for these tasks. However, with conversational feedback and soft unification, CORGI achieved a success rate of 15.61% for novices and 35.00% for experts. When using "Oracle unification" (an upper-bound baseline for matching), success rates rose to 21.62% and 45.71%, respectively.

Discussion and Future Work

CORGI demonstrates that the "goal" of a command is essential for disambiguation and that a hybrid neuro-symbolic approach provides the necessary robustness for natural language reasoning. However, several limitations remain. The system is highly sensitive to the initial natural language parser; if the parser fails to correctly structure the input, the reasoning chain breaks. Additionally, the current questioning strategy is deterministic; future iterations could use more context-aware natural language generation to ask more intuitive questions. Other challenges include handling "hidden actions"—implicit steps the user must take—and addressing the privacy concerns inherent in learning personalized knowledge from users.

Conclusion

By combining the logical depth of symbolic reasoning with the linguistic flexibility of neural networks and a human-in-the-loop feedback mechanism, CORGI represents a significant advancement toward AI assistants capable of understanding the unstated intentions that characterize natural human conversation.

Summary updated

Abstract

In order for conversational AI systems to hold more natural and broad-ranging conversations, they will require much more commonsense, including the ability to identify unstated presumptions of their conversational partners. For example, in the command "If it snows at night then wake me up early because I don't want to be late for work" the speaker relies on commonsense reasoning of the listener to infer the implicit presumption that they wish to be woken only if it snows enough to cause traffic slowdowns. We consider here the problem of understanding such imprecisely stated natural language commands given in the form of "if-(state), then-(action), because-(goal)" statements. More precisely, we consider the problem of identifying the unstated presumptions of the speaker that allow the requested action to achieve the desired goal from the given state (perhaps elaborated by making the implicit presumptions explicit). We release a benchmark data set for this task, collected from humans and annotated with commonsense presumptions. We present a neuro-symbolic theorem prover that extracts multi-hop reasoning chains, and apply it to this problem. Furthermore, to accommodate the reality that current AI commonsense systems lack full coverage, we also present an interactive conversational framework built on our neuro-symbolic system, that conversationally evokes commonsense knowledge from humans to complete its reasoning chains.
BibTeX
@inproceedings{arabshahi2021conversational,
  author = {Forough Arabshahi and Jennifer Lee and Mikayla Gawarecki and Kathryn Mazaitis and Amos Azaria and Tom M. Mitchell},
  title = {{Conversational Neuro-Symbolic Commonsense Reasoning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i6.16623},
}
Figure