wximpactbench-eval
WXImpactBench: A Disruptive Weather Impact Understanding Benchmark for Evaluating Large Language Models — Yongan Yu et al. (arXiv:2505.20249, 2025)
What this evaluates
Evaluates large language models' ability to understand and classify disruptive weather impacts from historical and modern newspaper articles, and to answer related questions by ranking relevant information. It specifically probes models' capacity to handle climate-related polysemy, extract nuanced societal responses, and correctly identify passages without weather impacts.
Datasets
Metrics
F1-score (primary) — range: [0, 1]
- Macro-averaged F1-score across the six impact categories, historical/modern articles, and context length settings. Computed as the harmonic mean of precision and recall for each label, then averaged.
row-wise accuracy — range: [0, 1]
- Strict metric requiring correct classification of all six impact labels for a given article. Formula: (1/N) * sum_{i=1}^{N} prod_{j=1}^{6} I(y_hat_i^j == y_i^j), where I is the indicator function.
accuracy — range: [0, 1]
- Standard accuracy averaged across the six impact categories, historical and modern articles, and context lengths.
Hit@1 — range: [0, 1]
- Proportion of queries where the top-ranked answer/document matches the ground truth.
nDCG@5 — range: [0, 1]
- Normalized Discounted Cumulative Gain at rank 5, measuring ranking quality with logarithmic discounting for lower positions.
Recall@5 — range: [0, 1]
- Proportion of relevant documents/answers found within the top 5 ranked results.
MRR — range: [0, 1]
- Mean Reciprocal Rank, averaging the reciprocal of the rank of the first relevant item for each query.
Input / output format
Input: Historical or modern newspaper articles (text). For the mixed-context version, articles are split into ~250-token segments. Prompts are provided in Appendix C.2 (classification) and C.3 (QA).
Output: For classification: a set of 6 binary labels (one per impact category: infrastructural, political, financial, ecological, agricultural, human health). For QA: a ranked list of candidate answers/documents.
Scoring recipe
def row_wise_accuracy(preds, golds, num_labels=6):
correct = sum(1 for p, g in zip(preds, golds) if all(pi == gi for pi, gi in zip(p, g)))
return correct / len(golds)
# For classification: compute F1, accuracy, and row-wise accuracy per category/context, then average.
# For QA: compute Hit@1, nDCG@5, Recall@5, MRR on ranked lists.
# All LLMs run with temperature=0; final scores are averaged over 3 runs.
Common pitfalls
- Decomposing multi-label classification into multiple independent binary calls instead of simultaneous prediction (the benchmark requires a single LLM call for all six labels).
- Assuming mixed-context chunk labels are automatically inherited from the original article; they are independently annotated, creating negative examples (chunks with no labels) that must be handled correctly.
- Ignoring the sliding window mechanism used in the QA ranking task, which segments articles into three chunks and ranks independently before merging, to mitigate long-context noise.
Evidence (verbatim from paper)
For multi-label classification task, we use F1-score, accuracy, and row-wise accuracy as evaluation metrics.
The evaluation via F1-score and accuracy are averaged across the six impact categories, historical and modern articles, and the effect of different context lengths.
Compared to the common F1-score and accuracy, the row-wise accuracy is a strict metric that requires more accurate output as the model should correctly classify all six impact labels for a given article, defined as
|
$\text{Row-wise Acc.}=\frac{1}{N}\sum_{i=1}^{N}\prod_{j=1}^{6}\mathcal{I}\left(\hat{y}{i}^{j}=y{i}^{j}\right)$ |
|
where $N$ is the number of samples, $\hat{y}{i}^{j}$ denotes the predicted label for the $j$-th category in the $i$-th sample, $y{i}^{j}$ is the corresponding ground-truth label, and $\mathcal{I}(\cdot)$ is the indicator function.
Citation
@misc{yu2025wximpactbench,
title={WXImpactBench: A Disruptive Weather Impact Understanding Benchmark for Evaluating Large Language Models},
author={Yongan Yu et al.},
year={2025},
note={arXiv:2505.20249}
}
1---2name: wximpactbench-eval3description: Evaluates large language models' ability to understand and classify disruptive weather impacts from historical and modern newspaper articles, and to answer related questions by ranking relevant information. It specifically probes models' capacity to handle climate-related polysemy, extract nuanced societal responses, and correctly identify passages without weather impacts. Use when the user wants to benchmark on WXImpactBench, or asks about evaluating this task. Reports F1-score.4---56# wximpactbench-eval78> WXImpactBench: A Disruptive Weather Impact Understanding Benchmark for Evaluating Large Language Models — Yongan Yu et al. (arXiv:2505.20249, 2025)910## What this evaluates1112Evaluates large language models' ability to understand and classify disruptive weather impacts from historical and modern newspaper articles, and to answer related questions by ranking relevant information. It specifically probes models' capacity to handle climate-related polysemy, extract nuanced societal responses, and correctly identify passages without weather impacts.1314## Datasets1516- **WXImpactBench** — total 350; splits: test (350); repo https://github.com/Michaelyya/WXImpactBench1718## Metrics1920- `F1-score` **(primary)** — range: [0, 1]21 - Macro-averaged F1-score across the six impact categories, historical/modern articles, and context length settings. Computed as the harmonic mean of precision and recall for each label, then averaged.22- `row-wise accuracy` — range: [0, 1]23 - Strict metric requiring correct classification of all six impact labels for a given article. Formula: (1/N) * sum_{i=1}^{N} prod_{j=1}^{6} I(y_hat_i^j == y_i^j), where I is the indicator function.24- `accuracy` — range: [0, 1]25 - Standard accuracy averaged across the six impact categories, historical and modern articles, and context lengths.26- `Hit@1` — range: [0, 1]27 - Proportion of queries where the top-ranked answer/document matches the ground truth.28- `nDCG@5` — range: [0, 1]29 - Normalized Discounted Cumulative Gain at rank 5, measuring ranking quality with logarithmic discounting for lower positions.30- `Recall@5` — range: [0, 1]31 - Proportion of relevant documents/answers found within the top 5 ranked results.32- `MRR` — range: [0, 1]33 - Mean Reciprocal Rank, averaging the reciprocal of the rank of the first relevant item for each query.3435## Input / output format3637**Input**: Historical or modern newspaper articles (text). For the mixed-context version, articles are split into ~250-token segments. Prompts are provided in Appendix C.2 (classification) and C.3 (QA).3839**Output**: For classification: a set of 6 binary labels (one per impact category: infrastructural, political, financial, ecological, agricultural, human health). For QA: a ranked list of candidate answers/documents.4041## Scoring recipe4243```python44def row_wise_accuracy(preds, golds, num_labels=6):45 correct = sum(1 for p, g in zip(preds, golds) if all(pi == gi for pi, gi in zip(p, g)))46 return correct / len(golds)4748# For classification: compute F1, accuracy, and row-wise accuracy per category/context, then average.49# For QA: compute Hit@1, nDCG@5, Recall@5, MRR on ranked lists.50# All LLMs run with temperature=0; final scores are averaged over 3 runs.51```5253## Common pitfalls5455- Decomposing multi-label classification into multiple independent binary calls instead of simultaneous prediction (the benchmark requires a single LLM call for all six labels).56- Assuming mixed-context chunk labels are automatically inherited from the original article; they are independently annotated, creating negative examples (chunks with no labels) that must be handled correctly.57- Ignoring the sliding window mechanism used in the QA ranking task, which segments articles into three chunks and ranks independently before merging, to mitigate long-context noise.5859## Evidence (verbatim from paper)6061> For multi-label classification task, we use F1-score, accuracy, and row-wise accuracy as evaluation metrics.62The evaluation via F1-score and accuracy are averaged across the six impact categories, historical and modern articles, and the effect of different context lengths.63Compared to the common F1-score and accuracy, the row-wise accuracy is a strict metric that requires more accurate output as the model should correctly classify all six impact labels for a given article, defined as6465| | $\text{Row-wise Acc.}\=\frac{1}{N}\sum_{i\=1}^{N}\prod_{j\=1}^{6}\mathcal{I}\left(\hat{y}_{i}^{j}\=y_{i}^{j}\right)$ | |66| --- | --- | --- |6768where $N$ is the number of samples, $\hat{y}_{i}^{j}$ denotes the predicted label for the $j$-th category in the $i$-th sample, $y_{i}^{j}$ is the corresponding ground-truth label, and $\mathcal{I}(\cdot)$ is the indicator function.6970## Citation7172```bibtex73@misc{yu2025wximpactbench,74 title={WXImpactBench: A Disruptive Weather Impact Understanding Benchmark for Evaluating Large Language Models},75 author={Yongan Yu et al.},76 year={2025},77 note={arXiv:2505.20249}78}79```8081- arXiv: 2505.20249