Diff-eRank: A Novel Rank-Based Metric for Evaluating Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wei, Lai, Tan, Zhiquan, Li, Chenghai, Wang, Jindong, Huang, Weiran
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912070679658496
author Wei, Lai
Tan, Zhiquan
Li, Chenghai
Wang, Jindong
Huang, Weiran
author_facet Wei, Lai
Tan, Zhiquan
Li, Chenghai
Wang, Jindong
Huang, Weiran
contents Large Language Models (LLMs) have transformed natural language processing and extended their powerful capabilities to multi-modal domains. As LLMs continue to advance, it is crucial to develop diverse and appropriate metrics for their evaluation. In this paper, we introduce a novel rank-based metric, Diff-eRank, grounded in information theory and geometry principles. Diff-eRank assesses LLMs by analyzing their hidden representations, providing a quantitative measure of how efficiently they eliminate redundant information during training. We demonstrate the applicability of Diff-eRank in both single-modal (e.g., language) and multi-modal settings. For language models, our results show that Diff-eRank increases with model size and correlates well with conventional metrics such as loss and accuracy. In the multi-modal context, we propose an alignment evaluation method based on the eRank, and verify that contemporary multi-modal LLMs exhibit strong alignment performance based on our method. Our code is publicly available at https://github.com/waltonfuture/Diff-eRank.
format Preprint
id arxiv_https___arxiv_org_abs_2401_17139
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Diff-eRank: A Novel Rank-Based Metric for Evaluating Large Language Models
Wei, Lai
Tan, Zhiquan
Li, Chenghai
Wang, Jindong
Huang, Weiran
Machine Learning
Artificial Intelligence
Computation and Language
Information Theory
Large Language Models (LLMs) have transformed natural language processing and extended their powerful capabilities to multi-modal domains. As LLMs continue to advance, it is crucial to develop diverse and appropriate metrics for their evaluation. In this paper, we introduce a novel rank-based metric, Diff-eRank, grounded in information theory and geometry principles. Diff-eRank assesses LLMs by analyzing their hidden representations, providing a quantitative measure of how efficiently they eliminate redundant information during training. We demonstrate the applicability of Diff-eRank in both single-modal (e.g., language) and multi-modal settings. For language models, our results show that Diff-eRank increases with model size and correlates well with conventional metrics such as loss and accuracy. In the multi-modal context, we propose an alignment evaluation method based on the eRank, and verify that contemporary multi-modal LLMs exhibit strong alignment performance based on our method. Our code is publicly available at https://github.com/waltonfuture/Diff-eRank.
title Diff-eRank: A Novel Rank-Based Metric for Evaluating Large Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
Information Theory
url https://arxiv.org/abs/2401.17139