arrow
返回

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

delete2024-07-01
delete1
PRE
AI
D
Da Song
X
Xuan Xie
J
Jiayang Song
Z
Zhu, Derui
Y
Yuheng Huang
F
Felix Juefei-Xu
L
Lei Ma *
DOI:10.1109/TSE.2024.3411928delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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, Large Language Models (LLMs) have made rapid advancements that have propelled AI to a new level, enabling and empowering 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, e.g., robustness and hallucination, 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 neural network scale, and autoregressive generation usage contexts, differ from classic AI software based on Convolutional Neural Networks and Recurrent Neural Networks 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 across diverse domains. Towards bridging such a gap, in this paper, we initiate an early exploratory study and propose a universal analysis framework for LLMs, named LUNA, which is designed to be general and extensible and enables 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 and proxy, which is empowered by various abstract model construction methods built-in LUNA. To assess the quality of the abstract model, we collect and define a number of evaluation metrics, aiming at both the 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, e.g., abnormal behavior detection. To better understand the potential usefulness of our analysis framework LUNA, we conduct a large-scale evaluation, the results of which demonstrate that 1) the abstract model has the potential to distinguish normal and abnormal behavior in LLM, 2) LUNA is effective for the real-world analysis of LLMs in practice, and the hyperparameter settings influence the performance, 3) different evaluation metrics are in different correlations with the analysis performance. In order to encourage further studies in the quality assurance of LLMs, we made all of the code and more detailed experimental results data available on the supplementary website of this paper https://sites.google.com/view/llm-luna.
Keyword:
Large language models
deep neural networks
model-based analysis
quality assurance
Large language models
deep neural networks
model-based analysis
quality assurance

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

U
University of Tokyo
学者数:
7.1W
论文数: 6.5W
被引数: 2.2K
N
New York University
学者数:
4.4W
论文数: 3.9W
被引数: 5.8W
U
university of alberta
学者数:
5.1W
论文数: 4.9W
被引数: 65
T
Technical University of Munich
学者数:
5.2W
论文数: 3.9W
被引数: 6.2W
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Intracranial self-stimulation facilitates active-avoidance retention and induces expression of c-Fos and Nurr1 in rat brain memory systems
err2013-08-01
err0
PREAI
errLaura Aldavert-Vera; Gemma Huguet; David Costa-Miserachs; Sandra Pena de Ortiz; Elisabeth Kádár; Ignacio Morgado-Bernal; Pilar Segura-Torres
err分享
err收藏
716 PHASE III STUDY OF INTERMITTENT MAB VS CONTINUOS MAB
err2011-04-01
err0
PREAI
errFernando M. Calais da Silva; Fernando Calais da Silva; Aldo Bono; Peter Whelan; Maurizio Brausi; Anton Queimadelos; Jose Portillo; Ziya Kirkali
err分享
err收藏
Inferences about antennal phenotype: the “Triatoma maculata complex” (Hemiptera: Triatominae) is valid?
err2008-04-01
err0
PREAI
errAna L. Carbajal de la Fuente; François Noireau; Silvia S. Catalá
err分享
err收藏
err分享
err收藏
A unifying view on dataset shift in classification关于分类中数据集移位的统一观点
err2012-01-01
err611
PREAI
errMoreno-Torres, Jose G.; Raeder, Troy; Alaiz-Rodriguez, Rocio; Chawla, Nitesh V.; Herrera, Francisco
err分享
err收藏
学者 查看更多内容