paper-with-me

홈 › Papers

Task-Circuit Quantization: Leveraging Knowledge Localization and Interpretability for Compression

2025-04-10 · Hanqi Xiao, Yi-Lin Sung, Elias Stengel-Eskin, Mohit Bansal

Post-training quantization (PTQ) reduces a model's memory footprint by mapping full precision weights into low bit weights without costly retraining, but can degrade its downstream performance especially in low 2- to 3-bit settings. We develop a new mixed-precision PTQ approach, Task-Circuit Quantization (TaCQ), that draws parallels to automated circuit discovery, directly conditioning the quantization process on specific weight circuits -- which we define as sets of weights associated with downstream task performance. These weights are kept as 16-bit weights, while others are quantized, maintaining performance while only adding a marginal memory cost. Specifically, TaCQ contrasts unquantized model weights with a uniformly-quantized model to estimate the expected change in weights due to quantization and uses gradient information to predict the resulting impact on task performance, allowing us to preserve task-specific weights. We compare TaCQ-based quantization to existing mixed-precision quantization methods when conditioning both on general-purpose and task-specific data. Across QA, math reasoning, and text-to-SQL tasks for both Llama-3 and Qwen2.5, we find that TaCQ outperforms baselines using the same calibration data and a lower weight budget, achieving major improvements in the 2 and 3-bit regime. With only 3.1 bits we are able to recover 96% of Llama-3-8B-Instruct's unquantized 16-bit MMLU performance, obtaining a 5.25% absolute improvement over SPQR. We also observe consistently large gains over existing methods in the 2-bit regime, with an average gain of 14.74% over the strongest baseline, SliM-LLM. Moreover, we observe a 7.20% gain without conditioning on specific tasks, showing TaCQ's ability to identify important weights is not limited to task-conditioned settings.

📄 PDF Abstract BibTeX arXiv:2504.07389

Code (1)

the-inscrutable-x/tacq 공식 구현 pytorch

Tasks

MathMMLUQuantizationText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Mechanistically Interpreting Compression in Vision-Language Models

2026-03-26 · Veeraraju Elluru, Arth Singh, Roberto Aguero, Ajay Agarwal 외 arxiv

Compressed vision-language models (VLMs) are widely used to reduce memory and compute costs, making them a suitable choice for real-world deployment. However, compressing these models raises concerns about whether intern…

CLUE: Conflict-guided Localization for LLM Unlearning Framework

2025-09-25 · Hang Chen, Jiaying Zhu, Xinyu Yang, Wenya Wang arxiv

The LLM unlearning aims to eliminate the influence of undesirable data without affecting causally unrelated information. This process typically involves using a forget set to remove target information, alongside a retain…

Findings of the BlackboxNLP 2025 Shared Task: Localizing Circuits and Causal Variables in Language Models

2025-11-23 · Dana Arad, Yonatan Belinkov, Hanjie Chen, Najoung Kim 외 arxiv

Mechanistic interpretability (MI) seeks to uncover how language models (LMs) implement specific behaviors, yet measuring progress in MI remains challenging. The recently released Mechanistic Interpretability Benchmark (M…

Golden Reference-Free Hardware Trojan Localization using Graph Convolutional Network

2022-07-14 · Rozhin Yasaei, Sina Faezi, Mohammad Abdullah Al Faruque

The globalization of the Integrated Circuit (IC) supply chain has moved most of the design, fabrication, and testing process from a single trusted entity to various untrusted third-party entities worldwide. The risk of u…

Feature Engineering

BlackboxNLP-2025 MIB Shared Task: Exploring Ensemble Strategies for Circuit Localization Methods

2025-10-08 · Philipp Mondorf, Mingyang Wang, Sebastian Gerstner, Ahmad Dawar Hakimi 외 arxiv

The Circuit Localization track of the Mechanistic Interpretability Benchmark (MIB) evaluates methods for localizing circuits within large language models (LLMs), i.e., subnetworks responsible for specific task behaviors.…