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

TRACE:在 LLM 中使用对比嵌入的基于 Transformer 的归因

TRACE: TRansformer-based Attribution using Contrastive Embeddings in LLMs

National University of Singapore(新加坡国立大学);Institute of Data Science, National University of Singapore(新加坡国立大学数据科学研究院)

Cheng Wang, Xinyang Lu, See-Kiong Ng, Bryan Kian Hsiang Low

AI总结:

针对 LLM 响应来源归因在 NLP 中缺乏稳健框架的问题,本文提出基于 Transformer 与对比嵌入的 TRACE,并通过多场景实证评估证明其可显著提升来源准确归因能力与模型可信度。

摘要:

大型语言模型(LLM)的快速演进代表了自然语言理解与生成方面的一次重大飞跃。然而,伴随这些进步而来的是与 LLM 响应的问责性和透明度相关的重大挑战。可靠的来源归因对于遵守严格的法律和监管标准至关重要,包括《通用数据保护条例》所规定的标准。尽管计算机视觉领域中的来源归因方法已经相当成熟,但将稳健的归因框架应用于自然语言处理仍未得到充分探索。为弥合这一差距,我们提出了一种新颖且通用的、使用对比嵌入的基于 Transformer 的归因框架,名为 TRACE,该框架特别利用对比学习进行来源归因。我们开展了广泛的实证评估,以证明 TRACE 在多种设置下的性能和效率,并表明 TRACE 显著提升了准确归因来源的能力,使其成为增强 LLM 可靠性和可信度的宝贵工具。

英文摘要:

The rapid evolution of large language models (LLMs) represents a substantial leap forward in natural language understanding and generation. However, alongside these advancements come significant challenges related to the accountability and transparency of LLM responses. Reliable source attribution is essential to adhering to stringent legal and regulatory standards, including those set forth by the General Data Protection Regulation. Despite the well-established methods in source attribution within the computer vision domain, the application of robust attribution frameworks to natural language processing remains underexplored. To bridge this gap, we propose a novel and versatile TRansformer-based Attribution framework using Contrastive Embeddings called TRACE that, in particular, exploits contrastive learning for source attribution. We perform an extensive empirical evaluation to demonstrate the performance and efficiency of TRACE in various settings and show that TRACE significantly improves the ability to attribute sources accurately, making it a valuable tool for enhancing the reliability and trustworthiness of LLMs.

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

↑