arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03212cs.CVcs.AI

LLM2Loss:利用语言模型实现可解释的模型诊断

LLM2Loss: Leveraging Language Models for Explainable Model Diagnostics

Netflix(奈飞)

Shervin Ardeshir

AI总结:

提出LLM2Loss方法,利用CLIP等跨模态基础模型提取语义表示,训练轻量级诊断模型映射数据点到任务损失,从而识别黑盒模型的失败模式与偏差。

摘要:

通过在大量数据上进行训练,大型语言模型(LLMs)在抽象空间中对相当复杂的文本输入进行建模方面取得了前所未有的成功和泛化能力,使其成为零样本学习的强大工具。这种能力通过诸如 CLIP 等跨模态基础模型被扩展到视觉域等其他模态,从而可以从视觉输入中提取具有语义意义的表示。在本研究中,我们利用这一能力并提出了一种方法,能够为模型的失败模式和偏差提供语义层面的洞察。给定一个黑盒模型、其训练数据和任务定义,我们首先计算每个数据点与任务相关的损失。然后,我们为每个训练数据点提取具有语义意义的表示(例如从其视觉编码器提取的 CLIP 嵌入),并训练一个轻量级诊断模型,将数据点的这种语义表示映射到其任务损失上。我们证明,此类轻量级模型的集成可用于生成关于黑盒模型性能的洞察,从而识别其失败模式和偏差。

英文摘要:

Trained on a vast amount of data, Large Language models (LLMs) have achieved unprecedented success and generalization in modeling fairly complex textual inputs in the abstract space, making them powerful tools for zero-shot learning. Such capability is extended to other modalities such as the visual domain using cross-modal foundation models such as CLIP, and as a result, semantically meaningful representation are extractable from visual inputs. In this work, we leverage this capability and propose an approach that can provide semantic insights into a model's patterns of failures and biases. Given a black box model, its training data, and task definition, we first calculate its task-related loss for each data point. We then extract a semantically meaningful representation for each training data point (such as CLIP embeddings from its visual encoder) and train a lightweight diagnosis model which maps this semantically meaningful representation of a data point to its task loss. We show that an ensemble of such lightweight models can be used to generate insights on the performance of the black-box model, in terms of identifying its patterns of failures and biases.

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

↑