Hugging Face Blog

LoRA training scripts of the world, unite!

arXiv AI
Sep 30

Transformers Stop Thinking Too Early, and a Tiny LoRA Fixes It

The paper shows that pretrained transformers often stop using their depth early, following only a few lines of context. A small rank‑8 LoRA applied to an early layer can extend this chain‑following ability, enabling models like Qwen3‑8B to achieve near‑perfect accuracy on 24‑line chains and significantly longer chains with further training. The LoRA acts as a relay, passing chain identity through middle layers and allowing frozen heads to read further up the chain, with the last useful intervention layer identified in most held‑out models.

By Zehao Jin, Ruixuan Deng, Junran Wang
arXiv Computer Vision
Oct 23

LoRA Superposition across Pretrained Models

LoRA Superposition across Pretrained Models explores whether low‑rank adaptations (LoRAs) trained independently on different pretrained backbones can be summed and applied unchanged to all contributing backbones. Across seven ViT‑B/16 CLIP backbones and eight image‑classification tasks, the exact sum of LoRAs improves all 56 backbone‑task pairs, achieving a mean accuracy gain of 30.21 percentage points over the unadapted backbone and only 0.28 percentage points below individually trained solo LoRAs. In contrast, a leave‑one‑model‑out sum yields a negligible gain of 0.06 percentage points, and the results suggest that backbone‑specific LoRAs are nearly orthogonal while cross‑backbone responses are concentrated on the diagonal, supporting a component‑wise non‑interference hypothesis.

By Keigo Watanabe, Hiroshi Kera, Kazuhiko Kawamoto
arXiv AI
Nov 6

Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone

The study investigates how much information about the training data domain leaks into a language model fine‑tuned with Low‑Rank Adaptation (LoRA). Using a Qwen3.5‑0.8B base model, 36 LoRA fine‑tunes were created across 18 public datasets spanning five domains, and a classifier was trained to recover the domain from three types of model artifacts: white‑box weight deltas, gray‑box activations on a probe set, and black‑box outputs. The classifier achieved domain accuracies of 42% from weights, 61% from activations, and 64% from outputs, with the latter remaining robust when only generated text was used and across different LoRA ranks.

By Shivesh Rane