arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14211cs.LGcs.AIcs.CLcs.CRcs.SE
收藏

LUNA:一种面向大语言模型的基于模型的通用分析框架

LUNA: A Model-Based Universal Analysis Framework for Large Language Models

University of Alberta(阿尔伯塔大学);Technical University of Munich(慕尼黑工业大学);New York University(纽约大学);The University of Tokyo(东京大学)

Da Song, Xuan Xie, Jiayang Song, Derui Zhu, Yuheng Huang, Felix Juefei-Xu, Lei Ma

AI总结:

针对LLM可信性质量缺乏通用系统分析技术的问题,本文提出可扩展、可解释的基于模型框架LUNA,通过构建并语义化抽象模型及双层指标支持多视角分析。

摘要:

在过去十年中,人工智能(AI)取得了巨大成功,并被广泛应用于一系列学术和工业领域。近来,LLM取得了快速进展,将AI推向新的高度,使更多样化的应用和工业领域具备智能,尤其是在软件工程和自然语言处理等领域。然而,LLM中显现出的许多新兴可信性担忧和问题近来已受到广泛关注;若不能妥善解决,LLM在实践中的广泛采用可能受到严重阻碍。LLM的独特特征,例如自注意力机制、极大的模型规模以及自回归生成模式,不同于基于CNN和RNN的经典AI软件,并给质量分析带来了新的挑战。迄今为止,尽管工业需求迫切,仍缺乏面向LLM的通用且系统化的分析技术。为弥合这一差距,我们发起了一项早期探索性研究,并提出了一个面向LLM的通用分析框架LUNA;该框架被设计为通用且可扩展的,旨在以人类可解释的方式,从多个质量视角对LLM进行多用途分析。具体而言,我们首先利用来自所需可信性视角的数据构建抽象模型,将其作为辅助分析资产,并由多种抽象模型构建方法提供支持。为评估抽象模型的质量,我们收集并定义了若干评估指标,同时面向抽象模型层面和语义层面。随后,语义(即LLM相对于可信性视角的满足程度)被绑定到抽象模型,并以语义丰富该模型,从而支持面向不同目的、更加细致的分析应用。

英文摘要:

Over the past decade, Artificial Intelligence (AI) has had great success recently and is being used in a wide range of academic and industrial fields. More recently, LLMs have made rapid advancements that have propelled AI to a new level, enabling even more diverse applications and industrial domains with intelligence, particularly in areas like software engineering and natural language processing. Nevertheless, a number of emerging trustworthiness concerns and issues exhibited in LLMs have already recently received much attention, without properly solving which the widespread adoption of LLMs could be greatly hindered in practice. The distinctive characteristics of LLMs, such as the self-attention mechanism, extremely large model scale, and autoregressive generation schema, differ from classic AI software based on CNNs and RNNs and present new challenges for quality analysis. Up to the present, it still lacks universal and systematic analysis techniques for LLMs despite the urgent industrial demand. Towards bridging this gap, we initiate an early exploratory study and propose a universal analysis framework for LLMs, LUNA, designed to be general and extensible, to enable versatile analysis of LLMs from multiple quality perspectives in a human-interpretable manner. In particular, we first leverage the data from desired trustworthiness perspectives to construct an abstract model as an auxiliary analysis asset, which is empowered by various abstract model construction methods. To assess the quality of the abstract model, we collect and define a number of evaluation metrics, aiming at both abstract model level and the semantics level. Then, the semantics, which is the degree of satisfaction of the LLM w.r.t. the trustworthiness perspective, is bound to and enriches the abstract model with semantics, which enables more detailed analysis applications for diverse purposes.

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

↑