SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.20610 · 2024

PrevMatch: Revisiting and Maximizing Temporal Knowledge in Semi-Supervised Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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 0 have no contract verdict; 9 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/2405.20610.json · badge: /api/ran/2405.20610.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
wooseok-shin/PrevMatch canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
ASPPConv Ran
ran; our contract draft was wrong, not the code
wooseok-shin/PrevMatch/model/semseg/deeplabv3plus.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from cvlab-stonybrook/beyond-pixels, is pointer only (licence: NONE) · get_code("392d0834780485a1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from cvlab-stonybrook/beyond-pixels, 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
wooseok-shin/PrevMatch/model/backbone/resnet.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from guanyuezhen/ufcd, is pointer only (licence: NONE) · get_code("6ef392f365cc5703")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from guanyuezhen/ufcd, 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
wooseok-shin/PrevMatch/model/backbone/resnet.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from lewandofskee/MambaAD, is pointer only (licence: NONE) · get_code("794a2ed91a5175bd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from lewandofskee/MambaAD, 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.

crop Ran
ran; our contract draft was wrong, not the code
wooseok-shin/PrevMatch/dataset/transform.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from wangshanwen001/SemiEarth, is pointer only (licence: NONE) · get_code("21e12abf73350be0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from wangshanwen001/SemiEarth, 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_previous_logits Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wooseok-shin/PrevMatch/prev_utils.py
code served (permissive licence) · get_code("7a9f64d049e9d81e")
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, 3) 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
import numpy as np
import random

torch.manual_seed(0)
np.random.seed(0)
random.seed(0)

# Create a simple model that takes an image tensor and outputs logits
class SimpleModel(nn.Module):
    def __init__(self, input_dim=4, output_dim=3):
        super().__init__()
        self.fc = nn.Linear(input_dim, output_dim)
    
    def forward(self, x):
        return self.fc(x)

# Create multiple models for the prev_model_list
model1 = SimpleModel(input_dim=4, output_dim=3)
model2 = SimpleModel(input_dim=4, output_dim=3)
model3 = SimpleModel(input_dim=4, output_dim=3)

prev_model_list = [model1, model2, model3]

# Create a small image tensor (batch_size=2, channels=4)
img_u_w = torch.randn(2, 4)

# Set max_num to allow sampling from available models
max_num = 2

# random_select flag
random_select = True

ARGS = {
    "prev_model_list": prev_model_list,
    "img_u_w": img_u_w,
    "max_num": max_num,
    "random_select": random_select,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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, 3) — shape (2, 3) 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
hflip Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wooseok-shin/PrevMatch/dataset/transform.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from wangshanwen001/SemiEarth, is pointer only (licence: NONE) · get_code("9e96d1dddb1f71af")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from wangshanwen001/SemiEarth, 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.

normalize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wooseok-shin/PrevMatch/dataset/transform.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from wangshanwen001/SemiEarth, is pointer only (licence: NONE) · get_code("5717ec3a3f33f0a8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from wangshanwen001/SemiEarth, 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.

remove_module_prefix Ran
ran; our contract draft was wrong, not the code
wooseok-shin/PrevMatch/evaluate.py
code served (permissive licence) · get_code("f57298b14577ea23")
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 dict. 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)

# Create a state_dict that mimics multi-GPU training output
# with 'module.' prefixes and some without
state_dict = {
    'module.layer1.weight': torch.randn(4, 3),
    'module.layer1.bias': torch.randn(4),
    'module.layer2.weight': torch.randn(5, 4),
    'layer3.weight': torch.randn(2, 5),
    'layer3.bias': torch.randn(2),
}

ARGS = {
    'state_dict': state_dict,
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
setup_distributed Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wooseok-shin/PrevMatch/util/dist_helper.py
code served (permissive licence) · get_code("7c60f8e4d3bbd46f")
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 int; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 os
import torch

torch.manual_seed(0)

# For distributed setup, we need to set up environment variables
# since the function checks RANK and WORLD_SIZE from os.environ
# We'll set them before calling the function

# Set minimal distributed training environment variables
os.environ['RANK'] = '0'
os.environ['WORLD_SIZE'] = '1'
os.environ['MASTER_ADDR'] = 'localhost'
os.environ['MASTER_PORT'] = '29500'

ARGS = {
    'backend': 'gloo',  # Use 'gloo' instead of 'nccl' since we're CPU-only
    'port': 29500,
}
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, ndim 1, dtype family int — 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
resnet50 Not yet run
unverified (harvested, no recorded run)
wooseok-shin/PrevMatch/model/backbone/resnet.py
code served (permissive licence) · get_code("1c0a6c3a9a739ec2")
How it ran

no invocation recorded.

xception Not yet run
unverified (harvested, no recorded run)
wooseok-shin/PrevMatch/model/backbone/xception.py
code served (permissive licence) · get_code("73ea75af76a62e43")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 2 the same month, 7 later) and 2 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
conv1x1 431 other papers
351 dated earlier, 12 the same month, 57 later, 10 same year, order not determinable, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
conv3x3 312 other papers
246 dated earlier, 10 the same month, 45 later, 10 same year, order not determinable, 1 undated · 31 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
and 309 more not named here
hflip 6 other papers
4 dated earlier, 2 later
2106.05095 (2021-06)
ST++: Make Self-training Work Better for Semi-supervised Semantic Segmentation
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation
2308.09281 (2023-08)
Diverse Cotraining Makes Strong Semi-Supervised Segmentor
and 3 more not named here
crop 5 other papers
3 dated earlier, 2 later
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation
2308.09281 (2023-08)
Diverse Cotraining Makes Strong Semi-Supervised Segmentor
2403.06462 (2024-03)
Towards the Uncharted: Density-Descending Feature Perturbation for Semi-supervised Semantic Segmentation
and 2 more not named here
normalize 5 other papers
3 dated earlier, 2 later
2106.05095 (2021-06)
ST++: Make Self-training Work Better for Semi-supervised Semantic Segmentation
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation
2308.09281 (2023-08)
Diverse Cotraining Makes Strong Semi-Supervised Segmentor
and 2 more not named here
ASPPConv 3 other papers
2 dated earlier, 1 later
2106.05095 (2021-06)
ST++: Make Self-training Work Better for Semi-supervised Semantic Segmentation
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation
2407.04036 (2024-07)
Beyond Pixels: Semi-Supervised Semantic Segmentation with a Multi-scale Patch-based Multi-Label Classifier
resnet50 2 other papers
2 dated earlier
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation
2308.09281 (2023-08)
Diverse Cotraining Makes Strong Semi-Supervised Segmentor
setup_distributed 2 other papers
1 dated earlier, 1 later
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation
2410.10777 (2024-10)
UniMatch V2: Pushing the Limit of Semi-Supervised Semantic Segmentation
xception 1 other paper
1 dated earlier
2208.09910 (2022-08)
Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation

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

In semi-supervised semantic segmentation, the Mean Teacher- and co-training-based approaches are employed to mitigate confirmation bias and coupling problems. However, despite their high performance, these approaches frequently involve complex training pipelines and a substantial computational burden, limiting the scalability and compatibility of these methods. In this paper, we propose a PrevMatch framework that effectively mitigates the aforementioned limitations by maximizing the utilization of the temporal knowledge obtained during the training process. The PrevMatch framework relies on two core strategies: (1) we reconsider the use of temporal knowledge and thus directly utilize previous models obtained during training to generate additional pseudo-label guidance, referred to as previous guidance. (2) we design a highly randomized ensemble strategy to maximize the effectiveness of the previous guidance. PrevMatch, a simple yet effective plug-in method, can be seamlessly integrated into existing semi-supervised learning frameworks with minimal computational overhead. Experimental results on three benchmark semantic segmentation datasets show that incorporating PrevMatch into existing methods significantly improves their performance. Furthermore, our analysis indicates that PrevMatch facilitates stable optimization during training, resulting in improved generalization performance.

For agents

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

get_harvested_code_for_paper("2405.20610")
get_code_for_paper("2405.20610")
have("2405.20610")

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

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

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

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

Connect an agent — have() is free.