Formal Semantic Control over Language Models
Yingji Zhang
TL;DR
This work investigates how to render language representations more semantically and geometrically interpretable by shaping latent space geometry within a Variational Autoencoder framework. It develops a formal semantic geometry that treats semantic features as convex cones in latent space and introduces a SRL-Conditional VAE to integrate predicate-argument structure with generation. It extends this by introducing a dual-encoder syntax–semantic VAE and discrete latent spaces via VQ-VAE with T5VQVAE, along with a quasi-symbolic NLI framework that encodes explanatory inference patterns (AMR/AST) as latent subspaces governed by Neural Tangent Kernel theory. Across sentence-level and reasoning-level tasks, the methods demonstrate improved disentanglement, controllability, and quasi-symbolic inference, enabling finer-grained manipulation of outputs while bridging distributional representations with formal semantics. The work offers a principled path toward interpretable and controllable language models with potential impact on safety, reliability, and transferability in NLP systems.
Abstract
This thesis advances semantic representation learning to render language representations or models more semantically and geometrically interpretable, and to enable localised, quasi-symbolic, compositional control through deliberate shaping of their latent space geometry. We pursue this goal within a VAE framework, exploring two complementary research directions: (i) Sentence-level learning and control: disentangling and manipulating specific semantic features in the latent space to guide sentence generation, with explanatory text serving as the testbed; and (ii) Reasoning-level learning and control: isolating and steering inference behaviours in the latent space to control NLI. In this direction, we focus on Explanatory NLI tasks, in which two premises (explanations) are provided to infer a conclusion. The overarching objective is to move toward language models whose internal semantic representations can be systematically interpreted, precisely structured, and reliably directed. We introduce a set of novel theoretical frameworks and practical methodologies, together with corresponding experiments, to demonstrate that our approaches enhance both the interpretability and controllability of latent spaces for natural language across the thesis.
