atlas

Research map / Large language models / Language, safety and interpretability

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

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Diff-eRank, a rank-based intrinsic metric that measures how much effective rank of LLM hidden representations drops from an untrained to a trained model, and an eRank-based modality alignment score for multimodal LLMs.

Problem

Existing LLM evaluation metrics (loss, accuracy) are prediction-based; there is no intrinsic, representation-based metric that captures how well a pretrained LLM removes redundant information (noise reduction), nor a way to assess modality alignment in multimodal LLMs.

Approach

Measure the effective rank (exponentiated matrix entropy) of the covariance of normalized token representations, and define Diff-eRank as the reduction of this eRank between an untrained and a trained model; for MLLMs, compare eRanks across vision encoder, connector and LLM stages to define image reduction ratio and image-text alignment scores.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Scale OPT model size from 125M to 13BOPT · dolly-15k, Wikipedia, openwebtext2, and hh-rlhfDiff-eRank: dolly-15k: 54.35 -> 89.81; Wikipedia: 83.55 -> 162.88; openwebtext2: 103.23 -> 262.70; hh-rlhf: 53.02 -> 93.30Helped
Scale OPT model size from 125M to 13BOPT · piqaaccuracy: 0.619 -> 0.767Helped
Scale OPT model size from 125M to 13BOPT · openbookqaDiff-eRank: 1.410 -> 3.032Helped
Scale OPT model size from 125M to 13BOPT · openbookqaaccuracy: 0.276 -> 0.366Mixed
Use average effective rank across dataset examples (Algorithm b) instead of average matrix entropy (Algorithm a) (ablation)Diff-eRank on OPT · dolly-15kDiff-eRank trend across model sizes: Algorithm (b): 66.81, 103.78, 114.60, 128.99, 131.42; Algorithm (a): 54.35, 76.39, 83.02, 89.60, 89.81No clear effect
Measure Diff-eRank at first or middle layers instead of the last layer (ablation)OPT · dolly-15kDiff-eRank trend across model sizesHurt
Change Wikipedia sample size from 10000 to 5000 or 1000 (ablation)OPT-1.3B Diff-eRank · WikipediaDiff-eRank: 136.20, 132.39, 136.14; standard deviation 1.782No clear effect
Rotate images clockwise (ablation)LLaVA-1.5 and MiniGPT-v2 · detail_23k and cc_sbu_alignImage-Text AlignmentHurt
Continue training OPT-1.3B from fully trained to overfittingOPT-1.3B · cleaned WikipediaDiff-eRank: 2.161 -> 2.156Hurt
Continue training OPT-1.3B from fully trained to overfittingOPT-1.3B · cleaned WikipediaAccuracy: 0.340 -> 0.336Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia openwebtext2 dolly-15k hh-rlhf openbookqa piqa winogrande detail_23k cc_sbu_align

Benchmarks: openbookqa piqa winogrande

Metrics: Diff-eRank reduced cross-entropy loss accuracy Image Reduction Ratio Image-Text Alignment

Baselines: cross-entropy loss (reduced loss) benchmark accuracy

Builds on: effective rank (Roy & Vetterli) matrix entropy compute-optimal scaling

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy