← Search

Javier Ferrando

11 accepted papers

2026

Language Models Can Explain Visual Features via Steering

CVPR 2026

Sparse Autoencoders uncover thousands of features in vision models, yet explaining these features without requiring human intervention remains an open challenge. While previous work has proposed generating correlation-based explanations based on top activating input examples, we present a fundamenta

Cited by 0SourcecodeScholar
2025

Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Models

ICLR 2025oral

Hallucinations in large language models are a widespread problem, yet the mechanisms behind whether models will hallucinate are poorly understood, limiting our ability to solve this problem. Using sparse autoencoders as an interpretability tool, we discover that a key part of these mechanisms is ent…

Cited by 10SourcePDFScholar
2024

LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Models

ACL 2024system demonstrations

We present the LM Transparency Tool (LM-TT), an open-source interactive toolkit for analyzing the internal workings of Transformer-based language models. Differently from previously existing tools that focus on isolated parts of the decision-making process, our framework is designed to make the enti…

Cited by 8SourcePDFScholar
2024

Neurons in Large Language Models: Dead, N-gram, Positional

ACL 2024findings

We analyze a family of large language models in such a lightweight manner that can be done on a single GPU. Specifically, we focus on the OPT family of models ranging from 125m to 66b parameters and rely only on whether an FFN neuron is activated or not. First, we find that the early part of the net…

2024

On the Similarity of Circuits across Languages: a Case Study on the Subject-verb Agreement Task

EMNLP 2024finding

Several algorithms implemented by language models have recently been successfully reversed-engineered. However, these findings have been concentrated on specific tasks and models, leaving it unclear how universal circuits are across different settings. In this paper, we study the circuits implemente…

2023

Explaining How Transformers Use Context to Build Predictions

ACL 2023long

Language Generation Models produce words based on the previous context. Although existing methods offer input attributions as explanations for a model’s prediction, it is still unclear how prior words affect the model’s decision throughout the layers. In this work, we leverage recent advances in exp…

2023

Toxicity in Multilingual Machine Translation at Scale

EMNLP 2023long findings

Machine Translation systems can produce different types of errors, some of which are characterized as critical or catastrophic due to the specific negative impact that they can have on users. In this paper we focus on one type of critical error: added toxicity. We evaluate and analyze added toxicity…

Cited by 0SourceScholar
2022

Measuring the Mixing of Contextual Information in the Transformer

EMNLP 2022main

The Transformer architecture aggregates input information through the self-attention mechanism, but there is no clear understanding of how this information is mixed across the entire model. Additionally, recent works have demonstrated that attention weights alone are not enough to describe the flow…

2022

Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformer

EMNLP 2022main

In Neural Machine Translation (NMT), each token prediction is conditioned on the source sentence and the target prefix (what has been previously translated at a decoding step). However, previous work on interpretability in NMT has mainly focused solely on source sentence tokens’ attributions. Theref…

2021

Attention Weights in Transformer NMT Fail Aligning Words Between Sequences but Largely Explain Model Predictions

EMNLP 2021finding

This work proposes an extensive analysis of the Transformer architecture in the Neural Machine Translation (NMT) setting. Focusing on the encoder-decoder attention mechanism, we prove that attention weights systematically make alignment errors by relying mainly on uninformative tokens from the sourc…

Cited by 21SourcePDFScholar