← Search

Matthias Hein

65 accepted papers

2025

Advancing Compositional Awareness in CLIP with Efficient Fine-Tuning

NeurIPS 2025poster

Vision-language models like CLIP have demonstrated remarkable zero-shot capabilities in classification and retrieval. However, these models often struggle with compositional reasoning - the ability to understand the relationships between concepts. A recent benchmark, SugarCrepe++, reveals that previ…

Cited by 0SourcecodeScholar
2025

An Interpretable N-gram Perplexity Threat Model for Large Language Model Jailbreaks

ICML 2025poster

A plethora of jailbreaking attacks have been proposed to obtain harmful responses from safety-tuned LLMs. These methods largely succeed in coercing the target output in their original settings, but their attacks vary substantially in fluency and computational effort. In this work, we propose a unifi…

Cited by 0SourcePDFScholar
2025

DASH: Detection and Assessment of Systematic Hallucinations of VLMs

ICCV 2025poster

Vision-language models (VLMs) are prone to object hal- lucinations, where they erroneously indicate the presence of certain objects in an image. Existing benchmarks quantify hallucinations using relatively small, labeled datasets. However, this approach is i) insufficient to assess hallucinations th…

2025

Robustness in Both Domains: CLIP Needs a Robust Text Encoder

NeurIPS 2025poster

Adversarial input attacks can cause a significant shift of CLIP embeddings. This can affect the downstream robustness of models incorporating CLIP in the pipeline, such as text-to-image generative models or large vision language models. While some efforts have been done towards making the CLIP image…

Cited by 0SourceScholar
2024

Bias of Stochastic Gradient Descent or the Architecture: Disentangling the Effects of Overparameterization of Neural Networks

ICML 2024poster

Neural networks typically generalize well when fitting the data perfectly, even though they are heavily overparameterized. Many factors have been pointed out as the reason for this phenomenon, including an implicit bias of stochastic gradient descent (SGD) and a possible simplicity bias arising from…

Cited by 0SourcePDFScholar
2024

DiG-IN: Diffusion Guidance for Investigating Networks - Uncovering Classifier Differences Neuron Visualisations and Visual Counterfactual Explanations

CVPR 2024poster

While deep learning has led to huge progress in complex image classification tasks like ImageNet unexpected failure modes e.g. via spurious features call into question how reliably these classifiers work in the wild. Furthermore for safety-critical tasks the black-box nature of their decisions is pr…

2024

Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models

ICML 2024oral

Multi-modal foundation models like OpenFlamingo, LLaVA, and GPT-4 are increasingly used for various real-world tasks. Prior work has shown that these models are highly vulnerable to adversarial attacks on the vision modality. These attacks can be leveraged to spread fake information or defraud users…

2023

A Modern Look at the Relationship between Sharpness and Generalization

ICML 2023poster

Sharpness of minima is a promising quantity that can correlate with generalization in deep networks and, when optimized during training, can improve generalization. However, standard sharpness is not invariant under reparametrizations of neural networks, and, to fix this, reparametrization-invariant…

2023

Certified Defences Against Adversarial Patch Attacks on Semantic Segmentation

ICLR 2023poster

Adversarial patch attacks are an emerging security threat for real world deep learning applications. We present Demasked Smoothing, the first approach (up to our knowledge) to certify the robustness of semantic segmentation models against this threat model. Previous work on certifiably defending aga…

Cited by 19SourcePDFScholar
2023

Improving l1-Certified Robustness via Randomized Smoothing by Leveraging Box Constraints

ICML 2023poster

Randomized smoothing is a popular method to certify robustness of image classifiers to adversarial input perturbations. It is the only certification technique which scales directly to datasets of higher dimension such as ImageNet. However, current techniques are not able to utilize the fact that any…

2023

In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation

ICML 2023poster

Out-of-distribution (OOD) detection is the problem of identifying inputs which are unrelated to the in-distribution task. The OOD detection performance when the in-distribution (ID) is ImageNet-1K is commonly being tested on a small range of test OOD datasets. We find that most of the currently used…

2023

Normalization Layers Are All That Sharpness-Aware Minimization Needs

NeurIPS 2023poster

Sharpness-aware minimization (SAM) was proposed to reduce sharpness of minima and has been shown to enhance generalization performance in various settings. In this work we show that perturbing only the affine normalization parameters (typically comprising 0.1% of the total parameters) in the adversa…

2023

Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models

NeurIPS 2023poster

While adversarial training has been extensively studied for ResNet architectures and low resolution datasets like CIFAR-10, much less is known for ImageNet. Given the recent debate about whether transformers are more robust than convnets, we revisit adversarial training on ImageNet comparing ViTs an…

2023

Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNet

ICCV 2023poster

Benchmark performance of deep learning classifiers alone is not a reliable predictor for the performance of a deployed model. In particular, if the image classifier has picked up spurious features in the training data, its predictions can fail in unexpected ways. In this paper, we develop a framewor…

Cited by 30PDFcodeScholar
2022

Adversarial Robustness against Multiple and Single $l_p$-Threat Models via Quick Fine-Tuning of Robust Classifiers

ICML 2022spotlight

A major drawback of adversarially robust models, in particular for large scale datasets like ImageNet, is the extremely long training time compared to standard models. Moreover, models should be robust not only to one $l_p$-threat model but ideally to all of them. In this paper we propose Extreme no…

2022

Being a Bit Frequentist Improves Bayesian Neural Networks

AISTATS 2022poster

Despite their compelling theoretical properties, Bayesian neural networks (BNNs) tend to perform worse than frequentist methods in classification-based uncertainty quantification (UQ) tasks such as out-of-distribution (OOD) detection. In this paper, based on empirical findings in prior works, we hyp…

2022

Breaking Down Out-of-Distribution Detection: Many Methods Based on OOD Training Data Estimate a Combination of the Same Core Quantities

ICML 2022spotlight

It is an important problem in trustworthy machine learning to recognize out-of-distribution (OOD) inputs which are inputs unrelated to the in-distribution task. Many out-of-distribution detection methods have been suggested in recent years. The goal of this paper is to recognize common objectives as…

2022

Diffusion Visual Counterfactual Explanations

NeurIPS 2022accept

Visual Counterfactual Explanations (VCEs) are an important tool to understand the decisions of an image classifier. They are “small” but “realistic” semantic changes of the image changing the classifier decision. Current approaches for the generation of VCEs are restricted to adversarially robust mo…

2022

Evaluating the Adversarial Robustness of Adaptive Test-time Defenses

ICML 2022spotlight

Adaptive defenses, which optimize at test time, promise to improve adversarial robustness. We categorize such adaptive test-time defenses, explain their potential benefits and drawbacks, and evaluate a representative variety of the latest adaptive defenses for image classification. Unfortunately, no…

2022

Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for Free

NeurIPS 2022accept

The application of machine learning in safety-critical systems requires a reliable assessment of uncertainty. However, deep neural networks are known to produce highly overconfident predictions on out-of-distribution (OOD) data. Even if trained to be non-confident on OOD data, one can still adversar…

Cited by 7SourcePDFScholar
2022

Sparse-RS: A Versatile Framework for Query-Efficient Sparse Black-Box Adversarial Attacks

AAAI 2022technical

We propose a versatile framework based on random search, Sparse-RS, for score-based sparse targeted and untargeted attacks in the black-box setting. Sparse-RS does not rely on substitute models and achieves state-of-the-art success rate and query efficiency for multiple sparse attack models: L0-boun…

2021

An Infinite-Feature Extension for Bayesian ReLU Nets That Fixes Their Asymptotic Overconfidence

NeurIPS 2021spotlight

A Bayesian treatment can mitigate overconfidence in ReLU nets around the training data. But far away from them, ReLU Bayesian neural networks (BNNs) can still underestimate uncertainty and thus be asymptotically overconfident. This issue arises since the output variance of a BNN with finitely many f…

Cited by 14SourcePDFScholar
2021

Learnable uncertainty under Laplace approximations

UAI 2021poster

Laplace approximations are classic, computationally lightweight means for constructing Bayesian neural networks (BNNs). As in other approximate BNNs, one cannot necessarily expect the induced predictive uncertainty to be calibrated. Here we develop a formalism to explicitly “train” the uncertainty i…

2021

Meta-Learning the Search Distribution of Black-Box Random Search Based Adversarial Attacks

NeurIPS 2021poster

Adversarial attacks based on randomized search schemes have obtained state-of-the-art results in black-box robustness evaluation recently. However, as we demonstrate in this work, their efficiency in different query budget regimes depends on manual design and heuristic tuning of the underlying propo…

2021

RobustBench: a standardized adversarial robustness benchmark

NeurIPS 2021poster

As a research community, we are still lacking a systematic understanding of the progress on adversarial robustness which often makes it hard to identify the most promising ideas in training robust models. A key challenge in benchmarking robustness is that its evaluation is often error-prone leading…

Cited by 843SourcecodeScholar
2020

Adversarial Robustness on In- and Out-Distribution Improves Explainability

ECCV 2020poster

Neural networks have led to major improvements in image classification but suffer from being non-robust to adversarial changes, unreliable uncertainty estimates on out-distribution samples and their inscrutable black-box decisions. In this work we propose RATIO, a training procedure for Robustness v…

2020

Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU Networks

ICML 2020poster

The point estimates of ReLU classification networks—arguably the most widely used neural network architecture—have been shown to yield arbitrarily high confidence far away from the training data. This architecture, in conjunction with a maximum a posteriori estimation scheme, is thus not calibrated…

2020

Certifiably Adversarially Robust Detection of Out-of-Distribution Data

NeurIPS 2020poster

Deep neural networks are known to be overconfident when applied to out-of-distribution (OOD) inputs which clearly do not belong to any class. This is a problem in safety-critical applications since a reliable assessment of the uncertainty of a classifier is a key property, allowing to trigger human…

2020

Confidence-Calibrated Adversarial Training: Generalizing to Unseen Attacks

ICML 2020poster

Adversarial training yields robust models against a specific threat model, e.g., $L_\infty$ adversarial examples. Typically robustness does not generalize to previously unseen threat models, e.g., other $L_p$ norms, or larger perturbations. Our confidence-calibrated adversarial training (CCAT) tackl…

2020

Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack

ICML 2020poster

The evaluation of robustness against adversarial manipulation of neural networks-based classifiers is mainly tested with empirical attacks as methods for the exact computation, even when available, do not scale to large networks. We propose in this paper a new white-box adversarial attack wrt the $l…

2020

Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks

ICML 2020poster

The field of defense strategies against adversarial attacks has significantly grown over the last years, but progress is hampered as the evaluation of adversarial defenses is often insufficient and thus gives a wrong impression of robustness. Many promising defenses could be broken later on, making…

2020

Square Attack: a query-efficient black-box adversarial attack via random search

ECCV 2020poster

We propose the Square Attack, a score-based black-box $l_2$- and $l_\infty$- adversarial attack that does not rely on local gradient information and thus is not affected by gradient masking. Square Attack is based on a randomized search scheme which selects localized square-shaped updates at random…

2019

Generalized Matrix Means for Semi-Supervised Learning with Multilayer Graphs

NeurIPS 2019poster

We study the task of semi-supervised learning on multilayer graphs by taking into account both labeled and unlabeled observations together with the information encoded by each individual graph layer. We propose a regularizer based on the generalized matrix mean, which is a one-parameter family of ma…

2019

On the loss landscape of a class of deep neural networks with no bad local valleys

ICLR 2019poster

We identify a class of over-parameterized deep neural networks with standard activation functions and cross-entropy loss which provably have no bad local valley, in the sense that from any point in parameter space there exists a continuous path on which the cross-entropy loss is non-increasing and g…

Cited by 104SourcePDFScholar
2019

Provable Robustness of ReLU networks via Maximization of Linear Regions

AISTATS 2019poster

It has been shown that neural network classifiers are not robust. This raises concerns about their usage in safety-critical systems. We propose in this paper a regularization scheme for ReLU networks which provably improves the robustness of the classifier by maximizing the linear regions of the cla…

2019

Provably robust boosted decision stumps and trees against adversarial attacks

NeurIPS 2019poster

The problem of adversarial robustness has been studied extensively for neural networks. However, for boosted decision trees and decision stumps there are almost no results, even though they are widely used in practice (e.g. XGBoost) due to their accuracy, interpretability, and efficiency. We show in…

2019

Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem

CVPR 2019oral

Classifiers used in the wild, in particular for safety-critical systems, should not only have good generalization properties but also should know when they don't know, in particular make low confidence predictions far away from the training data. We show that ReLU type neural networks which yield a…

Cited by 717PDFcodeScholar
2018

Neural Networks Should Be Wide Enough to Learn Disconnected Decision Regions

ICML 2018oral

In the recent literature the important role of depth in deep learning has been emphasized. In this paper we argue that sufficient width of a feedforward network is equally important by answering the simple question under which conditions the decision regions of a neural network are connected. It tur…

Cited by 65SourcePDFScholar
2018

The Power Mean Laplacian for Multilayer Graph Clustering

AISTATS 2018poster

Multilayer graphs encode different kind of interactions between the same set of entities. When one wants to cluster such a multilayer graph, the natural question arises how one should merge the information from different layers. We introduce in this paper a one-parameter family of matrix power means…

Cited by 0SourcePDFScholar
2017

Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulation

NeurIPS 2017poster

Recent work has shown that state-of-the-art classifiers are quite brittle, in the sense that a small adversarial change of an originally with high confidence correctly classified input leads to a wrong classification again with high confidence. This raises concerns that such classifiers are vulnera…

Cited by 662SourcePDFScholar
2017

Simple Does It: Weakly Supervised Instance and Semantic Segmentation

CVPR 2017poster

Semantic labelling and instance segmentation are two tasks that require particularly costly annotations. Starting from weak supervision in the form of bounding box detection annotations, we propose a new approach that does not require modification of the segmentation training procedure. We show that…

Cited by 971PDFScholar
2016

Clustering Signed Networks with the Geometric Mean of Laplacians

NeurIPS 2016poster

Signed networks allow to model positive and negative relationships. We analyze existing extensions of spectral clustering to signed networks. It turns out that existing approaches do not recover the ground truth clustering in several situations where either the positive or the negative network struc…

Cited by 58SourcePDFScholar
2016

Globally Optimal Training of Generalized Polynomial Neural Networks with Nonlinear Spectral Methods

NeurIPS 2016poster

The optimization problem behind neural networks is highly non-convex. Training with stochastic gradient descent and variants requires careful parameter tuning and provides no guarantee to achieve the global optimum. In contrast we show under quite weak assumptions on the data that a particular class…

Cited by 42SourcePDFScholar
2016

Latent Embeddings for Zero-Shot Classification

CVPR 2016spotlight

We present a novel latent embedding model for learning a compatibility function between image and class embeddings, in the context of zero-shot classification. The proposed method augments the state-of-the-art bilinear compatibility model by incorporating latent variables. Instead of learning a sing…

Cited by 888PDFScholar
2015

A Flexible Tensor Block Coordinate Ascent Scheme for Hypergraph Matching

CVPR 2015poster

The estimation of correspondences between two images resp. point sets is a core problem in computer vision. One way to formulate the problem is graph matching leading to the quadratic assignment problem which is NP-hard. Several so called second order methods have been proposed to solve this problem…

Cited by 79SourcePDFScholar
2015

Classifier Based Graph Construction for Video Segmentation

CVPR 2015poster

Video segmentation has become an important and active research area with a large diversity of proposed approaches. Graph-based methods, enabling topperformance on recent benchmarks, consist of three essential components: 1. powerful features account for object appearance and motion similarities; 2.…

Cited by 85SourcePDFScholar
2015

Efficient Output Kernel Learning for Multiple Tasks

NeurIPS 2015poster

The paradigm of multi-task learning is that one can achieve better generalization by learning tasks jointly and thus exploiting the similarity between the tasks rather than learning them independently of each other. While previously the relationship between tasks had to be user-defined in the form o…

Cited by 39SourcePDFScholar
2015

Regularization-Free Estimation in Trace Regression with Symmetric Positive Semidefinite Matrices

NeurIPS 2015poster

Trace regression models have received considerable attention in the context of matrix completion, quantum state tomography, and compressed sensing. Estimation of the underlying matrix from regularization-based approaches promoting low-rankedness, notably nuclear norm regularization, have enjoyed gre…

Cited by 15SourcePDFScholar