arXiv:2608.25555cs.CLAug 2026

Manuscript Offprint

arXiv:2608.25555

Virgil: Navigating Explainability for Transformer-based Language Models

Martino Ciaperoni, Sezer Kutluk, Benedetta Muscato, Marta Marchiori Manerba, Fosca Giannotti

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Martino Ciaperoni 1^{1} (✉), Sezer Kutluk 1^{1}, Benedetta Muscato 1^{1}, Marta Marchiori Manerba 2^{2}, and Fosca Giannotti 1^{1}

1^{1} Scuola Normale Superiore, Pisa, Italy {name.surname}@sns.it

2^{2} University of Turin, Italy {name.surname}@unito.it

Abstract. Explainability for transformer-based language models is becoming crucial as these systems are deployed in high-stakes applications. As a result, the ecosystem of explainability tools is rapidly evolving, becoming richer, but also more fragmented and harder to navigate. To address this challenge, we present Virgil, an interactive system that lets practitioners and researchers, including non-experts, navigate explainability tools for transformer language models. Supported by a curated knowledge base, the system enables users to discover and compare explainability tools within a unified interface.

Keywords: Explainability · Transformers · NLP.

1 Introduction

Transformer-based language models are widely deployed across many applications, including high-stakes domains such as law and healthcare [8]. However, their decision processes remain difficult to interpret, raising concerns about hallucinations and unexpected behaviors [8]. As a result, explainability for language models has attracted growing attention, leading to a rapidly expanding landscape of explainability tools (or explainers), ranging from intuitive input attributions to mechanistic interpretability [2]. Navigating this landscape can be challenging. Although surveys offer useful overviews and taxonomies, they rarely provide guidance for selecting suitable explainers in real-world settings [1,8].

To bridge this gap, we introduce Virgil, an interactive system designed to guide users through the landscape of explainers for transformer-based language models. Named after the guide who leads Dante through the Inferno, Virgil helps users identify explainers suited to their needs through structured filters or natural-language queries over a curated knowledge base of diverse explainers. Retrieved explainers are presented through concise descriptions that highlight their key characteristics and trade-offs. In addition, Virgil enables users to directly run selected explainers and compare their outputs. Thanks to its modular architecture, Virgil can be easily extended as new explainers emerge, positioning it as a central resource for explainability of language models across both academia and industry. Virgil can be accessed at https://huggingface.co/spaces/Explainability4LanguageModels/Virgil and a video demonstration can be found at https://www.youtube.com/watch?v=Ybs8IYztL8k.

M. Ciaperoni et al.

Figure

Fig. 1. Overview of the Virgil interface. Users query the knowledge base on the left. Matching explainability tools are displayed in the center, while detailed information about selected explainers is shown on the right.