LoRA (machine learning)

LoRA uses r << d for efficient adaptation

Image: Bin im Garten, CC BY-SA 3.0, via Wikimedia Commons

LoRA (machine learning)

LoRA uses r << d for efficient adaptation

LoRA leverages low-rank adaptation (r << d) to fine-tune pre-trained models efficiently. This approach reduces the number of parameters that need to be updated, making it computationally less intensive.

Example

In a 768-dimensional weight matrix, LoRA might only adapt a 64-dimensional rank (r << d), significantly reducing the number of parameters compared to full fine-tuning.

This efficiency matters because it allows for quicker adaptation and lower resource consumption.

Related concepts

One email a day: 5 concepts + the 5 stories that matter →

Swipe through 100 ML concepts daily

Open TickerNews