Code-Style In-Context Learning for Knowledge-Based Question Answering
원문 초록
Current methods for Knowledge-Based Question Answering (KBQA) usually rely on complex training techniques and model frameworks, leading to many limitations in practical applications. Recently, the emergence of In-Context Learning (ICL) capabilities in Large Language Models (LLMs) provides a simple and training-free semantic parsing paradigm for KBQA: Given a small number of questions and their labeled logical forms as demo examples, LLMs can understand the task intent and generate the logic form for a new question. However, current powerful LLMs have little exposure to logic forms during pre-training, resulting in a high format error rate. To solve this problem, we propose a code-style in-context learning method for KBQA, which converts the generation process of unfamiliar logical form into the more familiar code generation process for LLMs. Experimental results on three mainstream datasets show that our method dramatically mitigated the formatting error problem in generating logic forms while realizing a new SOTA on WebQSP, GrailQA, and GraphQ under the few-shot setting. The code and supplementary files are released at https://github.com/Arthurizijar/KB-Coder .
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
SV-LLM: An Agentic Approach for SoC Security Verification using Large Language Models
Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
PRO-V: An Efficient Program Generation Multi-Agent System for Automatic RTL Verification
Specification and Evaluation of Multi-Agent LLM Systems -- Prototype and Cybersecurity Applications
Bridging the Gap Between Open-Source and Proprietary LLMs in Table QA
SMMILE: An Expert-Driven Benchmark for Multimodal Medical In-Context Learning
토론
이 논문과 연결된 포럼 글이 아직 없습니다.