Back to search

The University of Western Ontario

Mechanistic Interpretability and Automated Formal Verificationfor Robustness in Multimodal LLMs.for Robustness in Multimodal LLMs.

Abstract

dc:description.abstract

The promise of autonomous agents powered by multimodal LLMs such as ChatGPT and Gemini is often undermined by the lack of transparency and guarantees. This thesis argues that trust in these systems must be established at two critical levels: the robustness of multimodal perception and the formal correctness of generated responses. We first investigate the fragility of vision models using TRAP (Typographic Robust Attack Production), a mechanistically guided attack that leverages visual semantic priors to redirect internal model computations. By identifying the failure modes using mechanistic analysis of internal model states, we demonstrate how easily multimodal LLMs can be coerced into generating harmful responses. This vulnerability necessitates a shift toward execution-centric reliability in the reasoning layer. Consequently, we introduce a formal verification framework, STAMP (Specification To Automated Model Pipeline), that autonomously constructs formally verifiable executables from natural language specifications. This framework is modular and portable and addresses the inherent brittleness of LLM-generated formal models. STAMP employs Kripke structures and the symbolic model checker NuSMV to provide formal guarantees for generated executables. Together, these works illustrate that true reliability in multimodal LLMs requires both a mechanistic understanding of perceptual failure and a formal framework for verifying its output. We demonstrate superior compliance and final scores over all evaluated baseline LLMs on MiniSpecBench. Establishing a new benchmark for automated formal model synthesis from natural language specifications.

Degree

thesis:*
Name thesis:degree_name
M Sc
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
The University of Western Ontario
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ranade, Kaushik Tushar
Advisor dc:contributor.advisor
  • Narayan, Apurva

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • Attribution-NonCommercial 4.0 International
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Western University
Base URL
uwo.scholaris.ca/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Ranade, Kaushik Tushar. Mechanistic Interpretability and Automated Formal Verificationfor Robustness in Multimodal LLMs.for Robustness in Multimodal LLMs.. The University of Western Ontario, 2026. https://hdl.handle.net/20.500.14721/39635