Back to search

Hong Kong University of Science and Technology

ConstraintChecker : a plugin for large language models to reason on commonsense knowledge bases

Abstract

dc:description

<p>Reasoning over Commonsense Knowledge Bases (CSKB), i.e. CSKB reasoning, has been explored as a way to acquire new commonsense knowledge. Despite the advancement of Large Language Models (LLM) and prompt engineering techniques in various reasoning tasks, they still struggle to deal with CSKB reasoning. One challenge for them is to acquire explicit relational constraints in CSKBs from only in-context exemplars, due to their lack of symbolic reasoning capabilities. In this thesis, we propose ConstraintChecker, a symbolic-reasoning plugin over baseline prompting techniques to provide and check explicit constraints. When considering a new knowledge instance, ConstraintChecker employs a rule-based module to produce a list of constraints, then it uses a zero-shot learning module to check whether this knowledge instance satisfies all constraints. The acquired constraint-checking result is then aggregated with the output of the main prompting technique to produce the final output. Experimental results on CSKB Reasoning benchmarks demonstrate the effectiveness of our method by bringing consistent improvements over all baseline prompting techniques.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Do, Van Quyet
Contributors dc:contributor
  • Song, Yangqiu

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Do, Van Quyet. ConstraintChecker : a plugin for large language models to reason on commonsense knowledge bases. 2024. http://repository.hkust.edu.hk/ir/Record/1783.1-143310