Bartosz Wójcik

Bartosz Wójcik

Jagiellonian University
3 previous affiliations
23Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Bartosz Wójcik focuses on efficient deep learning, adaptive computation, and neural network optimization. His early work explored gradient-based optimization and the application of machine learning to medical imaging. More recently, his research investigates dynamic early-exit architectures and activation sparsity to improve the inference efficiency and safety of large language models.

Research Trajectory

Wójcik's early academic work began in philosophy, where he examined G.W.F. Hegel's "end of religion" thesis. In Koniec religii, śmierć Boga i przygodna wspólnota. Hegel, Malabou, Žižek, he re-evaluated this concept through the lenses of Catherine Malabou’s plasticity and Slavoj Žižek’s dialectical materialism, framing the "death of God" as a transition toward a horizontal community of collective action.

Transitioning to machine learning, his focus shifted to the area of Local Curvature Adaptation for Gradient Based Optimization. He developed LOSSGRAD: Automatic Learning Rate in Gradient Descent, a plug-and-play algorithm that dynamically adjusts step sizes during neural network training by utilizing a local quadratic approximation of the loss function. This contributed to the broader research direction of Overcoming Curvature Blindness in Non-Convex Optimization. He subsequently addressed the memory constraints of training high-resolution generative models with distribution-matching losses. In One-element Batch Training by Moving Window, he introduced an optimizer that leverages a buffer of historical latent points, enabling effective training with single-element batches without massive memory overhead.

Concurrently, Wójcik participated in applied clinical research within the area of Multi-Atlas Validation for Robust Brain Network Analysis. He contributed to Machine Learning-Based Identification of Suicidal Risk in Patients With Schizophrenia Using Multi-Level Resting-State fMRI Features, a study that analyzed resting-state fMRI data and default mode network activity to identify non-invasive biological markers for suicide risk in clinical populations.

A major, sustained theme in his trajectory is improving the inference efficiency of deep learning models through early-exit architectures. He explored methods to prevent discarded computations in Zero Time Waste: Recycling Predictions in Early Exit Neural Networks, proposing an approach where internal classifiers reuse predictions from preceding layers. He further investigated the dynamics of these architectures in How to Train Your Multi-Exit Model? Analyzing the Impact of Training Strategies. His work then critically examined the evaluation metrics for these models; in Failure Prediction Is a Better Performance Proxy for Early-Exit Networks Than Calibration, he demonstrated that standard calibration measures can be misleading indicators of multi-exit model performance, showing that well-calibrated classifiers may still waste computation. He expanded on this critique in Rethinking Calibration for Early-Exit Neural Networks, proving that calibration alone ignores the sequential structure of early-exit networks. To address this, he introduced a meta-classifier approach that optimizes the cost-accuracy trade-off by predicting when further computation is futile.

Expanding his focus on efficiency to large language models, Wójcik's recent work investigates the research direction of Adaptive Computation through Dynamic Depth and Latent Recurrence. He explored methods to mitigate the computational demands of dense transformers in Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts Conversion, contributing to the area of Upcycling Dense Models to Mixture of Experts. He then led a systematic analysis of this phenomenon in Universal Properties of Activation Sparsity in Modern Large Language Models, discovering that as modern LLMs scale, their redundancy increases, allowing a massive portion of activations to be zeroed out with negligible performance loss.

Additionally, he contributed to research on lightweight safety mechanisms for generative models. In Efficient LLM Moderation with Multi-Layer Latent Prototypes, he participated in developing a high-performance moderation tool that analyzes an LLM's internal hidden states to detect harmful prompts with minimal compute overhead.

Current Directions

The most recent papers in the evidence address the fundamental tension between the scale of modern deep learning models and the practical constraints of deploying them. A primary focus is adaptive computation, specifically refining early-exit neural networks. Recent work challenges the reliance on standard calibration for these architectures, instead developing failure prediction mechanisms that better optimize the cost-accuracy trade-off by halting computation when further processing is unlikely to yield better results.

Parallel to this, current research investigates activation sparsity in large language models. By systematically analyzing how redundancy scales with model size, this work seeks to exploit sparse activation patterns—such as converting dense models to mixture-of-experts architectures or zeroing out inactive neurons—to drastically reduce inference costs. Finally, these efficiency principles are being applied to model safety, exploring how internal hidden states can be used to perform lightweight, real-time moderation of LLM outputs without the latency overhead of traditional guardrail models.

Profile updated

See something wrong? Report a mistake