Automatic End-to-End Data Integration using Large Language Models
Organizations: Data and Web Science Group, University of Mannheim, Mannheim, Germany
Abstract
Designing data integration pipelines typically requires substantial manual effort from data engineers to configure pipeline components and label training data. While LLMs have shown promise in handling individual steps of the integration process, their potential to replace all human input across end-to-end data integration pipelines has not been investigated. As a step toward exploring this potential, we present an automatic data integration pipeline that uses GPT-5.2 to generate all artifacts required to adapt the pipeline to specific use cases. These artifacts are schema mappings, value mappings for data normalization, training data for entity matching, and validation data for selecting conflict resolution heuristics in data fusion. We compare the performance of this LLM-based pipeline to the performance of human-designed pipelines along three case studies requiring the integration of video game, music, and company related data. Our experiments show that the LLM-based pipeline is able to produce similar results, for some tasks even better results, as the human-designed pipelines. End-to-end, the human and the LLM pipelines produce integrated datasets of comparable size and density. Having the LLM configure the pipelines costs approximately $10 per case study, which represents only a small fraction of the cost of having human data engineers perform the same tasks.
Figures & tables
| Case Study | Source | Rows | Attrs | Density | Attributes |
|---|---|---|---|---|---|
| Games | DBpedia | 46,580 | 6 | 91.0% | wiki_ref, title, launch_yr, studio, system, franchise |
| Metacritic | 20,494 | 8 | 97.7% | mc_id, game_title, year_published, made_by, console, press_rating, player_rating, age_rating | |
| Sales | 7,877 | 10 | 98.7% | rec_id, prod_title, launch_dt, studio, dist, hw, press_score, comm_rating, age_classification, units_sold_mm | |
| Target Schema | – | 12 | – | id, name, releaseYear, developer, genres, publisher, platform, criticScore, userScore, ESRB, globalSales, series | |
| Companies | Forbes | 2,000 | 7 | 99.2% | forbes_url, company, url, region, business_segment, asset_value, sales_figure |
| DBpedia | 10,085 | 9 | 66.4% | entity_uri, org_name, established, nation, headquarters, sector, keypeople_name, total_assets_val, annual_income |
| Case Study | Human | LLM | Label-based | Instance-based |
|---|---|---|---|---|
| Games | 1.00 | 1.00 | .23 | .00 |
| Companies | 1.00 | 1.00 | .35 | .32 |
| Music | 1.00 | 1.00 | .38 | .24 |
| Average | 1.00 | 1.00 | .32 | .19 |
| LLM Mappings | Code-based | ||||||
| Source | Col. | Norm. | Total | Col. | Norm. | Total | |
| Games | DBpedia | 1 | 38,268 | 46,170 | 2 | 83,439 | 91,341 |
| Metacritic | 2 | 38,712 | 38,712 | 3 | 59,204 | 59,206 | |
| Sales | 1 | 7,877 | 7,877 | 3 | 23,631 | 23,631 | |
| Companies | DBpedia | 1 | 6,395 | 6,878 | 2 | 16,429 | 16,963 |
| Forbes | 1 | 1,895 | 1,957 | 1 | 1,895 | 1,957 | |
| Human | Human | LLM | ||
| Use Case | Dataset Pair | Config | Labels | Labels |
| Games | DBpedia–Metacritic | .930 | .826 | .849 |
| DBpedia–Sales | .927 | .839 | .979 | |
| Companies | DBpedia–Forbes | .857 | .954 | .939 |
| Forbes–FullContact | .870 | .898 | .897 | |
| Music | Discogs–MusicBrainz | .800 | .991 | .990 |
| Human | Human | LLM | LLM | |
|---|---|---|---|---|
| Use Case | Config | Val. Set | Val. Set | + RAG |
| Games | .832 | .866 | .866 | .866 |
| Companies | .803 | .861 | .709 | .744 |
| Music | .766 | .721 | .708 | .708 |
| Average | .800 | .816 | .761 | .773 |
| Metric | Games | Companies | Music |
|---|---|---|---|
| Data Sources | 3 | 3 | 3 |
| Total Input Records | 74,951 | 14,016 | 37,255 |
| Fused Record Groups | 7,235 | 1,031 | 4,178 |
| Output Records | 65,518 | 12,768 | 30,885 |
| Fusion Ratio | 11.0% | 8.1% | 13.5% |
| Row Gain vs. Largest | +18,938 | +2,683 | +8,258 |
| Output Records | Fusion Ratio | Row Gain % | Density | |||||
|---|---|---|---|---|---|---|---|---|
| Use Case | Human | LLM | Human | LLM | Human | LLM | Human | LLM |
| Games | 65,794 | 65,518 | 11.8 | 11.0 | +41.3 | +40.7 | +2.7 | +4.5 |
| Companies | 11,517 | 12,768 | 15.1 | 8.1 | +14.2 | +26.6 | 5.2 | +5.6 |
| Music | 30,779 | 30,885 | 14.6 | 13.5 | +36.0 | +36.5 | +5.8 | 1.8 |
| Execution | Configuration | |||
|---|---|---|---|---|
| Use Case | LLM | Human | LLM | Human |
| Games | 181 s | 73 s | 1.9 h | 18 h |
| Companies | 38 s | 34 s | 1.7 h | 20 h |
| Music | 45 s | 124 s | 2.2 h | 20 h |
| Average | 88 s | 77 s | 1.9 h | 19 h |
| Pipeline Step | Games | Companies | Music | Total |
|---|---|---|---|---|
| Schema Matching | $0.02 | $0.02 | $0.02 | $0.06 |
| Normalization | $0.13 | $0.36 | $0.17 | $0.66 |
| Training Set Generation | $1.33 | $1.96 | $1.66 | $4.95 |
| Fusion Validation LLM | $0.22 | $0.15 | $0.23 | $0.60 |
| Fusion Validation RAG | $7.46 | $6.07 | $7.45 | $20.98 |
| Total per Use Case | $9.16 | $8.56 | $9.53 | $27.25 |