MCP
BK

Bernhard Klein

18 papers in the library · Same-name authors told apart using DBLP

Papers

18
Beyond Noise: Understanding and Overcoming Temperature Effects in Analog DNN Inference
Niklas SummXiao WangHendrik BorrasBernhard KleinHolger Fröning
This paper empirically studies temperature effects on analog DNN accelerators, identifying systematic non-idealities as the primary cause of accuracy degradation over stochastic noise. Through experiments on a representative analog hardware platform, the authors compare mitigation strategies: noise-aware training improves robustness, while hardware-in-the-loop training combined with temperature-aware calibration yields the strongest accuracy retention across varying thermal conditions.
arXivarXiv · · September 14, 2026
0
0
Constrained Co-Design for Photonic Bayesian Neural Networks
Hendrik BorrasXiao WangBernhard KleinRobin JanssenFrank Brückerhoff-PlückelmannWolfram PerniceHolger Fröning
This paper studies hardware-imposed constraints that limit photonic Bayesian neural network (BNN) inference and derives co-design guidelines. It formulates photonic BNN inference as constrained stochastic variational inference and systematically ablates constraints such as stochasticity location, quantization, programming error, and mean/variance bounds. The results show that hardware-aware training can compensate for constraints that keep the variational family representable, while violations of representational limits require hardware modifications.
arXivarXiv · · August 3, 2026
0
0
Probabilistic Photonic Computing
Frank Brückerhoff-PlückelmannAnna P. OvvyanAkhil VarriHendrik BorrasBernhard KleinC. David WrightHarish BhaskaranGhazi Sarwat SyedAbu SebastianHolger FröningWolfram Pernice
This paper argues that probabilistic photonic computing can overcome the latency and energy overhead of emulating probabilistic models on deterministic hardware. By encoding information directly in physical quantities and integrating physical entropy sources, photonic systems avoid the need for (pseudo) random number generation and data shuffling. The authors highlight key developments in photonic computing and random number generation, and discuss the design of probabilistic photonic processors, their potential impact on AI systems, and future challenges.
arXivarXiv · · February 23, 2026
0
0
Uncertainty-Preserving QBNNs: Multi-Level Quantization of SVI-Based Bayesian Neural Networks for Image Classification
Hendrik BorrasYong WuBernhard KleinHolger Fröning
This paper introduces a systematic multi-level quantization framework for Stochastic Variational Inference based Bayesian Neural Networks, comprising Variational Parameter Quantization, Sampled Parameter Quantization, and Joint Quantization. A key contribution is the use of logarithmic quantization for variance parameters and specialized activation functions to preserve distributional structure. Experiments on Dirty-MNIST show that BNNs quantized to 4-bit precision maintain classification accuracy and uncertainty disentanglement, with Joint Quantization achieving up to 8x memory reduction over floating-point implementations.
arXivarXiv · · December 11, 2025
0
2
Temporal speckle enables probabilistic weights for uncertainty-aware photonic AI
F. Brückerhoff-PlückelmannH. BorrasS. U. HulyalL. MeyerX. JiJ. HuJ. SunB. KleinF. EbertJ. DijkstraL. McRaeP. Schmidt  +3
This paper introduces a photonic approach to Bayesian neural networks, using temporal speckle of broadband light as a native representation of probabilistic weights. Amplitude-bandwidth programming of spectral channels encodes mean and variance independently, yielding uncorrelated samples without random-number generation. An ultrafast processor computes a probabilistic convolution every 37.5 ps, enabling simultaneous classification and out-of-distribution detection, demonstrated on blood-cell images and standard uncertainty benchmarks. This removes the sampling bottleneck of Bayesian inference for high-speed, uncertainty-aware photonic AI.
arXivarXiv · · December 1, 2025
0
4
Accelerated Execution of Bayesian Neural Networks using a Single Probabilistic Forward Pass and Code Generation
Bernhard KleinFalk SelkerHendrik BorrasSophie StegerFranz PernkopfHolger Fröning
This paper presents an end-to-end pipeline for training, compiling, optimizing, and deploying Bayesian neural networks (BNNs) on embedded ARM CPUs, using the Probabilistic Forward Pass (PFP) approximation to Stochastic Variational Inference. PFP assumes Gaussian-distributed weights and activations, enabling fully analytic uncertainty propagation through a single deterministic forward pass instead of sampling. Implemented with the TVM compiler and a library of Gaussian-propagating operators, the approach matches SVI in accuracy and out-of-domain detection on Dirty-MNIST while achieving speedups up to 4200x for small mini-batches.
arXivarXiv · · November 28, 2025
0
2
Resource-Efficient and Robust Inference of Deep and Bayesian Neural Networks on Embedded and Analog Computing Platforms
Bernhard Klein
This work advances resource-efficient and robust inference for deep and Bayesian neural networks through algorithm-hardware co-design. Galen performs automatic layer-specific compression guided by sensitivity analysis and hardware-in-the-loop feedback. It models device imperfections in analog accelerators and extends noisy training to nonstationary conditions. Probabilistic inference is improved via analytic and ensemble approximations that replace costly sampling, and probabilistic photonic computing uses controlled analog noise as an intrinsic entropy source for fast, energy-efficient hardware inference.
arXivarXiv · · October 28, 2025
0
1
Function Space Diversity for Uncertainty Prediction via Repulsive Last-Layer Ensembles
Sophie StegerChristian KnollBernhard KleinHolger FröningFranz Pernkopf
This paper proposes a repulsive last-layer ensemble for function-space Bayesian inference, using a single multi-headed network as particles to minimize parameter and computation overhead. The authors show that enforcing diversity on training data causes underfitting, while label-destroying augmentation or unlabeled out-of-distribution data improves diversity and uncertainty estimates. This method integrates seamlessly with pretrained networks for uncertainty-aware fine-tuning, achieving competitive results in disentangling aleatoric and epistemic uncertainty, detecting out-of-distribution data, and providing calibrated estimates under distribution shifts with minimal compute and memory.
OpenReviewOpenReview · · October 23, 2025
0
On Hardening DNNs against Noisy Computations
Xiao WangHendrik BorrasBernhard KleinHolger Fröning
This work investigates hardening deep neural networks against the noisy computations inherent in analog hardware. Two training strategies are compared: quantization-aware training with constant scaling factors, and noisy training that injects inference-like noise during training. Experiments across multiple architectures show that both methods improve noise robustness, but noisy training is more effective, particularly for complex networks. The central contribution is the empirical demonstration that noisy training outperforms quantization-aware training for achieving robust performance under computational noise.
arXivarXiv · · January 24, 2025
0
3
Function Space Diversity for Uncertainty Prediction via Repulsive Last-Layer Ensembles
Sophie StegerChristian KnollBernhard KleinHolger FröningFranz Pernkopf
This paper proposes a repulsive last-layer ensemble for function-space Bayesian inference that improves uncertainty estimation while remaining applicable to large pretrained networks. The method uses a single multi-headed network, where each head acts as a particle, and enforces prediction diversity via label-destroying data augmentation or unlabeled out-of-distribution data rather than on training data directly. This minimizes additional parameters and computation, enabling uncertainty-aware fine-tuning at low cost. The approach achieves competitive results in active learning, out-of-domain detection, and calibrated uncertainty estimation under distribution shifts.
arXivarXiv · · December 20, 2024
0
13
Function Space Diversity for Uncertainty Prediction via Repulsive Last-Layer Ensembles
Sophie StegerChristian KnollBernhard KleinHolger FröningFranz Pernkopf
This paper improves function-space Bayesian inference via particle optimization for uncertainty estimation in neural networks. The authors show that enforcing prediction diversity on training inputs harms performance, whereas using label-destroying augmentation or unlabeled out-of-distribution data enhances diversity and uncertainty estimates. They further replace full deep ensembles with a single multi-headed network, whose repulsive last-layer ensemble minimally increases parameters and computation, enabling uncertainty-aware fine-tuning of large pretrained networks at low cost.
OpenReviewOpenReview · · May 27, 2024
0
Probabilistic Photonic Computing with Chaotic Light
Frank Brückerhoff-PlückelmannHendrik BorrasBernhard KleinAkhil VarriMarlon BeckerJelle DijkstraMartin BrückerhoffC. David WrightMartin SalingaHarish BhaskaranBenjamin RisseHolger Fröning  +1
The paper introduces a photonic computing architecture that uses chaotic light as a physical entropy source combined with incoherent photonic data processing to enable high-speed probabilistic computation. This approach treats an artificial neural network as a Bayesian model, sampling from the output distribution in parallel across 70.4 GS/s per wavelength channel, limited only by the electronic interface. The prototype simultaneously performs image classification and uncertainty quantification, demonstrating ultrafast probabilistic computation integrated with a physical entropy source.
arXivarXiv · · January 31, 2024
0
58
Resource-Efficient Neural Networks for Embedded Systems
Wolfgang RothGünther SchindlerBernhard KleinRobert PeharzSebastian TschiatschekHolger FröningFranz PernkopfZoubin Ghahramani
This article reviews the state of the art in resource-efficient inference with deep neural networks (DNNs), the dominant models of the past decade, motivated by the need to trade prediction performance against computation and energy in embedded, autonomous, and IoT settings. It organizes the literature into three non-mutually exclusive categories—quantized neural networks, network pruning, and structural efficiency—applicable during training or as post-processing to reduce memory footprint, inference time, and energy use. It briefly covers embedded hardware for DNNs and its compatibility with these techniques, and reports experiments on standard benchmarks applying quantization and pruning across resource-constrained CPUs, GPUs, and FPGAs, whose results underscore the difficulty of finding good trade-offs between resource efficiency and prediction quality.
JMLRJMLR · 2024
0
On the Non-Associativity of Analog Computations
Lisa KuhnBernhard KleinHolger Fröning
Analog computations are inherently non-associative because the order of input operands alters the output, even when the operation is mathematically associative. This is demonstrated by modeling a real analog processor that captures ordering effects. Comparing a neural network for keyword spotting trained on an ordered model, a non-ordered variant, and real hardware shows that neglecting ordering causes substantial accuracy drops, proving the high impact of this phenomenon.
arXivarXiv · · September 25, 2023
0
4
Lightweight uncertainty modelling using function space particle optimization
Sophie StegerBernhard KleinHolger FröningFranz Pernkopf
The authors propose a lightweight approach to calibrated uncertainty quantification that avoids the cost of deep ensembles. They use particle-based variational inference in function space, but represent particles not as separate networks but as multiple heads of a single network sharing a joint latent representation, regularized to preserve bi-Lipschitz conditions. This maintains prediction diversity while reducing computational and memory demands, achieving competitive performance in active learning, out-of-domain detection, and calibrated uncertainty under distribution shifts.
OpenReviewOpenReview · September 23, 2023
0
0
Towards Hardware-Specific Automatic Compression of Neural Networks
Torben KriegerBernhard KleinHolger Fröning
Galen, a reinforcement-learning framework, automatically selects per-layer pruning and quantization policies to compress neural networks for a specific hardware target. Unlike prior work, it optimizes directly for inference latency measured on the target device. Experiments on an embedded ARM processor show that a ResNet18 for CIFAR-10 can be compressed to 20% of its original latency without significant accuracy loss, and joint search over pruning and quantization outperforms an individual search using a single method.
arXivarXiv · · December 15, 2022
0
11
Understanding Cache Boundness of ML Operators on ARM Processors
Bernhard KleinChristoph GratlManfred MückeHolger Fröning
This paper provides the first detailed analysis of dense and convolution operators generated by TVM on embedded ARM CPUs, showing that single-precision GEMM and convolutions are bound by L1-cache-read bandwidth, which explains the gap between theoretical peak performance and real-world results. 8-bit and bit-serial quantized operators can achieve relevant speedups, but their performance depends on the interaction between data layout and bit packing.
arXivarXiv · · February 1, 2021
0
3
Resource-Efficient Neural Networks for Embedded Systems
Wolfgang RothGünther SchindlerBernhard KleinRobert PeharzSebastian TschiatschekHolger FröningFranz PernkopfZoubin Ghahramani
This survey organizes resource-efficient deep neural network techniques for embedded systems into three categories: quantized neural networks, network pruning, and structural efficiency. These methods reduce memory, computation, and energy during inference while trading off prediction quality. Experiments on CPUs, GPUs, and FPGAs demonstrate the difficulty of balancing resource efficiency with accuracy.
arXivarXiv · · January 7, 2020
0
139
Frequent collaborators
Holger Fröning (16)
Hendrik Borras (7)
Franz Pernkopf (7)
Sophie Steger (5)
Xiao Wang (3)
Frank Brückerhoff-Plückelmann (3)
Wolfram Pernice (3)
Christian Knoll (3)
Akhil Varri (2)
C. David Wright (2)
Harish Bhaskaran (2)
Wolfgang Roth (2)