plm-structural-pruning-eval
Structural Pruning of Pre-trained Language Models via Neural Architecture Search — Klein et al. (2024) (arXiv:2405.02267, 2024)
What this evaluates
Evaluates structural pruning methods for pre-trained language models (BERT-base, RoBERTa-base) across eight text classification tasks. It measures the trade-off between model size (parameter count) and task performance (validation error) to identify Pareto-optimal sub-networks.
Datasets
- eight text classification tasks — total ?; splits: train (-1), val (-1), test (-1)
Metrics
Hypervolume (primary) — range: [0, 4]
- HV(P_f|r) = λ(∪_{y∈P_f}[y, r]), where λ is the M-th dimensional Lebesgue measure. Objectives are first normalized via Quantile normalization to [0,1].
Input / output format
Input: Text classification instances (input text and label) from eight tasks.
Output: Pruned sub-network architectures (binary masks for attention heads, feed-forward units, or layers) with fine-tuned weights, evaluated on validation/test sets.
Scoring recipe
def compute_hypervolume(pareto_set, reference_point=(2,2)):
# 1. Quantile-normalize parameter count and error across all methods/repetitions to [0,1]
# 2. Define reference point r = (2, 2)
# 3. Compute Lebesgue measure of union of hyper-rectangles [y, r] for y in pareto_set
# 4. Return HV value
pass
Common pitfalls
- Hypervolume must be computed on objectives normalized via Quantile normalization, not raw values.
- The reference point is fixed at (2, 2) after normalization, yielding a maximum possible HV of 4, not the standard (1, 1).
- Results are aggregated by averaging ranks across datasets and time steps, not just by final HV values.
Evidence (verbatim from paper)
To quantify the performance of a Pareto set $P_{f}$ , we compute for each Pareto set the Hypervolume (Zitzler et al., 2003) and report the regret, i.e. the difference to the best possible Hypervolume averaged across all repetitions. Given a reference point $\mathbf{r} \in \mathbb{R}^{M}$ , the Hypervolume $HV(P_{f}|\mathbf{r}) = \lambda (\cup_{\mathbf{y} \in P_{f}}[\mathbf{y},\mathbf{r}])$ is defined as the $M$ -th dimensional Lebesgue measure $\lambda$ between the Pareto set $P_{f}$ and the reference point $\mathbf{r}$ (see Figure 4 for an example). To compute the Hypervolume, we first normalize each objective based on all observed values across all methods and repetitions via Quantile normalization. This results in a uniform distribution between $[0,1]$ , and we use $r = (2,2)$ as reference point, which means the highest possible Hypervolume would be 4.
Citation
@misc{klein2024structuralpruning,
title={Structural Pruning of Pre-trained Language Models via Neural Architecture Search},
author={Klein et al. (2024)},
year={2024},
note={arXiv:2405.02267}
}
1---2name: plm-structural-pruning-eval3description: Evaluates structural pruning methods for pre-trained language models (BERT-base, RoBERTa-base) across eight text classification tasks. It measures the trade-off between model size (parameter count) and task performance (validation error) to identify Pareto-optimal sub-networks. Use when the user wants to benchmark on eight text classification tasks, or asks about evaluating this task. Reports Hypervolume.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/plm-structural-pruning-eval6 skill_kind: dataset_eval7 source_arxiv: 2405.022678 bibtex_key: klein2024structuralpruning9 confidence: high10---1112# plm-structural-pruning-eval1314> Structural Pruning of Pre-trained Language Models via Neural Architecture Search — Klein et al. (2024) (arXiv:2405.02267, 2024)1516## What this evaluates1718Evaluates structural pruning methods for pre-trained language models (BERT-base, RoBERTa-base) across eight text classification tasks. It measures the trade-off between model size (parameter count) and task performance (validation error) to identify Pareto-optimal sub-networks.1920## Datasets2122- **eight text classification tasks** — total ?; splits: train (-1), val (-1), test (-1)2324## Metrics2526- `Hypervolume` **(primary)** — range: [0, 4]27 - HV(P_f|r) = λ(∪_{y∈P_f}[y, r]), where λ is the M-th dimensional Lebesgue measure. Objectives are first normalized via Quantile normalization to [0,1].2829## Input / output format3031**Input**: Text classification instances (input text and label) from eight tasks.3233**Output**: Pruned sub-network architectures (binary masks for attention heads, feed-forward units, or layers) with fine-tuned weights, evaluated on validation/test sets.3435## Scoring recipe3637```python38def compute_hypervolume(pareto_set, reference_point=(2,2)):39 # 1. Quantile-normalize parameter count and error across all methods/repetitions to [0,1]40 # 2. Define reference point r = (2, 2)41 # 3. Compute Lebesgue measure of union of hyper-rectangles [y, r] for y in pareto_set42 # 4. Return HV value43 pass44```4546## Common pitfalls4748- Hypervolume must be computed on objectives normalized via Quantile normalization, not raw values.49- The reference point is fixed at (2, 2) after normalization, yielding a maximum possible HV of 4, not the standard (1, 1).50- Results are aggregated by averaging ranks across datasets and time steps, not just by final HV values.5152## Evidence (verbatim from paper)5354> To quantify the performance of a Pareto set $P_{f}$ , we compute for each Pareto set the Hypervolume (Zitzler et al., 2003) and report the regret, i.e. the difference to the best possible Hypervolume averaged across all repetitions. Given a reference point $\mathbf{r} \in \mathbb{R}^{M}$ , the Hypervolume $HV(P_{f}|\mathbf{r}) = \lambda (\cup_{\mathbf{y} \in P_{f}}[\mathbf{y},\mathbf{r}])$ is defined as the $M$ -th dimensional Lebesgue measure $\lambda$ between the Pareto set $P_{f}$ and the reference point $\mathbf{r}$ (see Figure 4 for an example). To compute the Hypervolume, we first normalize each objective based on all observed values across all methods and repetitions via Quantile normalization. This results in a uniform distribution between $[0,1]$ , and we use $r = (2,2)$ as reference point, which means the highest possible Hypervolume would be 4.5556## Citation5758```bibtex59@misc{klein2024structuralpruning,60 title={Structural Pruning of Pre-trained Language Models via Neural Architecture Search},61 author={Klein et al. (2024)},62 year={2024},63 note={arXiv:2405.02267}64}65```6667- arXiv: 2405.02267