TCN: Table Convolutional Network for Web Table Interpretation

Daheng Wang, Prashant Shiralkar, Colin Lockard, Binxuan Huang, Xin Luna Dong, Meng JiangWWW 2021 · DOI

Abstract

The web contains hundreds of millions of relational tables that serve as a vast repository of structured knowledge. However, interpreting these tables—specifically predicting column types and pairwise relations—remains a significant challenge due to data sparsity and the loss of structural information in traditional linear models. This paper introduces the Table Convolutional Network (TCN), a framework that treats web tables as an interconnected graph. By leveraging attention-based convolutions to aggregate context both within a table and across different tables via shared values, schemas, and topics, TCN achieves state-of-the-art performance in table interpretation tasks.

The Challenge of Web Table Interpretation

Relational tables on the web often contain "long-tail" knowledge not found in standard knowledge bases. Interpreting them involves two primary tasks: Column Type Prediction (identifying the semantic category of a column) and Pairwise Column Relation Prediction (identifying the relationship between two columns).

Existing methods often struggle with two main issues:

  1. Context Sparsity: Many web tables are small or lack sufficient internal labels to provide clear evidence for interpretation.
  2. Structural Loss: Models that flatten tables into text strings (like BERT-based approaches) lose the grid-like structure and implicit connections between rows and columns.
Example of a relational table on a web page, highlighting the topic entity and associated metadata.

As shown in the figure above, web tables do not exist in isolation; they are surrounded by metadata like page topics and key-value pairs that provide critical context.

The TCN Architecture

The core innovation of TCN is its ability to learn cell embeddings by aggregating information through two distinct channels: Intra-table and Inter-table aggregation.

Intra-table Aggregation

TCN employs an attention mechanism to analyze a target cell's neighbors within the same row and column. A key feature is the inclusion of the Page Topic (e.g., the title of the webpage) as a "pseudo-column." This contextual anchor helps the model understand, for instance, that a numeric value in a row about a musical album likely represents a "Release Year."

Inter-table Aggregation

TCN treats the entire web of tables as a graph, using three types of implicit connections to "convolve" information across different tables:

  • Value Aggregation: Links cells across the web that share identical string values.
  • Position Aggregation: Links cells at the same row/column index in tables sharing the same underlying HTML template or schema.
  • Topic Aggregation: Links a table's page topic to instances where that string appears as a cell value in other tables.
The TCN framework aggregates context from within the table (rows/columns) and across the web (shared values, positions, and topics).

Training and Evaluation

The model is trained using a multi-task objective to predict types and relations simultaneously. It also utilizes unsupervised pre-training, where the model learns to recover masked cell values by analyzing surrounding context across the inter-table graph.

Datasets

The researchers evaluated TCN on two datasets:

  • $ℬ^m$ (Music Domain): 128,000 tables from semi-structured music sites with high schema consistency.
  • $ℬ^w$ (Wikipedia): 55,000 tables from Wikipedia, representing a more diverse and sparse open-domain environment.

Key Insights and Results

TCN consistently outperformed top-tier baselines such as TURL and TaBERT:

  • Performance Gains: On the music dataset ($ℬ^m$), TCN achieved a 93.8% F1 score for column type prediction and 92.5% F1 for relation prediction, marking a significant relative improvement over existing models.
  • Robustness: TCN maintained its lead even on the less structured Wikipedia dataset ($ℬ^w$), proving that inter-table context remains valuable even without perfect schema alignment.
  • The Power of Schema and Topic: In semi-structured environments, the grid position of a cell is often as informative as its text. By explicitly convolving information across these coordinates and anchoring rows to page topics, TCN gains a massive boost in relational reasoning.

Conclusion and Future Work

TCN demonstrates that treating web tables as an interconnected graph rather than isolated islands of data significantly improves interpretation accuracy. Future work may involve integrating more sophisticated entity linking to handle variations in string values (e.g., "NYC" vs. "New York City") and expanding the model to handle more complex, non-standard table layouts.

Summary updated

BibTeX
@inproceedings{wang2021tcn,
  author = {Daheng Wang and Prashant Shiralkar and Colin Lockard and Binxuan Huang and Xin Luna Dong and Meng Jiang},
  title = {{TCN: Table Convolutional Network for Web Table Interpretation}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3450090},
}
Figure