Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Haider, Muhammad Umair, Rizwan, Hammad, Sajjad, Hassan, Siddique, A. B.
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2512.10903
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915669879029760
author Haider, Muhammad Umair
Rizwan, Hammad
Sajjad, Hassan
Siddique, A. B.
author_facet Haider, Muhammad Umair
Rizwan, Hammad
Sajjad, Hassan
Siddique, A. B.
contents Circuit discovery aims to identify minimal subnetworks that are responsible for specific behaviors in large language models (LLMs). Existing approaches primarily rely on iterative edge pruning, which is computationally expensive and limited to coarse-grained units such as attention heads or MLP blocks, overlooking finer structures like individual neurons. We propose a node-level pruning framework for circuit discovery that addresses both scalability and granularity limitations. Our method introduces learnable masks across multiple levels of granularity, from entire blocks to individual neurons, within a unified optimization objective. Granularity-specific sparsity penalties guide the pruning process, allowing a comprehensive compression in a single fine-tuning run. Empirically, our approach identifies circuits that are smaller in nodes than those discovered by prior methods; moreover, we demonstrate that many neurons deemed important by coarse methods are actually irrelevant, while still maintaining task performance. Furthermore, our method has a significantly lower memory footprint, 5-10x, as it does not require keeping intermediate activations in the memory to work.
format Preprint
id arxiv_https___arxiv_org_abs_2512_10903
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Multi-Granular Node Pruning for Circuit Discovery
Haider, Muhammad Umair
Rizwan, Hammad
Sajjad, Hassan
Siddique, A. B.
Artificial Intelligence
Circuit discovery aims to identify minimal subnetworks that are responsible for specific behaviors in large language models (LLMs). Existing approaches primarily rely on iterative edge pruning, which is computationally expensive and limited to coarse-grained units such as attention heads or MLP blocks, overlooking finer structures like individual neurons. We propose a node-level pruning framework for circuit discovery that addresses both scalability and granularity limitations. Our method introduces learnable masks across multiple levels of granularity, from entire blocks to individual neurons, within a unified optimization objective. Granularity-specific sparsity penalties guide the pruning process, allowing a comprehensive compression in a single fine-tuning run. Empirically, our approach identifies circuits that are smaller in nodes than those discovered by prior methods; moreover, we demonstrate that many neurons deemed important by coarse methods are actually irrelevant, while still maintaining task performance. Furthermore, our method has a significantly lower memory footprint, 5-10x, as it does not require keeping intermediate activations in the memory to work.
title Multi-Granular Node Pruning for Circuit Discovery
topic Artificial Intelligence
url https://arxiv.org/abs/2512.10903