Abstract
The tension between deduction and induction is perhaps the most fundamental issue in areas such as philosophy, cognition, and artificial intelligence. In an influential paper, Valiant recognized that the challenge of learning should be integrated with deduction. In particular, he proposed a semantics to capture the quality possessed by the output of probably approximately correct (PAC) learning algorithms when formulated in a logic. Although weaker than classical entailment, it allows for a powerful model-theoretic framework for answering queries. In this paper, we provide a new technical foundation to demonstrate PAC learning with multi-agent epistemic logics. To circumvent the negative results in the literature on the difficulty of robust learning with the PAC semantics, we consider so-called implicit learning where we are able to incorporate observations to the background theory in service of deciding the entailment of an epistemic query. We prove correctness of the learning procedure and discuss results on the sample complexity, that is how many observations we will need to provably assert that the query is entailed given a user-specified error bound. Finally, we investigate under what circumstances this algorithm can be made efficient. On the last point, given that reasoning in epistemic logics especially in multi-agent epistemic logics is PSPACE-complete, it might seem like there is no hope for this problem. We leverage some recent results on the so-called Representation Theorem explored for single-agent and multi-agent epistemic logics with the only knowing operator to reduce modal reasoning to propositional reasoning.
Introduction
The integration of logical deduction and inductive learning remains one of the most significant challenges in artificial intelligence. While deduction allows for rigorous reasoning from established premises, induction enables agents to generalize from observations. Leslie Valiant’s seminal work on Probably Approximately Correct (PAC) learning provided a bridge between these two paradigms by introducing a semantics that characterizes the reliability of learned logical formulas. However, applying these concepts to multi-agent environments—where agents must reason about the beliefs and knowledge of others—introduces substantial computational and theoretical complexity.
This paper addresses the problem of learning in multi-agent epistemic logics. In such settings, agents must navigate noisy and partial observations to form accurate beliefs about their peers. By proposing a framework for "implicit learning" under PAC semantics, we demonstrate how agents can reliably answer epistemic queries without the need for computationally prohibitive explicit model construction.
The Challenge of Multi-Agent Epistemics
In multi-agent systems, such as autonomous vehicle networks or collaborative robotics, agents operate based on "epistemic reasoning"—reasoning about knowledge. This often involves nested beliefs, such as "Agent A knows that Agent B knows that the road is clear." Traditionally, these relationships are modeled using modal logics.
Two primary obstacles hinder the practical application of these logics:
- Computational Complexity: Reasoning in multi-agent epistemic logic is PSPACE-complete. This makes real-time inference nearly impossible for complex systems.
- Brittleness: Classical logic typically assumes perfect information. Real-world sensors provide noisy, incomplete data, which can lead to contradictions in a rigid logical framework.
Methodology: Implicit Learning and PAC Semantics
To overcome these hurdles, we shift the focus from explicit learning (building a complete model of the world) to implicit learning. In this approach, the agent uses a stream of observations to directly evaluate whether a specific query is likely to be true.
PAC Semantics
We adopt Valiant’s PAC semantics, which relaxes the requirement for absolute truth. Instead, we seek to determine if a query is $(1-\epsilon)$-valid—meaning it holds in a large majority of possible states—with a high degree of confidence $(1-\delta)$. This probabilistic approach provides the robustness needed to handle sensor noise and partial observability.
The "Only Knowing" Operator and Representation Theorem
The core technical innovation involves the use of the Only Knowing operator ($O$). This operator allows us to specify not just what an agent knows, but also the limits of that knowledge. To make reasoning tractable, we utilize the Representation Theorem. This theorem provides a mechanism to reduce complex modal formulas into standard propositional logic. By "slicing" modal operators, we can transform a PSPACE-complete problem into a series of propositional satisfiability (SAT) problems. While SAT is NP-complete, modern solvers are highly optimized, making this reduction a significant step toward practical efficiency.
Theoretical Results and Sample Complexity
We provide a formal algorithm, DecidePAC, and prove its correctness under the proposed semantics. A critical aspect of PAC learning is sample complexity: determining how many observations are required to meet the desired accuracy and confidence bounds.
We derive the following formula for the required number of observations ($m$): $$m = \frac{1}{2\gamma^2} \ln \frac{1}{\delta}$$ where $\gamma$ represents the precision parameter related to the error bound $\epsilon$.
Furthermore, we identify specific logical fragments, such as those restricted to Horn clauses, where the entire process—from observation to query entailment—can be executed in polynomial time. This identifies a clear path for implementing these theories in resource-constrained multi-agent systems.
Discussion and Future Work
While this framework provides a robust foundation for learning multi-agent beliefs, several avenues for future research remain. Currently, the model assumes knowledge expansion, where new data supplements existing knowledge. Future iterations must address belief revision, allowing agents to reconcile new observations that contradict previous assumptions. Additionally, while the Representation Theorem facilitates tractability, further work is needed to ensure that the resulting propositional formulas remain within "easy" fragments of SAT for even larger agent swarms.
By bridging the gap between PAC learning and epistemic logic, this work moves us closer to agents that can reason about each other as effectively as they reason about the physical world.
Summary updated