- Rating
- 5
- Clarity
- 3
- Confidence
- 2
- Originality
- 4
- Quality
- 3
- Significance
- 4
Read review
Summary
The authors propose an improved technique to compute bounds on smoothed neural networks. While bounds on smoothed networks without further information are known to be tight already, they utilize additional information about the networks behavior to provide tighter bounds. Related work already proposed techniques if only one mean or variance constraint is given. The authors generalize this to the case of many mean + many variance constraints. They provide thorough proofs for their claims. They evaluate their proposal using experiments on CIFAR-10 (classification) and Udacity (regression), and show that they outperform other techniques from related work.
Strengths and weaknesses
Strengths
The authors describe a novel generalization of existing bounds on smoothed neural networks, that allow to apply not just one, but multiple mean/variance constraints. They provide detailed proofs as well as an experimental evaluation and a runtime complexity measure.
Weaknesses (In decreasing order of relevance)
-
The authors state that for multiple mean/variance constraints, determining monotonicity of the optimal value is non-trivial, but that they observe it is monotone in practice. The appendix does not provide a proof for the multi mean + multi variance setting. It is unclear how much of a limitation this is - can one expect all use cases to be monotone? Are there any (probabilistic) guarantees for this? Could one perform dedicated tests for this property?
-
For your CIFAR-10 experiment, you seem to be only evaluating majority class vs. second majority class, according to your sampling. However, as you state in lines 299-300, for classification tasks, you should be comparing the top class against all remaining classes.
-
You assume the function to have an output in the range of . This may not natively be the case, even if trained: In your regression example, even though the model was trained to output values in (which is why you compute ), it may in practice return values outside of that range. It may be helpful for practitioners to either highlight that this constraint must be enforced by the network architecture, or to discuss how the provided guarantees are impacted if this contract is violated.
Typos:
- Line 103: "This is [a] generalization"
- Line 226: "many solver[s]"
Questions
-
In Section 2 (line 53), you state that you aim to find bounds on , but you then provide bounds on the smoothed model . How does the bound on the smoothed model translate to a bound on the original model? I'd assume that the user has to use the smoothed model for inference if they want to benefit from the guarantees, and cannot use the original model anymore.
-
How do you derive the runtime complexity in line 335?
-
Can you point to other work or applications that would provide RS with more than one constraint, so it could benefit from your results?
Limitations
Yes
Paper formatting concerns
N/A
Final justification
The authors have addressed my questions and concerns to my satisfaction. I think the paper is a worthwhile contribution, with the main caveat being my limited experience in this domain.
We thank the reviewer for carefully reviewing our paper and for recognizing the value of our work. We address each of the reviewer’s questions and concerns below.
W1: Please refer to our response to W3 of Reviewer UUvA. In short, we devise a relaxation that is provably monotonic and experimentally matches the full MCC, and orthogonally provide a method to rigorously certify the entire perturbation ball from finitely sampled radii using deterministic interpolation bounds.
W2: We thank the reviewer for pointing this out, and we apologize that our previous description was unclear and prone to ambiguity. We clarify that we conducted two distinct evaluations after obtaining the sampled softmax scores for each image.
The certified-accuracy results in Figure 2 and Figure 4 compare all classes. For each correctly classified image, let A be the predicted class that agrees with the ground-truth label. We compute its certified lower bound LA(r), as well as the certified upper bound Uc(r) for every other class c=A. The image is counted as certified only when LA(r)>maxc=AUc(r). Therefore, certified accuracy is determined by comparing the predicted class against all competing classes, not only against the second majority class.
Figures 5--8 are separate diagnostic experiments on certified bounds. To illustrate the behavior of the certificates over different radii, we report the average lower bound of the top-scoring class and the average upper bound of the runner-up class under the unperturbed smoothed softmax scores. These two classes are selected only as representative classes for visualization, and these plots are not used to compute certified accuracy. In particular, we do not claim that comparing only the top class and the runner-up is sufficient for multiclass certification.
We agree that the current phrase ``determine the majority class and the second majority class'' may suggest otherwise. We will revise the text to clearly separate the certified-accuracy evaluation from the supplementary bound visualizations and explicitly state the all-class certification criterion.
W3: We thank the reviewer for highlighting this important practical requirement. We agree that training a regression model on targets in [−1,1] does not by itself guarantee that the raw network output always remains in this interval. In our regression implementation, boundedness is enforced through deterministic clipping before the affine normalization.
Specifically, the predictor used for smoothing and certification is fˉ(x)=clip(fraw(x),−1,1),f(x)=21+fˉ(x). Thus, f(x)∈[0,1] holds by construction, and all sampling, moment estimation, and certification are performed on this bounded predictor. Accordingly, the guarantee applies to the deployed clipped predictor fˉ, rather than to the unrestricted raw output fraw. More generally, the framework is not restricted to outputs originally expressed in [0,1]. For any known and enforced finite range [a,b], one can define f(x)=b−afˉ(x)−a,fˉ(x)=clip(fraw(x),a,b), so that f(x)∈[0,1]. A certified interval [L,U] for f can then be mapped back to the original scale as [a+(b−a)L,a+(b−a)U]. We will revise the regression setup to describe this explicitly and clarify that boundedness must be enforced either by the network architecture or by deterministic post-processing included as part of the predictor being certified.
Q1: We thank the reviewer for pointing out this ambiguity. The statement around Line 53 was intended to introduce the generic notion of robustness certification: given a predictor, one seeks to bound its worst-case output under an admissible input perturbation. At that point, we had not yet introduced randomized smoothing or the smoothed model m.
In the randomized-smoothing setting introduced immediately afterward, the predictor being certified is specifically the smoothed model m(x)=Ez∼p[f(x+z)], where f is the underlying base model. Accordingly, MCC bounds m(x+δ), using mean and variance information obtained by querying f under the smoothing distributions. It is not intended to convert this bound into a pointwise bound on f(x+δ). Without additional assumptions on f, such a conversion is generally not possible.
The reviewer is therefore correct that, to benefit from the certificate, inference should use the smoothed predictor m, typically approximated through Monte Carlo sampling. The base model f is still used as the black-box model queried under random perturbations, but its unsmoothed pointwise prediction does not inherit the MCC guarantee.
We agree that the current notation makes this transition unclear, because f is first used in the generic certification description and is then used as the base model from which m is constructed. We will revise Section 2 to introduce a separate symbol for the generic predictor and then state explicitly that, in randomized smoothing, this predictor is instantiated as m. This will clearly distinguish the generic certification objective, the base model f, and the deployed smoothed model m.
Q2: We thank the reviewer for the question. The expression O(M+poly(N)+T) was intended as a coarse decomposition of the main computational stages, rather than as a precise worst-case complexity bound. Let Mtot denote the total number of Monte Carlo samples, Cf the cost of one base-model evaluation, m the number of smoothing distributions, and N the number of cells in the two-dimensional discretization. The discretized primal contains N grid variables, m auxiliary scalar variables, m mean constraints, and m second-order cone constraints of dimension approximately N+1.
For one input, one radius, and one scalar certified bound, the computational cost can be decomposed as O(MtotCf+Cpre(N,m)+CSOCP(N,m,εsolver)+Cint(m,εquad)), where Cpre includes grid construction, centering, projection, and dual lifting, while Cint includes certified quadrature and rigorous tail control. For Gaussian smoothing, the required density and cell-integral quantities can be evaluated in constant time. If T denotes the number of quadrature evaluations, the cost becomes O(MtotCf+mN+CSOCP(N,m,εsolver)+mQ+Ctail(m)). For fixed m, fixed numerical tolerances, unit-cost model evaluations, and with T denoting the total certified integration cost, this reduces to O(M+poly(N)+T), since solving the SOCP can be done in polynomial time w.r.t. the number of variables. We agree that the current statement suppresses the dependence on the number of constraints, numerical tolerances, and model-evaluation cost. We will revise the paper to clarify these dependencies and state explicitly that the expression is per input, per radius, and per scalar certified bound.
Q3: Thank you for this question. The main opportunity lies in applications in which the smoothed output is a bounded, continuous score. For such outputs, the same samples provide distinct constraints on the mean and variance. Some examples are:
References
[1] S. H. Zargarbashi, M. S. Akhondzadeh, and A. Bojchevski. “Robust Yet Efficient Conformal Prediction Sets.” Proceedings of the 41st International Conference on Machine Learning (ICML), PMLR 235:17123–17147, 2024.
[2] A. M. Rekavandi, F. Farokhi, O. Ohrimenko, and B. I. P. Rubinstein. “Certified Adversarial Robustness via Randomized α-Smoothing for Regression Models.” Advances in Neural Information Processing Systems 37 (NeurIPS), 2024.
[3] P.-Y. Chiang, M. Curry, A. Abdelkader, A. Kumar, J. Dickerson, and T. Goldstein. “Detection as Regression: Certified Object Detection with Median Smoothing.” Advances in Neural Information Processing Systems 33 (NeurIPS), 2020.
[4] F. Wu, L. Li, Z. Huang, Y. Vorobeychik, D. Zhao, and B. Li. “CROP: Certifying Robust Policies for Reinforcement Learning through Functional Smoothing.” International Conference on Learning Representations (ICLR), 2022.