SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.05093 · AAAI · 2024

Spectrum Translation for Refinement of Image Generation (STIG) Based on Contrastive Learning and Spectral Filter Profile

Seokjun Lee, Seung-Won Jung, Hyunseok Seo

arXiv · PDF · Open in the Atlas

Code that ran

18 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (8 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 9 have no contract verdict; 7 failures of our instrument; 2 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/2403.05093.json · badge: /api/ran/2403.05093.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
ykykyk112/STIG marked official in Papers with Code
Papers with Code archive
18 ran · 2 no recorded run
FunctionStatusWhere it lives
Dis_block Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("bc08847f1f14b16a")
How it ran

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

LFLoss Ran
ran on a synthesized input
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("d2430db1bcbe36b4")
How it ran

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

NestedUNet Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("d57261e37a47d29a")
How it ran

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

PatchDiscriminator Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("ac50b6e3b07f7b21")
How it ran

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

PatchNCELoss Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("dbe3805241714b39")
How it ran

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

PatchSampleF Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("33105c2f7e3b2eaa")
How it ran

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

RectAverage Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("bed91f63e5ea38ce")
How it ran

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

SSIM Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("601a8fd30557fb04")
How it ran

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

VGGBlock Ran
ran on a synthesized input · constructed an object; no result was computed
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("9213dc7a6ef0f1fa")
How it ran

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

fft2polar Ran
ran; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("b94669b3298f1041")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ykykyk112/STIG 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_magnitude Ran
ran; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("0324dfc33fe509e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ykykyk112/STIG 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_norm_layer Ran
ran; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("02554999a2d262c8")
How it ran

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

image_normalize Ran
ran, violated the contract we drafted
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("6cb3bd42770435d6")
How it ran

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

img2fft Ran
ran; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("5c36ba8cd2e75e93")
How it ran

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

init_net Ran
ran; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("761ab5993058b5ed")
How it ran

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

inverse_normalize Ran
ran, honoured the contract we drafted
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("65d0fbc5be44d148")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ykykyk112/STIG 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; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("11ed20dd1b6821cc")
How it ran

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

polar2img Ran
ran; our contract draft was wrong, not the code
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("485009e439d42988")
How it ran

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

STIG Not yet run
unverified (harvested, no recorded run)
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("8f35e19d434ddfe9")
How it ran

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

init_weights Not yet run
unverified (harvested, no recorded run)
ykykyk112/STIG/model/stig_model.py
pointer only (licence: NONE) · get_code("7d2a877dc81eba70")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ykykyk112/STIG 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 16 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
get_norm_layer
brick of this paper's assembly: helper
16 other papers
11 dated earlier, 5 later · 2 only as an assembly brick
1511.06434 (2015-11)
Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
1909.08313 (2019-09)
Unsupervised Sketch-to-Photo Synthesis
2007.15651 (2020-07)
Contrastive Learning for Unpaired Image-to-Image Translation
and 13 more not named here
SSIM
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2411.01573 (2024-11)
Conditional Controllable Image Fusion
2502.00563 (2025-02)
Complex Wavelet Mutual Information Loss: A Multi-Scale Loss Function for Semantic Segmentation
init_weights
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2204.13656 (2022-04)
Unsupervised Multi-Modal Medical Image Registration via Discriminator-Free Image-to-Image Translation
2602.04307 (2026-02)
Universal Robust Speech Adaptation for Cross-Domain Speech Recognition and Enhancement
init_net
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2104.00854 (2021-04)
The Spatially-Correlative Loss for Various Image Translation Tasks

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

Currently, image generation and synthesis have remarkably progressed with generative models. Despite photo-realistic results, intrinsic discrepancies are still observed in the frequency domain. The spectral discrepancy appeared not only in generative adversarial networks but in diffusion models. In this study, we propose a framework to effectively mitigate the disparity in frequency domain of the generated images to improve generative performance of both GAN and diffusion models. This is realized by spectrum translation for the refinement of image generation (STIG) based on contrastive learning. We adopt theoretical logic of frequency components in various generative networks. The key idea, here, is to refine the spectrum of the generated image via the concept of image-to-image translation and contrastive learning in terms of digital signal processing. We evaluate our framework across eight fake image datasets and various cuttingedge models to demonstrate the effectiveness of STIG. Our framework outperforms other cutting-edges showing significant decreases in FID and log frequency distance of spectrum. We further emphasize that STIG improves image quality by decreasing the spectral anomaly. Additionally, validation results present that the frequency-based deepfake detector confuses more in the case where fake spectrums are manipulated by STIG.

For agents

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

get_harvested_code_for_paper("2403.05093")
get_code_for_paper("2403.05093")
have("2403.05093")

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

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

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

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

Connect an agent — have() is free.