English

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

Machine Learning 2024-10-15 v2 Artificial Intelligence Computation and Language Information Theory math.IT

Abstract

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.

Keywords

Cite

@article{arxiv.2401.17139,
  title  = {Diff-eRank: A Novel Rank-Based Metric for Evaluating Large Language Models},
  author = {Lai Wei and Zhiquan Tan and Chenghai Li and Jindong Wang and Weiran Huang},
  journal= {arXiv preprint arXiv:2401.17139},
  year   = {2024}
}

Comments

Accepted by NeurIPS 2024

R2 v1 2026-06-28T14:32:00.577Z