paper-with-me

홈 › Papers

What If: Generating Code to Answer Simulation Questions

2022-04-16 · Gal Peretz, Kira Radinsky

Many texts, especially in chemistry and biology, describe complex processes. We focus on texts that describe a chemical reaction process and questions that ask about the process's outcome under different environmental conditions. To answer questions about such processes, one needs to understand the interactions between the different entities involved in the process and to simulate their state transitions during the process execution under different conditions. A state transition is defined as the memory modification the program does to the variables during the execution. We hypothesize that generating code and executing it to simulate the process will allow answering such questions. We, therefore, define a domain-specific language (DSL) to represent processes. We contribute to the community a unique dataset curated by chemists and annotated by computer scientists. The dataset is composed of process texts, simulation questions, and their corresponding computer codes represented by the DSL.We propose a neural program synthesis approach based on reinforcement learning with a novel state-transition semantic reward. The novel reward is based on the run-time semantic similarity between the predicted code and the reference code. This allows simulating complex process transitions and thus answering simulation questions. Our approach yields a significant boost in accuracy for simulation questions: 88\% accuracy as opposed to 83\% accuracy of the state-of-the-art neural program synthesis approaches and 54\% accuracy of state-of-the-art end-to-end text-based approaches.

📄 PDF Abstract BibTeX arXiv:2204.07835

Code (1)

galprz/simqa 공식 구현

Tasks

Program SynthesisSemantic SimilaritySemantic Textual Similarity

Similar Papers 제목 키워드 기반

CONSISTENT: Open-Ended Question Generation From News Articles

2022-10-20 · Tuhin Chakrabarty, Justin Lewis, Smaranda Muresan

Recent work on question generation has largely focused on factoid questions such as who, what, where, when about basic facts. Generating open-ended why, how, what, etc. questions that require long-form answers have prove…

ArticlesQuestion GenerationQuestion-Generation

Model Analysis & Evaluation for Ambiguous Question Answering

2023-05-21 · Konstantinos Papakostas, Irene Papadopoulou

Ambiguous questions are a challenge for Question Answering models, as they require answers that cover multiple interpretations of the original query. To this end, these models are required to generate long-form answers t…

modelQuestion Answering

Information Maximizing Visual Question Generation

2019-03-27 · CVPR 2019 6 · Ranjay Krishna, Michael Bernstein, Li Fei-Fei

Though image-to-sequence generation models have become overwhelmingly popular in human-computer communications, they suffer from strongly favoring safe generic questions ("What is in this picture?"). Generating uninforma…

ClusteringQuestion GenerationQuestion-Generation

What Can a Generative Language Model Answer About a Passage?

2021-11-01 · EMNLP (MRQA) 2021 11 · Douglas Summers-Stay, Claire Bonial, Clare Voss

Generative language models trained on large, diverse corpora can answer questions about a passage by generating the most likely continuation of the passage followed by a question/answer pair. However, accuracy rates vary…

Language ModelingLanguage Modelling

QAMPARI: An Open-domain Question Answering Benchmark for Questions with Many Answers from Multiple Paragraphs

2022-05-25 · Samuel Joseph Amouyal, Tomer Wolfson, Ohad Rubin, Ori Yoran 외

Existing benchmarks for open-domain question answering (ODQA) typically focus on questions whose answers can be extracted from a single paragraph. By contrast, many natural questions, such as "What players were drafted b…

Answer GenerationNatural QuestionsOpen-Domain Question AnsweringPassage Retrieval+2