Compliance Cards: Automated EU AI Act Compliance Analyses amidst a Complex AI Supply Chain

Bill Marino, Yaqub Chaudhary, Yulu Pi, Rui-Jie Yew, Preslav Aleksandrov, Carwyn Rahman, William F. Shen, Isaac Robinson, Nicholas D. Lane

TL;DR

The EU AI Act (AIA) introduces a complex web of compliance requirements that can overwhelm developers, especially when using third-party datasets and models. This paper proposes Compliance Cards, a system of standardized, machine-readable metadata artifacts and an automated algorithm that enables real-time, provider-side compliance checks across the entire AI supply chain.

What Problem Does This Paper Address?

As AI development shifts toward "compound systems"—where a single project might integrate multiple pre-trained models and datasets from various sources—determining legal compliance becomes a logistical nightmare. Under the AIA, providers (developers) bear the brunt of responsibility, but they often lack visibility into the components they inherit.

Currently, compliance is a manual, multi-step ordeal: gathering information from arm's-length suppliers, harmonizing disparate data formats, and manually analyzing it all against the law. This process is slow, expensive (estimated at thousands of Euros per project), and incompatible with modern "continuous experimentation" workflows. The authors aim to bridge this gap by automating the analysis, making compliance feasible for everyone from big tech to resource-strapped startups.

Figure 1: Today’s AIA Compliance Analysis Procedure: In Step 1, information about the overall AI Project as well as its component Models and Datasets is gathered from internal and/or external sources. In Step 2, this information is optionally harmonized. In Step 3, an analysis looks across all of the gathered/harmonized information to render a compliance analysis for the overall AI Project.

Methods

The authors introduce a two-part system:

  1. Compliance Cards (CCs): These are interlocking transparency artifacts (similar to Model or Data Cards) formatted in machine-readable YAML or JSON. There are three types:
  2. Project CC: Captures high-level project attributes (e.g., intended purpose, operator role).
  3. Data CC: Captures dataset-specific metadata (e.g., data governance, accuracy).
  4. Model CC: Captures model-specific metadata (e.g., risk management, human oversight).
  5. Compliance Cards Algorithm: A rules-based Python implementation that parses "dispositive characteristics"—key variables that trigger specific legal obligations—from the cards to render a real-time compliance prediction.

The vision is a decentralized workflow where each supplier populates the card for their specific contribution, allowing the final provider to simply "plug and play" these artifacts into the algorithm.

Figure 2: Compliance Cards AIA Compliance Analysis Procedure: In Step 1, the Compliance Cards are used to collect, from internal and/or external sources, standardized metadata about the AI Project as well as its component Models and Datasets. In Step 2, an automated analysis looks across all of the gathered/harmonized metadata to render a compliance analysis for the overall AI Project.

Datasets

Not discussed in the paper. The paper focuses on the architectural framework and legal mapping rather than training or evaluating a specific machine learning model. However, the authors have released YAML-based templates for these cards on GitHub.

Key Insights and Ideas

  • Decentralized "Voltron-style" Compliance: Instead of one party trying to document everything, the system allows suppliers to document what they know best. These separate artifacts are then united to provide a holistic view of the project.
  • Dispositive Characteristics: The authors identified specific metadata categories (like "Intended Purpose" or "High-risk status") that act as the primary levers for AIA requirements. Mapping these directly to AIA Articles (e.g., Art. 9 for Risk Management) is the core of their automated logic.
  • Real-Time Utility: By moving from days of manual review to millisecond algorithmic checks, this system enables compliance checks during live model searches on marketplaces like Hugging Face or within CI/CD pipelines.
  • Democratization: By lowering the "capacity barrier," the authors hope to help smaller firms navigate the AIA without needing a massive legal department.

Key Results

  • Algorithmic Mapping: The authors successfully mapped the complex requirements of the AIA into a computational format. Tables 2, 3, and 4 in the paper provide a comprehensive overview of how specific attributes relate to AIA Articles.
  • Open Source Implementation: A functional Python implementation of the rules-based algorithm is provided, demonstrating that automated legal analysis is technically feasible for the AIA's current structure.
  • Efficiency Gains: While the paper doesn't provide a new benchmark, it contrasts the proposed "low-latency" system against the status quo, which the European Commission estimates takes 1 to 2.5 days per project.
Figure 3: The Compliance Cards Algorithm: The Compliance Cards Algorithm is any algorithm that accepts the Compliance Cards as its input and outputs a compliance analysis.

Limitations and Future Work

  • The "Honesty" Problem: The system currently relies on suppliers providing accurate metadata. The authors suggest future work could involve zero-knowledge proofs (zk-SNARKs) or digitally signed metrics from platforms like Hugging Face to verify claims without exposing proprietary data.
  • Manual Population: Filling out the cards is still a manual task. The authors plan to develop tools to auto-populate cards using LLMs that scan technical documentation or libraries that extract metadata during the training process.
  • Nuance vs. Automation: A rules-based algorithm might struggle with the "gray areas" of legal interpretation. Future iterations may use LLM-assisted embodiments to handle more nuanced legal language.
  • Regulatory Evolution: As the EU issues more granular "common specifications," the cards will need to be updated to reflect these evolving standards.

Summary updated

BibTeX
@inproceedings{marino2024compliance,
  author = {Bill Marino and Yaqub Chaudhary and Yulu Pi and Rui-Jie Yew and Preslav Aleksandrov and Carwyn Rahman and William F. Shen and Isaac Robinson and Nicholas D. Lane},
  title = {{Compliance Cards: Automated EU AI Act Compliance Analyses amidst a Complex AI Supply Chain}},
  booktitle = {RegML @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=CJmWP78BoR},
}
Figure