HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Iterative Hierarchical Attention for Answering Complex Questions over Long Documents

Haitian Sun William W. Cohen Ruslan Salakhutdinov

Iterative Hierarchical Attention for Answering Complex Questions over Long Documents

Abstract

We propose a new model, DocHopper, that iteratively attends to different parts of long, hierarchically structured documents to answer complex questions. Similar to multi-hop question-answering (QA) systems, at each step, DocHopper uses a query $q$ to attend to information from a document, combines this retrieved'' information with $q$ to produce the next query. However, in contrast to most previous multi-hop QA systems, DocHopper is able toretrieve'' either short passages or long sections of the document, thus emulating a multi-step process of ``navigating'' through a long document to answer a question. To enable this novel behavior, DocHopper does not combine document information with $q$ by concatenating text to the text of $q$, but by combining a compact neural representation of $q$ with a compact neural representation of a hierarchical part of the document, which can potentially be quite large. We experiment with DocHopper on four different QA tasks that require reading long and complex documents to answer multi-hop questions, and show that DocHopper achieves state-of-the-art results on three of the datasets. Additionally, DocHopper is efficient at inference time, being 3--10 times faster than the baselines.

Benchmarks

BenchmarkMethodologyMetrics
question-answering-on-conditionalqaDocHopper
Conditional (answers): 42.0 / 46.4
Conditional (w/ conditions): 3.1 / 3.8
Overall (answers): 40.6 / 45.2
Overall (w/ conditions): 31.9 / 36.0
question-answering-on-hybridqaDocHopper
ANS-EM: 46.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Iterative Hierarchical Attention for Answering Complex Questions over Long Documents | Papers | HyperAI