Skip to main content
QUICK REVIEW

[Paper Review] UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models

Tianbao Xie, Chen Wu|arXiv (Cornell University)|Jan 16, 2022
Topic ModelingComputer Science11 citations
TL;DR

This paper introduces UnifiedSKG, a unified framework that standardizes 21 diverse structured knowledge grounding (SKG) tasks—spanning semantic parsing, question answering, and text-to-SQL—into a text-to-text format using T5-based models. By enabling consistent data, model, and evaluation protocols, UnifiedSKG achieves state-of-the-art performance across all tasks with fine-tuned T5 models and demonstrates significant gains through multi-task prefix-tuning, while also revealing limitations of large language models like GPT-3 and Codex in zero-shot and few-shot SKG settings.

ABSTRACT

Structured knowledge grounding (SKG) leverages structured knowledge to complete user requests, such as semantic parsing over databases and question answering over knowledge bases. Since the inputs and outputs of SKG tasks are heterogeneous, they have been studied separately by different communities, which limits systematic and compatible research on SKG. In this paper, we overcome this limitation by proposing the UnifiedSKG framework, which unifies 21 SKG tasks into a text-to-text format, aiming to promote systematic SKG research, instead of being exclusive to a single task, domain, or dataset. We use UnifiedSKG to benchmark T5 with different sizes and show that T5, with simple modifications when necessary, achieves state-of-the-art performance on almost all of the 21 tasks. We further demonstrate that multi-task prefix-tuning improves the performance on most tasks, largely improving the overall performance. UnifiedSKG also facilitates the investigation of zero-shot and few-shot learning, and we show that T0, GPT-3, and Codex struggle in zero-shot and few-shot learning for SKG. We also use UnifiedSKG to conduct a series of controlled experiments on structured knowledge encoding variants across SKG tasks. UnifiedSKG is easily extensible to more tasks, and it is open-sourced at https://github.com/hkunlp/unifiedskg.

Motivation & Objective

  • To address the fragmentation in structured knowledge grounding (SKG) research by unifying heterogeneous tasks across different domains and knowledge sources.
  • To standardize datasets, models, code, experiments, and evaluation metrics for SKG into a single, extensible framework.
  • To evaluate the performance of pre-trained language models (e.g., T5) across diverse SKG tasks using a unified benchmark.
  • To investigate the effectiveness of multi-task learning, particularly prefix-tuning, for improving generalization across SKG tasks.
  • To analyze the robustness of structured knowledge encoding and the zero-shot/few-shot capabilities of large language models on SKG tasks.

Proposed method

  • Transforming 21 heterogeneous SKG tasks into a unified text-to-text format, where inputs are natural language requests and structured knowledge, and outputs are natural language or executable programs.
  • Using T5 models fine-tuned on individual tasks with constrained decoding or reranking to improve output validity and performance.
  • Applying multi-task prefix-tuning to share knowledge across tasks and improve generalization, especially for low-resource tasks.
  • Designing controlled experiments to evaluate the impact of different structured knowledge encoding strategies on model performance.
  • Benchmarking zero-shot and few-shot capabilities using large models like T0, GPT-3, and Codex across the unified SKG tasks.
  • Conducting comprehensive error analysis to identify failure modes and model size dependencies in output generation.

Experimental results

Research questions

  • RQ1Can a unified text-to-text framework effectively standardize diverse structured knowledge grounding tasks across multiple domains and knowledge sources?
  • RQ2To what extent can T5 models achieve state-of-the-art performance across 21 heterogeneous SKG tasks using a single, unified training and evaluation protocol?
  • RQ3Does multi-task prefix-tuning significantly improve performance across SKG tasks compared to single-task fine-tuning or standard multi-task learning?
  • RQ4How do large language models like GPT-3, Codex, and T0 perform in zero-shot and few-shot settings on the unified SKG benchmark?
  • RQ5How sensitive are T5 models to variations in structured knowledge encoding, and what encoding patterns yield the most robust performance across tasks?

Key findings

  • Fine-tuned T5 models achieve state-of-the-art or near-state-of-the-art performance on 20 out of 21 SKG tasks, demonstrating strong generalization across diverse tasks.
  • Performance of T5 improves with model size, with T5-3B outperforming smaller variants on complex tasks like Logic2Text and ToTTo.
  • Multi-task prefix-tuning significantly improves performance on most tasks, especially for T5-base and T5-large, indicating effective knowledge transfer across SKG tasks.
  • T0, GPT-3, and Codex struggle with zero-shot and few-shot learning on SKG tasks, indicating that these models are not robust to the distribution shift inherent in structured knowledge grounding.
  • T5 models show sensitivity to structured knowledge encoding variations, with performance differing across tasks depending on encoding format, highlighting the need for task-specific encoding strategies.
  • Error analysis reveals that even T5-3B can generate invalid outputs, and while larger models reduce error rates, they do not eliminate structural or factual errors entirely.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.