arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.08971cs.CL
收藏

结构语言生成模型:损失校准与格式解码以实现稳健的结构预测与知识检索

Structured Language Generation Model: Loss Calibration and Formatted Decoding for Robust Structure Prediction and Knowledge Retrieval

KT Gen AI Lab(KT生成人工智能实验室);Georgetown University(乔治城大学);Korea University(韩国大学);NC AI(NC人工智能)

Minho Lee, Junghyun Min, Yerang Kim, Woochul Lee, Yeonsoo Lee

AI总结:

SLGM通过损失校准和格式解码提升结构预测和知识检索性能,无需额外参数或数据集特定工程。

摘要:

现代生成性预训练语言模型在开放性文本生成方面表现出色,但在结构相关任务如命名实体识别、关系抽取和语义角色标注方面仍显不足,尤其是在与类似规模的编码器-only模型相比时。虽然这一差距已被归因于结构知识的有限性,我们假设这同样是因为模型内部对语言结构的表示与监督微调过程中使用的输出空间之间缺乏联系。我们提出了结构语言生成模型(SLGM),一个模型和任务通用的框架,通过三个组件将结构预测重新表述为分类问题:(1)强化输入格式并加入结构提示,(2)损失设计,以及(3)格式感知解码,将生成限制在任务有效的输出上。在5个任务和13个数据集上,SLGM显著提高了结构预测,无需依赖数据集特定的工程或额外的模型参数,加强了模型内部结构表示与输出之间的对齐。它在相同规模的基线微调模型上表现更优,与使用<1B参数模型时表现相当,且在低资源环境下作为零权重适配器,再现了数据集特定微调的优势。

英文摘要:

Modern generative pre-trained language models excel at open-ended text generation, yet continue to underperform on structure-related tasks such as NER, relation extraction, and semantic role labeling, especially when compared to encoder-only models of similar sizes. While this gap has been attributed to limited structure knowledge, we hypothesize this is also due to the missing connection between the model's internal representations of linguistic structure and the output space used during supervised fine-tuning. We propose the Structured Language Generation Model (SLGM), a model- and task-agnostic framework that reformulates structured prediction as a classification problem through three components: (1) reinforced input formatting with structural cues, (2) loss design, and (3) format-aware decoding that constrains generation to task-valid outputs. Across 5 tasks and 13 datasets, SLGM substantially improves structure prediction without relying on dataset-specific engineering or additional model parameters, strengthening alignment between the model's internal structure representation and output. It outperforms baseline fine-tuning on models of the same size, achieves comparable performance to much larger models when used with <1B parameter models, and acts as a zero-weight adapter that reproduces the benefits of dataset-specific fine-tuning in low-resource settings.

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

↑