SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.01108 · 2024

Multi-Scale Representation Learning for Protein Fitness Prediction

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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; 6 failures of our instrument; 2 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/2412.01108.json · badge: /api/ran/2412.01108.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
deepgraphlearning/s3f canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
detect_variables Ran
ran; our contract draft was wrong, not the code
deepgraphlearning/s3f/util.py
pointer only (licence: MIT); the stored copy get_code serves, from ahart34/protein, is pointer only (licence: NONE) · get_code("eab8b6a6ced6d93e")
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 ahart34/protein, 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_optimal_window Ran
ran, honoured the contract we drafted
deepgraphlearning/s3f/script/evaluate.py
code served (permissive licence) · get_code("30d699e7720e53e8")
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 int; 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 torch

torch.manual_seed(0)

# Analyze the function: it takes three parameters
# - mutation_position_relative: an integer position
# - seq_len_wo_special: an integer sequence length
# - model_window: an integer window size
# The function returns a list of two integers [start, end]

# Create test arguments
ARGS = {
    "mutation_position_relative": 50,
    "seq_len_wo_special": 200,
    "model_window": 100
}
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 list, ndim 1, dtype family int — 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
get_root_logger Ran
ran; our contract draft was wrong, not the code
deepgraphlearning/s3f/util.py
pointer only (licence: MIT); the stored copy get_code serves, from ahart34/protein, is pointer only (licence: NONE) · get_code("70a68fd646c6e4a7")
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 ahart34/protein, 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.

randn Ran
ran; our contract draft was wrong, not the code
deepgraphlearning/s3f/s3f/gvp_layer.py
code served (permissive licence) · get_code("28e463a04d36b65d")
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 torch

torch.manual_seed(0)

ARGS = {
    'n': 2,
    'dims': (4, 3),
    'device': 'cpu'
}
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
ranges_slices Ran
ran; our contract draft was wrong, not the code
deepgraphlearning/s3f/s3f/surface.py
code served (permissive licence) · get_code("3a537d44f15de4a9")
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 torch

torch.manual_seed(0)

# The function expects a batch tensor containing indices/labels
# bincount() requires a 1D tensor of non-negative integers
# Let's create a batch tensor with indices that will be counted
batch = torch.tensor([0, 0, 1, 1, 1, 2], dtype=torch.long)

ARGS = {
    'batch': batch
}
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
rbf Ran
ran; our contract draft was wrong, not the code
deepgraphlearning/s3f/s3f/gvp.py
code served (permissive licence) · get_code("8e7a01ca88c9959f")
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 Tensor, ndim 3, dtype family float, shape (2, 3, 16) 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)

# d is a tensor of distances
d = torch.tensor([[1.5, 3.2, 5.1], [2.0, 4.5, 6.3]], dtype=torch.float32)

ARGS = {
    "d": d,
    "d_min": 0.0,
    "d_max": 20.0,
    "dim": 16,
}
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 Tensor, ndim 3, dtype family float, shape (2, 3, 16) — shape (2, 3, 16) 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
tuple_index Ran
ran; our contract draft was wrong, not the code
deepgraphlearning/s3f/s3f/gvp_layer.py
pointer only (licence: MIT); the stored copy get_code serves, from ai4protein/VenusX, is pointer only (licence: NOASSERTION) · get_code("38735f4bca7f8220")
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 ai4protein/VenusX, 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.

diagonal_ranges Not yet run
unverified (harvested, no recorded run)
deepgraphlearning/s3f/s3f/surface.py
code served (permissive licence) · get_code("b4481eda77d0f687")
How it ran

no invocation recorded.

train_and_validate Not yet run
unverified (harvested, no recorded run)
deepgraphlearning/s3f/script/pretrain.py
code served (permissive licence) · get_code("4437a10c67d7e3b8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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, 4 later) and 5 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
tuple_index 11 other papers
6 dated earlier, 5 later
2203.14486 (2022-03)
Equivariant Point Cloud Analysis via Learning Orientations for Message Passing
2309.16519 (2023-09)
AtomSurf : Surface Representation for Learning on Protein Structures
2404.11199 (2024-04)
RiboDiffusion: Tertiary Structure-based RNA Inverse Folding with Generative Diffusion Models
and 8 more not named here
get_root_logger 8 other papers
7 dated earlier, 1 later
2106.06935 (2021-06)
Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
2205.10128 (2022-05)
Neural-Symbolic Models for Logical Queries on Knowledge Graphs
2206.04798 (2022-06)
A*Net: A Scalable Path-based Reasoning Approach for Knowledge Graphs
and 5 more not named here
detect_variables 7 other papers
6 dated earlier, 1 later
2106.06935 (2021-06)
Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
2205.10128 (2022-05)
Neural-Symbolic Models for Logical Queries on Knowledge Graphs
2302.02209 (2023-02)
A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphs
and 4 more not named here
randn 6 other papers
4 dated earlier, 2 later
2203.14486 (2022-03)
Equivariant Point Cloud Analysis via Learning Orientations for Message Passing
2309.16519 (2023-09)
AtomSurf : Surface Representation for Learning on Protein Structures
2409.19838 (2024-09)
Using pretrained graph neural networks with token mixers as geometric featurizers for conformational dynamics
and 3 more not named here

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

Designing novel functional proteins crucially depends on accurately modeling their fitness landscape. Given the limited availability of functional annotations from wet-lab experiments, previous methods have primarily relied on self-supervised models trained on vast, unlabeled protein sequence or structure datasets. While initial protein representation learning studies solely focused on either sequence or structural features, recent hybrid architectures have sought to merge these modalities to harness their respective strengths. However, these sequence-structure models have so far achieved only incremental improvements when compared to the leading sequence-only approaches, highlighting unresolved challenges effectively leveraging these modalities together. Moreover, the function of certain proteins is highly dependent on the granular aspects of their surface topology, which have been overlooked by prior models. To address these limitations, we introduce the Sequence-Structure-Surface Fitness (S3F) model - a novel multimodal representation learning framework that integrates protein features across several scales. Our approach combines sequence representations from a protein language model with Geometric Vector Perceptron networks encoding protein backbone and detailed surface topology. The proposed method achieves state-of-the-art fitness prediction on the ProteinGym benchmark encompassing 217 substitution deep mutational scanning assays, and provides insights into the determinants of protein function. Our code is at https://github.com/DeepGraphLearning/S3F.

For agents

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

get_harvested_code_for_paper("2412.01108")
get_code_for_paper("2412.01108")
have("2412.01108")

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

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

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

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

Connect an agent — have() is free.