Introduction
Building comprehensive knowledge bases for AI, such as the CYC project, has historically faced significant scaling challenges. While machine learning offers a path to induce rules from data, a gap remains between traditional logical reasoning and statistical learning. A primary hurdle is Partial Observability: real-world data often lacks complete attributes, such as seeing medical symptoms without the underlying disease.
Previous research introduced "implicit" reasoning from such data, allowing systems to answer queries without providing a clear justification. This paper addresses this "black box" limitation by proposing a framework for query-driven learning. This approach enables an AI agent to not only answer a question but also actively learn and present the explicit logical rules required to prove that answer, making the reasoning process transparent and auditable.
PAC-Semantics and Oblivious Search
The framework is built upon PAC-Semantics (Probably Approximately Correct), which allows logical systems to handle the inherent imperfections of rules derived from data. The core technical innovation is a transformation for Oblivious Backward Search Algorithms.
In a backward search, the algorithm starts with a goal (the query) and recursively identifies subgoals that would satisfy it. An algorithm is considered "oblivious" if its search strategy is independent of the specific facts in the knowledge base, only terminating a branch when a known fact is encountered.
The Meta-Algorithm
The paper introduces a meta-algorithm that intercepts these oblivious search processes. As the search explores potential subgoals, the meta-algorithm validates them against a sample of "obscured scenes" (partially masked data). If a subgoal is consistently not falsified by the available data, it is treated as a learned rule and integrated into the knowledge base to complete the proof.
This transformation is applied to two significant logical fragments:
- Horn Clause Chaining: Standard "if-then" reasoning.
- Treelike Resolution: A more powerful logic used in modern SAT solvers.
Key Insights
- Goal-Driven Efficiency: By focusing only on the rules necessary for a specific query, the agent avoids the computational burden of learning an entire world model upfront.
- Concealment Constraints: The success of this method depends on the "degree of concealment." If the data required to falsify a rule is always hidden, the rule cannot be reliably learned.
- The Role of Obliviousness: The "blindness" of certain search algorithms is leveraged as a strength. Because they do not over-optimize based on existing knowledge, new rules can be safely injected from data without disrupting the search logic.
Results and Complexity
The main result, Theorem 20, proves that any oblivious backward search algorithm can be transformed into a query-driven learner. The resulting algorithm's runtime is proportional to the original search, with sample size requirements scaling based on proof complexity and the degree of concealment.
Unlike previous methods, this approach yields a formal proof using learned formulas that are $(1-\epsilon)$-valid under the data distribution. For treelike resolution, the paper demonstrates that proofs can be found in quasipolynomial time relative to the proof space, effectively learning a Conjunctive Normal Form (CNF) that supports the query.
Limitations and Future Work
While promising, the current "credulous" approach—accepting rules that haven't been falsified—could be improved with a "skeptical" variant that requires positive evidence. Additionally, the current focus is on propositional logic; extending these methods to full first-order logic with variables remains a significant challenge. Finally, improving search efficiency for complex logics without sacrificing the "oblivious" property is an ongoing area of research.
Summary updated