amazon-science/QUORUM
Python
Captured source
source ↗amazon-science/QUORUM
Description: Repository containing the results of the paper: QUORUM: QUality-Optimized Routing Using Multiple annotators, accepted at EMNLP 2026 Main Conference.
Language: Python
License: NOASSERTION
Stars: 0
Forks: 0
Open issues: 1
Created: 2026-08-27T06:24:04Z
Pushed: 2026-08-29T08:35:16Z
Default branch: main
Fork: no
Archived: no
README:
QUORUM: QUality-Optimized Routing Using Multiple annotators
In order to run the code (tested on Python 3.11.14):
pip install -r requirements.txt
Then, to start a single experiment:
python3 main.py --dataset NAME_OF_THE_DATASET --eval_type EVAL_TYPE --budget BUDGET --annotator_cost ANNOTATOR_COST --methods METHODS
Example:
python3 main.py --dataset pubmed --eval_type dollars --backup --budget 444 --methods QUORUM
To run an experiment with multiple seeds:
python3 multi.py --dataset NAME_OF_THE_DATASET --eval_type EVAL_TYPE --budget BUDGET --annotator_cost ANNOTATOR_COST --methods METHODS
Example:
python3 multi.py --dataset pubmed --eval_type dollars --n_seeds 3 --methods QUORUM
Results by default are saved in the results folder.
- NAME_OF_THE_DATASET could be:
pubmed,imdb,global-mmlu,mmlu-redux,xlsum,cnn,agnews. - In case you are using
XLSum, select the language using--language(spanish,japanese). Same forglobal-mmlu(ja,es). - EVAL_TYPE could be either
auditor_style(one annotation per sample) ordollars(keeping into account the monetary constraint). - ANNOTATOR_COST is a list which represent the cost of the LLMs (i.e., 0.01 0.03 0.05 0.1).
- METHODS could be
QUORUM, Random, SANT, CoAnnotating, PPI, Araida.
SANT and ARAIDA could have small compatibility issues with FastText.
Acknowledgments
The implementation of competitor methods draws from the papers:
- Can Unconfident LLM Annotations Be Used for Confident Conclusions?)
- ARAIDA: Analogical Reasoning-Augmented Interactive Data Annotation
- CoAnnotating: Uncertainty-Guided Work Allocation between Human and Large Language Models for Data Annotation
- HyPAC: Cost-Efficient LLMs-Human Hybrid Annotation with PAC Error Guarantees
- Selective Annotation via Data Allocation: These Data Should Be Triaged to Experts for Annotation Rather Than the Model
We gratefully acknowledge the authors for making their code available.
Security
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information. This code is being released solely for academic and scientific reproducibility purposes, in support of the methods and findings described in the associated publication. Pull requests are not being accepted in order to maintain the code exactly as it was used in the paper.
License
This library is licensed under the CC-BY-NC-4.0 License.