Papers › Spectrum Translation for Refinement of Image Generation (STIG) Based on Contrastive...

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

8 Mar 2024arXiv:2403.05093archive 2025-07-28

SeokJun Lee, Seung-Won Jung, Hyunseok Seo

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 cutting-edge 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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.05093")

Code

Syntology Ran 18 of 20 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 9 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 18 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ykykyk112/STIG officialpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 18 ran; 1 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
7ran · our draft was wrong
9ran
2unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ykykyk112/STIG. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Dis_block ykykyk112/STIG/model/stig_model.py official repository ran fingerprinted no licence file found · pointer only · bc08847f1f14b16a · report
LFLoss ykykyk112/STIG/model/stig_model.py official repository ran fingerprinted no licence file found · pointer only · d2430db1bcbe36b4 · report
NestedUNet ykykyk112/STIG/model/stig_model.py official repository ran no licence file found · pointer only · d57261e37a47d29a · report
PatchDiscriminator ykykyk112/STIG/model/stig_model.py official repository ran no licence file found · pointer only · ac50b6e3b07f7b21 · report
PatchNCELoss ykykyk112/STIG/model/stig_model.py official repository ran fingerprinted no licence file found · pointer only · dbe3805241714b39 · report
PatchSampleF ykykyk112/STIG/model/stig_model.py official repository ran no licence file found · pointer only · 33105c2f7e3b2eaa · report
RectAverage ykykyk112/STIG/model/stig_model.py official repository ran no licence file found · pointer only · bed91f63e5ea38ce · report
SSIM ykykyk112/STIG/model/stig_model.py official repository ran fingerprinted no licence file found · pointer only · 601a8fd30557fb04 · report
VGGBlock ykykyk112/STIG/model/stig_model.py official repository ran fingerprinted no licence file found · pointer only · 9213dc7a6ef0f1fa · report
fft2polar ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · b94669b3298f1041 · report
get_magnitude ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 0324dfc33fe509e2 · report
get_norm_layer ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong no licence file found · pointer only · 02554999a2d262c8 · report
image_normalize ykykyk112/STIG/model/stig_model.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 6cb3bd42770435d6 · report
img2fft ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 5c36ba8cd2e75e93 · report
init_net ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong no licence file found · pointer only · 761ab5993058b5ed · report
inverse_normalize ykykyk112/STIG/model/stig_model.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 65d0fbc5be44d148 · report
normalize ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 11ed20dd1b6821cc · report
polar2img ykykyk112/STIG/model/stig_model.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 485009e439d42988 · report
STIG ykykyk112/STIG/model/stig_model.py official repository unverified no licence file found · pointer only · 8f35e19d434ddfe9 · report
init_weights ykykyk112/STIG/model/stig_model.py official repository unverified no licence file found · pointer only · 7d2a877dc81eba70 · report

Tasks

Contrastive LearningFace SwappingImage GenerationImage-to-Image TranslationTranslation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive LearningDiffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections