Papers › ArcheType: A Novel Framework for Open-Source Column Type Annotation using Large Language Models

ArcheType: A Novel Framework for Open-Source Column Type Annotation using Large Language Models

27 Oct 2023arXiv:2310.18208archive 2025-07-28

Benjamin Feuer, Yurong Liu, Chinmay Hegde, Juliana Freire

Existing deep-learning approaches to semantic column type annotation (CTA) have important shortcomings: they rely on semantic types which are fixed at training time; require a large number of training samples per type and incur large run-time inference costs; and their performance can degrade when evaluated on novel datasets, even when types remain constant. Large language models have exhibited strong zero-shot classification performance on a wide range of tasks and in this paper we explore their use for CTA. We introduce ArcheType, a simple, practical method for context sampling, prompt serialization, model querying, and label remapping, which enables large language models to solve CTA problems in a fully zero-shot manner. We ablate each component of our method separately, and establish that improvements to context sampling and label remapping provide the most consistent gains. ArcheType establishes a new state-of-the-art performance on zero-shot CTA benchmarks (including three new domain-specific benchmarks which we release along with this paper), and when used in conjunction with classical CTA techniques, it outperforms a SOTA DoDuo model on the fine-tuned SOTAB benchmark. Our code is available at https://github.com/penfever/ArcheType.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.18208")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

penfever/archetype officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
4unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from penfever/archetype. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ans_contains_gt penfever/archetype/src/match.py official repository ran MIT (permissive) · 74cf88859115a4f7 · report
basic_contains penfever/archetype/src/match.py official repository ran MIT (permissive) · 67c8089c5e3e21bc · report
check_contains penfever/archetype/src/schema_match_fix.py official repository ran fingerprinted MIT (permissive) · ff1186166256a765 · report
find_context penfever/archetype/src/make_dataset.py official repository ran fingerprinted MIT (permissive) · 6dfd82807e080ac0 · report
fix_labels penfever/archetype/src/data.py official repository ran MIT (permissive) · cd1e40c83d059762 · report
gt_contains_ans penfever/archetype/src/match.py official repository ran fingerprinted MIT (permissive) · ae448ba332acd5ee · report
make_json penfever/archetype/src/data.py official repository ran MIT (permissive) · 91b062a66f173cf9 · report
missing_entries penfever/archetype/src/metrics.py official repository ran MIT (permissive) · 0716edf17d1982e3 · report
prompt_context_insert penfever/archetype/src/data.py official repository unverified MIT (permissive) · 795f51d12a10435e · report
reorder_matrix penfever/archetype/src/metrics.py official repository unverified MIT (permissive) · 5e24c4d3022c08ae · report
run_comprehensive_cases penfever/archetype/src/schema_match_fix.py official repository unverified MIT (permissive) · 953ab30e131a5d9d · report
run_special_cases penfever/archetype/src/schema_match_fix.py official repository unverified MIT (permissive) · b19f8eb48371ddb2 · report

Tasks

Column Type AnnotationTable annotationZero-Shot Learning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Column Type Annotation WDC SOTAB ArcheType Weighted F1 85.97 #3 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections