Claus Hofmann

Claus Hofmann

Johannes Kepler University of Linz
2 previous affiliations
3Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Claus Hofmann focuses on out-of-distribution detection, machine learning reliability, and uncertainty quantification. His research explores novel training strategies, such as leveraging Hopfield networks and attention pooling, to sharpen decision boundaries and identify anomalous data. His most recent work extends these methods to natural language processing, improving the robustness of language models through token-level aggregation techniques.

Research Trajectory

Hofmann’s research addresses the critical challenge of identifying anomalous inputs to ensure the safe and reliable deployment of machine learning systems. When models encounter data that falls outside their training distribution, they can make unpredictable and overconfident errors; Hofmann’s work develops algorithmic interventions to detect and mitigate these failures.

In 2023, he introduced a novel methodology in the paper Hopfield Boosting for Out-of-Distribution Detection. This work leverages Hopfield networks alongside an outlier exposure training strategy to sharpen the decision boundary between normal and anomalous data. By systematically exposing the model to auxiliary outliers during training, the network learns a more precise representation of the in-distribution manifold. This contribution intersects with broader research directions such as Out of Distribution Detection for Reliable Neural Networks, the area of Energy Scores for Out-of-Distribution Detection, and the field of Shifting from Static Benchmarks to Dynamic Evaluation.

Building on this foundation, Hofmann further refined his training strategy in Energy-based Hopfield Boosting for Out-of-Distribution Detection. Published in 2024, this research utilizes modern Hopfield energy to identify and focus specifically on "hard" auxiliary outliers—anomalies that lie dangerously close to the decision boundary and are typically difficult for standard models to distinguish. This energy-based perspective allows the model to dynamically weight and penalize these difficult examples during training. As a result, the method significantly reduces false positive rates on complex, high-dimensional datasets like ImageNet-1K. This advancement aligns closely with the research area of Energy Margin Regularization for Out-of-Distribution Detection and contributes to the broader field of Synthetic Outlier Exposure for Robust Neural Networks.

Most recently, Hofmann expanded his focus to the domain of natural language processing, where mapping complex, sequential representations to a single reliability score presents unique challenges. In the 2025 paper AP-OOD: Attention Pooling for Out-of-Distribution Detection, he and his collaborators address the difficulty of aggregating token embeddings from language models to generate reliable scalar out-of-distribution scores. Moving beyond simple average-based aggregation, the proposed AP-OOD method employs a semi-supervised approach that explicitly exploits token-level information. This architecture allows for flexible interpolation between unsupervised and supervised settings, enabling models to effectively utilize limited amounts of auxiliary outlier text data to calibrate their uncertainty.

Current Directions

Hofmann’s most recent work investigates the adaptation of out-of-distribution detection mechanisms for language models and natural language processing tasks. A primary focus is on developing sophisticated pooling techniques that capture token-level nuances, moving beyond the limitations of simple average-based embedding aggregation. Additionally, his current research explores semi-supervised paradigms that can efficiently utilize limited auxiliary outlier data. By bridging the gap between purely unsupervised anomaly detection and fully supervised robust training, this work aims to improve the reliability and safety of high-dimensional language representations in real-world deployments.

Profile updated

See something wrong? Report a mistake