arXiv:2610.27441cs.CROct 2026

Manuscript Offprint

arXiv:2610.27441

Privacy-Preserving Robustness-Guided Testing

Charles Koll, Houssam Abbas, Mike Rosulek

Charles Koll, Houssam Abbas, and Mike Rosulek

Abstract—In industries like semi-conductors and aerospace, it is common for the design company to contract out part of the testing process to a Testing-as-a-Service (TaaS) company. In such a setup, both parties want to keep their intellectual property private (i.e. unknown to the other party): namely the design and its output traces for the designer, and the detailed correctness specifications for the tester. We demonstrate a practical way for conducting provably private TaaS using a cryptographically secure multi-party computation protocol. We do so for the common setup where the specification is in Signal Temporal Logic, and testing is done using robustness-guided falsification. Our implementation carefully separates the steps of falsification, and manages to be maximally secure, in the sense that the parties learn the absolutely minimum necessary for falsification. For up to a 100-dimensional input search space, the generation of one test takes less than 80 msec, and the overhead of the privacy-preserving protocol is less than 6x. These numbers mean that privacy-preserving TaaS is practical, thus enabling TaaS in security-sensitive industries.

Index Terms—Multi-Party Computation, falsification, cyber-physical systems, privacy-preserving computation.

I. INTRODUCTION

Testing remains the most widely used technique to ensure embedded and cyber-physical system correctness. Testing-as-a-Service (TaaS), which is the practice of outsourcing some testing activities to an outside party, is common in industries like semi-conductor, aerospace, fuel cell batteries, and software. In such a setup, the testing company, aka Tester, possesses detailed correctness specifications which it developed over years of experience testing different designs, e.g. many kinds of plane engines. This constitutes Tester's intellectual property and so Tester wishes to keep it secret. The design company, aka Designer, is of course incentivized to keep the System Under Test (SUT) secret. In particular, this implies keeping the SUT's output traces secret, since otherwise Tester might learn to map input traces (which it generates) to output traces. A key challenge of TaaS is, therefore, the protection of the intellectual properties (IPs) of both the design and the testing companies.

Currently, Designer and Tester sign Non-Disclosure Agreements (NDAs), which provide legal penalties if the parties leak each other's IP to someone else. However, a much stronger guarantee would be if 1) each party's IP is never shared with the other party to begin with, and 2) this guarantee is technological, rather than legal. I.e. we want to make it impossible for the parties to learn each other's IP, while still enabling them to jointly perform the testing of the SUT. We call this privacy-preserving testing.

All authors affiliated with Oregon State University at time of submission. Emails: {kollch,houssam.abbas,mike.rosulek}@oregonstate.edu. Research partially supported by NSF award 2118179.

This paper presents a practical way to perform private testing for cyber-physical systems (CPS) in the following common setting. The specification is expressed in Signal Temporal Logic (STL) [1] (or similar logic); STL is a dense-time logic allowing the specification of real-time constraints, like ‘The speed increases within 2.1sec of the distance exceeding the threshold’. Given an output trace x from the SUT, the degree to which it satisfies or violates the STL specification ϕ\phi is formalized using the notion of robustness ρ(x,ϕ)\rho(x,\phi) [2]: if positive, this indicates x satisfies ϕ\phi, and if negative, this indicates that x violates ϕ\phi, while its magnitude ∣ρ(x,ϕ)∣|\rho(x,\phi)| indicates how well it satisfies, or how badly it violates, ϕ\phi. The test generator’s task, then, is to search the SUT’s input space for inputs u s.t. the corresponding output trace x has negative robustness. This search is done using optimization heuristics, most commonly simulated annealing [3] or some extension [4]. The robustness values guide the test generator towards promising inputs. This entire process is called falsification.

We develop a privacy-preserving simulated annealing (SA)-based implementation of falsification using a Multi-Party Computation (MPC) [5], which is a class of cryptographic protocols with rigorous privacy guarantees. Privacy means that the probability that Designer will learn anything about Tester's formula can be made arbitrarily small (in the security parameter), and similarly for the probability of Tester learning anything about the SUT's traces. (Security definitions are given in the next section). In fact, our implementation hides all that can be hidden: the Tester does not even learn the inputs that it is generating to simulate the SUT, and neither party learns the robustness values that are guiding the falsification. Designer learns the input signals since it needs to apply them to the SUT. The reason for this maximal privacy is that it protects the TaaS against future adversaries that might figure out a way to leverage, say, knowledge of the robustness values. Since these values remain cryptographically protected, no adversary can use them. This maximal privacy goes beyond the private computation of robustness values: every iteration of an SA loop requires a comparison of robustness values to select a new input signal, so hiding this comparison while allowing Designer to learn the input signals is non-trivial.

We show experimentally that our private falsification is practical and does not incur exorbitant overhead relative to in-the-clear (non-private) falsification.

Related work. There is no evident prior work on privacy-preserving testing. However, private monitoring, a component of private testing, has a few works. Abbas [6] introduced the concept of private offline monitoring for LTL, and suggested several approaches to preserving the privacy of the monitored signal, but not of the LTL formula. We work with Signal Temporal Logic (STL), interpreted over dense-time signals, necessary for cyber-physical systems. STL does not have an equivalent finite automaton representation, so works like [7] and [8], which work in discrete time and use finite automata, are not applicable. Henzinger et al. [9] approached private runtime verification (rather than testing) by focusing on simple functionality such as adders and comparators, and encoded the specification as a circuit – our testing functionality takes the specification as a private input. Karimi et al. [10] privately monitor over a distributed monitor, where at least one distributed component is honest (does not attempt to learn private information) – our work assumes that both parties attempt to learn all that they can, while following the protocol.

Some works implement SA as a multi-party computation. The most similar work is [11], which implements SA in MP-SPDZ for n parties, but requires three parties for its protocol and uses a discrete space for candidate points. Our implementation operates over continuous space, namely, the space of possible CPS control inputs. [12] also operates on a discrete space, and further does not hide SA's intermediate function comparisons, leaking statistical information regarding private data. Our implementation must hide intermediate comparisons. [13] likewise reveals intermediate function comparisons. Unlike these works, our private SA operates over a continuous space and does not reveal the SA function comparisons, achieving a maximally private privacy-preserving testing.

Contributions. Our contributions are 1) an MPC for robustness-guided falsification that keeps private the maximum possible; and 2) an experimental evaluation of our implementation, demonstrating that secure multi-party falsification remains practical despite the overhead of privacy-preserving computations.