Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Markus Nagel

dblp:38/1463 · DBLP profile ↗
← Back
15ranked-venue papers
5as first author
9since 2021 · last 2024
—ORCID · none

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 12 · 4 first-author · 8 since 2021Graphics, computer vision, multimedia, augmented reality and games · 6 · 3 first-author · 2 since 2021Applied, interdisciplinary, general and emerging computing · 2 · 1 first-author

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
11 papers
Efficient and distributed learning · 81% Deep learning architectures and training · 9% Language models and text generation · 3%

Topics — the 18 heaviest of 19, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Machine learning › Efficient and distributed learning
model compression
6.4112024
Sparse High Rank Adapters · NeurIPS 2024
The LLM Surgeon · ICLR 2024
Pruning vs Quantization: Which is Better? · NeurIPS 2023
Machine learning › Efficient and distributed learning › model compression
quantization
4.992023
Pruning vs Quantization: Which is Better? · NeurIPS 2023
Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing · NeurIPS 2023
ResQ: Residual Quantization for Video Perception · ICCV 2023
Machine learning › Efficient and distributed learning › model compression
pruning
1.932024
The LLM Surgeon · ICLR 2024
Pruning vs Quantization: Which is Better? · NeurIPS 2023
Bayesian Bits: Unifying Quantization and Pruning · NeurIPS 2020
Machine learning › Deep learning architectures and training
transformer
1.432024
Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing · NeurIPS 2023
Understanding and Overcoming the Challenges of Efficient Transformer Quantization · EMNLP (1) 2021
The LLM Surgeon · ICLR 2024
Machine learning › Efficient and distributed learning › model compression › quantization
post-training quantization
1.022022
FP8 Quantization: The Power of the Exponent · NeurIPS 2022
Up or Down? Adaptive Rounding for Post-Training Quantization · ICML 2020
Natural language and speech › Language models and text generation
large language model
0.812024
The LLM Surgeon · ICLR 2024
Machine learning › Efficient and distributed learning
parameter-efficient fine-tuning
0.812024
Sparse High Rank Adapters · NeurIPS 2024
Machine learning › Efficient and distributed learning › parameter-efficient fine-tuning
sparse fine-tuning
0.812024
Sparse High Rank Adapters · NeurIPS 2024
Machine learning › Deep learning architectures and training
attention mechanism
0.712023
Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing · NeurIPS 2023
Machine learning › Trustworthy machine learning
outlier mitigation
0.712023
Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing · NeurIPS 2023
Machine learning › Efficient and distributed learning › model quantization
quantization error analysis
0.712023
Pruning vs Quantization: Which is Better? · NeurIPS 2023
Machine learning › Efficient and distributed learning › model quantization
FP8 quantization
0.612022
FP8 Quantization: The Power of the Exponent · NeurIPS 2022
Machine learning › Efficient and distributed learning › model compression › quantization
low-bit quantization
0.612022
Overcoming Oscillations in Quantization-Aware Training · ICML 2022
Machine learning › Efficient and distributed learning › model compression › quantization
quantization-aware training
0.612022
Overcoming Oscillations in Quantization-Aware Training · ICML 2022
Machine learning › Probabilistic and Bayesian machine learning › probabilistic inference
approximate inference
0.412020
Bayesian Bits: Unifying Quantization and Pruning · NeurIPS 2020
Machine learning › Optimization for machine learning
combinatorial optimization
0.412020
Up or Down? Adaptive Rounding for Post-Training Quantization · ICML 2020
Machine learning › Efficient and distributed learning › model compression › quantization
mixed-precision quantization
0.412020
Bayesian Bits: Unifying Quantization and Pruning · NeurIPS 2020
Machine learning › Efficient and distributed learning › model compression › quantization › post-training quantization
data-free quantization
0.412019
Data-Free Quantization Through Weight Equalization and Bias Correction · ICCV 2019

Methods — techniques the papers use, named apart from their topics

quantization-aware training · 1.1sparse weight tuning · 0.8low-rank adaptation · 0.8kronecker-factored curvature approximation · 0.8quantization · 0.7gated attention · 0.7fine-tuning · 0.7clipped softmax · 0.7analytical error bounds · 0.7INT8 quantization · 0.7
YearPublicationVenuePosition
2024 The LLM Surgeon
abstract
State-of-the-art language models are becoming increasingly large in an effort to achieve the highest performance on large corpora of available textual data. However, the sheer size of the Transformer architectures makes it difficult to deploy models within computational, environmental or device-specific constraints. We explore data-driven compression of existing pretrained models as an alternative to training smaller models from scratch. To do so, we scale Kronecker-factored curvature approximations of the target loss landscape to large language models. In doing so, we can compute both the dynamic allocation of structures that can be removed as well as updates of remaining weights that account for the removal. We provide a general framework for unstructured, semi-structured and structured pruning and improve upon weight updates to capture more correlations between weights, while remaining computationally efficient. Experimentally, our method can prune rows and columns from a range of OPT models and Llamav2-7B by 20\%-30\%, with a negligible loss in performance, and achieve state-of-the-art results in unstructured and semi-structured pruning of large language models. We will open source our code on GitHub upon acceptance.
Tycho F. A. van der Ouderaa, Markus Nagel, Mart van Baalen, Tijmen Blankevoort
ICLR2
2024 Sparse High Rank Adapters
abstract
Low Rank Adaptation (LoRA) has gained massive attention in the recent generative AI research. One of the main advantages of LoRA is its ability to be fused with pretrained models, adding no overhead during inference. However, from a mobile deployment standpoint, we can either avoid inference overhead in the fused mode but lose the ability to switch adapters rapidly, or suffer significant (up to 30% higher) inference latency while enabling rapid switching in the unfused mode. LoRA also exhibits concept-loss when multiple adapters are used concurrently. In this paper, we propose Sparse High Rank Adapters (SHiRA), a new paradigm which incurs no inference overhead, enables rapid switching, and significantly reduces concept-loss. Specifically, SHiRA can be trained by directly tuning only 1-2% of the base model weights while leaving others unchanged. This results in a highly sparse adapter which can be switched directly in the fused mode. We further provide theoretical and empirical insights on how high sparsity in SHiRA can aid multi-adapter fusion by reducing concept loss. Our extensive experiments on LVMs and LLMs demonstrate that finetuning only a small fraction of the parameters in the base model significantly outperforms LoRA while enabling both rapid switching and multi-adapter fusion. Finally, we provide a latency- and memory-efficient SHiRA implementation based on Parameter-Efficient Finetuning (PEFT) Library which trains at nearly the same speed as LoRA while consuming up to 16% lower peak GPU memory, thus making SHiRA easy to adopt for practical use cases. To demonstrate rapid switching benefits during inference, we show that loading SHiRA on a base model can be 5x-16x faster than LoRA fusion on a CPU.
Kartikeya Bhardwaj, Nilesh Prasad Pandey, Sweta Priyadarshi, Viswanath Ganapathy, Shreya Kadambi, Rafael Esteves 0002, Shubhankar Borse, Paul N. Whatmough, Risheek Garrepalli, Mart van Baalen, Harris Teague, Markus Nagel
NeurIPS12
2024 MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Device
abstract
Neural video codecs have recently become competitive with standard codecs such as HEVC in the low-delay setting. However, most neural codecs are large floating-point networks that use pixel-dense warping operations for temporal modeling, making them too computationally expensive for deployment on mobile devices. Recent work has demonstrated that running a neural decoder in real time on mobile is feasible, but shows this only for 720p RGB video.This work presents the first neural video codec that decodes 1080p YUV420 video in real time on a mobile device. Our codec relies on two major contributions. First, we design an efficient codec that uses a block-based motion compensation algorithm available on the warping core of the mobile accelerator, and we show how to quantize this model to integer precision. Second, we implement a fast decoder pipeline that concurrently runs neural network components on the neural signal processor, parallel entropy coding on the mobile GPU, and warping on the warping core. Our codec outperforms the previous on-device codec by a large margin with up to 48 % BD-rate savings, while reducing the MAC count on the receiver side by 10×. We perform a careful ablation to demonstrate the effect of the introduced motion compensation scheme, and ablate the effect of model quantization.
Ties van Rozendaal, Tushar Singhal, Hoang Le, Guillaume Sautière, Amir Said, Krishna Buska, Anjuman Raha, Dimitrios Kalatzis, Hitarth Mehta, Frank Mayer, Markus Nagel, Auke J. Wiggers
WACV12
2023 ResQ: Residual Quantization for Video Perception
abstract
This paper accelerates video perception, such as segmentation and human pose estimation, by levering cross-frame redundancies. Unlike the existing approaches, which avoid redundant computations by warping the past features using optical-flow or by performing sparse convolutions on frame differences, we approach the problem from a different perspective: low-bit quantization. We observe that residuals, as the difference in network activations between two neighboring frames, exhibit properties that make them highly quantizable. Based on this observation, we propose a novel quantization scheme for video networks coined as Res idual Quantization. ResQ extends the standard, frame-by-frame, quantization scheme by incorporating temporal dependencies that lead to better performance in terms of accuracy vs. bit-width. Furthermore, we extend our model to dynamically adjust the bit-width proportionally to the amount of changes in the video. We showcase the superiority of our model, against the standard quantization and existing efficient video perception models, using various architectures on semantic segmentation, video object segmentation and human pose estimation benchmarks.
Davide Abati, Haitam Ben Yahia, Markus Nagel, AmirHossein Habibian
ICCV3
2023 Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing
abstract
Transformer models have been widely adopted in various domains over the last years and especially large language models have advanced the field of AI significantly. Due to their size, the capability of these networks has increased tremendously, but this has come at the cost of a significant increase in necessary compute. Quantization is one of the most effective ways for reducing the computational time and memory consumption of neural networks. Many studies have shown, however, that modern transformer models tend to learn strong outliers in their activations, making them difficult to quantize. To retain acceptable performance, the existence of these outliers requires activations to be in higher-bitwidth or the use of different numeric formats, extra fine-tuning, or other workarounds. We show that strong outliers are related to very specific behavior of attention heads that try to learn a "no-op", or just a partial update of the residual. To achieve the exact zeros needed in the attention matrix for a no-update, the input to the softmax is pushed to be larger and larger during training, causing outliers in other parts of the network. Based on these observations, we propose two simple (independent) modifications to the attention mechanism - _clipped softmax_ and _gated attention_. We empirically show that models pre-trained using our methods learn significantly smaller outliers while maintaining and sometimes even improving the floating-point task performance. This enables us to quantize transformers to full INT8 quantization of the activations without any additional effort. We demonstrate the effectiveness of our methods on both language models (BERT, OPT) and vision transformers.
Yelysei Bondarenko, Markus Nagel, Tijmen Blankevoort
NeurIPS2
2023 Pruning vs Quantization: Which is Better?
abstract
Neural network pruning and quantization techniques are almost as old as neural networks themselves. However, to date, only ad-hoc comparisons between the two have been published. In this paper, we set out to answer the question of which is better: neural network quantization or pruning? By answering this question, we hope to inform design decisions made on neural network hardware going forward. We provide an extensive comparison between the two techniques for compressing deep neural networks. First, we give an analytical comparison of expected quantization and pruning error for general data distributions. Then, we provide lower and upper bounds for the per-layer pruning and quantization error in trained networks and compare these to empirical error after optimization. Finally, we provide an extensive experimental comparison for training 8 large-scale models trained on 3 tasks and provide insights into the representations learned during fine-tuning with quantization and pruning in the loop. Our results show that in most cases quantization outperforms pruning. Only in some scenarios with a very high compression ratio, compression might be beneficial from an accuracy standpoint.
Andrey Kuzmin, Markus Nagel, Mart van Baalen, Arash Behboodi, Tijmen Blankevoort
NeurIPS2
2022 Overcoming Oscillations in Quantization-Aware Training
abstract
When training neural networks with simulated quantization, we observe that quantized weights can, rather unexpectedly, oscillate between two grid-points. The importance of this effect and its impact on quantization-aware training (QAT) are not well-understood or investigated in literature. In this paper, we delve deeper into the phenomenon of weight oscillations and show that it can lead to a significant accuracy degradation due to wrongly estimated batch-normalization statistics during inference and increased noise during training. These effects are particularly pronounced in low-bit ($\leq$ 4-bits) quantization of efficient networks with depth-wise separable layers, such as MobileNets and EfficientNets. In our analysis we investigate several previously proposed QAT algorithms and show that most of these are unable to overcome oscillations. Finally, we propose two novel QAT algorithms to overcome oscillations during training: oscillation dampening and iterative weight freezing. We demonstrate that our algorithms achieve state-of-the-art accuracy for low-bit (3 & 4 bits) weight and activation quantization of efficient architectures, such as MobileNetV2, MobileNetV3, and EfficentNet-lite on ImageNet. Our source code is available at https://github.com/qualcomm-ai-research/oscillations-qat.
Markus Nagel, Marios Fournarakis, Yelysei Bondarenko, Tijmen Blankevoort
ICML1
2022 FP8 Quantization: The Power of the Exponent
abstract
When quantizing neural networks for efficient inference, low-bit integers are the go-to format for efficiency. However, low-bit floating point numbers have an extra degree of freedom, assigning some bits to work on an exponential scale instead. This paper in-depth investigates this benefit of the floating point format for neural network inference. We detail the choices that can be made for the FP8 format, including the important choice of the number of bits for the mantissa and exponent, and show analytically in which settings these choices give better performance. Then we show how these findings translate to real networks, provide an efficient implementation for FP8 simulation, and a new algorithm that enables the learning of both the scale parameters and number of exponent bits in the FP8 format. Our chief conclusion is that when doing post-training quantization for a wide range of networks, the FP8 format is better than INT8 in terms of accuracy, and the choice of the number of exponent bits is driven by the severity of outliers in the network. We also conduct experiments with quantization-aware training where the difference in formats disappears as the network is trained to reduce the effect of outliers.
Andrey Kuzmin, Mart van Baalen, Markus Nagel, Jorn Peters, Tijmen Blankevoort
NeurIPS4
2021 Understanding and Overcoming the Challenges of Efficient Transformer Quantization
abstract
Transformer-based architectures have become the de-facto standard models for a wide range of Natural Language Processing tasks.However, their memory footprint and high latency are prohibitive for efficient deployment and inference on resource-limited devices.In this work, we explore quantization for transformers.We show that transformers have unique quantization challenges -namely, high dynamic activation ranges that are difficult to represent with a low bit fixed-point format.We establish that these activations contain structured outliers in the residual connections that encourage specific attention patterns, such as attending to the special separator token.To combat these challenges, we present three solutions based on post-training quantization and quantization-aware training, each with a different set of compromises for accuracy, model size, and ease of use.In particular, we introduce a novel quantization scheme -per-embedding-group quantization.We demonstrate the effectiveness of our methods on the GLUE benchmark using BERT, establishing state-of-the-art results for post-training quantization.Finally, we show that transformer weights and embeddings can be quantized to ultra-low bit-widths, leading to significant memory savings with a minimum accuracy loss.Our source code is available at https://github. com/qualcomm-ai-research/ transformer-quantization.
Yelysei Bondarenko, Markus Nagel, Tijmen Blankevoort
EMNLP (1)2
2020 Up or Down? Adaptive Rounding for Post-Training Quantization
abstract
When quantizing neural networks, assigning each floating-point weight to its nearest fixed-point value is the predominant approach. We find that, perhaps surprisingly, this is not the best we can do. In this paper, we propose AdaRound, a better weight-rounding mechanism for post-training quantization that adapts to the data and the task loss. AdaRound is fast, does not require fine-tuning of the network, and only uses a small amount of unlabelled data. We start by theoretically analyzing the rounding problem for a pre-trained neural network. By approximating the task loss with a Taylor series expansion, the rounding task is posed as a quadratic unconstrained binary optimization problem. We simplify this to a layer-wise local loss and propose to optimize this loss with a soft relaxation. AdaRound not only outperforms rounding-to-nearest by a significant margin but also establishes a new state-of-the-art for post-training quantization on several networks and tasks. Without fine-tuning, we can quantize the weights of Resnet18 and Resnet50 to 4 bits while staying within an accuracy loss of 1%.
Markus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos, Tijmen Blankevoort
ICML1
2020 Bayesian Bits: Unifying Quantization and Pruning
abstract
We introduce Bayesian Bits, a practical method for joint mixed precision quantization and pruning through gradient based optimization. Bayesian Bits employs a novel decomposition of the quantization operation, which sequentially considers doubling the bit width. At each new bit width, the residual error between the full precision value and the previously rounded value is quantized. We then decide whether or not to add this quantized residual error for a higher effective bit width and lower quantization noise. By starting with a power-of-two bit width, this decomposition will always produce hardware-friendly configurations, and through an additional 0-bit option, serves as a unified view of pruning and quantization. Bayesian Bits then introduces learnable stochastic gates, which collectively control the bit width of the given tensor. As a result, we can obtain low bit solutions by performing approximate inference over the gates, with prior distributions that encourage most of them to be switched off. We experimentally validate our proposed method on several benchmark datasets and show that we can learn pruned, mixed precision networks that provide a better trade-off between accuracy and efficiency than their static bit width equivalents.
Mart van Baalen, Christos Louizos, Markus Nagel, Rana Ali Amjad, Ying Wang 0051, Tijmen Blankevoort, Max Welling
NeurIPS3
2019 Data-Free Quantization Through Weight Equalization and Bias Correction
abstract
We introduce a data-free quantization method for deep neural networks that does not require fine-tuning or hyperparameter selection. It achieves near-original model performance on common computer vision architectures and tasks. 8-bit fixed-point quantization is essential for efficient inference on modern deep learning hardware. However, quantizing models to run in 8-bit is a non-trivial task, frequently leading to either significant performance reduction or engineering time spent on training a network to be amenable to quantization. Our approach relies on equalizing the weight ranges in the network by making use of a scale-equivariance property of activation functions. In addition the method corrects biases in the error that are introduced during quantization. This improves quantization accuracy performance, and can be applied to many common computer vision architectures with a straight forward API call. For common architectures, such as the MobileNet family, we achieve state-of-the-art quantized model performance. We further show that the method also extends to other computer vision architectures and tasks such as semantic segmentation and object detection.
Markus Nagel, Mart van Baalen, Tijmen Blankevoort, Max Welling
ICCV1
2015 Event Fisher Vectors: Robust Encoding Visual Diversity of Visual Streams
abstract
In this paper we focus on event recognition in visual image streams.More specifically, we aim to construct a compact representation which encodes the diversity of the visual stream from just a few observations.For this purpose, we introduce the Event Fisher Vector, a Fisher Kernel based representation to describe a collection of images or the sequential frames of a video.We explore different generative models beyond the Gaussian mixture model as underlying probability distribution.First, the Student's-t mixture model which captures the heavy tails of the small sample size of a collection of images.Second, Hidden Markov Models to explicitly capture the temporal ordering of the observations in a stream.For all our models we derive analytical approximations of the Fisher information matrix, which significantly improves recognition performance.We extensively evaluate the properties of our proposed method on three recent datasets for event recognition in photo collections and web videos, leading to an efficient compact image representation which achieves state-of-the-art performance on all these datasets.
Markus Nagel, Thomas Mensink, Cees Snoek
BMVC1
2006 Rawdata-Based Detection of the Optimal Reconstruction Phase in ECG-Gated Cardiac Image Reconstruction
Dirk Ertel, Marc Kachelriess, Tobias Pflederer, Stephan Achenbach, Robert M. Lapp, Markus Nagel, Willi A. Kalender
MICCAI (2)6
2005 A Navigation System for Minimally Invasive CT-Guided Interventions
Markus Nagel, Gerd Schmidt, Ralf Petzold, Willi A. Kalender
MICCAI (2)1