Reproduce “In-Context Meta LoRA Generation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yihua Shao, Minxi Yan, Yang Liu, Siyu Chen, Wenjie Chen, Xinwei Long, Ziyang Yan, Lei Li and 7 more

The paper introduces In-Context Meta LoRA (ICM-LoRA), a framework that generates task-specific LoRA parameters for large language and vision-language models from a compact conditional variational autoencoder (CVAE). This method reduces storage requirements to 1% of storing original LoRA weights while achieving performance comparable to or exceeding direct LoRA fine-tuning across diverse tasks.

Key insights

  • Concise task vectors, whether from model hidden states or textual descriptions, can effectively encapsulate task semantics and guide a generative model to synthesize highly specific adaptation parameters.
  • Integrating in-context meta-learning within a CVAE allows the generator to learn the underlying relationships between tasks and the distributions of their optimal LoRA parameters, facilitating generalization across diverse tasks.
  • The knowledge required for adapting a large model to numerous tasks can be highly condensed into a single, compact generative model, drastically reducing storage footprint compared to storing individual adapters or datasets.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.