Blockchain-Enabled Accountability in Data Supply Chain: A Data Bill of Materials Approach

Yue Liu, Dawen Zhang, Boming Xia, Julia Anticev, Tunde Adebayo, Zhenchang Xing, Moses MachaoarXiv 2024

TL;DR

This paper introduces Data Bill of Materials (DataBOM), a blockchain-based framework designed to bring accountability to the complex "data supply chains" powering modern AI. By leveraging smart contracts to store immutable metadata about dataset origins, transformations, and licenses, the authors provide a platform-agnostic way to ensure data is traceable, verifiable, and reproducible across multiple organizations.

What Problem Does This Paper Address?

In the age of Large Language Models (LLMs) like GPT-4, data is the new oil, but its "refining" process is often opaque. Datasets undergo constant transformation—cleaning, merging, and reformatting—passing through various stakeholders and tools.

Current data governance models struggle with two main issues:

  1. Silos: Governance is often tied to specific storage platforms (e.g., a specific cloud provider's object storage), making cross-organizational tracking difficult.
  2. Lack of Accountability: When an AI model produces biased or illegal output, it is currently very hard to trace exactly which version of which dataset was used, who authorized it, and what operations were performed on it.

The authors argue that we need a "Software Bill of Materials" (SBOM) equivalent for data to manage these intricate supply chains.

Methods

The authors propose a three-tiered architecture to operationalize DataBOM:

  1. Service Layer: Acts as the entry point. It includes a DataBOM generator (a tool that automatically detects and captures metadata from files) and an API gateway to handle requests.
  2. On-chain DataBOM Layer: This is the heart of the system. It uses blockchain smart contracts to manage identities and record DataBOM entries. A "Factory Contract" is used to deploy customized registries for different projects, allowing for flexible metadata structures.
  3. Off-chain Data Layer: Crucially, the actual large datasets are not stored on the blockchain. They remain in the stakeholders' private repositories. The blockchain only stores the metadata and the paths (pointers) to the actual data.
Figure 1: Platform architecture for blockchain-based DataBOM.

The system employs specific blockchain design patterns like Embedded Permission for access control and Selective Disclosure to protect sensitive metadata while still allowing for public verification of other fields.

Datasets

The paper does not introduce a new machine learning benchmark. Instead, it evaluates the system using:

  • A Research Case Study: A simulated data supply chain involving a research institute, external organizations, and data scientists (see Figure 3).
  • Performance Benchmarking: The authors implemented a prototype using Node.js, Web3.js, and Solidity, deployed on a local Ganache blockchain network configured to simulate the Ethereum Mainnet. They used JMeter to stress-test the system with 1,000 API requests.

Key Insights and Ideas

  • The Four Pillars of DataBOM: The authors define the minimal requirements for a DataBOM record based on four goals:
  • Traceability: Identifiers for datasets, versions, and their parent dependencies.
  • Verifiability: Inclusion of licenses and compliance information.
  • Reproducibility: A detailed history of operations (e.g., "subsetting," "rechunking") performed on the data.
  • Accountability: Linking on-chain identities to specific actions.
  • Platform Agnosticism: By storing only metadata and pointers on-chain, DataBOM can track data moving between AWS, local servers, and IPFS without needing a unified storage layer.
  • Closing the Loop: The interaction protocol (Figure 2) specifically accounts for error reporting. If a consumer finds "bad data," the system facilitates reporting it back to the producer, who then registers a new, corrected version in the DataBOM registry.

Key Results

The quantitative evaluation focused on the two most frequent operations: creating a record and retrieving a record.

  • Throughput: Retrieval is highly efficient, staying steady at approximately 27 transactions per second (tps). Creation is more resource-intensive, peaking at 6.5 tps before settling at 1 tps. This drop is due to the overhead of writing large metadata chunks (like full licenses and operation histories) to the blockchain.
  • Latency: Most retrieval requests are completed in under 100ms. Creation requests typically take between 100ms and 200ms, which the authors deem acceptable for governance tasks that don't require real-time speed.
Figure 4: Throughput for two RESTful APIs.

Limitations and Future Work

  • Metadata Extraction: The current prototype uses a simple "file watcher." The authors plan to explore using Foundation Model-based agents to automatically analyze dataset artifacts and extract more nuanced metadata.
  • AIBOM Integration: The ultimate goal is to merge SBOM (software) and DataBOM (data) into a comprehensive AI Bill of Materials (AIBOM) to provide end-to-end transparency for AI systems.
  • Scalability: The low throughput for "creation" suggests that for massive, high-velocity data supply chains, further optimization of how metadata is batched or stored (perhaps using Layer 2 solutions) might be necessary.

Summary updated

BibTeX
@misc{liu2024blockchain,
  author = {Yue Liu and Dawen Zhang and Boming Xia and Julia Anticev and Tunde Adebayo and Zhenchang Xing and Moses Machao},
  title = {{Blockchain-Enabled Accountability in Data Supply Chain: A Data Bill of Materials Approach}},
  year = {2024},
  eprint = {2408.08536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.08536},
}
Figure