Saved in:
Bibliographic Details
Main Author: Bhoite, Harshraj
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.21056
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911079871807488
author Bhoite, Harshraj
author_facet Bhoite, Harshraj
contents Data contracts formalize agreements between data producers and consumers regarding schema, semantics, and quality expectations. As data pipelines grow in complexity, manual authoring and maintenance of contracts becomes error-prone and labor-intensive. We present an AI-driven framework for automatic data contract generation using large language models (LLMs). Our system leverages parameter-efficient fine-tuning methods, including LoRA and PEFT, to adapt LLMs to structured data domains. The models take sample data or schema descriptions and output validated contract definitions in formats such as JSON Schema and Avro. We integrate this framework into modern data platforms (e.g., Databricks, Snowflake) to automate contract enforcement at scale. Experimental results on synthetic and real-world datasets demonstrate that the fine-tuned LLMs achieve high accuracy in generating valid contracts and reduce manual workload by over 70%. We also discuss key challenges such as hallucination, version control, and the need for continuous learning. This work demonstrates that generative AI can enable scalable, agile data governance by bridging the gap between intent and implementation in enterprise data management.
format Preprint
id arxiv_https___arxiv_org_abs_2507_21056
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AI-Driven Generation of Data Contracts in Modern Data Engineering Systems
Bhoite, Harshraj
Databases
Artificial Intelligence
Data contracts formalize agreements between data producers and consumers regarding schema, semantics, and quality expectations. As data pipelines grow in complexity, manual authoring and maintenance of contracts becomes error-prone and labor-intensive. We present an AI-driven framework for automatic data contract generation using large language models (LLMs). Our system leverages parameter-efficient fine-tuning methods, including LoRA and PEFT, to adapt LLMs to structured data domains. The models take sample data or schema descriptions and output validated contract definitions in formats such as JSON Schema and Avro. We integrate this framework into modern data platforms (e.g., Databricks, Snowflake) to automate contract enforcement at scale. Experimental results on synthetic and real-world datasets demonstrate that the fine-tuned LLMs achieve high accuracy in generating valid contracts and reduce manual workload by over 70%. We also discuss key challenges such as hallucination, version control, and the need for continuous learning. This work demonstrates that generative AI can enable scalable, agile data governance by bridging the gap between intent and implementation in enterprise data management.
title AI-Driven Generation of Data Contracts in Modern Data Engineering Systems
topic Databases
Artificial Intelligence
url https://arxiv.org/abs/2507.21056