SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.12699 · 2024

SOPHON: Non-Fine-Tunable Learning to Restrain Task Transferability For Pre-trained Models

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2404.12699.json · badge: /api/ran/2404.12699.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
chiange/sophon canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
build_training_mode Ran
ran; our contract draft was wrong, not the code
chiange/sophon/generation/utils.py
pointer only (licence: NONE) · get_code("fff1ecce262e106d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

compute_beta_schedule Ran
ran, honoured the contract we drafted
chiange/sophon/generation/generateimg.py
pointer only (licence: NONE) · get_code("629fc73f4a30794c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

extract Ran
ran; our contract draft was wrong, not the code
chiange/sophon/generation/generateimg.py
pointer only (licence: NONE) · get_code("99ef51bcd86d43ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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_logger Ran
ran; our contract draft was wrong, not the code
chiange/sophon/generation/utils.py
pointer only (licence: NONE) · get_code("7afc765004593554")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

one_hot_to_value Ran
ran; our contract draft was wrong, not the code
chiange/sophon/classification/utils.py
pointer only (licence: NONE) · get_code("87e6da0fde7c373b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
chiange/sophon/classification/model.py
pointer only (licence: NONE) · get_code("72573fa9342b93d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

resnet34 Ran
ran; our contract draft was wrong, not the code
chiange/sophon/classification/model.py
pointer only (licence: NONE) · get_code("a2e264debc209e26")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

resnet50 Ran
ran; our contract draft was wrong, not the code
chiange/sophon/classification/model.py
pointer only (licence: NONE) · get_code("6de37431d3b97f85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

test_accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chiange/sophon/classification/utils.py
pointer only (licence: NONE) · get_code("30e09076ea1f6a73")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

all_reduce_operation_in_group_for_variables Not yet run
unverified (harvested, no recorded run)
chiange/sophon/generation/train_diffusion_model.py
pointer only (licence: NONE) · get_code("51ae3e764bac1f5d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

fast_adapt Not yet run
unverified (harvested, no recorded run)
chiange/sophon/generation/combined_denoise_maml_diffusion_celeba.py
pointer only (licence: NONE) · get_code("f67260090083a68f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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.

train_diffusion_model Not yet run
unverified (harvested, no recorded run)
chiange/sophon/generation/train_diffusion_model.py
pointer only (licence: NONE) · get_code("2a75c6d9c3a0e446")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chiange/sophon 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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.

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

Repositories linked to this paper

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

Abstract

Instead of building deep learning models from scratch, developers are more and more relying on adapting pre-trained models to their customized tasks. However, powerful pre-trained models may be misused for unethical or illegal tasks, e.g., privacy inference and unsafe content generation. In this paper, we introduce a pioneering learning paradigm, non-fine-tunable learning, which prevents the pre-trained model from being fine-tuned to indecent tasks while preserving its performance on the original task. To fulfill this goal, we propose SOPHON, a protection framework that reinforces a given pre-trained model to be resistant to being fine-tuned in pre-defined restricted domains. Nonetheless, this is challenging due to a diversity of complicated fine-tuning strategies that may be adopted by adversaries. Inspired by model-agnostic meta-learning, we overcome this difficulty by designing sophisticated fine-tuning simulation and fine-tuning evaluation algorithms. In addition, we carefully design the optimization process to entrap the pre-trained model within a hard-to-escape local optimum regarding restricted domains. We have conducted extensive experiments on two deep learning modes (classification and generation), seven restricted domains, and six model architectures to verify the effectiveness of SOPHON. Experiment results verify that fine-tuning SOPHON-protected models incurs an overhead comparable to or even greater than training from scratch. Furthermore, we confirm the robustness of SOPHON to three fine-tuning methods, five optimizers, various learning rates and batch sizes. SOPHON may help boost further investigations into safe and responsible AI.

For agents

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

get_harvested_code_for_paper("2404.12699")
get_code_for_paper("2404.12699")
have("2404.12699")

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

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

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

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

Connect an agent — have() is free.