Magical:通过语义不变性和面向外行的定制化适配实现医学通俗语言生成
Magical: Medical Lay Language Generation via Semantic Invariance and Layperson-tailored Adaptation
AI总结:
本文提出Magical,一种非对称LoRA架构,通过共享矩阵A和独立矩阵B及语义不变性约束,解决医学通俗语言生成中语义保真和风格多样性问题,性能优于现有方法并减少31.66%参数。
摘要:
医学通俗语言生成(MLLG)在提高复杂科学内容对更广泛受众的可及性方面发挥着至关重要的作用。近期关于MLLG的文献通常采用参数高效微调方法,如低秩适配(LoRA),使用配对的专家-外行语言数据集对大型语言模型(LLMs)进行微调。然而,LoRA难以应对多源异构MLLG数据集带来的挑战。具体而言,通过一系列探索性实验,我们发现标准LoRA无法满足MLLG任务中对语义保真度和多样化外行风格生成的要求。为解决这些局限性,我们提出了Magical,一种专为异构数据场景下的MLLG设计的非对称LoRA架构。Magical采用共享矩阵$A$进行抽象摘要,并使用多个独立的矩阵$B$进行多样化的外行风格生成。为了在外行语言生成过程中保持语义保真度,Magical引入了语义不变性约束,以减轻矩阵$A$上的语义子空间偏移。此外,为了更好地适应多样化的外行风格生成,Magical整合了推荐引导开关,这是一个外部接口,用于提示LLM在不同矩阵$B$之间切换。在三个真实世界的外行语言生成数据集上的实验结果表明,Magical在性能上始终优于基于提示的方法、vanilla LoRA及其近期变体,同时可训练参数减少了31.66%。我们的代码公开于https://github.com/tianlwang/Magical.git。
英文摘要:
Medical Lay Language Generation (MLLG) plays a vital role in improving the accessibility of complex scientific content for broader audiences. Recent literature to MLLG commonly employ parameter-efficient fine-tuning methods such as Low-Rank Adaptation (LoRA) to fine-tuning large language models (LLMs) using paired expert-lay language datasets. However, LoRA struggles with the challenges posed by multi-source heterogeneous MLLG datasets. Specifically, through a series of exploratory experiments, we reveal that standard LoRA fail to meet the requirement for semantic fidelity and diverse lay-style generation in MLLG task. To address these limitations, we propose Magical, an asymmetric LoRA architecture tailored for MLLG under heterogeneous data scenarios. Magical employs a shared matrix $A$ for abstractive summarization, along with multiple isolated matrices $B$ for diverse lay-style generation. To preserve semantic fidelity during the lay language generation process, Magical introduces a Semantic Invariance Constraint to mitigate semantic subspace shifts on matrix $A$. Furthermore, to better adapt to diverse lay-style generation, Magical incorporates the Recommendation-guided Switch, an externally interface to prompt the LLM to switch between different matrices $B$. Experimental results on three real-world lay language generation datasets demonstrate that Magical consistently outperforms prompt-based methods, vanilla LoRA, and its recent variants, while also reducing trainable parameters by 31.66%. Our code is publicly available at https://github.com/tianlwang/Magical.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。