Abstract: Recently, several Web-scale knowledge harvesting systems have been built, each of which is competent at extracting information from certain types of data (e.g., unstructured text, structured tables on the web, etc.). In order to determine the response to a new query posed to such systems, it is useful to integrate opinions from multiple systems. If a response is desired within a specific time budget, then maybe only a subset of these resources can be queried. In this paper, we address the problem of knowledge integration for on-demand time-budgeted query answering. We propose a new method, AskWorld, which learns a policy that chooses which queries to send to which resources, by accommodating varying budget constraints that are available only at query (test) time. Through extensive experiments on real-world datasets, we demonstrate AskWorld's capability in selecting most informative resources to query within test-time constraints, resulting in improved performance compared to competitive baselines.
Introduction
Modern artificial intelligence relies on massive, heterogeneous Knowledge Bases (KBs) such as NELL, Yago, and Freebase. These resources vary significantly in their expertise, noise levels, and response times. A critical challenge arises when a real-time application—such as a robot or a search engine—requires an answer within a strict, varying time budget. Most existing systems either ignore time costs or optimize for a fixed budget during training. AskWorld addresses this by framing knowledge integration as a budget-sensitive decision process.
The AskWorld Framework
AskWorld is designed to intelligently select which external Knowledge Resources (KRs) to query based on the remaining time budget. The system architecture consists of a Budget Policy Executor that selects actions and a Knowledge Integrator that synthesizes the results.
The problem is modeled as a Markov Decision Process (MDP):
- State: Encapsulates the knowledge acquired so far and the remaining time budget.
- Actions: Polling a specific (Resource, Predicate) pair (e.g., asking NELL if "Buenos Aires" is a City).
- Reward: The increase in the confidence margin of an underlying SVM classifier. High rewards are given to actions that significantly increase certainty about the true label.
- Transition: The budget is a first-class citizen; if an action's cost exceeds the remaining budget, that transition is impossible, ensuring strict adherence to time limits.
To scale this approach, the researchers proposed two variants: AskWorld (V*), which uses Value Iteration on an abstracted state space, and AskWorld (PQL), which utilizes Parametric Q-Learning with linear function approximation for larger ontologies.
Key Insights: The Power of Coupling
A significant finding of this research is the benefit of "coupling." Polling for "non-query" predicates can provide strong evidence for the target query. For instance, determining if an entity has a Mayor is highly informative for deciding if that entity is a City. AskWorld automatically learns which related questions are worth the time cost, improving precision by approximately 25% absolute compared to systems that only query the target predicate.
Experimental Results
The system was evaluated against several baselines, including "Greedy Miser" and random selection strategies, across 25 categories common to Freebase and NELL.
As shown in the performance analysis, AskWorld (V*) and AskWorld (PQL) consistently outperform competitive baselines, particularly in low-budget scenarios (under 1 second). The system demonstrates "graceful improvement," where the F1 score rises steadily as more time is allowed, effectively utilizing additional budget to gather more informative evidence.
Conclusion
AskWorld provides a flexible, robust framework for knowledge-on-demand. By treating the time budget as a dynamic constraint at test time, it avoids the need for retraining when latency requirements change. Future work aims to address stochastic costs—where network latency varies—and extend the system to handle complex, multi-hop reasoning tasks.
Summary updated