HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

A Unified Algebraic Perspective on Lipschitz Neural Networks

Araujo Alexandre ; Havens Aaron ; Delattre Blaise ; Allauzen Alexandre ; Hu Bin

A Unified Algebraic Perspective on Lipschitz Neural Networks

Abstract

Important research efforts have focused on the design and training of neuralnetworks with a controlled Lipschitz constant. The goal is to increase andsometimes guarantee the robustness against adversarial attacks. Recentpromising techniques draw inspirations from different backgrounds to design1-Lipschitz neural networks, just to name a few: convex potential layers derivefrom the discretization of continuous dynamical systems,Almost-Orthogonal-Layer proposes a tailored method for matrix rescaling.However, it is today important to consider the recent and promisingcontributions in the field under a common theoretical lens to better design newand improved layers. This paper introduces a novel algebraic perspectiveunifying various types of 1-Lipschitz neural networks, including the onespreviously mentioned, along with methods based on orthogonality and spectralmethods. Interestingly, we show that many existing techniques can be derivedand generalized via finding analytical solutions of a common semidefiniteprogramming (SDP) condition. We also prove that AOL biases the scaled weight tothe ones which are close to the set of orthogonal matrices in a certainmathematical manner. Moreover, our algebraic condition, combined with theGershgorin circle theorem, readily leads to new and diverse parameterizationsfor 1-Lipschitz network layers. Our approach, called SDP-based Lipschitz Layers(SLL), allows us to design non-trivial yet efficient generalization of convexpotential layers. Finally, the comprehensive set of experiments on imageclassification shows that SLLs outperform previous approaches on certifiedrobust accuracy. Code is available athttps://github.com/araujoalexandre/Lipschitz-SLL-Networks.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
provable-adversarial-defense-on-cifar-10SLL Medium
Accuracy: 69.1
provable-adversarial-defense-on-cifar-10SLL X-Large
Accuracy: 70.3
provable-adversarial-defense-on-cifar-10SLL Small
Accuracy: 68.1
provable-adversarial-defense-on-cifar-10SLL Large
Accuracy: 69.8
provable-adversarial-defense-on-cifar-100SLL Small
Accuracy: 40.7
provable-adversarial-defense-on-cifar-100SLL X-Large
Accuracy: 42.7
provable-adversarial-defense-on-cifar-100SLL Large
Accuracy: 42.1
provable-adversarial-defense-on-cifar-100SLL Medium
Accuracy: 41.5

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
A Unified Algebraic Perspective on Lipschitz Neural Networks | Papers | HyperAI