[Paper Review] Parameterizing Context: Unleashing the Power of Parameter-Efficient Fine-Tuning and In-Context Tuning for Continual Table Semantic Parsing
This work integrates parameter-efficient fine-tuning (PEFT) with in-context tuning (ICT) in a teacher-student framework (C3) to train continual table semantic parsers, achieving state-of-the-art results without storing past demonstrations. It freezes the backbone, tunes prompts, and compresses contextual demonstrations into prompts.
Continual table semantic parsing aims to train a parser on a sequence of tasks, where each task requires the parser to translate natural language into SQL based on task-specific tables but only offers limited training examples. Conventional methods tend to suffer from overfitting with limited supervision, as well as catastrophic forgetting due to parameter updates. Despite recent advancements that partially alleviate these issues through semi-supervised data augmentation and retention of a few past examples, the performance is still limited by the volume of unsupervised data and stored examples. To overcome these challenges, this paper introduces a novel method integrating extit{parameter-efficient fine-tuning} (PEFT) and extit{in-context tuning} (ICT) for training a continual table semantic parser. Initially, we present a task-adaptive PEFT framework capable of fully circumventing catastrophic forgetting, which is achieved by freezing the pre-trained model backbone and fine-tuning small-scale prompts. Building on this, we propose a teacher-student framework-based solution. The teacher addresses the few-shot problem using ICT, which procures contextual information by demonstrating a few training examples. In turn, the student leverages the proposed PEFT framework to learn from the teacher's output distribution, and subsequently compresses and saves the contextual information to the prompts, eliminating the need to store any training examples. Experimental evaluations on two benchmarks affirm the superiority of our method over prevalent few-shot and continual learning baselines across various metrics.
Motivation & Objective
- Motivate continual table semantic parsing where tables evolve across tasks and data is scarce.
- Develop a task-adaptive PEFT framework that completely mitigates catastrophic forgetting by only tuning a small prompt set.
- Introduce a teacher-student C3 architecture that uses ICT to provide context and PEFT to retain it without storing past examples.
- Demonstrate that C3 surpasses baselines on two benchmark task streams and identify key factors influencing performance (prompt size, demonstrations, and task adaptation).
- Show that the approach is effective with different backbone models and even with GPT-family LLMs as the teacher.
Proposed method
- Use T5 as the backbone semantic parser and flatten inputs including table schemas and questions.
- Apply task-adaptive continual prompt tuning by freezing the backbone and tuning prompt embeddings for each task (M=150 prompts, d=512).
- Fine-tune the initial task to initialize θ and P^0, then reuse a common initialization P* for subsequent tasks and optimize each P^i independently.
- Introduce a two-parser C3: a Context-Enhanced Teacher trained with ICT (demonstration retrieval via semantic similarity and context mixing) and a Context-Compressed Student that learns to reproduce the Teacher’s output distribution via KL divergence and teacher-forcing.
- Retrieval of demonstrations uses STS-B based similarity with a threshold η and selects top-r demonstrations; the Teacher formats inputs as demonstrations plus X′, while the Student preserves knowledge via prompt compression without past examples.
- Evaluate with two task streams (Spider-Stream and Combined-Stream) on TA, EA, and MD metrics across random task orders.
Experimental results
Research questions
- RQ1Can PEFT with prompt tuning prevent catastrophic forgetting in continual TSP while maintaining strong few-shot performance?
- RQ2Does integrating ICT via a Teacher with a PEFT-based Student yield better continual learning performance than baselines that rely on replay or fine-tuning?
- RQ3To what extent do prompt length, backbone size, and demonstration strategies impact performance and forgetting in continual TSP?
- RQ4Is the approach robust to different backbone models and even to large language models serving as the Teacher?
- RQ5Can the method operate without storing past demonstrations while retaining few-shot capabilities?
Key findings
- C3 with T5-large achieves the best overall performance across Spider-Stream and Combined-Stream, improving task- and example-level metrics over baselines.
- PEFT alone can outperform many continual learning baselines and completely avert forgetting by tuning only 0.05% of the backbone parameters.
- C3 provides additional gains (roughly 4.9–5.1 percentage points in TA) and surpasses baselines, approaching Multi-Task upper bounds on the Combined-Stream.
- Ablation shows the Teacher (ICT) and the Student (PEFT prompt compression) components are both important; removing either degrades TA/EA, and removing ICT notably reduces gains on complex tasks.
- When using GPT-like LLMs as Teacher, the method remains competitive, indicating architecture-size flexibility beyond encoder-decoder models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.