Fredrik K. Gustafsson
· 4 previous affiliations
- University of OxfordSince 2025
- Postdoc · Since 2025
- Linköping UniversityCurrent
- Current
- MS student · 2016–2018
- Undergrad student · 2013–2016
- Karolinska Institutet2023–2025
- Postdoc · 2023–2025
- Uppsala University2018–2023
- PhD student · 2018–2023
Research Overview
Fredrik K. Gustafsson focuses on reliable machine learning, deep regression, and the application of foundation models to healthcare. His early work developed energy-based models and uncertainty estimation techniques for robust computer vision. More recently, he investigates the evaluation and deployment of generative models and multimodal foundation models for clinical prediction, computational pathology, and biosignal analysis.
Research Trajectory
Gustafsson’s early research concentrated on probabilistic regression and uncertainty quantification in deep learning. In 2020, he explored how to adapt energy-based models (EBMs) for continuous regression tasks, a significant departure from their standard application in classification. This work includes How to Train Your Energy-Based Model for Regression, which introduced a training method capable of handling noisy annotations to achieve strong performance in object detection and visual tracking. He further formalized this approach in Energy-Based Models for Deep Probabilistic Regression, providing a conceptually simple framework with a clear probabilistic interpretation. These contributions advanced the broader research direction of Inference as Gradient Descent on Learned Energy Landscapes. Concurrently, he investigated predictive uncertainty in deep neural networks, publishing Evaluating Scalable Bayesian Deep Learning Methods for Robust Computer Vision to systematically compare approaches for estimating aleatoric and epistemic uncertainty.
He subsequently applied these probabilistic frameworks to more complex spatial tasks. In Accurate 3D Object Detection Using Energy-Based Models, he designed a differentiable pooling operator to regress 3D bounding boxes from sparse LiDAR data, enabling EBMs to operate effectively in cluttered environments. To address the practical challenges of training EBMs, he later presented Learning Proposals for Practical Energy-Based Regression, introducing a method to automatically learn proposal distributions via a unified training objective that jointly minimizes the KL divergence and the negative log-likelihood.
Moving into 2023, his focus expanded to the robustness of these models under real-world conditions. He proposed a comprehensive benchmark in How Reliable is Your Regression Model's Uncertainty Under Real-World Distribution Shifts?, evaluating various methods across medical and computer vision datasets. This work aligns with the research area of Ensemble Learning for Robust and Calibrated Uncertainty Estimation.
During this period, Gustafsson also began significant work on generative models for image restoration. With collaborators, he developed DA-CLIP in Controlling Vision-Language Models for Universal Image Restoration, utilizing a frozen vision-language encoder to identify corruptions and guide restoration across multiple degradation types. He further explored high-resolution generative restoration in Refusion: Enabling Large-Size Realistic Image Restoration with Latent-Space Diffusion Models. By performing diffusion in a specialized latent space and utilizing efficient network architectures, this framework achieved strong perceptual results, contributing to research directions such as Diffusion Bridges for Direct Domain Translation and Nonlinear Activation Free Networks for Image Restoration.
In 2024, he continued to refine generative restoration techniques. Photo-Realistic Image Restoration in the Wild with Controlled Vision-Language Models combined a degradation-aware CLIP model with a mean-reverting diffusion process to clean real-world photos without hallucinating artifacts. This advanced the areas of Scaling Diffusion Models Directly in Pixel Space and Preserving High-Frequency Details in Compressed Latent Representations. He also co-authored a comprehensive survey, Taming Diffusion Models for Image Restoration: A Review, detailing the balance between photo-realism and mathematical fidelity when adapting generative priors for precise visual prediction tasks.
Concurrently, his research pivoted toward data-driven medicine and computational pathology. He investigated the high-dimensional challenges of molecular phenotyping in Evaluating Deep Regression Models for WSI-Based Gene-Expression Prediction, providing recommendations for training models to predict mRNA profiles directly from routine whole-slide images. Addressing the reliability of large-scale models in clinical settings, he published Evaluating Computational Pathology Foundation Models for Prostate Cancer Grading under Distribution Shifts, assessing the robustness of models trained on massive datasets when utilized as feature extractors for downstream diagnostic tasks.
Most recently, in 2025, he returned to foundational generative modeling with Forward-only Diffusion Probabilistic Models. This work proposed an analytically tractable framework that learns data generation through a single forward diffusion process, utilizing a state-dependent stochastic differential equation to simulate interpolation between source and target distributions.
Current Directions
Recent work investigates the rigorous evaluation and deployment of foundation models in healthcare, particularly focusing on computational pathology and multimodal biosignals. A central theme is understanding how large-scale models behave under real-world distribution shifts, such as scanner-induced variability in whole-slide images or long-duration multimodal data in emergency department settings. Alongside clinical applications, ongoing methodological research explores more efficient generative frameworks, such as forward-only diffusion processes, to simplify and accelerate data generation while maintaining high fidelity.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake