hies-pruning-eval
Entropy Meets Importance: A Unified Head Importance-Entropy Score for Stable and Efficient Transformer Pruning — Choi et al. (2025) (arXiv:2510.13832, 2025)
What this evaluates
Evaluates the accuracy and stability of transformer head pruning methods (specifically HIES vs. baselines) across NLP, vision, and multimodal benchmarks at fixed sparsity ratios (10%, 30%, 50%).
Datasets
- GLUE (SST-2, CoLA, MRPC, QQP, STS-B, QNLI, MNLI, RTE) — total ?; splits: test (-1)
- HellaSwag — total ?; splits: test (-1)
- Winogrande — total ?; splits: test (-1)
- ARC-e / ARC-c — total ?; splits: test (-1)
- OBQA — total ?; splits: test (-1)
- ImageNet1k — total ?; splits: test (-1)
- CIFAR-100 — total ?; splits: test (-1)
- Food-101 — total ?; splits: test (-1)
- Fashion MNIST — total ?; splits: test (-1)
- VizWiz-VQA — total ?; splits: test (-1)
- MM-Vet — total ?; splits: test (-1)
Metrics
Accuracy (primary) — range: [0, 1] | percent
- Task-specific metric: Accuracy for most tasks, Matthews correlation coefficient for CoLA, F1 score for MRPC, and Pearson correlation for STS-B. Averaged across tasks for the 'Average' column.
Stability — range: percent
- Percentage of the pruned model's task metric relative to the unpruned baseline's metric, indicating robustness to aggressive compression.
Input / output format
Input: Pruned transformer model (BERT_base, LLaMA-2_7B, ViT_Large, LLaVA-1.5_7B) fed with benchmark inputs (text, images, or image-text pairs).
Output: Task predictions (class labels, scores, or generated text) used to compute benchmark metrics.
Scoring recipe
def compute_accuracy(preds, gold, task):
if task == 'CoLA': return matthews_corrcoef(gold, preds)
if task == 'MRPC': return f1_score(gold, preds)
if task == 'STS-B': return pearsonr(gold, preds)
return accuracy_score(gold, preds)
def compute_stability(pruned_acc, base_acc):
return (pruned_acc / base_acc) * 100
Common pitfalls
- Stability is a relative metric (pruned vs. unpruned accuracy), not absolute performance.
- GLUE tasks use different evaluation metrics (Matthews corr, F1, Pearson corr, Accuracy) that are averaged in the 'Average' column.
- Pruning ratios are fixed at 10/30/50% for BERT but extended to 60% for LLaMA-2.
Evidence (verbatim from paper)
Datasets. We evaluate on various widely-adopted benchmarks: GLUE*[Wang et al., [2018]], HellaSwag[Zellers et al., [2019]], Winogrande[Sakaguchi et al., [2020]], the AI2 Reasoning Challenge—ARC-e/ARC-c[Clark et al., [2018]], OBQA[Mihaylov et al., [2018]], ImageNet1k[Deng et al., [2009]], CIFAR-100[Krizhevsky, [2009]], Food-101[Bossard et al., [2014]], Fashion MNIST[Xiao et al., [2017]], VizWiz-VQA[Gurari et al., [2018]], and MM-Vet[Yu et al., [2024]]*. We evaluate HIES using two key metrics: model quality and stability.
Citation
@misc{choi2025hies,
title={Entropy Meets Importance: A Unified Head Importance-Entropy Score for Stable and Efficient Transformer Pruning},
author={Choi et al. (2025)},
year={2025},
note={arXiv:2510.13832}
}
1---2name: hies-pruning-eval3description: Evaluates the accuracy and stability of transformer head pruning methods (specifically HIES vs. baselines) across NLP, vision, and multimodal benchmarks at fixed sparsity ratios (10%, 30%, 50%). Use when the user wants to benchmark on GLUE (SST-2, CoLA, MRPC, QQP, STS-B, QNLI, MNLI, RTE), HellaSwag, Winogrande, ARC-e / ARC-c, OBQA, ImageNet1k, CIFAR-100, Food-101, Fashion MNIST, VizWiz-VQA, MM-Vet, or asks about evaluating this task. Reports Accuracy.4---56# hies-pruning-eval78> Entropy Meets Importance: A Unified Head Importance-Entropy Score for Stable and Efficient Transformer Pruning — Choi et al. (2025) (arXiv:2510.13832, 2025)910## What this evaluates1112Evaluates the accuracy and stability of transformer head pruning methods (specifically HIES vs. baselines) across NLP, vision, and multimodal benchmarks at fixed sparsity ratios (10%, 30%, 50%).1314## Datasets1516- **GLUE (SST-2, CoLA, MRPC, QQP, STS-B, QNLI, MNLI, RTE)** — total ?; splits: test (-1)17- **HellaSwag** — total ?; splits: test (-1)18- **Winogrande** — total ?; splits: test (-1)19- **ARC-e / ARC-c** — total ?; splits: test (-1)20- **OBQA** — total ?; splits: test (-1)21- **ImageNet1k** — total ?; splits: test (-1)22- **CIFAR-100** — total ?; splits: test (-1)23- **Food-101** — total ?; splits: test (-1)24- **Fashion MNIST** — total ?; splits: test (-1)25- **VizWiz-VQA** — total ?; splits: test (-1)26- **MM-Vet** — total ?; splits: test (-1)2728## Metrics2930- `Accuracy` **(primary)** — range: [0, 1] | percent31 - Task-specific metric: Accuracy for most tasks, Matthews correlation coefficient for CoLA, F1 score for MRPC, and Pearson correlation for STS-B. Averaged across tasks for the 'Average' column.32- `Stability` — range: percent33 - Percentage of the pruned model's task metric relative to the unpruned baseline's metric, indicating robustness to aggressive compression.3435## Input / output format3637**Input**: Pruned transformer model (BERT_base, LLaMA-2_7B, ViT_Large, LLaVA-1.5_7B) fed with benchmark inputs (text, images, or image-text pairs).3839**Output**: Task predictions (class labels, scores, or generated text) used to compute benchmark metrics.4041## Scoring recipe4243```python44def compute_accuracy(preds, gold, task):45 if task == 'CoLA': return matthews_corrcoef(gold, preds)46 if task == 'MRPC': return f1_score(gold, preds)47 if task == 'STS-B': return pearsonr(gold, preds)48 return accuracy_score(gold, preds)4950def compute_stability(pruned_acc, base_acc):51 return (pruned_acc / base_acc) * 10052```5354## Common pitfalls5556- Stability is a relative metric (pruned vs. unpruned accuracy), not absolute performance.57- GLUE tasks use different evaluation metrics (Matthews corr, F1, Pearson corr, Accuracy) that are averaged in the 'Average' column.58- Pruning ratios are fixed at 10/30/50% for BERT but extended to 60% for LLaMA-2.5960## Evidence (verbatim from paper)6162> Datasets. We evaluate on various widely-adopted benchmarks: GLUE*[Wang et al., [2018]]*, HellaSwag*[Zellers et al., [2019]]*, Winogrande*[Sakaguchi et al., [2020]]*, the AI2 Reasoning Challenge—ARC-e/ARC-c*[Clark et al., [2018]]*, OBQA*[Mihaylov et al., [2018]]*, ImageNet1k*[Deng et al., [2009]]*, CIFAR-100*[Krizhevsky, [2009]]*, Food-101*[Bossard et al., [2014]]*, Fashion MNIST*[Xiao et al., [2017]]*, VizWiz-VQA*[Gurari et al., [2018]]*, and MM-Vet*[Yu et al., [2024]]*. We evaluate HIES using two key metrics: model quality and stability.6364## Citation6566```bibtex67@misc{choi2025hies,68 title={Entropy Meets Importance: A Unified Head Importance-Entropy Score for Stable and Efficient Transformer Pruning},69 author={Choi et al. (2025)},70 year={2025},71 note={arXiv:2510.13832}72}73```7475- arXiv: 2510.13832