Mechanistic interpretability applied to Large Language Models
Interview by Luis Martín Badillo about my PhD project, which began during my MSc at CIMAT Zacatecas. The same story was published by two outlets:
Clarification on “saving costs” in this interview
The story says my research aims to lower the running costs of AI by using less memory and computing power. That is not quite what I meant, and the confusion was mine. The saving comes from not having to train or fine-tune the model. Making an LLM more reliable for a sensitive task usually means fine-tuning it, which takes expensive GPU time, expert-labelled data, and a new round of work every time the model changes.
I leave the model's weights untouched and use mechanistic interpretability techniques that read what happens inside the model while it answers:
- Linear probes: small classifiers on the model's internal activations that estimate whether an answer is grounded or likely to be a hallucination, giving each answer a confidence signal.
- Activation patching: identifies which internal components actually drive a decision, so we can tell whether the model relies on the evidence or on a shortcut.
- Steering: adjusts the model's behaviour at inference time, without retraining it.
The result is more certainty when LLMs are used for assessments, such as checking compliance with software quality standards like ISO/IEC 29110, or anywhere else safety matters. Hallucinations are detected and reduced rather than accepted as fact. Uncertain cases go to a human expert, which also saves review time. And because nothing is trained, open-weight models can run on an organisation's own infrastructure, keeping sensitive data in-house.







