SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2024.findings-acl.699 · ACL Findings · 2024

SCALEARN: Simple and Highly Parameter-Efficient Task Transfer by Learning to Scale

Shahed Masoudian, Anne Lauscher, Navid Rekabsaz, Carolin Holtermann, Markus Frohmann

Open in the Atlas

Code that ran

4 of 7 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 1 has no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/2024.findings-acl.699.json · badge: /api/ran/2024.findings-acl.699.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
CPJKU/ScaLearn canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
FunctionStatusWhere it lives
create_score_for_adapter Ran
ran on a synthesized input
CPJKU/ScaLearn/src/adapters_propetl/adapter_controller.py
code served (permissive licence) · get_code("c4e81f99544adac2")
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 tuple. 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 math
import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleAdapter(nn.Module):
    def __init__(self):
        super().__init__()
        self.down_sampler = nn.Linear(4, 3)
        self.up_sampler = nn.Linear(3, 2)

adapter_model = SimpleAdapter()

ARGS = {
    "adapter_model": adapter_model
}
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 tuple — a tuple output has no array shape of its own; none is 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
get_config_class_from_processor_class Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CPJKU/ScaLearn/adapter-transformers/utils/create_dummy_models.py
pointer only (licence: MIT); the stored copy get_code serves, from takagi97/OXA-Fine-tuning, is pointer only (licence: NONE) · get_code("3d999b95009c7537")
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 takagi97/OXA-Fine-tuning, and GitHub detected no licence in that repository when it was checked. 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_processor_types_from_config_class Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CPJKU/ScaLearn/adapter-transformers/utils/create_dummy_models.py
code served (permissive licence) · get_code("36f3ecdc3e086edb")
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 tuple, 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 collections.abc
from transformers import CONFIG_MAPPING, FEATURE_EXTRACTOR_MAPPING, PROCESSOR_MAPPING, TOKENIZER_MAPPING

# Create a minimal config class for testing
class MinimalConfigClass:
    pass

# Get a real config class that exists in transformers
from transformers import BertConfig

# Test config class - use a real one that has tokenizer mappings
test_config_class = BertConfig

# Create allowed_mappings parameter
allowed_mappings = ['processor', 'tokenizer', 'feature_extractor']

ARGS = {
    'config_class': test_config_class,
    'allowed_mappings': allowed_mappings
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple 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
linear_layer Ran
ran; our contract draft was wrong, not the code
CPJKU/ScaLearn/src/adapters_hf/adapter_utils.py
code served (permissive licence) · get_code("2abb955708c84118")
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 Linear. 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)

ARGS = {
    "input_dim": 4,
    "output_dim": 3,
    "std": 0.01,
}
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 Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear 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
detect_last_checkpoint Not yet run
unverified (harvested, no recorded run)
CPJKU/ScaLearn/src/run_multi.py
code served (permissive licence) · get_code("0c4d84af3cc2ae1c")
How it ran

no invocation recorded.

get_architectures_from_config_class Not yet run
unverified (harvested, no recorded run)
CPJKU/ScaLearn/adapter-transformers/utils/create_dummy_models.py
code served (permissive licence) · get_code("a00c425fa9fa3aed")
How it ran

no invocation recorded.

train_fn Not yet run
unverified (harvested, no recorded run)
CPJKU/ScaLearn/src/run_multi.py
code served (permissive licence) · get_code("2efb62f8bdfe4715")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 later) and 3 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
get_config_class_from_processor_class 27 other papers
4 dated earlier, 6 later, 17 same year, order not determinable
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2308.12219 (2023-08)
Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning
2311.07468 (2023-11)
An Analysis and Mitigation of the Reversal Curse
and 24 more not named here
linear_layer 3 other papers
3 dated earlier
2106.04489 (2021-06)
Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworks
2112.06825 (2021-12)
VL-Adapter: Parameter-Efficient Transfer Learning for Vision-and-Language Tasks
2203.01104 (2022-03)
Parameter-Efficient Mixture-of-Experts Architecture for Pre-trained Language Models
get_architectures_from_config_class 2 other papers
2 dated earlier
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2305.10614 (2023-05)
Token-wise Decomposition of Autoregressive Language Model Hidden States for Analyzing Model Predictions
get_processor_types_from_config_class 2 other papers
2 dated earlier
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2305.10614 (2023-05)
Token-wise Decomposition of Autoregressive Language Model Hidden States for Analyzing Model Predictions

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-24.

Repositories linked to this paper

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

Abstract

Multi-task learning (MTL) has shown considerable practical benefits, particularly when using language models (LMs). While this is commonly achieved by learning n tasks under a joint optimization procedure, some methods, such as AdapterFusion, divide the problem into two stages: (i) task learning, where knowledge specific to a task is encapsulated within sets of parameters (e.g., adapters), and (ii) transfer, where this already learned knowledge is leveraged for a target task. This separation of concerns provides numerous benefits (e.g., promoting reusability). However, current twostage MTL introduces a substantial number of additional parameters. We address this issue by leveraging the usefulness of linearly scaling the output representations of source adapters for transfer learning. We introduce SCALEARN, a simple and highly parameterefficient two-stage MTL method that capitalizes on the knowledge of the source tasks by learning a minimal set of scaling parameters that enable effective transfer to a target task. Our experiments on three benchmarks (GLUE, SuperGLUE, and HumSet) and two encoder LMs show that SCALEARN consistently outperforms strong baselines with a small number of transfer parameters (∼ 0.35% of those of AdapterFusion). Remarkably, we observe that SCALEARN maintains its strong abilities even when further reducing parameters, achieving competitive results with only 8 transfer parameters per target task. Our proposed approach thus demonstrates the power of simple scaling as a promise for more efficient task transfer. 1

For agents

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

get_harvested_code_for_paper("2024.findings-acl.699")
get_code_for_paper("2024.findings-acl.699")
have("2024.findings-acl.699")

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

curl https://syntology.ai/api/ran/2024.findings-acl.699.json

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

[![Syntology run record](https://syntology.ai/api/ran/2024.findings-acl.699.svg)](https://syntology.ai/paper/2024.findings-acl.699)

Connect an agent — have() is free.