[论文解读] Parameterizing Context: Unleashing the Power of Parameter-Efficient Fine-Tuning and In-Context Tuning for Continual Table Semantic Parsing
本工作将参数高效微调(PEFT)与上下文内调优(ICT)结合在教师-学生框架(C3)中,用于训练持续表格语义解析器,在不存储过去示例的情况下达到最先进的结果。它冻结主干网络,微调提示,且将上下文演示压缩为提示。
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.
研究动机与目标
- 在任务之间表格不断演变且数据稀缺的情景下,激发持续的表格语义解析。
- 开发一个任务自适应的 PEFT 框架,仅通过微调一小组提示就完全缓解灾难性遗忘。
- 引入一个教师-学生 C3 架构,使用 ICT 提供上下文并通过 PEFT 保留上下文,而不存储过去的示例。
- 证明 C3 在两个基准任务流上超过基线,并识别影响性能的关键因素(提示大小、演示和任务自适应)。
- 表明该方法在不同的主干模型上有效,甚至在将 GPT 系列大型语言模型作为教师时也有效。
提出的方法
- 以 T5 作为主干语义解析器,并将输入展平,包括表格模式和问题。
- 通过冻结主干并针对每个任务微调提示嵌入来应用任务自适应的持续提示微调(M=150 提示,d=512)。
- 对初始任务进行微调以初始化 θ 和 P^0,然后对后续任务复用一个通用初始化 P*,并独立优化每个 P^i。
- 引入一个双解析器 C3:一个通过 ICT 训练的上下文增强教师(通过语义相似度的演示检索和上下文混合)以及一个上下文压缩学生,通过 KL 散度和教师强制学习再现教师的输出分布。
- 演示检索使用基于 STS-B 的相似度,带阈值 η,选择前 r 个演示;教师将输入格式化为演示加上 X′,而学生通过提示压缩在不使用过去示例的情况下保持知识。
- 在两个任务流(Spider-Stream 和 Combined-Stream)上,以随机任务顺序在 TA、EA 和 MD 指标上进行评估。
实验结果
研究问题
- RQ1在持续表格语义解析任务中,使用带提示的 PEFT 能否防止灾难性遗忘,同时保持强劲的少样本性能?
- RQ2通过教师集成 ICT 与基于 PEFT 的学生相比,采用回放或微调的基线能否获得更好的持续学习性能?
- RQ3提示长度、主干大小和演示策略在多大程度上影响持续 TSP 的性能与遗忘?
- RQ4该方法对不同的主干模型甚至充当教师的大型语言模型是否健壮?
- RQ5该方法是否能够在不存储过去演示的情况下仍保持少样本能力?
主要发现
- C3 搭配 T5-large 在 Spider-Stream 和 Combined-Stream 上实现最佳综合性能,提升任务级和示例级指标超过基线。
- 单独的 PEFT 可以胜过许多持续学习基线,并通过仅对主干参数的 0.05% 进行微调完全避免遗忘。
- C3 额外带来提升(TA 约 4.9–5.1 个百分点),并超越基线,在 Combined-Stream 接近多任务上界。
- 消融研究显示教师(ICT)和学生(PEFT 提示压缩)两部分都很重要;移除任一都会降低 TA/EA,移除 ICT 在复杂任务上尤显下降。
- 当使用类似 GPT 的大语言模型作为教师时,该方法仍具竞争力,表明架构尺寸的灵活性超越编码器-解码器模型。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。