Robust LLM-based Column Type Annotation via Prompt Augmentation with LoRA Tuning
Hanze Meng, Jianhao Cao, Rachel Pottinger
TL;DR
This work tackles the instability of large-language-model–driven column type annotation (CTA) caused by prompt sensitivity and distribution shifts. It introduces a parameter-efficient framework that combines prompt augmentation with Low-Rank Adaptation (LoRA) to train lightweight adapters on augmented prompts while keeping the backbone frozen. Across VizNet and SOTAB, the approach yields more stable and higher weighted F1 scores than single-prompt-template fine-tuning, and achieves data efficiency by matching full-data performance with only a fraction of labeled columns. The results demonstrate that prompt augmentation is a robust, model-agnostic strategy for practical CTA systems, with potential extensions to unlabeled data and semi-supervised learning.
Abstract
Column Type Annotation (CTA) is a fundamental step towards enabling schema alignment and semantic understanding of tabular data. Existing encoder-only language models achieve high accuracy when fine-tuned on labeled columns, but their applicability is limited to in-domain settings, as distribution shifts in tables or label spaces require costly re-training from scratch. Recent work has explored prompting generative large language models (LLMs) by framing CTA as a multiple-choice task, but these approaches face two key challenges: (1) model performance is highly sensitive to subtle changes in prompt wording and structure, and (2) annotation F1 scores remain modest. A natural extension is to fine-tune large language models. However, fully fine-tuning these models incurs prohibitive computational costs due to their scale, and the sensitivity to prompts is not eliminated. In this paper, we present a parameter-efficient framework for CTA that trains models over prompt-augmented data via Low-Rank Adaptation (LoRA). Our approach mitigates sensitivity to prompt variations while drastically reducing the number of necessary trainable parameters, achieving robust performance across datasets and templates. Experimental results on recent benchmarks demonstrate that models fine-tuned with our prompt augmentation strategy maintain stable performance across diverse prompt patterns during inference and yield higher weighted F1 scores than those fine-tuned on a single prompt template. These results highlight the effectiveness of parameter-efficient training and augmentation strategies in developing practical and adaptable CTA systems.
