Learn from Yesterday:一种用于监督受限的Text-to-SQL任务流的半监督持续学习方法
Learn from Yesterday: A Semi-Supervised Continual Learning Method for Supervision-Limited Text-to-SQL Task Streams
摘要:
传统的文本到SQL研究仅限于具有固定大小的训练和测试集的单个任务。当面对现实世界中常见的任务流时,现有的方法面临监督数据不足和再训练成本高的问题。前者往往会导致新任务在看不见的数据库上过度拟合,而后者则会使模型对过去任务的实例进行全面审查变得不切实际,从而导致忘记学习的SQL结构和数据库模式。为了解决这些问题,本文提出了将半监督学习(SSL)和持续学习(CL)集成到文本到SQL任务流中,并依次提供了两种有前途的解决方案。Vanilla的第一个解决方案是执行自我训练,用当前任务的预测伪标记实例来增强监督训练数据,同时用情景记忆重放代替全容量再训练,以平衡训练效率与先前任务的性能。改进的解决方案SFNet利用了CL和SSL之间的内在连接。它使用内存中过去的信息来帮助当前的SSL,同时在内存中添加高质量的伪实例来改善未来的重放。在两个数据集上的实验表明,SFNet在多个指标上优于广泛使用的仅SSL和仅CL基线。
英文摘要:
Conventional text-to-SQL studies are limited to a single task with a fixed-size training and test set. When confronted with a stream of tasks common in real-world applications, existing methods struggle with the problems of insufficient supervised data and high retraining costs. The former tends to cause overfitting on unseen databases for the new task, while the latter makes a full review of instances from past tasks impractical for the model, resulting in forgetting of learned SQL structures and database schemas. To address the problems, this paper proposes integrating semi-supervised learning (SSL) and continual learning (CL) in a stream of text-to-SQL tasks and offers two promising solutions in turn. The first solution Vanilla is to perform self-training, augmenting the supervised training data with predicted pseudo-labeled instances of the current task, while replacing the full volume retraining with episodic memory replay to balance the training efficiency with the performance of previous tasks. The improved solution SFNet takes advantage of the intrinsic connection between CL and SSL. It uses in-memory past information to help current SSL, while adding high-quality pseudo instances in memory to improve future replay. The experiments on two datasets shows that SFNet outperforms the widely-used SSL-only and CL-only baselines on multiple metrics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。