﻿# Ladder Side-Tuning: saving training memory by changing the backward path

Understand why Ladder Side-Tuning uses a separate trainable network, which backbone activations it consumes and how to measure the resulting memory trade-off.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-ladder-side-tuning-gradient-path/
Language: en

Ladder Side-Tuning, or LST, adds a small trainable side network that receives intermediate features from a frozen backbone. The important distinction is the gradient path: training updates the side network and ladder connections without backpropagating through the entire backbone. This addresses a memory cost that a small adapter parameter count alone does not remove.

## Understand why frozen weights still matter

Freezing a matrix stops its parameter gradients, but an ordinary adapter inserted inside a network can still require gradients to pass through surrounding operations. Autograd may need intermediate values for that path. LST changes the architecture so the backbone can supply features without carrying the side network's backward computation through its internal layers.

## Follow the ladder connections

The side model consumes features from multiple depths, rather than using only the final backbone output. Those connections allow adaptation to use intermediate information while keeping its own trainable computation smaller. Record feature locations, dimensions and projection rules. A final-layer linear classifier is a useful baseline, but it is not the same architecture as a ladder-connected side network.

## Verify the computation graph

Inspect trainable parameters and actual gradient flow in a small run. A misplaced operation can reconnect the backbone to the backward graph and invalidate the expected memory behavior. Conversely, detaching a trainable side feature by mistake can prevent useful learning. Verify gradients against the intended architecture before comparing peak memory or declaring an implementation correct.

## Compare quality at a stated memory budget

For an illustrative text-task experiment, compare LST and an in-backbone adapter using the same examples, sequence lengths and evaluation boundaries. Report the side-network width and initialization. A smaller side model may change representational capacity as well as memory use, so quality and memory must be shown together rather than reducing the decision to trainable parameter counts.

## Include the side model in deployment

The original research evaluates particular language and vision-language architectures; its memory findings are scoped to those setups. Save the backbone revision, side weights and feature-connection configuration. Measure generation or prediction with the complete deployed architecture, since avoiding a training backward path does not eliminate forward computation at inference. LST is relevant when its explicit gradient separation delivers the required quality within the actual training-memory constraint.

## Primary references

[Ladder Side-Tuning original paper](https://arxiv.org/abs/2206.06522).

[LST author implementation](https://github.com/ylsung/Ladder-Side-Tuning).

[PyTorch autograd mechanics](https://docs.pytorch.org/docs/2.15/notes/autograd.html).

Related explanations: [activation memory and recomputation](/journal/activation-checkpoint-recomputation-graph/); [adaptation within a GPU budget](/journal/peft-lora-gpu-budget/).
