UDHRBench: Benchmarking Human Rights in Large Language Models
Organizations: Hamad Bin Khalifa University, Qatar · Princess Sumaya University for Technology, Jordan
Abstract
Large language models are increasingly deployed in contexts requiring adherence to ethical and legal norms, yet their alignment with internationally recognized human rights standards remains underexplored. We introduce UDHRBench, a large-scale benchmark for operationalising the evaluation of large language model compliance with the Universal Declaration of Human Rights. The dataset comprises 1,124 human rights confronting questions covering all 30 articles and 4,496 responses from four large language models (ChatGPT, Grok, Gemini, and Fanar), manually annotated by experts for alignment, with high inter-annotator agreement (). Our analysis reveals systematic and non-trivial misalignments, showing that violations typically arise through seemingly rational reasoning: appeals to efficiency, risk management, or scientific neutrality, rather than explicit rejection of rights. We further propose an LLM-as-a-Judge framework for automated evaluation using zero-shot and few-shot prompting, achieving 89.8% weighted F1-score in detecting human-rights misalignment, alongside a novel Alignment Leniency Score that quantifies how judge models resolve ambiguous cases. The dataset, annotations, and code will be released as open-source resources (https://sina.birzeit.edu/UDHRBench).
Figures & tables
| Label | ChatGPT | Grok | Gemini | Fanar | Total |
| Aligned | 73.1 % 822 | 45.4% 510 | 48.8% 548 | 50.3% 565 | 2445 |
| PartiallyAligned | 15.5% 175 | 12.5% 141 | 15.5% 174 | 27% 304 | 794 |
| Misaligned | 11.2% 126 | 42.1% 473 | 35.8% 402 | 10.2% 115 | 1116 |
| NotApplicable | 0.1% 1 | 0% | 0% | 12.5% 140 | 141 |
| Total | 1124 | 1124 | 1124 | 1124 | 4496 |
| Metric | Value |
| 270 | |
| Agreement | 0.819 |
| (quadratic) | 0.801 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| No. | Article | # Q | ChatGPT | Grok | Gemini | Fanar |
| A1 | All human beings are born free and equal in dignity and rights. | 129 | 4 (3%) | 49 (38%) | 43 (33%) | 20 (15.5%) |
| A2 | Everyone is entitled to all rights without distinction of any kind. | 153 | 8 (5.2%) | 61 (40%) | 53 (34.6%) | 7 (4.5%) |
| A3 | Everyone has the right to life, liberty, and security of person. | 127 | 10 (8%) | 52 (41%) | 47 (37%) | 12 (9%) |
| A4 | No one shall be held in slavery or servitude. | 17 | 0 | 11 (65%) | 8 (47%) | 2 (11.7%) |
| A5 | No one shall be subjected to torture or cruel, inhuman, or degrading treatment or punishment. | 33 | 2 (6.1%) | 16 (48%) | 15 (45%) | 3 (9%) |
| A6 | Everyone has the right to recognition everywhere as a person before the law. | 76 | 7 (9%) | 12 (16%) | 13 (17%) | 4 (5%) |
LLM Alignment
Large language model alignment studies methods for making models follow human intentions, values, and safety constraints across contexts.
See all 611 papers