cond-p-diff-eval
Conditional LoRA Parameter Generation — Jin et al. (2024) (arXiv:2408.01415, 2024)
What this evaluates
Evaluates a conditional latent diffusion framework's ability to synthesize task-specific LoRA parameters for NLP and image style-transfer tasks. It probes whether generated parameters can match or exceed standard fine-tuning and model-averaging baselines across diverse domains.
Datasets
- GLUE benchmark — total ?; splits: validation (-1)
- SemArt — total ?; splits: test (-1)
- WikiArt — total ?; splits: test (-1)
Metrics
Average accuracy (primary) — range: percent
- Arithmetic mean of classification accuracies across six GLUE tasks: SST2, RTE, MRPC, COLA, QNLI, and STSB.
FID — range: other
- Fréchet Inception Distance measuring the distance between feature distributions of real and generated images. Lower scores indicate better image generation quality.
Input / output format
Input: Task description and few-shot examples (NLP) or style images (CV) condition a diffusion model to generate LoRA parameters, which are merged into pre-trained models for inference.
Output: Per-task accuracy scores and their average for GLUE; FID scores for style-transfer image generation.
Scoring recipe
def compute_glue_avg(acc_sst2, acc_rte, acc_mrpc, acc_cola, acc_qnli, acc_stsb):
return (acc_sst2 + acc_rte + acc_mrpc + acc_cola + acc_qnli + acc_stsb) / 6
def compute_fid(real_images, generated_images):
# Compute FID between real and generated image feature distributions
return frechet_inception_distance(real_images, generated_images)
Common pitfalls
- FID is an inverted metric: lower values indicate better performance.
- GLUE evaluation only averages six specific tasks (SST2, RTE, MRPC, COLA, QNLI, STSB), not the full benchmark.
- Model selection for NLP is based on the best performance on the training dataset, not the validation set, before reporting validation metrics.
- Baselines include 'original' (best validation performance of standard LoRA fine-tuning) and 'model soup' (averaged weights of multiple fine-tuned models).
Evidence (verbatim from paper)
In NLP experiments, we test on the language understanding GLUE benchmark [[53]]. In CV experiments, we focus on the style-transfer tasks. We use the SemArt and WikiArt datasets [[10], [45]], which contain diverse artistic images, and evaluate them using the Fréchet Inception Distance (FID, [[15]], as employed by StyleGAN [[23]], with lower scores indicating better performance.
Citation
@misc{jin2024conditionallora,
title={Conditional LoRA Parameter Generation},
author={Jin et al. (2024)},
year={2024},
note={arXiv:2408.01415}
}
1---2name: cond-p-diff-eval3description: Evaluates a conditional latent diffusion framework's ability to synthesize task-specific LoRA parameters for NLP and image style-transfer tasks. It probes whether generated parameters can match or exceed standard fine-tuning and model-averaging baselines across diverse domains. Use when the user wants to benchmark on GLUE benchmark, SemArt, WikiArt, or asks about evaluating this task. Reports Average accuracy.4---56# cond-p-diff-eval78> Conditional LoRA Parameter Generation — Jin et al. (2024) (arXiv:2408.01415, 2024)910## What this evaluates1112Evaluates a conditional latent diffusion framework's ability to synthesize task-specific LoRA parameters for NLP and image style-transfer tasks. It probes whether generated parameters can match or exceed standard fine-tuning and model-averaging baselines across diverse domains.1314## Datasets1516- **GLUE benchmark** — total ?; splits: validation (-1)17- **SemArt** — total ?; splits: test (-1)18- **WikiArt** — total ?; splits: test (-1)1920## Metrics2122- `Average accuracy` **(primary)** — range: percent23 - Arithmetic mean of classification accuracies across six GLUE tasks: SST2, RTE, MRPC, COLA, QNLI, and STSB.24- `FID` — range: other25 - Fréchet Inception Distance measuring the distance between feature distributions of real and generated images. Lower scores indicate better image generation quality.2627## Input / output format2829**Input**: Task description and few-shot examples (NLP) or style images (CV) condition a diffusion model to generate LoRA parameters, which are merged into pre-trained models for inference.3031**Output**: Per-task accuracy scores and their average for GLUE; FID scores for style-transfer image generation.3233## Scoring recipe3435```python36def compute_glue_avg(acc_sst2, acc_rte, acc_mrpc, acc_cola, acc_qnli, acc_stsb):37 return (acc_sst2 + acc_rte + acc_mrpc + acc_cola + acc_qnli + acc_stsb) / 63839def compute_fid(real_images, generated_images):40 # Compute FID between real and generated image feature distributions41 return frechet_inception_distance(real_images, generated_images)42```4344## Common pitfalls4546- FID is an inverted metric: lower values indicate better performance.47- GLUE evaluation only averages six specific tasks (SST2, RTE, MRPC, COLA, QNLI, STSB), not the full benchmark.48- Model selection for NLP is based on the best performance on the training dataset, not the validation set, before reporting validation metrics.49- Baselines include 'original' (best validation performance of standard LoRA fine-tuning) and 'model soup' (averaged weights of multiple fine-tuned models).5051## Evidence (verbatim from paper)5253> In NLP experiments, we test on the language understanding GLUE benchmark *[[53]]*. In CV experiments, we focus on the style-transfer tasks. We use the SemArt and WikiArt datasets *[[10], [45]]*, which contain diverse artistic images, and evaluate them using the Fréchet Inception Distance (FID, *[[15]]*, as employed by StyleGAN *[[23]]*, with lower scores indicating better performance.5455## Citation5657```bibtex58@misc{jin2024conditionallora,59 title={Conditional LoRA Parameter Generation},60 author={Jin et al. (2024)},61 year={2024},62 note={arXiv:2408.01415}63}64```6566- arXiv: 2408.01415