Label-Constrained Column Annotation with Language Models and Graph Neural Networks
Duo Yang, Ioannis Dasoulas, Anastasia Dimou
Abstract
Assigning semantic labels to table columns and identifying relations between columns pose significant challenges in data management. Automatic column annotation has been widely treated as classification, with recent works using language models trained on annotated tables with type and property labels. While these language models have effectively modeled individual tables, they often overlook the underlying graph structure of the label space, where constraints can exist between certain types and properties within and across tables. To fill this gap, we propose RODEO, a two-tower architecture that integrates a language model and a graph neural network (GNN) to model the table and semantic labels, respectively. We reformulate column annotation tasks from classification to matching problems, where column and column-pair embeddings are aligned with embeddings that represent their corresponding semantic types (nodes) and properties (edges) within the graph. These embeddings, derived from the language model and GNN, are co-trained end-to-end using triplet loss with an online negative mining strategy. The training process brings semantically related columns and labels closer in the embedding space by minimizing their distances. Our approach, evaluated on publicly available benchmark datasets, outperforms state-of-the-art methods in both column type and column property annotation, highlighting that modeling label constraints through the graph significantly improves overall performance. Ablation studies on the triplet loss and GNN show the robustness of our framework's training procedure.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get fa5e71ff-89a6-4703-a47b-a196a48e159aRelated papers
- Annotating Columns with Pre-trained Language ModelsYoshihiko Suhara, Jinfeng Li, Yuliang Li, Dan Zhang et al.SIGMOD 2022 · 81 citations
- TabEmb: Joint Semantic-Structure Embedding for Table AnnotationEhsan Hoseinzade, Ke Wang, Anandharaju Durai RajuACL 2026
- Retrieve-and-Verify: A Table Context Selection Framework for Accurate Column AnnotationsZhihao Ding, Yongkang Sun, Jieming ShiSIGMOD 2026 · 2 citations
- Watchog: A Light-weight Contrastive Learning based Framework for Column AnnotationZhengjie Miao, Jin WangSIGMOD 2024 · 14 citations
- KGLink: A Column Type Annotation Method that Combines Knowledge Graph and Pre-Trained Language ModelYubo Wang, Hao Xin, Lei ChenICDE 2024 · 7 citations
