SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.06522 · NeurIPS · 2022

LST: Ladder Side-Tuning for Parameter and Memory Efficient Transfer Learning

Jaemin Cho, Mohit Bansal, Yi-Lin Sung

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2206.06522.json · badge: /api/ran/2206.06522.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ylsung/ladder-side-tuning canonical (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
FunctionStatusWhere it lives
do_nms Ran
ran; our contract draft was wrong, not the code
ylsung/ladder-side-tuning/VL-T5/inference/modeling_frcnn.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("e21bb85b8e1b4836")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_optimizer Ran
ran; our contract draft was wrong, not the code
ylsung/ladder-side-tuning/CLIP-ViL/src/param.py
code served (permissive licence) · get_code("9826533300048f5e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned type. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function get_optimizer takes a single parameter 'optim' which is a string
# It checks the string against various optimizer names and returns the corresponding
# torch optimizer class or the string 'bert'

ARGS = {
    'optim': 'adam'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_obj_tsv Ran
ran; our contract draft was wrong, not the code
ylsung/ladder-side-tuning/CLIP-ViL/src/utils.py
code served (permissive licence) · get_code("6011ad1e831dede2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import csv
import base64
import numpy as np
import tempfile
import os

# Create a temporary TSV file with valid data
temp_dir = tempfile.mkdtemp()
fname = os.path.join(temp_dir, 'test_objects.tsv')

# Create sample data
num_boxes = 3
feature_dim = 2048

# Prepare encoded data
objects_id = np.array([1, 2, 3], dtype=np.int64)
objects_conf = np.array([0.9, 0.8, 0.7], dtype=np.float32)
attrs_id = np.array([10, 20, 30], dtype=np.int64)
attrs_conf = np.array([0.95, 0.85, 0.75], dtype=np.float32)
boxes = np.array([[10, 20, 100, 200], [30, 40, 150, 250], [50, 60, 200, 300]], dtype=np.float32)
features = np.random.randn(num_boxes, feature_dim).astype(np.float32)

# Write TSV file
with open(fname, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['img_id', 'img_h', 'img_w', 'objects_id', 'objects_conf', 'attrs_id', 'attrs_conf', 'num_boxes', 'boxes', 'features'], delimiter='\t')
    
    row = {
        'img_id': 'img_001',
        'img_h': '480',
        'img_w': '640',
        'objects_id': base64.b64encode(objects_id.tobytes()).decode(),
        'objects_conf': base64.b64encode(objects_conf.tobytes()).decode(),
        'attrs_id': base64.b64encode(attrs_id.tobytes()).decode(),
        'attrs_conf': base64.b64encode(attrs_conf.tobytes()).decode(),
        'num_boxes': str(num_boxes),
        'boxes': base64.b64encode(boxes.tobytes()).decode(),
        'features': base64.b64encode(features.tobytes()).decode(),
    }
    writer.writerow(row)

ARGS = {
    'fname': fname,
    'topk': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
norm_box Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ylsung/ladder-side-tuning/VL-T5/inference/modeling_frcnn.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("cfa4887da544c990")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pad_list_tensors Ran
ran; our contract draft was wrong, not the code
ylsung/ladder-side-tuning/VL-T5/inference/modeling_frcnn.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("54a2fff601881b32")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_model Not yet run
unverified (harvested, no recorded run)
ylsung/ladder-side-tuning/CLIP-ViL/clip/model.py
code served (permissive licence) · get_code("f3a241789ee26538")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
do_nms 11 other papers
4 dated earlier, 7 later
2112.07566 (2021-12)
VALSE: A Task-Independent Benchmark for Vision and Language Models Centered on Linguistic Phenomena
2203.02013 (2022-03)
DIME: Fine-grained Interpretations of Multimodal Models via Disentangled Local Explanations
2204.03162 (2022-04)
Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionality
and 8 more not named here
pad_list_tensors 10 other papers
3 dated earlier, 7 later
2203.02013 (2022-03)
DIME: Fine-grained Interpretations of Multimodal Models via Disentangled Local Explanations
2204.03162 (2022-04)
Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionality
2205.00363 (2022-05)
Visual Spatial Reasoning
and 7 more not named here
norm_box 4 other papers
1 dated earlier, 3 later
2112.07566 (2021-12)
VALSE: A Task-Independent Benchmark for Vision and Language Models Centered on Linguistic Phenomena
2305.11692 (2023-05)
Surgical-VQLA: Transformer with Gated Vision-Language Embedding for Visual Question Localized-Answering in Robotic Surgery
2307.05182 (2023-07)
CAT-ViL: Co-Attention Gated Vision-Language Embedding for Visual Question Localized-Answering in Robotic Surgery
and 1 more not named here
load_obj_tsv 3 other papers
3 later
2208.00690 (2022-08)
Generative Bias for Robust Visual Question Answering
Diao_UniPT_Universal_Parallel_Tuning_for_Transfer_Learning_with_Efficient_Parameter_CVPR_2024_paper (2024 (year only))
UniPT: Universal Parallel Tuning for Transfer Learning with Efficient Parameter and Memory
aaai_32468 (2025 (year only))
Mind the Uncertainty in Human Disagreement: Evaluating Discrepancies Between Model Predictions and Human Responses in VQA
get_optimizer 2 other papers
2 later
Diao_UniPT_Universal_Parallel_Tuning_for_Transfer_Learning_with_Efficient_Parameter_CVPR_2024_paper (2024 (year only))
UniPT: Universal Parallel Tuning for Transfer Learning with Efficient Parameter and Memory
aaai_32468 (2025 (year only))
Mind the Uncertainty in Human Disagreement: Evaluating Discrepancies Between Model Predictions and Human Responses in VQA
build_model 1 other paper
1 later
Diao_UniPT_Universal_Parallel_Tuning_for_Transfer_Learning_with_Efficient_Parameter_CVPR_2024_paper (2024 (year only))
UniPT: Universal Parallel Tuning for Transfer Learning with Efficient Parameter and Memory

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Fine-tuning large pre-trained models on downstream tasks has been adopted in a variety of domains recently. However, it is costly to update the entire parameter set of large pre-trained models. Although recently proposed parameter-efficient transfer learning (PETL) techniques allow updating a small subset of parameters (e.g. only using 2% of parameters) inside a pre-trained backbone network for a new task, they only reduce the training memory requirement by up to 30%. This is because the gradient computation for the trainable parameters still requires backpropagation through the large pre-trained backbone model. To address this, we propose Ladder Side-Tuning (LST), a new PETL technique that can reduce training memory requirements by more substantial amounts. Unlike existing parameter-efficient methods that insert additional parameters inside backbone networks, we train a ladder side network, a small and separate network that takes intermediate activations as input via shortcut connections (called ladders) from backbone networks and makes predictions. LST has significantly lower memory requirements than previous methods, because it does not require backpropagation through the backbone network, but instead only through the side network and ladder connections. We evaluate our method with various models (T5 and CLIP-T5) on both natural language processing (GLUE) and vision-and-language (VQA, GQA, NLVR 2 , MSCOCO) tasks. LST saves 69% of the memory costs to fine-tune the whole network, while other methods only save 26% of that in similar parameter usages (hence, 2.7x more memory savings). Moreover, LST achieves higher accuracy than Adapter and LoRA in a low-memory regime. To further show the advantage of this better memory efficiency, we also apply LST to larger T5 models (T5-large, T5-3B), attaining better GLUE performance than full fine-tuning and other PETL methods. The trend also holds in the experiments on vision-and-language tasks, where LST achieves similar accuracy to other PETL methods when training a similar number of parameters while also having 2.7x more memory savings. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.06522")
get_code_for_paper("2206.06522")
have("2206.06522")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.06522.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.06522.svg)](https://syntology.ai/paper/2206.06522)

Connect an agent — have() is free.