Back to search

University of Alberta

Optimizing Marginal Likelihoods for Learning Latent Text Sequences

Abstract

dc:description.abstract

Natural Language Processing (NLP) tasks have increasingly been unified under the framework of sequence-to-sequence conditional text generation. However, standard supervised learning relies on direct, fully observed mappings from inputs to outputs, an assumption that does not always hold true. This thesis hypothesizes that by introducing an intermediate, latent text sequence, we can effectively bridge the gap between inputs and target outputs. Within a unified probabilistic framework based on Maximum Marginal Likelihood (MML) estimation, we study three applications to model and learn the probability distributions over these latent sequences. These applications cover three distinct regimes. First, in the Latent Helpful Step regime, we dynamically generate latent natural language questions to transfer pre-trained question answering models to relation extraction tasks. Second, in the Latent Input Candidate regime, we introduce the RIFF algorithm for training latent paraphrase generators. These synthetic paraphrases are then used to augment training data and improve few-shot text classifiers. Finally, in the Latent Output Candidate regime, we propose Maximum Marginal Preference Optimization (MMPO), a highly stable offline alignment algorithm for Large Language Models (LLMs). Throughout these applications, we rigorously analyze the training dynamics of the MML objective and suggest crucial stability techniques, such as off-policy sampling, on-policy sampling with KL-penalization, and in-batch reward normalization. The learning techniques proposed in this thesis enable the training of more effective latent sequence generators for downstream NLP tasks. Our experimental results indicate that leveraging these intermediate latent text sequences yields competitive or state-of-the-art performance across relation extraction, text classification, and LLM alignment. Ultimately, these findings highlight the broad applicability and efficacy of the latent text marginalization framework within modern NLP.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
Doctoral
Grantor
University of Alberta
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Najafi, Saeed
Advisor dc:contributor.advisor
  • Alona Fyshe (Computing Science)

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/85739

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Najafi, Saeed. Optimizing Marginal Likelihoods for Learning Latent Text Sequences. Doctoral thesis, University of Alberta, 2026. https://doi.org/10.7939/85739