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.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/cond-p-diff-eval6 skill_kind: dataset_eval7 source_arxiv: 2408.014158 bibtex_key: jin2024conditionallora9 confidence: high10---1112# cond-p-diff-eval1314> Conditional LoRA Parameter Generation — Jin et al. (2024) (arXiv:2408.01415, 2024)1516## What this evaluates1718Evaluates 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.1920## Datasets2122- **GLUE benchmark** — total ?; splits: validation (-1)23- **SemArt** — total ?; splits: test (-1)24- **WikiArt** — total ?; splits: test (-1)2526## Metrics2728- `Average accuracy` **(primary)** — range: percent29 - Arithmetic mean of classification accuracies across six GLUE tasks: SST2, RTE, MRPC, COLA, QNLI, and STSB.30- `FID` — range: other31 - Fréchet Inception Distance measuring the distance between feature distributions of real and generated images. Lower scores indicate better image generation quality.3233## Input / output format3435**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.3637**Output**: Per-task accuracy scores and their average for GLUE; FID scores for style-transfer image generation.3839## Scoring recipe4041```python42def compute_glue_avg(acc_sst2, acc_rte, acc_mrpc, acc_cola, acc_qnli, acc_stsb):43 return (acc_sst2 + acc_rte + acc_mrpc + acc_cola + acc_qnli + acc_stsb) / 64445def compute_fid(real_images, generated_images):46 # Compute FID between real and generated image feature distributions47 return frechet_inception_distance(real_images, generated_images)48```4950## Common pitfalls5152- FID is an inverted metric: lower values indicate better performance.53- GLUE evaluation only averages six specific tasks (SST2, RTE, MRPC, COLA, QNLI, STSB), not the full benchmark.54- Model selection for NLP is based on the best performance on the training dataset, not the validation set, before reporting validation metrics.55- Baselines include 'original' (best validation performance of standard LoRA fine-tuning) and 'model soup' (averaged weights of multiple fine-tuned models).5657## Evidence (verbatim from paper)5859> 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.6061## Citation6263```bibtex64@misc{jin2024conditionallora,65 title={Conditional LoRA Parameter Generation},66 author={Jin et al. (2024)},67 year={2024},68 note={arXiv:2408.01415}69}70```7172- arXiv: 2408.01415