arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.17187cs.CLcs.AIcs.LG
收藏

可视化翻译任务中的不确定性:LLM性能与置信度指标的评估

Visualizing Uncertainty in Translation Tasks: An Evaluation of LLM Performance and Confidence Metrics

Jin Hyun Park, Utsawb Laminchhane, Umer Farooq, Uma Sivakumar, Arpan Kumar

AI总结:

本研究针对LLM翻译不确定性,提出三种UQ指标并开发网页可视化工具,通过T5模型和WMT19数据集验证,发现与传统指标线性相关,增强了翻译系统的可解释性。

摘要:

大型语言模型(LLMs)越来越多地被用于机器翻译,但其预测常常表现出不确定性,这阻碍了可解释性和用户信任。有效可视化这些不确定性可以增强LLM输出的可用性,特别是在翻译准确性至关重要的场景中。本文解决两个主要目标:(1)为用户提供关于模型置信度的词元级洞察;(2)开发一个基于网页的可视化工具来量化和表示翻译不确定性。为实现这些目标,我们使用T5模型和WMT19数据集进行翻译任务,并采用BLEU、METEOR和ROUGE等既定指标评估翻译质量。我们引入了三种新颖的不确定性量化(UQ)指标:(1)词元概率的几何平均值,(2)词元概率的算术平均值,以及(3)词元分布峰度的算术平均值。这些指标为评估翻译性能提供了一个简单而有效的框架。我们的分析揭示了传统评估指标与我们的UQ指标之间存在线性关系,证明了我们方法的有效性。此外,我们开发了一个交互式基于网页的可视化工具,使用颜色渐变来表示词元置信度。该工具为用户提供了对翻译质量的清晰直观理解,同时提供了对模型性能的宝贵洞察。总体而言,我们表明我们的UQ指标和可视化既稳健又可解释,为评估和访问机器翻译系统提供了实用工具。

英文摘要:

Large language models (LLMs) are increasingly utilized for machine translation, yet their predictions often exhibit uncertainties that hinder interpretability and user trust. Effectively visualizing these uncertainties can enhance the usability of LLM outputs, particularly in contexts where translation accuracy is critical. This paper addresses two primary objectives: (1) providing users with token-level insights into model confidence and (2) developing a web-based visualization tool to quantify and represent translation uncertainties. To achieve these goals, we utilized the T5 model with the WMT19 dataset for translation tasks and evaluated translation quality using established metrics such as BLEU, METEOR, and ROUGE. We introduced three novel uncertainty quantification (UQ) metrics: (1) the geometric mean of token probabilities, (2) the arithmetic mean of token probabilities, and (3) the arithmetic mean of the kurtosis of token distributions. These metrics provide a simple yet effective framework for evaluating translation performance. Our analysis revealed a linear relationship between the traditional evaluation metrics and our UQ metrics, demonstrating the validity of our approach. Additionally, we developed an interactive web-based visualization that uses a color gradient to represent token confidence. This tool offers users a clear and intuitive understanding of translation quality while providing valuable insights into model performance. Overall, we show that our UQ metrics and visualization are both robust and interpretable, offering practical tools for evaluating and accessing machine translation systems.

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

↑