TabMeta: A Novel Framework for Chart Generation Using Metadata and Enhanced Column Attention

Yuxing Tan, Liang He, Xiaoding Qi, Zhengshuai Song, Ting Feng2025

Abstract

Data analysis using tables and graphs is fundamental to research across disciplines. While pre-trained language models have shown potential in table understanding, their application to chart generation remains underexplored due to limited table-to-chart datasets and challenges in encoding two-dimensional tables into one-dimensional representations. To address these, we introduce SmallT2F, a curated dataset of tabular data from leading academic journals annotated with corresponding chart types. We also propose TabMeta, a hybrid metadata extraction framework that encodes table structures through row and column metadata and incorporates an enhanced column-aware attention mechanism to capture spatial relationships. By introducing a bias term in the attention-scoring function, TabMeta strengthens interactions between metric and data columns. Experimental results demonstrate that TabMeta significantly improves chart type selection, with a minimum improvement of 20% in Precision, 18.6% in Recall, and 19.4% in F1-Score, underscoring the importance of metadata and inter-column relationships in leveraging table structure.
BibTeX
@misc{tan2025tabmeta,
  author = {Yuxing Tan and Liang He and Xiaoding Qi and Zhengshuai Song and Ting Feng},
  title = {{TabMeta: A Novel Framework for Chart Generation Using Metadata and Enhanced Column Attention}},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228526},
}

Loading related content...

Figure