Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
- multiple-choice
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- evaluation
|
| 10 |
+
- responsibleAI
|
| 11 |
+
- utility
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# UtilityBench: Measuring Language Model Utility When Errors Have Different Costs
|
| 17 |
+
|
| 18 |
+
<p align="left">
|
| 19 |
+
<a href="https://github.com/LQF39466/UtilityBench"><img src="https://img.shields.io/badge/GitHub-Code-181717?logo=github" alt="GitHub"></a>
|
| 20 |
+
</p>
|
| 21 |
+
|
| 22 |
+
## Introduction
|
| 23 |
+
|
| 24 |
+
As language models are increasingly deployed in real-world scenarios with important outcomes, their mistakes can have consequences that correctness alone does not capture. A minor error in a low-stakes question and a dangerous error in medical advice should not carry the same practical significance. We therefore propose a utility-based evaluation paradigm that explicitly incorporates the varying consequences of errors, encouraging more responsible model behavior. As an early trial of this paradigm, we construct UtilityBench with continuous, sample-specific consequence annotations and introduce UtilityAUC.
|
| 25 |
+
|
| 26 |
+
## Usage
|
| 27 |
+
|
| 28 |
+
Import to your project using huggingface dataset, or refer to the [github repository](https://github.com/LQF39466/UtilityBench) for an end-to-end demo.
|
| 29 |
+
|
| 30 |
+
## Dataset Fields
|
| 31 |
+
|
| 32 |
+
The dataset contains 15,000 records in a single `test` split.
|
| 33 |
+
|
| 34 |
+
| Field | Type | Description |
|
| 35 |
+
|---|---|---|
|
| 36 |
+
| `id` | int64 | Unique record identifier |
|
| 37 |
+
| `input` | string | Full prompt sent to the model |
|
| 38 |
+
| `answerability` | int8 | 1 = answerable; 0 = refusal required |
|
| 39 |
+
| `reference_answer` | string / null | Reference answer; null for refusal-required prompts |
|
| 40 |
+
| `source_id` | string | Source dataset and item identifier |
|
| 41 |
+
| `eta` | float64 | Relative error-consequence score; higher means greater consequences |
|
| 42 |
+
| `L` | float64 | Positive cost of an incorrect answer |
|
| 43 |
+
| `evaluator_id` | string | Evaluation rule or code-test identifier |
|
| 44 |
+
|
| 45 |
+
## Acknowledgement
|
| 46 |
+
|
| 47 |
+
UtilityBench builds on 18 source datasets. We thank their authors for making these resources publicly available. Record-level provenance is preserved in `source_id`.
|
| 48 |
+
|
| 49 |
+
<!-- ## Citations
|
| 50 |
+
|
| 51 |
+
If you find this work useful, please consider citing:
|
| 52 |
+
|
| 53 |
+
```bibtex
|
| 54 |
+
@misc{utilitybench,
|
| 55 |
+
title={UtilityBench},
|
| 56 |
+
url={https://github.com/LQF39466/UtilityBench},
|
| 57 |
+
}
|
| 58 |
+
``` -->
|
| 59 |
+
|
| 60 |
+
## Contact
|
| 61 |
+
|
| 62 |
+
If you encounter any problems using the dataset or evaluating your models, please [open an issue](https://github.com/LQF39466/UtilityBench/issues) in the github repository.
|