Szilvia Ujváry
4 previous affiliations
- University of Cambridge2022–2026
- PhD student · 2023–2026
- MS student · 2022–2023
- intern · 2025
- Lakestar2024
- Deep Tech Fellow · 2024
- Imperial College London2019–2022
- Peer Tutor · 2021–2022
- Undergrad student · 2019–2022
- Summer Intern at the FoNS Education Technology Team · 2020
Research Overview
Szilvia Ujváry focuses on the theoretical foundations of deep learning, Bayesian inference, and the generalization capabilities of large language models. Her early work explored the connections between sharpness-aware minimization and variational inference to better understand model robustness. More recently, she investigates the inductive biases of language models, compositional generalization, and the optimal allocation of parametric memory in resource-constrained architectures.
Research Trajectory
Ujváry's research initially concentrated on the theoretical underpinnings of optimization and generalization in deep neural networks. In 2022, she introduced Rethinking Sharpness-Aware Minimization as Variational Inference, which established a formal connection between Sharpness-Aware Minimization (SAM) and Mean-Field Variational Inference (MFVI). By demonstrating that SAM's core mechanism functions as a deterministic worst-case perturbation analogous to MFVI's random perturbations, this work contributed to the research direction Optimizing for Flat Minima in Loss Landscapes and the broader area of Efficient Hyperparameter Optimization via Multi Fidelity and Online Tuning. Building on these probabilistic foundations, her subsequent work examined the tightness of generalization bounds. The 2023 paper Estimating optimal PAC-Bayes bounds with Hamiltonian Monte Carlo investigated the performance loss incurred when restricting posterior families to factorized Gaussian distributions. By sampling from optimal Gibbs posteriors using Hamiltonian Monte Carlo and estimating KL divergence via thermodynamic integration, she revealed significant tightness gaps in standard PAC-Bayes bounds.
As large language models (LLMs) became central to machine learning, Ujváry's focus shifted toward understanding their generalization mechanisms, particularly beyond standard statistical paradigms. In 2024, she collaborated on Rule Extrapolation in Language Modeling: A Study of Compositional Generalization on OOD Prompts, which explored how models extrapolate rules to out-of-distribution data. This study intersected with the research areas of Algorithmic Simplicity Bias in Universal Induction and The Coupling of Neural Architecture and Training Recipes. That same year, she co-authored Position: Understanding LLMs Requires More Than Statistical Generalization, a paper relevant to the area of The Reality Gap in Synthetic Language Data. This work argued that traditional statistical learning theory is insufficient for explaining LLM efficacy, demonstrating that models in a "saturation regime" can achieve identical minimal test losses while exhibiting wildly different behaviors on downstream tasks like in-context learning.
Continuing this critical examination of LLM capabilities, Ujváry led the 2025 study Implicit Bayesian Inference is An Insufficient Explanation of Language Model Behaviour in Compositional Tasks. Contributing to the research direction Implicit Bayesian Inference in Large Language Models, the paper challenged the prevailing hypothesis that language model intelligence is primarily driven by implicit Bayesian inference. Through experiments on compositional tasks, she demonstrated that transformers exhibit out-of-distribution behaviors that diverge from Bayesian predictions.
Most recently, her research has expanded to address the practical constraints of model size and knowledge storage. The 2026 paper LaCy: What Small Language Models Can and Should Learn into Limited Parametric Memory investigated the capacity limits of Small Language Models (SLMs). Rather than attempting to compress unbounded world knowledge into restricted parameters, this work formalized the decision boundary between which tokens an SLM should internalize during pretraining and which it should delegate to external databases or larger models via specialized query tokens.
Current Directions
The most recent papers in the evidence indicate a strong focus on the fundamental limits of language models, both in terms of their theoretical reasoning capabilities and their physical memory constraints. Recent work investigates how models handle compositional generalization, specifically challenging existing frameworks like implicit Bayesian inference to fully explain out-of-distribution behavior. Concurrently, Ujváry is exploring the architectural and training trade-offs inherent in Small Language Models (SLMs). By analyzing the optimal allocation of limited parametric memory, this research addresses the critical balance between internalizing knowledge during pretraining and delegating factual retrieval to external systems.
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