arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.07246cs.CLcs.DB
收藏

填补记忆空白:通过SQL语法方差引导的LLM在无真实数据重放下增强持续语义解析

Filling Memory Gaps: Enhancing Continual Semantic Parsing via SQL Syntax Variance-Guided LLMs without Real Data Replay

Xi’an Research Institute of High-Tech(西安高技术研究所);Harbin Institute of Technology(哈尔滨工业大学)

Ruiheng Liu, Jinyu Zhang, Yanqi Song, Yu Zhang, Bailong Yang

AI总结:

针对持续语义解析中现有方法存在的数据隐私问题及对理想设置的依赖,提出LECSP方法,通过SQL语法分析引导LLM重建记忆并校准,结合任务感知双教师蒸馏,在无真实数据重放下实现更优的抗遗忘与泛化效果。

摘要:

持续语义解析(Continual Semantic Parsing, CSP)旨在训练解析器在标注样本有限的情况下跨任务将自然语言问题转换为SQL,以适配数据库动态更新的真实场景。过往研究通过重放历史数据或采用参数高效微调(parameter-efficient tuning, PET)缓解这一挑战,但这类方法往往违反数据隐私,或依赖理想的持续学习设置。为解决这些问题,我们提出一种新型大语言模型(Large Language Model, LLM)增强的持续语义解析方法,命名为LECSP,该方法无需真实数据重放或理想设置,可在缓解遗忘的同时提升泛化能力。具体而言,它首先从SQL语法角度分析任务间的共性与差异,引导LLM重建关键记忆,并通过校准策略提升记忆准确性。随后,它采用任务感知双教师蒸馏框架,在序列训练过程中促进知识的积累与迁移。在两个CSP基准上的实验结果表明,我们的方法显著优于现有方法,甚至优于那些利用数据重放或理想设置的方法。此外,我们取得了超出上限的泛化性能,能更好地适配未见过的任务。

英文摘要:

Continual Semantic Parsing (CSP) aims to train parsers to convert natural language questions into SQL across tasks with limited annotated examples, adapting to the real-world scenario of dynamically updated databases. Previous studies mitigate this challenge by replaying historical data or employing parameter-efficient tuning (PET), but they often violate data privacy or rely on ideal continual learning settings. To address these problems, we propose a new Large Language Model (LLM)-Enhanced Continuous Semantic Parsing method, named LECSP, which alleviates forgetting while encouraging generalization, without requiring real data replay or ideal settings. Specifically, it first analyzes the commonalities and differences between tasks from the SQL syntax perspective to guide LLMs in reconstructing key memories and improving memory accuracy through a calibration strategy. Then, it uses a task-aware dual-teacher distillation framework to promote the accumulation and transfer of knowledge during sequential training. Experimental results on two CSP benchmarks show that our method significantly outperforms existing methods, even those utilizing data replay or ideal settings. Additionally, we achieve generalization performance beyond the upper limits, better adapting to unseen tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑