Back to search

Nanyang Technological University

Interpretability and safety in language models: methods, mechanisms and evaluations

Abstract

dc:description.abstract

While the rapid scaling of Large Language Models has enabled significant automation of complex tasks, a widening gap persists between the growing capabilities of these models and our understanding of their internal decision-making processes. This opacity presents critical challenges for the deployment of “black-box” systems in high-stakes domains such as medicine and finance where trust, fairness, and safety are paramount. This thesis investigates the dual pillars of interpretability and safety, proposing novel frameworks to both explain and secure complex model behaviors across natural language and vision-language domains. The research starts by investigating the concerns of trusting self-generated explana- tions from LLMs, which often struggle with faithfulness and robustness. To address this, I introduce Self-Entailment-Alignment CoT, a novel prompting technique that enhances interpretability by selecting reasoning steps that maximize entailment and overlap with the provided context and intended answer. Complementing this, I propose Causal Faithfulness, a white-box metric that utilizes activation patching to measure how accurately a model’s verbalized explanation reflects its internal com- putational state. The findings revealed that instruct-tuned models are consistently more faithful than their pre-trained counterparts while producing more plausible explanations. Expanding into mechanistic interpretability, I introduce another work that leverages Sparse Autoencoders to disentangle the representation of complex behaviors. I present a novel feature search method that optimizes for the trade-off between minimality and causality, tracing a feature circuit that drives refusal behavior in LLMs. This analysis uncovers a conditional “Harm →Refusal” dependency, where specific “harm” features act as upstream triggers for downstream “refusal” features, and reveals how adversarial jailbreaks operate by suppressing these refusal mechanisms. Lastly, I present a work that addresses the “shallow alignment” phenomenon, where models rely on superficial refusal templates, In this work, we introduce a novel intention reasoning fine-tuning framework, Intent-FT, training LLMs to reason about the underlying intentions of instructions, providing a robust defense against diverse adversarial attacks while preserving task utility and reducing over-refusal. Together, these contributions offer a holistic path toward more transparent, resilient, and safely aligned artificial intelligence systems.

Degree

thesis:*
College dc:contributor.school
College of Computing and Data Science
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yeo, Wei Jie
Advisor dc:contributor.supervisor
  • Erik Cambria

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-12-01
Source record
OAI-PMH GetRecord
citation

Yeo, Wei Jie. Interpretability and safety in language models: methods, mechanisms and evaluations. Nanyang Technological University, 2026. https://doi.org/10.32657/10356/224309