Table-Guided Hyperspherical Diffusion for Preserving Semantic Dependencies in Column Type Annotation
This repository contains the source code for the CIKM 2026 paper βTable-Guided Hyperspherical Diffusion for Preserving Semantic Dependencies in Column Type Annotationβ.
Overview
We propose a table-guided hyperspherical diffusion framework for Column Type Annotation (CTA) within Semantic Table Interpretation (STI). Unlike conventional discriminative approaches, our framework generates column type representations through iterative denoising in hyperspherical space, guided by table-level context and column representations.
β¨ Key Components
| Component | Description |
|---|---|
| Table Context Encoder | Learns contextualized column representations for both categorical and numerical columns, while extracting table-level contextual signals |
| Hyperspherical Diffusion Denoiser | Progressively refines noisy semantic representations through iterative denoising conditioned on table-guided signals |
| Semantic Label Retrieval | Retrieves final semantic types via cosine similarity over the hyperspherical label space |
π Installation
Requirements
Python >= 3.10
PyTorch >= 2.0
π Datasets
We evaluate on four public CTA benchmark datasets:
| Dataset | # Tables | # Types | Download |
|---|---|---|---|
| GitTables-DBpedia | 3,737 | 101 | SemTab 2022 |
| GitTables-Schema | 2,853 | 53 | SemTab 2022 |
| SOTAB-CTA | 24,275 | 91 | WDC SOTAB |
| WikiTables-CTA | 406,705 | 150 | TabEL |
Place the downloaded datasets under the following structure:
data/
βββ GitTables-DB/
βββ GitTables-Schema/
βββ SOTAB-CTA/
βββ WikiTables-CTA/
ποΈ Training
python train.py --data GitTables-DB
π Test
python test.py \
--data GitTables-DB \
--checkpoint checkpoints/model.pt
π Results
Our framework consistently outperforms discriminative and LLM-based baselines across all benchmarks.
| Dataset | Micro-F1 | Macro-F1 |
|---|---|---|
| GitTables-DBpedia | 56.18 | 31.91 |
| GitTables-Schema | 66.42 | 40.23 |
| SOTAB-CTA | 87.50 | 86.46 |
| WikiTables-CTA | 93.37 | 73.19 |
References
If you use our dataset or useful in your research, please kindly cite our papers.