paper-with-me

홈 › Papers

Progressive Inference: Explaining Decoder-Only Sequence Classification Models Using Intermediate Predictions

2024-06-03 · Sanjay Kariyappa, Freddy Lécué, Saumitra Mishra, Christopher Pond, Daniele Magazzeni, Manuela Veloso

This paper proposes Progressive Inference - a framework to compute input attributions to explain the predictions of decoder-only sequence classification models. Our work is based on the insight that the classification head of a decoder-only Transformer model can be used to make intermediate predictions by evaluating them at different points in the input sequence. Due to the causal attention mechanism, these intermediate predictions only depend on the tokens seen before the inference point, allowing us to obtain the model's prediction on a masked input sub-sequence, with negligible computational overheads. We develop two methods to provide sub-sequence level attributions using this insight. First, we propose Single Pass-Progressive Inference (SP-PI), which computes attributions by taking the difference between consecutive intermediate predictions. Second, we exploit a connection with Kernel SHAP to develop Multi Pass-Progressive Inference (MP-PI). MP-PI uses intermediate predictions from multiple masked versions of the input to compute higher quality attributions. Our studies on a diverse set of models trained on text classification tasks show that SP-PI and MP-PI provide significantly better attributions compared to prior work.

📄 PDF Abstract BibTeX arXiv:2406.02625

Code (0)

등록된 구현이 없습니다.

Tasks

Decodertext-classificationText Classification

Methods 이 논문이 사용한 방법론

Attention 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
SHAP 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Length bias in Encoder Decoder Models and a Case for Global Conditioning

2016-06-10 · EMNLP 2016 11 · Pavel Sountsov, Sunita Sarawagi

Encoder-decoder networks are popular for modeling sequences probabilistically in many applications. These models use the power of the Long Short-Term Memory (LSTM) architecture to capture the full dependence among variab…

Decoder

Block-Based Double Decoders

2026-05-11 · Asher Labovich, Benjamin Bradley, Vanessa Alexander, Chaitanya Harsha arxiv

Encoder-decoder models offer substantial inference-time savings over decoder-only models, but their pretraining objectives suffer from sparse supervision and dynamic sequence lengths, keeping them out of practice at scal…

Sequence-to-Segment Networks for Segment Detection

2018-12-01 · NeurIPS 2018 12 · Zijun Wei, Boyu Wang, Minh Hoai Nguyen, Jianming Zhang 외

Detecting segments of interest from an input sequence is a challenging problem which often requires not only good knowledge of individual target segments, but also contextual understanding of the entire input sequence an…

DecoderTemporal Action Proposal GenerationVideo Summarization

Encoder-Decoder Diffusion Language Models for Efficient Training and Inference

2025-10-26 · Marianne Arriola, Yair Schiff, Hao Phung, Aaron Gokaslan 외 arxiv

Discrete diffusion models enable parallel token sampling for faster inference than autoregressive approaches. However, prior diffusion models use a decoder-only architecture, which requires sampling algorithms that invok…

Mathematical Reasoning

Multiresolution Deep Implicit Functions for 3D Shape Representation

2021-09-12 · ICCV 2021 10 · Zhang Chen, yinda zhang, Kyle Genova, Sean Fanello 외

We introduce Multiresolution Deep Implicit Functions (MDIF), a hierarchical representation that can recover fine geometry detail, while being able to perform global operations such as shape completion. Our model represen…

3D Reconstruction3D Shape RepresentationDecoder