Sharing The Secret: Distributed Privacy-Preserving Monitoring

Mahyar Karimi, K. S. Thejaswini, Roderick Bloem, Thomas A. HenzingerarXiv 2026

TL;DR

This paper introduces a novel distributed approach to privacy-preserving runtime monitoring. By distributing the monitor across multiple parties and leveraging secret sharing, they achieve significant performance improvements over existing cryptographic methods, making real-time monitoring of sensitive systems practical.

What Problem Does This Paper Address?

Modern software systems, especially those handling sensitive data (like in finance or healthcare), often require verification of their compliance with formal specifications. However, traditional runtime verification, where a single monitor observes a system, faces a privacy dilemma: the monitor needs access to system data, and the system needs to trust the monitor. This creates a tension between the need for verification and the imperative to protect sensitive information on both sides. Existing privacy-preserving solutions often rely on computationally intensive cryptography, making them too slow for real-time applications. This paper tackles the challenge of enabling efficient and privacy-preserving runtime monitoring for systems with potentially complex, evolving internal states.

Methods

The core innovation lies in distributing the monitor across multiple parties, at least one of which is assumed to be honest. This distributed architecture allows the use of secret sharing schemes instead of heavy cryptographic primitives. Secret sharing allows a secret value to be split among multiple parties such that no single party (or a coalition below a certain threshold) can reconstruct the secret, but all parties together can.

The authors propose a protocol that:

  • Secret-shares the system's output trace among the monitor parties.
  • Leverages multiple secret-sharing schemes (additive, polynomial, Boolean) and introduces share conversion protocols to seamlessly switch between them. This is crucial for handling diverse operations (arithmetic, logical, comparisons) within a specification.
  • Maintains a persistent, private internal state for the monitor, enabling continuous monitoring of evolving specifications, unlike previous one-shot schemes.
  • Uses a typed instruction set architecture for the monitor, similar to practical MPC frameworks, to manage computations on shared values and explicitly account for the cost of share conversions.

Datasets

Not discussed in the paper. The paper focuses on a theoretical framework and experimental evaluation using simulated scenarios.

Key Insights and Ideas

  • Distribution is Key to Efficiency: The fundamental insight is that distributing the monitoring task, rather than relying on a single monolithic (and thus heavily encrypted) monitor, unlocks significant performance gains.
  • Secret Sharing as a Lightweight Primitive: Moving from complex cryptographic primitives like FHE or Garbled Circuits to secret sharing (under an honest majority assumption) dramatically reduces computational overhead.
  • The Power of Mixed-Protocol Computation: The ability to efficiently convert between different sharing representations (e.g., arithmetic to Boolean) is critical for handling complex specifications that mix various types of operations. This allows the protocol to use the most efficient representation for each part of the computation.
  • Stateful Monitoring is Achievable: The protocol's ability to maintain a private, evolving internal state is a significant advancement over prior work, enabling the monitoring of more sophisticated, state-dependent specifications.

Key Results

The paper demonstrates significant performance improvements compared to prior work. For instance, in the ACS (Access Control System) scenario, their approach achieves 0.07-0.18s per iteration, which is 100-250x faster than previous methods. Similar speedups are reported for other benchmarks, ranging from 14-112x faster for the Locks scenario. The authors highlight that their approach achieves these speedups while maintaining information-theoretic security guarantees (under the honest majority assumption), meaning privacy does not rely on computational hardness assumptions.

Limitations and Future Work

  • Honest Majority Assumption: The protocol relies on the assumption that at least one monitor party is honest. This is a stronger architectural assumption than some purely cryptographic approaches.
  • Handling Large System States: For systems with massive internal states (e.g., large databases), sharing the entire state is impractical. The authors suggest extending their protocol with Private Information Retrieval (PIR) as a future research direction.
  • Integration with Existing Frameworks: The current prototype needs to be integrated with established runtime verification frameworks (like BeepBeep, DejaVu, or MONPOLY) to allow for more familiar specification languages.
  • Robustness Against Active Adversaries: While the primary evaluation is in the semi-honest model, the authors note that the protocol can be hardened against active (malicious) adversaries using techniques like input commitments and authenticated secret sharing, though this would incur additional overhead.

Summary updated

BibTeX
@misc{karimi2026sharing,
  author = {Mahyar Karimi and K. S. Thejaswini and Roderick Bloem and Thomas A. Henzinger},
  title = {{Sharing The Secret: Distributed Privacy-Preserving Monitoring}},
  year = {2026},
  eprint = {2603.20107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.20107},
}
Figure