SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.15779 · 2026

Diffusion Model-Based Data Augmentation for Enhanced Neuron Segmentation

Hua Han, Yizhuo Lu, Liuyun Jiang, Ruining Zhou, Yanchao Zhang, Jinyue Guo

arXiv · PDF · Open in the Atlas

Code that ran

21 of 24 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; 5 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 13 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2601.15779.json · badge: /api/ran/2601.15779.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
HeadLiuYun/NeuroDiff canonical (classifier label)
classifier basis: census
21 ran · 3 no recorded run
FunctionStatusWhere it lives
build_criterion Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/segmentation_scripts/inference.py
pointer only (licence: NONE) · get_code("e1909b8866534992")
How it ran

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

default Ran
ran, violated the contract we drafted
HeadLiuYun/NeuroDiff/diffusion_model/trainer.py
pointer only (licence: NONE) · get_code("fbf9ec7be545688e")
How it ran

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

exists Ran
ran, violated the contract we drafted
HeadLiuYun/NeuroDiff/diffusion_model/trainer.py
pointer only (licence: NONE) · get_code("608e364a9d2376a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HeadLiuYun/NeuroDiff 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_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/diffusion_model/fp16_util.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HeadLiuYun/NeuroDiff 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_positional_encoding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
HeadLiuYun/NeuroDiff/diffusion_model/neurodiff.py
pointer only (licence: NONE) · get_code("3a2fbd46f87f521e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HeadLiuYun/NeuroDiff 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_window_size Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
HeadLiuYun/NeuroDiff/segmentation_scripts/model/model_Swin_UNETR.py
pointer only (licence: NONE) · get_code("34484ba7deb03520")
How it ran

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

label_to_condition Ran
ran, violated the contract we drafted
HeadLiuYun/NeuroDiff/sample.py
pointer only (licence: NONE) · get_code("8f194461987f4c2e")
How it ran

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

load_gt_label Ran
ran, honoured the contract we drafted
HeadLiuYun/NeuroDiff/segmentation_scripts/evaluate.py
pointer only (licence: NONE) · get_code("139a6ad68dd79c69")
How it ran

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

load_h5 Ran
ran, honoured the contract we drafted
HeadLiuYun/NeuroDiff/segmentation_scripts/evaluate.py
pointer only (licence: NONE) · get_code("e4019caa2d0a2f13")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HeadLiuYun/NeuroDiff 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_master_params Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/diffusion_model/fp16_util.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050")
How it ran

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

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

mpi_weighted_mean Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/diffusion_model/logger.py
pointer only (licence: NONE) · get_code("e515a67f7f32e76d")
How it ran

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

num_to_groups Ran
ran, honoured the contract we drafted
HeadLiuYun/NeuroDiff/diffusion_model/trainer.py
pointer only (licence: NONE) · get_code("4f66ae7f14b3b240")
How it ran

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

read_mask_stack Ran
ran, honoured the contract we drafted
HeadLiuYun/NeuroDiff/sample.py
pointer only (licence: NONE) · get_code("4272aefe07cb6693")
How it ran

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

read_score_lines Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/segmentation_scripts/get_results.py
pointer only (licence: NONE) · get_code("23e6f260d85a7294")
How it ran

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

relabel Ran
ran, honoured the contract we drafted
HeadLiuYun/NeuroDiff/segmentation_scripts/evaluate.py
pointer only (licence: NONE) · get_code("781ac8f422a292c6")
How it ran

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

unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
HeadLiuYun/NeuroDiff/diffusion_model/fp16_util.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815")
How it ran

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

uniform_window_3d Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/sample.py
pointer only (licence: NONE) · get_code("39e744e9d9af0c31")
How it ran

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

window_partition Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/segmentation_scripts/model/model_Swin_UNETR.py
pointer only (licence: NONE) · get_code("8cd5fa7e1d693a92")
How it ran

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

window_reverse Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/segmentation_scripts/model/model_Swin_UNETR.py
pointer only (licence: NONE) · get_code("1545b891ff0bbdd7")
How it ran

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

zero_module Ran
ran; our contract draft was wrong, not the code
HeadLiuYun/NeuroDiff/diffusion_model/neurodiff.py
pointer only (licence: NONE) · get_code("129b804760b3115f")
How it ran

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

checkpoint Not yet run
unverified (harvested, no recorded run)
HeadLiuYun/NeuroDiff/diffusion_model/modules.py
pointer only (licence: NONE) · get_code("6c034e82ba5f0bd3")
How it ran

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

conv_nd Not yet run
unverified (harvested, no recorded run)
HeadLiuYun/NeuroDiff/diffusion_model/modules.py
pointer only (licence: NONE) · get_code("fe4eb545bbb728e0")
How it ran

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

profile Not yet run
unverified (harvested, no recorded run)
HeadLiuYun/NeuroDiff/diffusion_model/logger.py
pointer only (licence: NONE) · get_code("0c6607473a4c4c55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, HeadLiuYun/NeuroDiff 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 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 5 the same month, 9 later) and 9 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
default 207 other papers
200 dated earlier, 1 the same month, 6 later · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.08162 (2020-10)
SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning
and 204 more not named here
zero_module 196 other papers
191 dated earlier, 4 the same month, 1 later · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
exists 144 other papers
135 dated earlier, 2 the same month, 7 later · 40 only as an assembly brick
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
and 141 more not named here
conv_nd 121 other papers
119 dated earlier, 2 the same month · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
make_output_format 73 other papers
72 dated earlier, 1 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 70 more not named here
unflatten_master_params 72 other papers
71 dated earlier, 1 later
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
69 dated earlier, 1 later
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
67 dated earlier, 1 later
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here
profile 61 other papers
60 dated earlier, 1 later
1611.05763 (2016-11)
Learning to reinforcement learn
1905.06750 (2019-05)
Random Expert Distillation: Imitation Learning via Expert Policy Support Estimation
1906.05841 (2019-06)
Deep Reinforcement Learning for Industrial Insertion Tasks with Visual Inputs and Natural Rewards
and 58 more not named here
mpi_weighted_mean 52 other papers
52 dated earlier
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 49 more not named here
checkpoint 51 other papers
50 dated earlier, 1 the same month · 29 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
and 48 more not named here
get_window_size 26 other papers
25 dated earlier, 1 later · 7 only as an assembly brick
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2106.13230 (2021-06)
Video Swin Transformer
2111.14821 (2021-11)
End-to-End Referring Video Object Segmentation with Multimodal Transformers
and 23 more not named here
num_to_groups 8 other papers
8 dated earlier
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2105.06337 (2021-05)
Grad-TTS: A Diffusion Probabilistic Model for Text-to-Speech
2110.07579 (2021-10)
Diffusion Normalizing Flow
and 5 more not named here
window_partition 7 other papers
7 dated earlier
2204.00631 (2022-04)
UNetFormer: A Unified Vision Transformer Model and Pre-Training Framework for 3D Medical Image Segmentation
2211.02701 (2022-11)
MONAI: An open-source framework for deep learning in healthcare
2305.19467 (2023-05)
Synthetic CT Generation from MRI using 3D Transformer-based Denoising Diffusion Model
and 4 more not named here
window_reverse 3 other papers
3 dated earlier
2211.02701 (2022-11)
MONAI: An open-source framework for deep learning in healthcare
2305.19467 (2023-05)
Synthetic CT Generation from MRI using 3D Transformer-based Denoising Diffusion Model
aaai_28536 (2024 (year only))
A Robust Mutual-Reinforcing Framework for 3D Multi-Modal Medical Image Fusion Based on Visual-Semantic Consistency

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

Neuron segmentation in electron microscopy (EM) aims to reconstruct the complete neuronal connectome; however, current deep learning-based methods are limited by their reliance on large-scale training data and extensive, time-consuming manual annotations. Traditional methods augment the training set through geometric and photometric transformations; however, the generated samples remain highly correlated with the original images and lack structural diversity. To address this limitation, we propose a diffusion-based data augmentation framework capable of generating diverse and structurally plausible image-label pairs for neuron segmentation. Specifically, the framework employs a resolution-aware conditional diffusion model with multi-scale conditioning and EM resolution priors to enable voxel-level image synthesis from 3D masks. It further incorporates a biology-guided mask remodeling module that produces augmented masks with enhanced structural realism. Together, these components effectively enrich the training set and improve segmentation performance. On the AC3 and AC4 datasets under low-annotation regimes, our method improves the ARAND metric by 32.1% and 30.7%, respectively, when combined with two different post-processing methods. Our code is available at https://github.com/HeadLiuYun/NeuroDiff.

For agents

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

get_harvested_code_for_paper("2601.15779")
get_code_for_paper("2601.15779")
have("2601.15779")

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

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

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

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

Connect an agent — have() is free.