Secrecy in Multiagent Systems

Kevin R. O'Neill, Joseph Y. Halpern

In the realm of computer security, defining "perfect security" has historically been a fragmented endeavor. Various concepts such as noninterference (whether high-level actions affect low-level outputs) and nondeducibility (whether a low-level user can infer high-level states) emerged to address specific needs, but they often lacked a common mathematical language. In "Secrecy in Multiagent Systems," Joseph Halpern and Kevin O’Neill provide a unified, formal framework for defining secrecy and privacy in complex systems where multiple agents interact over time.

By combining epistemic logic—the logic of knowledge—with a "runs-and-systems" model, the authors bridge the gap between simple possibilistic security and complex probabilistic models. This provides a single mathematical language to describe exactly what agents are allowed to know about one another.

Addressing Historical Limitations

Historically, security models were limited by three primary factors:

  1. Model Specificity: Many were tied to "trace-based" models (sequences of inputs and outputs), making it difficult to reason about internal states or complex issues like deadlocks.
  2. Coarse Uncertainty: Most models used a "possibilistic" approach—an agent either knows a fact for sure, or they do not. This fails to capture "leaks" where an agent might not know a secret with certainty but can guess it with 99% probability.
  3. Handling Time: Many models struggle with synchrony. If an agent knows the current time, they can often rule out certain "secret" states simply because those states only occur at different times.

The Runs-and-Systems Framework

The authors utilize the runs-and-systems framework, where a system is defined as a set of "runs" (functions from time to global states). This allows for a general representation of any multiagent system, whether synchronous or asynchronous. Key methodological innovations include:

  • Epistemic Logic: The use of modal operators ($K_i \phi$ for "agent $i$ knows $\phi$") to characterize secrecy syntactically.
  • Allowability Functions: A mechanism to "weaken" secrecy requirements. For example, it might be acceptable for an agent to know the current time, even if they should not know anything else about a secret agent's state.
  • Plausibility Measures: To unify probability and possibility, the authors use "plausibility," a generalization that allows theorems to apply to both standard probability distributions and simple "is it possible?" logic.
  • Adversarial Probability Systems: A method to model systems that begin with a non-deterministic choice (such as an adversary's protocol) followed by probabilistic steps.

Key Insights: Secrecy as Independence

The core insight of the paper is that secrecy is essentially the independence of information sets. If agent $i$’s local state provides no information that helps them rule out any of agent $j$’s possible states, secrecy is maintained.

The authors demonstrate that secrecy can be defined entirely through logic: agent $j$ maintains secrecy from agent $i$ if $i$ never knows any fact that "depends" only on $j$'s state. Furthermore, they distinguish between "point-based" and "run-based" secrecy. While total secrecy (ruling out nothing at any time) is often too strong for real-world applications, "run-based secrecy"—where an agent just needs to believe a state is possible at some point in the execution—offers a more practical requirement for asynchronous systems.

Results and Generalization

The framework successfully generalizes several famous security properties, including Sutherland’s nondeducibility and McLean’s separability. The authors also prove that under "common prior" assumptions, probabilistic secrecy is symmetric: if Agent A knows nothing about Agent B, then Agent B knows nothing about Agent A.

For system designers, a significant result is the proof regarding agents with "perfect recall" (those who remember their entire history). In synchronous systems, many different definitions of secrecy collapse into the same requirement, greatly simplifying the landscape of security verification.

Limitations and Future Directions

As a theoretical work, the paper identifies several areas for further development:

  • Logical Omniscience: The framework assumes agents automatically know all logical consequences of their observations. Real-world attackers are limited by computational power, suggesting a need to integrate "algorithmic knowledge."
  • Declassification: The paper focuses on perfect secrecy. However, real systems often leak minor information (e.g., "password incorrect"). Future work is needed to model "quantitative" secrecy—measuring how much information is leaked.
  • Statistical Privacy: Current definitions are often too stringent for databases that release aggregate statistics. Connecting this framework to modern "differential privacy" concepts remains a promising direction for the field.

Summary updated

BibTeX
@inproceedings{oneill2002secrecy,
  author = {Kevin R. O'Neill and Joseph Y. Halpern},
  title = {{Secrecy in Multiagent Systems}},
  booktitle = {CSFW},
  year = {2002},
  doi = {10.1109/csfw.2002.1021805},
}
Figure