lora-land-eval
LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Report — Justin Zhao et al. (2024) (arXiv:2405.00732, 2024)
What this evaluates
This evaluation probes the effectiveness of LoRA fine-tuning across 31 diverse NLP tasks by comparing base LLMs against their fine-tuned counterparts and proprietary models like GPT-4. It measures how much performance lift fine-tuning provides and whether smaller open-weight models can surpass larger closed-source models after adaptation.
Datasets
- magicoder — total ?; splits: test (-1)
- mmlu — total ?; splits: test (-1)
- glue_wnli — total ?; splits: test (-1)
- arc_combined — total ?; splits: test (-1)
- wikisql — total ?; splits: test (-1)
- boolq — total ?; splits: test (-1)
- customer_support — total ?; splits: test (-1)
- glue_cola — total ?; splits: test (-1)
- winogrande — total ?; splits: test (-1)
- glue_sst2 — total ?; splits: test (-1)
- dbpedia — total ?; splits: test (-1)
- hellaswag — total ?; splits: test (-1)
- glue_qnli — total ?; splits: test (-1)
- e2e_nlg — total ?; splits: test (-1)
- glue_qqp — total ?; splits: test (-1)
- bc5cdr — total ?; splits: test (-1)
- glue_mnli — total ?; splits: test (-1)
- webnlg — total ?; splits: test (-1)
- tldr_content_gen — total ?; splits: test (-1)
- glue_mrpc — total ?; splits: test (-1)
- jigsaw — total ?; splits: test (-1)
- hellaswag_processed — total ?; splits: test (-1)
- viggo — total ?; splits: test (-1)
- glue_stsb — total ?; splits: test (-1)
- gsm8k — total ?; splits: test (-1)
- conllpp — total ?; splits: test (-1)
- tldr_headline_gen — total ?; splits: test (-1)
- drop — total ?; splits: test (-1)
- legal — total ?; splits: test (-1)
- reuters — total ?; splits: test (-1)
Metrics
accuracy (primary) — range: [0, 1]
- Proportion of correct predictions out of total instances. Calculated as (number of correct predictions) / (total number of predictions).
rouge — range: [0, 1]
- ROUGE-N metric (typically ROUGE-L or ROUGE-1/2) measuring overlap between generated text and reference text using recall/precision/F1 of n-grams or longest common subsequence.
mae — range: [0, inf)
- Mean Absolute Error measuring the average absolute difference between predicted and actual continuous values.
Input / output format
Input: Task-specific prompts or instructions corresponding to each of the 31 NLP benchmarks (e.g., multiple-choice questions, text generation prompts, classification instructions).
Output: Task-specific model outputs (e.g., selected option, generated text, regression value) evaluated against ground-truth references using the task-appropriate metric.
Scoring recipe
def compute_metric(predictions, golds, metric_type):
if metric_type == 'accuracy':
return sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)
elif metric_type == 'rouge':
return rouge_score(golds, predictions, rouge_types=['rouge1', 'rouge2', 'rougeL'])
elif metric_type == 'mae':
return mean_absolute_error(golds, predictions)
Common pitfalls
- Confusing base model scores with fine-tuned model scores when calculating performance lift.
- Assuming a single evaluation metric applies across all 31 tasks; the benchmark uses accuracy, ROUGE, and MAE depending on the task type.
- Overlooking reported implementation bugs in specific model families (e.g., Gemma) that caused fine-tuning to underperform base models, skewing average lift calculations.
Evidence (verbatim from paper)
mmlu | accuracy | 0.506 | 0.589 | 0.774 | 0.083 | -0.185
glue_wnli | accuracy | 0.437 | 0.873 | 0.93 | 0.436 | -0.057
arc_combined | accuracy | 0.673 | 0.915 | 0.947 | 0.242 | -0.032
wikisql | rouge | 0.301 | 0.898 | 0.909 | 0.597 | -0.011
Citation
@misc{zhao2024loraland,
title={LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Report},
author={Justin Zhao et al. (2024)},
year={2024},
note={arXiv:2405.00732}
}
1---2name: lora-land-eval3description: This evaluation probes the effectiveness of LoRA fine-tuning across 31 diverse NLP tasks by comparing base LLMs against their fine-tuned counterparts and proprietary models like GPT-4. It measures how much performance lift fine-tuning provides and whether smaller open-weight models can surpass larger closed-source models after adaptation. Use when the user wants to benchmark on magicoder, mmlu, glue_wnli, arc_combined, wikisql, boolq, customer_support, glue_cola, winogrande, glue_sst2, dbpedia, hellaswag, glue_qnli, e2e_nlg, glue_qqp, bc5cdr, glue_mnli, webnlg, tldr_content_gen, glue_mrpc, jigsaw, hellaswag_processed, viggo, glue_stsb, gsm8k, conllpp, tldr_headline_gen, drop, legal, reuters, or asks about evaluating this task. Reports accuracy.4---56# lora-land-eval78> LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Report — Justin Zhao et al. (2024) (arXiv:2405.00732, 2024)910## What this evaluates1112This evaluation probes the effectiveness of LoRA fine-tuning across 31 diverse NLP tasks by comparing base LLMs against their fine-tuned counterparts and proprietary models like GPT-4. It measures how much performance lift fine-tuning provides and whether smaller open-weight models can surpass larger closed-source models after adaptation.1314## Datasets1516- **magicoder** — total ?; splits: test (-1)17- **mmlu** — total ?; splits: test (-1)18- **glue_wnli** — total ?; splits: test (-1)19- **arc_combined** — total ?; splits: test (-1)20- **wikisql** — total ?; splits: test (-1)21- **boolq** — total ?; splits: test (-1)22- **customer_support** — total ?; splits: test (-1)23- **glue_cola** — total ?; splits: test (-1)24- **winogrande** — total ?; splits: test (-1)25- **glue_sst2** — total ?; splits: test (-1)26- **dbpedia** — total ?; splits: test (-1)27- **hellaswag** — total ?; splits: test (-1)28- **glue_qnli** — total ?; splits: test (-1)29- **e2e_nlg** — total ?; splits: test (-1)30- **glue_qqp** — total ?; splits: test (-1)31- **bc5cdr** — total ?; splits: test (-1)32- **glue_mnli** — total ?; splits: test (-1)33- **webnlg** — total ?; splits: test (-1)34- **tldr_content_gen** — total ?; splits: test (-1)35- **glue_mrpc** — total ?; splits: test (-1)36- **jigsaw** — total ?; splits: test (-1)37- **hellaswag_processed** — total ?; splits: test (-1)38- **viggo** — total ?; splits: test (-1)39- **glue_stsb** — total ?; splits: test (-1)40- **gsm8k** — total ?; splits: test (-1)41- **conllpp** — total ?; splits: test (-1)42- **tldr_headline_gen** — total ?; splits: test (-1)43- **drop** — total ?; splits: test (-1)44- **legal** — total ?; splits: test (-1)45- **reuters** — total ?; splits: test (-1)4647## Metrics4849- `accuracy` **(primary)** — range: [0, 1]50 - Proportion of correct predictions out of total instances. Calculated as (number of correct predictions) / (total number of predictions).51- `rouge` — range: [0, 1]52 - ROUGE-N metric (typically ROUGE-L or ROUGE-1/2) measuring overlap between generated text and reference text using recall/precision/F1 of n-grams or longest common subsequence.53- `mae` — range: [0, inf)54 - Mean Absolute Error measuring the average absolute difference between predicted and actual continuous values.5556## Input / output format5758**Input**: Task-specific prompts or instructions corresponding to each of the 31 NLP benchmarks (e.g., multiple-choice questions, text generation prompts, classification instructions).5960**Output**: Task-specific model outputs (e.g., selected option, generated text, regression value) evaluated against ground-truth references using the task-appropriate metric.6162## Scoring recipe6364```python65def compute_metric(predictions, golds, metric_type):66 if metric_type == 'accuracy':67 return sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)68 elif metric_type == 'rouge':69 return rouge_score(golds, predictions, rouge_types=['rouge1', 'rouge2', 'rougeL'])70 elif metric_type == 'mae':71 return mean_absolute_error(golds, predictions)72```7374## Common pitfalls7576- Confusing base model scores with fine-tuned model scores when calculating performance lift.77- Assuming a single evaluation metric applies across all 31 tasks; the benchmark uses accuracy, ROUGE, and MAE depending on the task type.78- Overlooking reported implementation bugs in specific model families (e.g., Gemma) that caused fine-tuning to underperform base models, skewing average lift calculations.7980## Evidence (verbatim from paper)8182> mmlu | accuracy | 0.506 | 0.589 | 0.774 | 0.083 | -0.18583glue_wnli | accuracy | 0.437 | 0.873 | 0.93 | 0.436 | -0.05784arc_combined | accuracy | 0.673 | 0.915 | 0.947 | 0.242 | -0.03285wikisql | rouge | 0.301 | 0.898 | 0.909 | 0.597 | -0.0118687## Citation8889```bibtex90@misc{zhao2024loraland,91 title={LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Report},92 author={Justin Zhao et al. (2024)},93 year={2024},94 note={arXiv:2405.00732}95}96```9798- arXiv: 2405.00732