arXiv:2610.07771cs.CROct 2026

Manuscript Offprint

arXiv:2610.07771

What Response Marginals Miss: Adaptive Query Complexity of Functional Backdoor Recovery

Yunjae Hwang, Byoungjin Seok

ABSTRACT

Functional backdoor recovery finds any trigger whose attack success rate is at least a given threshold rather than to recover the planted trigger. We study the minimum number of queries required for this task under label feedback which returns the predicted class label. We construct two finite families of victim models that have exactly the same attack success rate for every victim and trigger candidate. The distribution of returned labels for every query is also identical under a uniformly chosen victim. These families form an explicit counterexample that despite the matched quantities, their optimal adaptive query complexities are Θ(log⁡H)\Theta(\log H) and Θ(H)\Theta(H) where H is the number of possible victims. The difference arises because the same non-target labels are associated with different sets of victims, so successive queries eliminate possible victims at different rates. This separation disappears when the response is reduced to binary feedback, which reports only whether the target label is returned. The separation also persists for every fixed failure probability below one. Finally, we realize the same recovery problems with trained CIFAR-10 ResNet-18 classifiers and verify the predicted optimal query budgets. These results show that attack success rate and the distribution of returned labels for each query are insufficient to determine the query complexity of functional backdoor recovery.

1 INTRODUCTION

Trigger inversion is a common approach to backdoor inspection in which a defender searches for transformations that activate the target behavior of a suspicious classifier (Wang et al., 2019; Liu et al., 2019; Tao et al., 2022; Wang et al., 2022; 2023). Black-box inspection has also been studied under limited access to model outputs (Chen et al., 2019; Dong et al., 2021; Guo et al., 2022; Le Roux et al., 2024; Popovic et al., 2025). For trigger inversion, recovering the exact planted trigger is not necessary: approximate or alternative transformations can activate the same malicious behavior (Qiu et al., 2024; Abad et al., 2026). This motivates functional backdoor recovery, where success requires any admissible transformation whose attack success rate (ASR) is at least a prescribed threshold.

The difficulty of functional recovery depends not only on the backdoor itself but also on the information available to the defender. Black-box inspection methods study this problem under limited access to model outputs (Chen et al., 2019; Dong et al., 2021; Guo et al., 2022; Le Roux et al., 2024; Popovic et al., 2025), while recent attacks have been designed to resist trigger inversion or related inspection methods (Zhu et al., 2024; Qiu et al., 2024; Cheng et al., 2024). These studies analyze particular inspection methods or attacks designed to resist inversion rather than characterize the optimal adaptive query budget under a fixed query model. Decision-based black-box attacks show that class labels alone can guide adaptive search (Brendel et al., 2018; Chen et al., 2020), while adaptive testing and decision-region methods study how query outcomes reduce the remaining possibilities (Cicalese et al., 2014; Javdani et al., 2014; Kane et al., 2017; Chen et al., 2017b). These works do not address the controlled comparison considered here. We ask whether functional recovery prob-lems with the same complete candidate success relation and the same response marginal for every query can nevertheless have different optimal adaptive query budgets.

To isolate this question, we compare victim families that agree on ASR for every victim and candidate and have the same response marginal for every query under a uniformly drawn hidden victim. For deterministic responses, this also matches each query's response entropy and its initial mutual information with the hidden victim. The marginals do not determine which victims produce each response and therefore do not determine how the remaining victims are partitioned after successive observations. We show that this missing information matters by constructing an explicit counterexample in which the matched quantities are identical but the optimal adaptive query budgets are different.

The counterexample consists of two families called FAST and SLOW. FAST queries reveal complementary information about the hidden victim, whereas SLOW contains a hard subfamily for which a consistent response path removes at most one remaining victim per query. Consequently, the optimal recovery budgets grow logarithmically and linearly with the family size despite the matched success relation and response marginals. The separation persists for every fixed failure probability below one but disappears when each response is reduced to binary feedback. We also show that the exact finite recovery budgets predicted by the construction hold for trained CIFAR-10 ResNet-18 classifiers at the tested problem sizes.

Our contributions. We establish exact query complexity results for functional backdoor recovery under label feedback:

• We give an explicit counterexample showing that the optimal query budget for functional backdoor recovery is not determined by the ASR of the trigger candidates or by the response marginal of each query. We construct two finite victim families that match both quantities exactly and show that their optimal zero-error recovery budgets become different as Θ(log⁡H)\Theta(\log H) and Θ(H)\Theta(H).

• We strengthen the separation in two directions: For every fixed failure probability δ<1\delta < 1, two families retain Θ(log⁡H)\Theta(\log H) and Θ(H)\Theta(H) query complexity, respectively. After label feedback is reduced to binary feedback, both families have the same exact optimal budget, showing that the separation is due to the information carried by non-target class labels rather than differences in which candidates succeed.

• We realize the finite recovery problems with trained convolutional classifiers and verify the conditions that transfer the theoretical query bounds to the learned models. The resulting families attain the exact predicted query budgets at H=12,24,48H = 12, 24, 48 under the fixed-source query model.

Together, these results show that the complete ASR function and the response marginal of each query under a uniform hidden victim prior are insufficient to determine the optimal adaptive query budget. Which victim models produce each non-target label can change the number of queries required for recovery.

References (83)