paper-with-me

홈 › Papers

TinySQL: A Progressive Text-to-SQL Dataset for Mechanistic Interpretability Research

2025-03-17 · Abir Harrasse, Philip Quirke, Clement Neo, Dhruv Nathawani, Luke Marks, Amir Abdullah

Mechanistic interpretability research faces a gap between analyzing simple circuits in toy tasks and discovering features in large models. To bridge this gap, we propose text-to-SQL generation as an ideal task to study, as it combines the formal structure of toy tasks with real-world complexity. We introduce TinySQL, a synthetic dataset, progressing from basic to advanced SQL operations, and train models ranging from 33M to 1B parameters to establish a comprehensive testbed for interpretability. We apply multiple complementary interpretability techniques, including Edge Attribution Patching and Sparse Autoencoders, to identify minimal circuits and components supporting SQL generation. We compare circuits for different SQL subskills, evaluating their minimality, reliability, and identifiability. Finally, we conduct a layerwise logit lens analysis to reveal how models compose SQL queries across layers: from intent recognition to schema resolution to structured generation. Our work provides a robust framework for probing and comparing interpretability methods in a structured, progressively complex setting.

📄 PDF Abstract BibTeX arXiv:2503.12730

Code (0)

등록된 구현이 없습니다.

Tasks

Intent RecognitionText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process

Similar Papers 제목 키워드 기반

Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIP

2023-08-27 · Vedant Palit, Rohan Pandey, Aryaman Arora, Paul Pu Liang

Mechanistic interpretability seeks to understand the neural mechanisms that enable specific behaviors in Large Language Models (LLMs) by leveraging causality-based methods. While these approaches have identified neural c…

Question AnsweringText GenerationVisual Question Answering

Scale Alone Does not Improve Mechanistic Interpretability in Vision Models

2023-07-11 · NeurIPS 2023 11 · Roland S. Zimmermann, Thomas Klein, Wieland Brendel

In light of the recent widespread adoption of AI systems, understanding the internal information processing of neural networks has become increasingly critical. Most recently, machine vision has seen remarkable progress …

A Mathematical Philosophy of Explanations in Mechanistic Interpretability -- The Strange Science Part I.i

2025-05-01 · Kola Ayonrinde, Louis Jaburi

Mechanistic Interpretability aims to understand neural networks through causal explanations. We argue for the Explanatory View Hypothesis: that Mechanistic Interpretability research is a principled approach to understand…

Philosophy

How do Large Language Models Understand Relevance? A Mechanistic Interpretability Perspective

2025-04-10 · Qi Liu, Jiaxin Mao, Ji-Rong Wen

Recent studies have shown that large language models (LLMs) can assess relevance and support information retrieval (IR) tasks such as document ranking and relevance judgment generation. However, the internal mechanisms b…

Document RankingInformation Retrieval

Sparse Neuron Ablation Triggers Catastrophic Collapse of the Language Core in Large Vision-Language Models

2025-11-30 · Cen Lu, Yung-Chen Tang, Andrea Cavallaro arxiv

Large Vision-Language Models (LVLMs) have shown impressive multimodal understanding capabilities, yet the structures that sustain their functionality remain poorly understood from a mechanistic interpretability standpoin…