SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.00160 · 2021

DSEE: Dually Sparsity-embedded Efficient Tuning of Pre-trained Language Models

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 2 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 6 failures of our instrument; 3 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/2111.00160.json · badge: /api/ran/2111.00160.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
vita-group/dsee canonical (classifier label)
classifier basis not recorded on the link
9 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
check_number_comma Ran
ran, violated the contract we drafted
vita-group/dsee/non-GPT-2/src/transformers/convert_slow_tokenizer.py
pointer only (licence: MIT); the stored copy get_code serves, from UW-Madison-Lee-Lab/looped-tf, is pointer only (licence: NONE) · get_code("a727df5fd2f5599a")
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 UW-Madison-Lee-Lab/looped-tf, 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.

ensure_valid_input Ran
ran; our contract draft was wrong, not the code
vita-group/dsee/non-GPT-2/src/transformers/convert_graph_to_onnx.py
pointer only (licence: MIT); the stored copy get_code serves, from UW-Madison-Lee-Lab/looped-tf, is pointer only (licence: NONE) · get_code("d770e1dd1d799a47")
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 UW-Madison-Lee-Lab/looped-tf, 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.

gelu_fast Ran
ran; our contract draft was wrong, not the code
vita-group/dsee/non-GPT-2/src/transformers/activations.py
code served (permissive licence) · get_code("a4475703ff58ecf9")
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) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

torch.manual_seed(0)

# gelu_fast takes a single parameter 'x' which is used in arithmetic operations
# It should be a tensor that supports multiplication, addition, and tanh operations
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
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
gelu_fast Ran
ran, honoured the contract we drafted
vita-group/dsee/non-GPT-2/src/transformers/activations_tf.py
pointer only (licence: MIT); the stored copy get_code serves, from VITA-Group/READ-ME, is pointer only (licence: NONE) · get_code("37a5eed2dbd663ca")
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 VITA-Group/READ-ME, 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.

gelu_new Ran
ran; our contract draft was wrong, not the code
vita-group/dsee/non-GPT-2/src/transformers/activations.py
pointer only (licence: MIT); the stored copy get_code serves, from astro-jon/LCWL, is pointer only (licence: NONE) · get_code("45bb87451230d5e8")
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 astro-jon/LCWL, 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.

generate_batch_splits Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from chocowu/lasuie
pointer only · get_code("7639bb277f652362")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

generate_identified_filename Ran
ran; our contract draft was wrong, not the code
vita-group/dsee/non-GPT-2/src/transformers/convert_graph_to_onnx.py
pointer only (licence: MIT); the stored copy get_code serves, from UW-Madison-Lee-Lab/looped-tf, is pointer only (licence: NONE) · get_code("7efe3db5c9e2f94d")
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 UW-Madison-Lee-Lab/looped-tf, 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_abs_min_max Ran
ran on a synthesized input
vita-group/dsee/non-GPT-2/src/transformers/debug_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from parovicm/BADX, is pointer only (licence: Apache-2.0) · get_code("b5db92a796ef38f1")
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 parovicm/BADX, and Apache-2.0, as GitHub detects it on that repository, is in the permissive set, but a licence decision keeps the body a pointer: its licence file names an outside party, so it may cover vendored code rather than the repository owner's files (recorded as pointer:licence_names_third_party_corporation). 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.

mish Ran
ran, honoured the contract we drafted
vita-group/dsee/non-GPT-2/src/transformers/activations_tf.py
pointer only (licence: MIT); the stored copy get_code serves, from VITA-Group/READ-ME, is pointer only (licence: NONE) · get_code("cc8c8c3ebf0c343f")
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 VITA-Group/READ-ME, 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.

quick_gelu Ran
ran; our contract draft was wrong, not the code
vita-group/dsee/non-GPT-2/src/transformers/activations.py
pointer only (licence: MIT); the stored copy get_code serves, from openai/summarize-from-feedback, is pointer only (licence: NOASSERTION) · get_code("e21f72f1a9834aef")
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 openai/summarize-from-feedback, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

convert_slow_tokenizer Not yet run
unverified (harvested, no recorded run)
vita-group/dsee/non-GPT-2/src/transformers/convert_slow_tokenizer.py
code served (permissive licence) · get_code("5513be821f28f6c5")
How it ran

no invocation recorded.

detect_overflow Not yet run
unverified (harvested, no recorded run)
vita-group/dsee/non-GPT-2/src/transformers/debug_utils.py
code served (permissive licence) · get_code("58e4e5b4f1f2951e")
How it ran

no invocation recorded.

infer_shapes Not yet run
unverified (harvested, no recorded run)
vita-group/dsee/non-GPT-2/src/transformers/convert_graph_to_onnx.py
pointer only (licence: MIT); the stored copy get_code serves, from UW-Madison-Lee-Lab/looped-tf, is pointer only (licence: NONE) · get_code("3449d7d975edfb89")
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 UW-Madison-Lee-Lab/looped-tf, 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. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 13 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 9 the same month, 13 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
mish 25 other papers
6 dated earlier, 1 the same month, 18 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
2106.00420 (2021-06)
Dialogue-oriented Pre-training
and 22 more not named here
gelu_new 24 other papers
8 dated earlier, 1 the same month, 15 later
2004.10964 (2020-04)
Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
and 21 more not named here
gelu_fast 22 other papers
8 dated earlier, 1 the same month, 13 later
2010.03957 (2020-10)
Transformers for Modeling Physical Systems
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
and 19 more not named here
gelu_fast 19 other papers
2 dated earlier, 17 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2110.04366 (2021-10)
Towards a Unified View of Parameter-Efficient Transfer Learning
2022.naacl-main.130 (2022 (year only))
BAD-X: Bilingual Adapters Improve Zero-Shot Cross-Lingual Transfer
and 16 more not named here
ensure_valid_input 14 other papers
2 dated earlier, 1 the same month, 11 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2107.00910 (2021-07)
Learned Token Pruning for Transformers
2111.05498 (2021-11)
Attention Approximates Sparse Distributed Memory
and 11 more not named here
generate_identified_filename 14 other papers
2 dated earlier, 1 the same month, 11 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2107.00910 (2021-07)
Learned Token Pruning for Transformers
2111.05498 (2021-11)
Attention Approximates Sparse Distributed Memory
and 11 more not named here
infer_shapes 14 other papers
2 dated earlier, 1 the same month, 11 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2107.00910 (2021-07)
Learned Token Pruning for Transformers
2111.05498 (2021-11)
Attention Approximates Sparse Distributed Memory
and 11 more not named here
check_number_comma 13 other papers
2 dated earlier, 1 the same month, 10 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2107.00910 (2021-07)
Learned Token Pruning for Transformers
2111.05498 (2021-11)
Attention Approximates Sparse Distributed Memory
and 10 more not named here
convert_slow_tokenizer 13 other papers
2 dated earlier, 1 the same month, 10 later
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2107.00910 (2021-07)
Learned Token Pruning for Transformers
2111.05498 (2021-11)
Attention Approximates Sparse Distributed Memory
and 10 more not named here
quick_gelu 6 other papers
1 dated earlier, 1 the same month, 4 later
2110.04366 (2021-10)
Towards a Unified View of Parameter-Efficient Transfer Learning
2111.05498 (2021-11)
Attention Approximates Sparse Distributed Memory
2022.naacl-main.130 (2022 (year only))
BAD-X: Bilingual Adapters Improve Zero-Shot Cross-Lingual Transfer
and 3 more not named here
detect_overflow 4 other papers
4 later
2022.naacl-main.130 (2022 (year only))
BAD-X: Bilingual Adapters Improve Zero-Shot Cross-Lingual Transfer
2202.00666 (2022-02)
Locally Typical Sampling
2212.00921 (2022-12)
AGRO: Adversarial Discovery of Error-prone groups for Robust Optimization
and 1 more not named here
get_abs_min_max 4 other papers
4 later
2022.naacl-main.130 (2022 (year only))
BAD-X: Bilingual Adapters Improve Zero-Shot Cross-Lingual Transfer
2202.00666 (2022-02)
Locally Typical Sampling
2212.00921 (2022-12)
AGRO: Adversarial Discovery of Error-prone groups for Robust Optimization
and 1 more not named here
generate_batch_splits 1 other paper
1 later
2304.06248 (2023-04)
LasUIE: Unifying Information Extraction with Latent Adaptive Structure-aware Generative Language Model

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

Gigantic pre-trained models have become central to natural language processing (NLP), serving as the starting point for fine-tuning towards a range of downstream tasks. However, two pain points persist for this paradigm: (a) as the pre-trained models grow bigger (e.g., 175B parameters for GPT-3), even the fine-tuning process can be time-consuming and computationally expensive; (b) the fine-tuned model has the same size as its starting point by default, which is neither sensible due to its more specialized functionality, nor practical since many fine-tuned models will be deployed in resource-constrained environments. To address these pain points, we propose a framework for resource- and parameter-efficient fine-tuning by leveraging the sparsity prior in both weight updates and the final model weights. Our proposed framework, dubbed Dually Sparsity-Embedded Efficient Tuning (DSEE), aims to achieve two key objectives: (i) parameter efficient fine-tuning - by enforcing sparsity-aware low-rank updates on top of the pre-trained weights; and (ii) resource-efficient inference - by encouraging a sparse weight structure towards the final fine-tuned model. We leverage sparsity in these two directions by exploiting both unstructured and structured sparse patterns in pre-trained language models via a unified approach. Extensive experiments and in-depth investigations, with diverse network backbones (i.e., BERT, RoBERTa, and GPT-2) on dozens of datasets, consistently demonstrate impressive parameter-/inference-efficiency, while maintaining competitive downstream performance. For instance, DSEE saves about 25% inference FLOPs while achieving comparable performance, with 0.5% trainable parameters on BERT. Codes are available in https://github.com/VITA-Group/DSEE.

For agents

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

get_harvested_code_for_paper("2111.00160")
get_code_for_paper("2111.00160")
have("2111.00160")

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

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

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

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

Connect an agent — have() is free.