Papers › On Output Activation Functions for Adversarial Losses: A Theoretical Analysis via...

On Output Activation Functions for Adversarial Losses: A Theoretical Analysis via Variational Divergence Minimization and An Empirical Study on MNIST Classification

25 Jan 2019arXiv:1901.08753archive 2025-07-28

Hao-Wen Dong, Yi-Hsuan Yang

Recent years have seen adversarial losses been applied to many fields. Their applications extend beyond the originally proposed generative modeling to conditional generative and discriminative settings. While prior work has proposed various output activation functions and regularization approaches, some open questions still remain unanswered. In this paper, we aim to study the following two research questions: 1) What types of output activation functions form a well-behaved adversarial loss? 2) How different combinations of output activation functions and regularization approaches perform empirically against one another? To answer the first question, we adopt the perspective of variational divergence minimization and consider an adversarial loss well-behaved if it behaves as a divergence-like measure between the data and model distributions. Using a generalized formulation for adversarial losses, we derive the necessary and sufficient conditions of a well-behaved adversarial loss. Our analysis reveals a large class of theoretically valid adversarial losses. For the second question, we propose a simple comparative framework for adversarial losses using discriminative adversarial networks. The proposed framework allows us to efficiently evaluate adversarial losses using a standard evaluation metric such as the classification accuracy. With the proposed framework, we evaluate a comprehensive set of 168 combinations of twelve output activation functions and fourteen regularization approaches on the handwritten digit classification problem to decouple their effects. Our empirical findings suggest that there is no single winning combination of output activation functions and regularization approaches across all settings. Our theoretical and empirical results may together serve as a reference for choosing or designing adversarial losses in future research.

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="1901.08753")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

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

salu133445/dan officialmentioned in papermentioned on GitHubtfMIT 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

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 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.

16unverified

Licence: 0 of the 16 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 salu133445/dan. “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.

classic_gan_losses salu133445/dan/src/dan/losses.py official repository unverified MIT (permissive) · 39a7b44290d7f7d6 · report
convconcat salu133445/dan/src/dan/presets/ops.py official repository unverified MIT (permissive) · 532ce6c3a951d80b · report
get_adv_losses salu133445/dan/src/dan/losses.py official repository unverified MIT (permissive) · 7ebc66c169767bcf · report
get_l2_norm salu133445/dan/src/dan/model.py official repository unverified MIT (permissive) · 5da276d0f1cfbea3 · report
get_normalization salu133445/dan/src/dan/presets/ops.py official repository unverified MIT (permissive) · 6c50317414bf1d88 · report
load_component salu133445/dan/src/dan/utils.py official repository unverified MIT (permissive) · 99d72493ce9b6a6c · report
load_data salu133445/dan/src/dan/data.py official repository unverified MIT (permissive) · 437ca4ed58b40c6c · report
load_data_from_npy salu133445/dan/src/dan/data.py official repository unverified MIT (permissive) · d734bf997af678c8 · report
load_params salu133445/dan/src/dan/utils.py official repository unverified MIT (permissive) · 88a4709aadaa1849 · report
load_yaml salu133445/dan/src/dan/utils.py official repository unverified MIT (permissive) · e9b277604f711d0d · report
nonsaturating_gan_losses salu133445/dan/src/dan/losses.py official repository unverified MIT (permissive) · d2616d28a605aeb3 · report
set_data_shape salu133445/dan/src/dan/data.py official repository unverified MIT (permissive) · 4e288115d85d7bcc · report
shift salu133445/dan/src/process_data.py official repository unverified MIT (permissive) · 54aa94d3da1df967 · report
sn_conv2d salu133445/dan/src/dan/presets/spectral_norm.py official repository unverified MIT (permissive) · d9d55b6590a04aee · report
sn_dense salu133445/dan/src/dan/presets/spectral_norm.py official repository unverified MIT (permissive) · 1f9327121f6048f9 · report
spectral_normalize salu133445/dan/src/dan/presets/spectral_norm.py official repository unverified MIT (permissive) · 95cafc39c0a7381c · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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