- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes a verification friendly architecture for neural networks: early exits. The key idea is that some inputs can be classified already in early layers and this can be helpful for verification, since these inputs can be more easily identified as adversarial examples or safe inputs. The authors propose a verification algorithm that for each exit and each running class checks for counterexamples. They further propose two optimizations: checking whether the winner class always exceeds the threshold and whether all inputs are classified by exit k. They extend alpha-beta crown with this algorithm. Results show that networks with early exits can be trained to obtain a very close accuracy to the standard networks. Results show that for architectures corresponding to VGG-16 and Resnet-18, this approach enables to prove robustness, whereas alpha-beta crown times out.
Strengths and weaknesses
Strengths:
-
A nice primitive to extend any neural network that makes the verification task simpler.
-
An extension of the alpha-beta crown verifier to support this architecture.
-
Results show that this approach enables to obtain higher verification rate without sacrificing accuracy.
Weaknesses:
-
It’s not clear whether this approach extends beyond image classifiers, e.g., transformers: I liked the early exit idea, and believe this paper would be interesting for this reason. However, I’d appreciate a discussion of extending your idea beyond image classifiers. I think this can strengthen this paper, especially since the early exit primitive doesn’t seem coupled with a specific architecture.
-
Algorithm 1 and 2 are quite expected and do not rely on a new insight: The algorithm (including the optimizations) are quite immediate once you define the function of networks with early exits.
-
The importance of Theorem 2 is not clear: I didn’t get the importance/meaning of Theorem 2. It seems to suggest that verification is polynomial in the product of the layer width and the number of layers till the exit of each input? Could you explain the meaning of it in light of the result of Katz et al. [2017] showing the verification problem is NP-hard? Theorem 4 also claims the complexity is still exponential (as expected).
-
The experiments focus on verification tasks for architectures that have been analyzed by prior verifiers, it would be nice if the authors present a deeper architecture beyond the VNN comp’s benchmarks.
Questions
-
Does the idea of early exits extend to other architectures, e.g., transformers?
-
Could you explain the meaning of Theorem 2?
Limitations
yes
Paper formatting concerns
no
Final justification
The rebuttal provided clarifications and I remain positive.
Thank you for the positive assessment, and for noting that PAVE improves verification coverage without a real loss in accuracy. Both questions point at places where the paper explains itself badly rather than at disagreements. We start with Theorem 2, since that is the clarification the paper most needs.
Theorem 2, and how it relates to Theorem 4. The reading in the review - verification becomes polynomial in layer width times depth-to-exit - is not what we prove, and we will state the theorem with better interpretation. Fixed-parameter tractability means the problem can still be expensive, but the exponential cost is confined to one identified parameter while the rest is polynomial. Here the parameter is k∣τ(x)∣, where k bounds layer width and ∣τ(x)∣ is the number of layers the input passes before exiting. The runtime is O(2k∣τ(x)∣) poly$(|N|)$: exponential in that parameter, polynomial in everything else. So trace stability does not remove the exponential. It changes what the exponential is over: the early prefix instead of the whole network. Concretely, on ResNet-18 with an exit after the first block, the sub-network to reason about is a few layers rather than eighteen.
This does not contradict Katz et al. PAVE does not make DNN verification polynomial in general, and the worst case is unchanged - Thm. 5 still gives O(2N). FPT is a conditional statement about instances where the parameter is small, and Fig. 4 shows that is the common case for SAFE queries.
You are also right that Thm. 4 is still exponential. Both are, on purpose. But the two answer different questions and we should have said so. Thm. 2 is about the problem: under trace stability, deciding Pee is FPT in k∣τ(x)∣. Thm. 4 is about the algorithm: Alg. 2 actually reaches that bound, since it never issues a query on a prefix longer than the one x itself traverses. The tractability is realized, not just available. We will add this right after Thm. 2, state the dependence explicitly, and point forward to Thm. 4.
Beyond image classifiers. We agree, and you are right that the primitive is not tied to convolutions. Nothing in Pee or Algs. 1-2 mentions them. The formulation needs only an ordered set of exits with a confidence condition, and early-exit mechanisms for transformers already exist, e.g. BERxiT [Xin et al., 2021] and PABEE [Zhou et al., 2020]; the revision will cite them in this context. Two things stand in the way, and we will name both as an interesting future work instead of leaving the scope open. The backend has to soundly support attention, GELU and layer normalization along with the exit condition's SoftMax - the same tooling limit that ties us to alpha-beta CROWN today. And Thm. 2 assumes piecewise-linear activations, so the FPT bound would not carry to transformer nonlinearities even with backend support. Soundness and completeness would carry, since they are stated relative to the backend. We will present ViTs as future work, not as a demonstrated capability.
Algorithms 1-2. We agree, and will present them that way. Once Pee is stated correctly the algorithms do follow naturally, and we do not claim the pseudocode is a new solving paradigm. We would only note that the naturalness comes after getting the property right. Run a standard verifier on an EE network without encoding conditional execution and it does not just lose efficiency - it answers the wrong question, reporting counterexamples at a late exit for inputs that already exited earlier with the right label.
This is also why we would frame the contribution as enabling rather than accelerating. Existing tools cannot verify EE networks soundly at all, and as far as we know PAVE is the first method that can. These architectures are increasingly deployed wherever latency, energy and limited compute matter [A], which is also where formal guarantees get asked for, so the class is growing rather than niche. The simplicity of the wrapper is then a feature: any suitable verifier is reused without redesigning its search, so progress in verification technology carries straight over to PAVE. We will make this framing explicit in the introduction.
Deeper architectures. Agreed, and we will revise the claims. Our largest setting is ResNet-18 on CIFAR-100, where the EE model certifies SAFE instances in about an hour against a two-hour timeout for the baseline, and where at epsilon=0.001 fourteen samples are SAFE only with exits. Across FC-6, LeNet-5, ResNet-18 and VGG-16 the advantage grows with network size. But a trend over four models is not proof that it continues. Larger CNNs, high-resolution data and transformer-like architectures become a main future-work direction. We will also tone down the language in the introduction, and specifically remove the introduction's suggestion that we verify networks beyond the reach of current tools. The supported claim is a runtime and coverage improvement for a fixed backbone, verifier and specification.
Thank you again for your constructive review.
[A] Adaptive Early Exit of Computation for Energy-Efficient and Low-Latency Machine Learning over IoT Networks, CCNC 2022