[Paper Review] A Real World Implementation of Answer Extraction
This paper presents ExtrAns, a real-world answer extraction system that parses Unix man pages to extract exact answer phrases for natural language questions. By translating both queries and document sentences into logical forms and using a theorem prover to retrieve relevant phrases, ExtrAns achieves high precision through context-aware, graded highlighting of multiple interpretation paths, even in the presence of syntactic ambiguities.
In this paper we describe ExtrAns, an answer extraction system. Answer extraction (AE) aims at retrieving those exact passages of a document that directly answer a given user question. AE is more ambitious than information retrieval and information extraction in that the retrieval results are phrases, not entire documents, and in that the queries may be arbitrarily specific. It is less ambitious than full-fledged question answering in that the answers are not generated from a knowledge base but looked up in the text of documents. The current version of ExtrAns is able to parse unedited Unix "man pages", and derive the logical form of their sentences. User queries are also translated into logical forms. A theorem prover then retrieves the relevant phrases, which are presented through selective highlighting in their context.
Motivation & Objective
- To develop a scalable, precise answer extraction system capable of handling unrestricted natural language questions over small, domain-specific text collections.
- To overcome the limitations of traditional information retrieval (which retrieves full documents) and information extraction (which only answers predefined templates) by focusing on exact phrase retrieval.
- To manage syntactic ambiguities in real-world text by storing multiple interpretations and using graded highlighting to indicate high-relevance regions.
- To improve user comprehension of ambiguous results by presenting them in context with visual cues that reflect retrieval frequency across different proof paths.
Proposed method
- Parse unedited Unix man pages to derive logical forms of sentences using linguistic analysis, including syntactic and semantic components.
- Translate user questions into logical forms using the same formalism to enable semantic comparison with document content.
- Employ a theorem prover to compute proof paths between the query's logical form and sentence logical forms in the documents.
- Store multiple interpretations of ambiguous sentences in the database to preserve potential relevance across different readings.
- Highlight retrieved phrases using a graded color scheme, where intensity reflects the number of distinct proof paths retrieving the same phrase.
- Present results in a context-aware interface where users can click to view the full manual page with selective highlighting for improved navigation and verification.
Experimental results
Research questions
- RQ1Can a system achieve high precision in answer extraction by combining syntactic parsing with logical inference, even in the presence of syntactic ambiguities?
- RQ2How can multiple interpretations of ambiguous sentences be effectively managed and presented to users without reducing usability?
- RQ3To what extent does context-aware, graded highlighting improve user perception of relevance compared to traditional IR or IE methods?
- RQ4Can answer extraction be implemented with limited linguistic processing while still achieving high precision on real-world, unedited technical documents?
- RQ5How does the integration of synonymy, hyponymy, and distributivity in inference improve recall without sacrificing precision?
Key findings
- ExtrAns successfully retrieves exact answer phrases from 30 Unix man pages using logical form parsing and theorem proving, demonstrating feasibility in a real-world, domain-specific setting.
- The system handles syntactic ambiguities by storing multiple interpretations and using graded highlighting to indicate phrases retrieved via multiple proof paths, improving user perception of relevance.
- Even in keywords-only mode, ExtrAns outperforms standard IR systems in precision by preserving syntactic and semantic relationships, avoiding irrelevant matches like 'ln creates an additional directory entry'.
- The use of graded highlighting effectively reduces the cognitive load of ambiguous results by visually emphasizing phrases that are consistently retrieved across different interpretations.
- The system's approach to answer extraction is more precise than standard IR because it retains word order and function word information, avoiding false positives from unordered term matching.
- Despite limitations in handling ungrammatical text and pronouns, the system shows that high-precision answer extraction is achievable with minimal linguistic processing when focused on small, structured domains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.