paper-with-me

Papers

Question Answering as Programming for Solving Time-Sensitive Questions

2023-05-23 · Xinyu Zhu, Cheng Yang, Bei Chen, Siheng Li, Jian-Guang Lou, Yujiu Yang

Question answering plays a pivotal role in human daily life because it involves our acquisition of knowledge about the world. However, due to the dynamic and ever-changing nature of real-world facts, the answer can be completely different when the time constraint in the question changes. Recently, Large Language Models (LLMs) have shown remarkable intelligence in question answering, while our experiments reveal that the aforementioned problems still pose a significant challenge to existing LLMs. This can be attributed to the LLMs' inability to perform rigorous reasoning based on surface-level text semantics. To overcome this limitation, rather than requiring LLMs to directly answer the question, we propose a novel approach where we reframe the $\textbf{Q}$uestion $\textbf{A}$nswering task $\textbf{a}$s $\textbf{P}$rogramming ($\textbf{QAaP}$). Concretely, by leveraging modern LLMs' superior capability in understanding both natural language and programming language, we endeavor to harness LLMs to represent diversely expressed text as well-structured code and select the best matching answer from multiple candidates through programming. We evaluate our QAaP framework on several time-sensitive question answering datasets and achieve decent improvement, up to $14.5$% over strong baselines. Our codes and data are available at https://github.com/TianHongZXY/qaap

📄 PDF Abstract BibTeX arXiv:2305.14221

Code (1)

tianhongzxy/qaap 공식 구현

Tasks

Natural Language UnderstandingQuestion Answering

Similar Papers 제목 키워드 기반

Recursive Visual Programming

2023-12-04 · Jiaxin Ge, Sanjay Subramanian, Baifeng Shi, Roei Herzig 외

Visual Programming (VP) has emerged as a powerful framework for Visual Question Answering (VQA). By generating and executing bespoke code for each question, these methods demonstrate impressive compositional and reasonin…

Code GenerationQuestion AnsweringVisual Question AnsweringVisual Question Answering (VQA)

Improving Time Sensitivity for Question Answering over Temporal Knowledge Graphs

2022-03-01 · ACL 2022 5 · Chao Shang, Guangtao Wang, Peng Qi, Jing Huang

Question answering over temporal knowledge graphs (KGs) efficiently uses facts contained in a temporal KG, which records entity relations and when they occur in time, to answer natural language questions (e.g., "Who was …

Knowledge GraphsQuestion AnsweringSensitivity

CS1QA: A Dataset for Assisting Code-based Question Answering in an Introductory Programming Course

2022-10-26 · NAACL 2022 7 · Changyoon Lee, Yeon Seonwoo, Alice Oh

We introduce CS1QA, a dataset for code-based question answering in the programming education domain. CS1QA consists of 9,237 question-answer pairs gathered from chat logs in an introductory programming class using Python…

Question Answering

MRAG: A Modular Retrieval Framework for Time-Sensitive Question Answering

2024-12-20 · Zhang Siyue, Xue Yuxiang, Zhang Yiming, Wu Xiaobao 외

Understanding temporal relations and answering time-sensitive questions is crucial yet a challenging task for question-answering systems powered by large language models (LLMs). Existing approaches either update the para…

Question AnsweringRetrievalRetrieval-augmented Generation

A Confidence-Based Interface for Neuro-Symbolic Visual Question Answering

2021-11-21 · AAAI Workshop CLeaR 2022 2 · Thomas Eiter, Nelson Nicolas Higuera, Johannes Oetsch, Michael Pritz

We present a neuro-symbolic visual question answering (VQA) approach for the CLEVR dataset that is based on the combination of deep neural networks and answer-set programming (ASP), a logic-based paradigm for declarative…

Question AnsweringTranslationVisual Question AnsweringVisual Question Answering (VQA)