SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · openreview_0xJt4PqPJv

Explicitly Modeling Censoring Produces Superior Survival Predictors

Russell Greiner, Shi-Ang Qi, Yakun Yu

OpenReview · Open in the Atlas

Code that ran

10 of 15 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 3 have no contract verdict; 7 failures of our instrument; 5 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/openreview_0xJt4PqPJv.json · badge: /api/ran/openreview_0xJt4PqPJv.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
shi-ang/SALaD canonical (classifier label)
classifier basis: census
10 ran · 5 no recorded run
FunctionStatusWhere it lives
clip Ran
ran on a synthesized input
shi-ang/SALaD/iwsg/util.py
code served (permissive licence) · get_code("f18a0a3d2a6b23ec")
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 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
import torch.nn as nn

torch.manual_seed(0)

# The function clip(prob, clip_min) calls prob.clamp(min=clip_min)
# So prob must be a torch.Tensor and clip_min must be a numeric value

# Create a small tensor with some negative, zero, and positive values
prob = torch.randn(2, 4)

# clip_min is a scalar threshold value
clip_min = 0.1

ARGS = {
    "prob": prob,
    "clip_min": clip_min,
}
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 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
create_representation Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/dcsurvival/nde.py
pointer only (licence: MIT); the stored copy get_code serves, from weijiazhang24/dcsurvival, is pointer only (licence: NONE) · get_code("e5b1c9b1af995cfe")
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 weijiazhang24/dcsurvival, 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.

create_representation_positive Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/dcsurvival/nde.py
pointer only (licence: MIT); the stored copy get_code serves, from weijiazhang24/dcsurvival, is pointer only (licence: NONE) · get_code("7fba6a30b5b91936")
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 weijiazhang24/dcsurvival, 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.

df2dataset Ran
ran on a synthesized input
shi-ang/SALaD/iwsg/data_utils.py
code served (permissive licence) · get_code("3ae8c1126e6b8dce")
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 SyntheticDataset. 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 pandas as pd
import numpy as np

torch.manual_seed(0)

# Create a small synthetic DataFrame
# Needs columns: 'time', 'event', and at least one feature column
data_dict = {
    'time': [1.5, 2.3, 0.8, 3.1],
    'event': [1, 0, 1, 0],
    'feature_1': [0.1, 0.2, 0.3, 0.4],
    'feature_2': [0.5, 0.6, 0.7, 0.8],
}
data = pd.DataFrame(data_dict)

# Create bins tensor for bucketization
# bins should have some values that times can be clipped and bucketed into
bins = torch.tensor([0.5, 1.5, 2.5, 3.5], dtype=torch.float32)

ARGS = {
    'data': data,
    'bins': bins,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SyntheticDataset — a SyntheticDataset 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
isnan Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/iwsg/util.py
code served (permissive licence) · get_code("8a9ebc7bfedb61ac")
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 0, dtype family float, shape () 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)

# The function isnan takes a single parameter x and checks if any element is NaN
# x should be a tensor
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 0, dtype family float, shape () — shape () 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
log_density Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/dcsurvival/survival.py
pointer only (licence: MIT); the stored copy get_code serves, from weijiazhang24/dcsurvival, is pointer only (licence: NONE) · get_code("5fb9d8fdf68dde58")
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 weijiazhang24/dcsurvival, 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.

log_survival Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/dcsurvival/survival.py
pointer only (licence: MIT); the stored copy get_code serves, from weijiazhang24/dcsurvival, is pointer only (licence: NONE) · get_code("fbffaede87b84139")
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 weijiazhang24/dcsurvival, 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.

make_loaders_from_df Ran
ran on a synthesized input
shi-ang/SALaD/iwsg/data_utils.py
code served (permissive licence) · get_code("14fd10f8f7902437")
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 torch
import numpy as np
import pandas as pd

torch.manual_seed(0)

# Create small synthetic dataframes
n_train = 8
n_val = 4
n_features = 3

df_train = pd.DataFrame({
    'time': np.random.exponential(1.0, n_train),
    'event': np.random.randint(0, 2, n_train),
    'feature_1': np.random.randn(n_train),
    'feature_2': np.random.randn(n_train),
    'feature_3': np.random.randn(n_train),
})

df_val = pd.DataFrame({
    'time': np.random.exponential(1.0, n_val),
    'event': np.random.randint(0, 2, n_val),
    'feature_1': np.random.randn(n_val),
    'feature_2': np.random.randn(n_val),
    'feature_3': np.random.randn(n_val),
})

# Create bins tensor for bucketization
bins = torch.linspace(0, 5, 6)

batch_size = 2

ARGS = {
    'df_train': df_train,
    'df_val': df_val,
    'bins': bins,
    'batch_size': batch_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, torch — 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
safe_log Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/iwsg/util.py
code served (permissive licence) · get_code("81be6fa4b449a9c3")
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 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)

# safe_log takes two parameters:
# - x: a tensor that will have eps added to it and then log() called
# - eps: a small epsilon value for numerical stability

x = torch.tensor([[1.0, 2.0, 3.0, 4.0],
                   [5.0, 6.0, 7.0, 8.0]])
eps = 1e-8

ARGS = {
    "x": x,
    "eps": eps,
}
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 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
survival Ran
ran; our contract draft was wrong, not the code
shi-ang/SALaD/dcsurvival/survival.py
pointer only (licence: MIT); the stored copy get_code serves, from weijiazhang24/dcsurvival, is pointer only (licence: NONE) · get_code("0203f3aa16887432")
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 weijiazhang24/dcsurvival, 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.

build_sequential_nn Not yet run
unverified (harvested, no recorded run)
shi-ang/SALaD/model/utils.py
code served (permissive licence) · get_code("6f65fd7aa4a33a90")
How it ran

no invocation recorded.

crossing_loss Not yet run
unverified (harvested, no recorded run)
shi-ang/SALaD/model/loss.py
code served (permissive licence) · get_code("af857d576e9f9472")
How it ran

no invocation recorded.

quantile_loss Not yet run
unverified (harvested, no recorded run)
shi-ang/SALaD/model/loss.py
code served (permissive licence) · get_code("51a6f12ab6a231e2")
How it ran

no invocation recorded.

tensors_to_dataset Not yet run
unverified (harvested, no recorded run)
shi-ang/SALaD/iwsg/data_utils.py
code served (permissive licence) · get_code("e60e5bfa83bc2176")
How it ran

no invocation recorded.

total_loss Not yet run
unverified (harvested, no recorded run)
shi-ang/SALaD/dcsurvival/nde.py
pointer only (licence: MIT); the stored copy get_code serves, from weijiazhang24/dcsurvival, is pointer only (licence: NONE) · get_code("67c620a7172fb3c6")
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 weijiazhang24/dcsurvival, 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 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 8 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 7 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
create_representation 1 other paper
1 same year, order not determinable
2312.15566 (2023-12)
Deep Copula-Based Survival Analysis for Dependent Censoring with Identifiability Guarantees
create_representation_positive 1 other paper
1 same year, order not determinable
2312.15566 (2023-12)
Deep Copula-Based Survival Analysis for Dependent Censoring with Identifiability Guarantees
isnan 1 other paper
1 same year, order not determinable
2111.08175 (2021-11)
Inverse-Weighted Survival Games
log_density 1 other paper
1 same year, order not determinable
2312.15566 (2023-12)
Deep Copula-Based Survival Analysis for Dependent Censoring with Identifiability Guarantees
log_survival 1 other paper
1 same year, order not determinable
2312.15566 (2023-12)
Deep Copula-Based Survival Analysis for Dependent Censoring with Identifiability Guarantees
safe_log 1 other paper
1 same year, order not determinable
2111.08175 (2021-11)
Inverse-Weighted Survival Games
survival 1 other paper
1 same year, order not determinable
2312.15566 (2023-12)
Deep Copula-Based Survival Analysis for Dependent Censoring with Identifiability Guarantees
total_loss 1 other paper
1 same year, order not determinable
2312.15566 (2023-12)
Deep Copula-Based Survival Analysis for Dependent Censoring with Identifiability Guarantees

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

Likelihood-based training is the dominant paradigm in survival prediction. Under independent censoring, we can factorize the likelihood and optimize only the terms related to event modeling, effectively treating the censoring mechanism as incidental. This is justified when censoring is non-informative, i.e., when the censoring process shares no parameters with the event-time model. However, this may not hold in practice, and ignoring censoring contributions may discard useful signals for learning representations that can help to effectively estimate event distributions. Motivated by this, we argue that explicitly modeling censoring can improve representation learning and time-to-event estimation, particularly when event and censoring processes are coupled. We introduce a latent decomposition view in which observed covariates are mapped to latent components corresponding to event-specific, censoringspecific, confounding, and irrelevant information. We then learn decomposed representations for the first three categories to guide a better estimation of the event distribution. We instantiate our method on 4 popular deep-learning survival models and evaluate on 10 datasets (2 semi-synthetic and 8 real-world), showing consistent gains over strong baselines and multiple SOTA methods.

For agents

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

get_harvested_code_for_paper("openreview_0xJt4PqPJv")
get_code_for_paper("openreview_0xJt4PqPJv")
have("openreview_0xJt4PqPJv")

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

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

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

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

Connect an agent — have() is free.