Question Answering as Programming for Solving Time-Sensitive Questions
Xinyu Zhu, Cheng Yang, Bei Chen, Siheng Li, Jian-Guang Lou, Yujiu Yang

TL;DR
This paper introduces QAaP, a novel approach that reformulates time-sensitive question answering as programming, leveraging LLMs' coding abilities to improve answer accuracy under changing facts.
Contribution
The paper proposes a new method, QAaP, which uses LLMs to convert questions into code representations for better reasoning in time-sensitive QA tasks.
Findings
Achieved up to 14.5% improvement over strong baselines.
Demonstrated effectiveness of programming-based reformulation in time-sensitive QA.
Validated on multiple datasets with consistent performance gains.
Abstract
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 uestion nswering task s rogramming (). Concretely, by leveraging modern LLMs'…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Speech and dialogue systems
