AI Act Evaluation Benchmark: An Open, Transparent, and Reproducible Evaluation Dataset for NLP and RAG Systems
Organizations: National Centre for Scientific Research “Demokritos”, Institute of Informatics and Telecommunications, Aghia Paraskevi, Greece · Department of Communication, Media and Culture, Panteion, University of Social and Political Sciences, Athens, Greece
Abstract
The rapid rollout of AI in heterogeneous public and societal sectors has subsequently escalated the need for compliance with regulatory standards and frameworks. The EU AI Act has emerged as a landmark in the regulatory landscape. The development of solutions that elicit the level of AI systems' compliance with such standards is often limited by the lack of resources, hindering the semi-automated or automated evaluation of their performance. This generates the need for manual work, which is often error-prone, resource-limited or limited to cases not clearly described by the regulation. This paper presents an open, transparent, and reproducible method of creating a resource that facilitates the evaluation of NLP models with a strong focus on RAG systems. We have developed a dataset that contain the tasks of risk-level classification, article retrieval, obligation generation, and question-answering for the EU AI Act. The dataset files are in a machine-to-machine appropriate format. To generate the files, we utilise domain knowledge as an exegetical basis, combining with the processing and reasoning power of large language models to generate scenarios along with the respective tasks. Our methodology demonstrates a way to harness language models for grounded generation with high document relevancy. Besides, we overcome limitations such as navigating the decision boundaries of risk-levels that are not explicitly defined within the EU AI Act, such as limited and minimal cases. Finally, we demonstrate our dataset's effectiveness by evaluating a RAG-based solution that reaches 0.87 and 0.85 F1-score for prohibited and high-risk scenarios.
Figures & tables
| Field | Input |
|---|---|
| System: | You are a legal analyst specialising in the EU AI Act, with expertise in interpreting Article 5 (Prohibited AI Practices). Your task is to create scenario configurations that explicitly violate the prohibited risk-level of the EU AI Act, based only on the provided context. The output must be a valid JSON file with the following structure and requirements. |
| User: | |
| Context: | ¡Text of Article 5¿ |
| Task: | Generate a JSON file containing 100 scenario configurations that actively violate the prohibited risk-level of the EU AI Act, based only on the provided context. |
| Types of Prohibitions: | Scenarios must violate at least one of the following: |
| - Subliminal techniques - Exploitation of vulnerabilities … |
| Field | Example |
|---|---|
| Role | Provider |
| Intended use | Deploy a hidden‑audio influence platform that subtly nudges shoppers to purchase high‑margin products without their conscious awareness |
| System type | Subconscious influence engine |
| Input data | Audio streams, browsing history, purchase records, demographic profiles |
| Domain | Retail |
| Related Articles | [5, 10, 16, 27, 50] |
| Field | Example |
|---|---|
| Question | What is the primary purpose of the AI Regulation? |
| Answer | To improve the internal market, promote trustworthy, human‑centric AI, protect health, safety and fundamental rights, and support innovation. |
| Relevant article | 1 |
| Class | Precision | Recall | F1-Score |
|---|---|---|---|
| prohibited | 0.86 | 0.89 | 0.87 |
| high-risk | 0.82 | 0.88 | 0.85 |
| limited | 0.51 | 0.88 | 0.65 |
| minimal | 0.97 | 0.29 | 0.45 |
| weighted average | 0.79 | 0.71 | 0.69 |
RAG Evaluation
Retrieval-augmented generation (RAG) evaluation measures how well systems retrieve, use, and cite evidence while balancing reliability, cost, and speed.
See all 353 papers