paper-with-me

Papers

TDHook: A Lightweight Framework for Interpretability

2025-09-29 · Yoann Poupart arxiv

Interpretability of Deep Neural Networks (DNNs) is a growing field driven by the study of vision and language models. Yet, some use cases, like image captioning, or domains like Deep Reinforcement Learning (DRL), require complex modelling, with multiple inputs and outputs or use composable and separated networks. As a consequence, they rarely fit natively into the API of popular interpretability frameworks. We thus present TDHook, an open-source, lightweight, generic interpretability framework based on $\texttt{tensordict}$ and applicable to any $\texttt{torch}$ model. It focuses on handling complex composed models which can be trained for Computer Vision, Natural Language Processing, Reinforcement Learning or any other domain. This library features ready-to-use methods for attribution, probing and a flexible get-set API for interventions, and is aiming to bridge the gap between these method classes to make modern interpretability pipelines more accessible. TDHook is designed with minimal dependencies, requiring roughly half as much disk space as $\texttt{transformer_lens}$, and, in our controlled benchmark, achieves up to a $\times$2 speed-up over $\texttt{captum}$ when running integrated gradients for multi-target pipelines on both CPU and GPU. In addition, to value our work, we showcase concrete use cases of our library with composed interpretability pipelines in Computer Vision (CV) and Natural Language Processing (NLP), as well as with complex models in DRL.

📄 PDF Abstract BibTeX arXiv:2509.25475

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningImage Captioning

Similar Papers 제목 키워드 기반

LiteInception: A Lightweight and Interpretable Deep Learning Framework for General Aviation Fault Diagnosis

2026-04-02 · Zhihuan Wei, Xinhang Chen, Danyang Han, Yang Hu 외 arxiv

General aviation fault diagnosis and efficient maintenance are critical to flight safety; however, deploying deep learning models on resource-constrained edge devices poses dual challenges in computational capacity and i…

Knowledge DistillationModel CompressionFault Diagnosis

Table2Image: Interpretable Tabular Data Classification with Realistic Image Transformations

2024-12-09 · Seungeun Lee, Il-Youp Kwak, Kihwan Lee, Subin Bae 외

Recent advancements in deep learning for tabular data have shown promise, but challenges remain in achieving interpretable and lightweight models. This paper introduces Table2Image, a novel framework that transforms tabu…

Deep Learning

Interpretable and Steerable Concept Bottleneck Sparse Autoencoders

2025-12-11 · Akshay Kulkarni, Tsui-Wei Weng, Vivek Narayanaswamy, Shusen Liu 외 arxiv

Sparse autoencoders (SAEs) promise a unified approach for mechanistic interpretability, concept discovery, and model steering in LLMs and LVLMs. However, realizing this potential requires learned features to be both inte…

Image Generation

Atlas-Alignment: Making Interpretability Transferable Across Language Models

2025-10-31 · Bruno Puri, Jim Berend, Sebastian Lapuschkin, Wojciech Samek arxiv

Interpretability is crucial for building safe, reliable, and controllable language models, yet existing interpretability pipelines remain costly and difficult to scale. Interpreting a new model typically requires trainin…

Semantic Retrieval

LENS-XAI: Redefining Lightweight and Explainable Network Security through Knowledge Distillation and Variational Autoencoders for Scalable Intrusion Detection in Cybersecurity

2025-01-01 · Muhammet Anil Yagiz, Polat Goktas

The rapid proliferation of Industrial Internet of Things (IIoT) systems necessitates advanced, interpretable, and scalable intrusion detection systems (IDS) to combat emerging cyber threats. Traditional IDS face challeng…

Computational EfficiencyIntrusion DetectionKnowledge Distillation