A Quality-Aware Optimizer for Information Extraction

A large amount of structured information is buried in unstructured text.  Information extraction systems can extract structured relations from the documents and enable sophisticated, SQL-like queries over unstructured text.  Information extraction systems are not perfect and their output has imperfect precision and recall (i.e., contains spurious tuples and misses good tuples).  Typically, an extraction system has a set of parameters that can be used as “knobs” to tune the system to be either precision- or recall-oriented.  Furthermore, the choice of documents processed by the extraction system also affects the quality of the extracted relation.  So far, estimating the output quality of an information extraction task has been an ad hoc procedure, based mainly on heuristics.  In this article, we show how to use Receiver Operating Characteristic (ROC) curves to estimate the extraction quality in a statistically robust way and show how to use ROC analysis to select the extraction parameters in a principled manner.  Furthermore, we present analytic models that reveal how different document retrieval strategies affect the quality of the extracted relation.  Finally, we present our maximum likelihood approach for estimating, on the fly, the parameters required by our analytic models to predict the runtime and the output quality of each execution plan.  Our experimental evaluation demonstrates that our optimization approach predicts accurately the output quality and selects the fastest execution plan that satisfies the output quality restrictions.