Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- influence-functions
|
| 9 |
+
- data-attribution
|
| 10 |
+
- interpretability
|
| 11 |
+
pretty_name: Smallest-k Experiment Data
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Smallest_k_experiment
|
| 15 |
+
|
| 16 |
+
Processed datasets and hyperparameter files for the paper
|
| 17 |
+
**"How Many and Which Training Points Would Need to be Removed to Flip this Prediction?"**
|
| 18 |
+
(Yang, Jain, Wallace; EACL 2023).
|
| 19 |
+
|
| 20 |
+
- 📄 Paper: https://aclanthology.org/2023.eacl-main.188/
|
| 21 |
+
- 💻 Code: https://github.com/ecielyang/Smallest_set
|
| 22 |
+
|
| 23 |
+
## Summary
|
| 24 |
+
|
| 25 |
+
The paper finds a minimal subset of training points `S_t` whose removal would flip the prediction
|
| 26 |
+
for a test point `x_t`, using two influence-function-based algorithms (`IP` and `recursive_NT` in the
|
| 27 |
+
code repo). This dataset hosts the processed text-classification benchmarks (including BERT
|
| 28 |
+
feature-extracted versions) and hyperparameter configs needed to reproduce those experiments.
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
git clone https://github.com/ecielyang/Smallest_set
|
| 34 |
+
# download data/hyperparameters from this repo, then:
|
| 35 |
+
mkdir results
|
| 36 |
+
python SST.py # SST dataset
|
| 37 |
+
python SST_bert.py # SST features from BERT
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
Files are serialized experiment artifacts, so the Dataset Viewer is disabled — download and load them
|
| 41 |
+
directly per the code repo. English text classification; ~862 MB total.
|
| 42 |
+
|
| 43 |
+
## Notes
|
| 44 |
+
|
| 45 |
+
- Targets simple convex classifiers; results may not transfer to large non-convex models.
|
| 46 |
+
- `S_t` is an approximation, not guaranteed globally minimal.
|
| 47 |
+
|
| 48 |
+
## Citation
|
| 49 |
+
|
| 50 |
+
```bibtex
|
| 51 |
+
@inproceedings{yang-etal-2023-many,
|
| 52 |
+
title = "How Many and Which Training Points Would Need to be Removed to Flip this Prediction?",
|
| 53 |
+
author = "Yang, Jinghan and Jain, Sarthak and Wallace, Byron C.",
|
| 54 |
+
booktitle = "Proceedings of the 17th Conference of the European Chapter of the ACL",
|
| 55 |
+
year = "2023",
|
| 56 |
+
url = "https://aclanthology.org/2023.eacl-main.188/",
|
| 57 |
+
pages = "2571--2584",
|
| 58 |
+
}
|
| 59 |
+
```
|