LLM2Loss: Leveraging Language Models for Explainable Model Diagnostics

Shervin Ardeshir
5/4/2023
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ardeshir2023llmloss,
  title  = {LLM2Loss: Leveraging Language Models for Explainable Model Diagnostics},
  author = {Shervin Ardeshir},
  year   = {2023},
  eprint = {2305.03212},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.03212v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.03212.svg)](https://codeofpaper.com/paper/2305.03212)

Discussion