Back to search

The University of Texas at Austin

Generative modeling and scalable test-time optimization using diffusion and flow models

Abstract

dc:description.abstract

This thesis develops a principled framework for generative modeling and scalable test-time optimization, grounded in posterior sampling, stochastic optimal control, and structured anchoring. Modern diffusion-based generative models achieve remarkable quality, yet their use in inverse problems, personalization, editing, and structured generation remains limited by inefficient inference, heuristic guidance, and poor utilization of informative structure. This dissertation addresses these challenges by reinterpreting generative models as stochastic dynamical systems and designing theoretically grounded, training-free algorithms that enable controllable and efficient inference at test time. We first introduce Posterior Sampling with Latent Diffusion (PSLD), the first framework to solve linear inverse problems using pretrained latent diffusion models. We provide theoretical recovery guarantees in linear settings and demonstrate strong empirical performance across a broad class of inverse problems, including inpainting, deblurring, destriping, and super-resolution. Building on this foundation, we identify fundamental limitations of first-order Tweedie-based samplers and propose the \emph{Second-order Tweedie from Surrogate Loss} (STSL), which enables tractable second-order posterior sampling using only $\mathcal{O}(1)$ additional computation. STSL substantially reduces neural function evaluations while improving reconstruction quality, and further enables text-guided image editing under corruptions, outperforming widely used commercial systems. We then broaden the scope beyond inverse problems to controllable and personalized generation. We propose Reference-Based Modulation (RB-Modulation), a training-free personalization method based on stochastic optimal control, which enables precise extraction and composition of content and style from reference images without relying on the commonly used IP-Adapters or ControlNets. Next, we unify diffusion models and rectified flows in Rectified Flow Inversion (RF-Inversion) by deriving a dynamic optimal control formulation for flow inversion. This results in the first stochastic rectified flow sampler using the widely used pre-trained deterministic rectified flow models (e.g., Flux or Stable Diffusion 3.5). Furthermore, RF-Inversion demonstrates the state-of-the-art performance in zero-shot inversion and semantic image editing, supported by both theory and large-scale human evaluations. To address structural limitations in diffusion language models, we introduce the concept of anchoring. In Anchored Diffusion Language Models (ADLM), we show that resolving syntactically and semantically important tokens early drastically improves likelihood modeling, sample efficiency, and generation quality. Anchoring yields state-of-the-art perplexity, zero-shot generalization, and human-like text quality, and further enhances reasoning in both diffusion and autoregressive (GPT2) models. We extend anchoring to discrete diffusion with Anchored Posterior Sampling (APS), which introduces quantized expectation and anchored remasking to enable effective posterior sampling in discrete embedding spaces. Using our theoretical bounds, we train a multi-modal discrete diffusion foundation model with 8B parameters on 5 trillion tokens. APS achieves state-of-the-art results on inverse problems, stylization, and editing among discrete posterior samplers. Beyond vision tasks, APS generalizes to language domain by guiding inference in large-scale diffusion language models. Finally, we introduce AnCoder, an anchored diffusion language model for code generation. By developing a novel anchoring strategy, AnchorTree, which leverages abstract syntax trees to prioritize syntactically and semantically salient tokens, AnCoder enables diffusion-based models to respect the rigid structure of programming languages. This approach significantly improves functional correctness in diffusion language models, demonstrating that structured anchoring can unlock syntactically accurate and reliable code generation. Overall, this thesis establishes posterior sampling, optimal control and anchoring as foundational principles for better inference in generative models. Rather than treating generation as a purely synthesis process, the methods developed here enable generative models to perform structured, controllable, and reliable inference at test time. By unifying theoretical guarantees with practical, training-free algorithms across images, language, and code, this work advances generative modeling toward a paradigm in which generative systems can be efficiently trained via hierarchal anchoring and also adapted at test time for better inference in real-world deployment.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
DOCTORAL
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Department thesis:degree_department
Electrical and Computer Engineering
Grantor
The University of Texas at Austin
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Rout, Litu
Advisors dc:contributor.advisor
  • Caramanis, Constantine
  • Shakkottai, Sanjay
Committee members dc:contributor.committeemember
  • Mokhtari, Aryan
  • Dimakis, Alexandros
  • Doucet, Arnaud

Subjects

dc:subject × 13

Rights

Language dc:language.iso
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Rout, Litu. Generative modeling and scalable test-time optimization using diffusion and flow models. DOCTORAL thesis, The University of Texas at Austin, 2026. https://doi.org/10.26153/tsw/64309