cGANs with Projection Discriminator
Paper · 2018 · Takeru Miyato and Masanori Koyama
Summary
A conditional image generator has to satisfy two demands at once: its output should look plausible, and it should fit the condition it was given. A convincing picture of the wrong category is still a failure. So is a system that represents a category with the same recognizable picture over and over. cGANs with Projection Discriminator studies how to make the discriminator—the network that supplies the generator’s training signal—judge these demands together. Its central proposal is a simple architectural change: measure the compatibility between an image representation and a condition representation through an inner product.
The usual alternative examined in the paper is concatenation. This joins the condition vector to image features and asks later layers to learn how the two should interact. The authors instead start from the probability ratio that an ideal discriminator would represent. They separate this ratio into an image-dependent component and a component describing how the condition relates to the image. Under particular assumptions about that conditional relationship, the second component naturally becomes an inner product. The resulting discriminator adds a condition-dependent compatibility score to a score computed from the image alone. This makes the architecture a deliberate restriction on the discriminator’s possible functions, motivated by the structure of the probability distributions being compared.
The experiments cover category-controlled generation and super-resolution on ILSVRC2012, also called ImageNet. For category-controlled generation, the authors train a single generator–discriminator pair across 1,000 classes, using images resized to 128 × 128 pixels. Their projection discriminator performs better than the concatenation baseline in the reported inception-score comparisons and achieves lower within-class Fréchet Inception Distance, or intra FID. The authors also report more severe losses of diversity with the auxiliary-classifier baseline. In preliminary CIFAR-100 experiments, the best reported projection setting reaches an inception score of 9.53, while the concatenation variants reach at most 8.82. In super-resolution, projection gives better reported classification accuracy and structural similarity than the learned concatenation alternative, with visual examples showing cleaner boundaries.
The conclusion is narrower than a claim that an inner product is always the right conditioning mechanism. The probability argument depends on assumptions about the condition given the image, and the authors explicitly leave the connection between those assumptions and generator training partly unresolved. Their results support projection as an effective discriminator design for the tested settings. They also illustrate a broader lesson: the form of a critic matters, and making generated outputs easy to classify does not necessarily make their distribution faithful to the data. Category interpolation and classifier-guided fine-tuning provide further illustrations of the learned system’s behavior, but neither removes the need to examine diversity and failure cases.
Interesting ideas
Start from the ideal score. Before choosing how to combine inputs, ask what quantity the network is supposed to approximate. The authors derive their design from the discriminator’s optimal log probability ratio, instead of beginning with a preferred feature-combination operation. This provides a useful pattern for other machine learning problems: identify the decision quantity, decompose it into meaningful parts, and let that decomposition suggest the architecture. The argument does not need to characterize the whole task perfectly to be useful. Even a restricted probabilistic account can reveal which interactions deserve explicit representation.
Separate compatibility from general quality. The projection discriminator contains an image-only contribution and a contribution linking the image to its condition. These terms answer related but distinguishable questions: does the image resemble the target image distribution, and does its representation agree with the supplied condition? A similar separation could help whenever an output must satisfy both general standards and a particular request. The transferable idea is the decomposition itself. It encourages a designer to inspect whether a system succeeds because its outputs are broadly plausible, because they match the request, or because both judgments agree.
Use an explicit interaction when the assumptions justify it. Concatenation places two representations beside each other; projection requires them to interact through an inner product. This constrains how conditional information can affect the final decision. Such a constraint can be helpful when unrestricted combinations admit behavior that is unnecessary for the intended probability relationship. The paper supports this choice for its image experiments, while also warning that different conditional distributions may call for greater flexibility. The reusable principle is to make the interaction express an assumption that can be discussed and tested.
Measure variation within the condition. A generator can appear successful when its outputs are recognizable yet represent only a small part of each category. The authors therefore examine feature-distribution distance separately inside each class. This makes the evaluation sensitive to behavior that an aggregate recognition score can obscure. The idea extends to any conditional generation setting in which each request admits several valid outputs: evaluate the spread and character of outputs under the same condition, instead of relying only on how frequently a classifier assigns the requested label.
Treat auxiliary objectives as changes in what success means. Adding a pretrained classifier to the generator’s loss improves the appearance of some examples in the paper, but reduces diversity. The extra objective rewards a particular evaluator’s preferences. This is useful beyond adversarial image generation because many systems are optimized against convenient proxy scores. A higher proxy score should prompt a second question: which parts of the target behavior became less valuable under the revised objective? Here, classifier-friendly appearance and faithful coverage of the data do not move together automatically.
Test architecture against reasonable optimization alternatives. The authors vary learning rate and momentum when comparing projection with concatenation on CIFAR-100. They also consider several locations at which the condition can be concatenated. These checks make the architectural comparison more informative than a contest against an arbitrary weak setting. The general lesson is to investigate plausible explanations for a baseline’s failure before assigning the entire improvement to a new component. A compact sensitivity study can reveal whether a design advantage persists when the competing approach receives reasonable choices.
Deep dive: cGANs with Projection Discriminator
How projection discriminators condition GANs, why the inner product matters, and what image generation and super-resolution experiments establish. · about 33 minutes to read
How Mova uses it
For Mova, a small transparent language system written in Rust, the most useful connection is a possible scoring design instead of the image generator itself. Nothing in the paper establishes that Mova already contains a projection discriminator, an adversarial training procedure, or the image architectures used in the experiments. The concrete opportunity is to adapt the separation between an input’s general score and its compatibility with a condition. Such an adaptation would be a proposal for Mova, with its own evaluation requirements.
A language system frequently needs to assess a candidate under some surrounding requirement. That requirement might concern the task being performed or the context in which a candidate will be used. A projection-inspired component could represent the candidate, represent the condition, and expose their inner product as a distinct compatibility contribution. Another contribution could assess the candidate without reference to that particular condition. The attraction for a transparent system is that the final score would have visible parts with different intended roles.
This would make some failures easier to describe. A candidate might receive a favorable general score but a poor compatibility score, suggesting that it is acceptable in isolation while unsuitable for the current request. Another candidate might match the request strongly while receiving a weak general score. These are proposed interpretations of a scoring interface, not behaviors demonstrated for Mova. They would become useful only if the representations and evaluation actually supported them.
An implementation in Rust could keep the relevant operations explicit: feature extraction, condition lookup or construction, an inner product, and the addition of the general score. This is a concrete computational shape that can be inspected. It does not imply that the learned features are automatically understandable. A transparent arithmetic operation can still combine opaque representations. The contribution to transparency would be a clear account of how the condition enters the score, together with the ability to inspect each contribution separately.
The probability argument would need to be reconsidered for the chosen language task. In the paper, the categorical derivation assumes a particular form for the distribution of labels given image features. Its continuous derivation assumes Gaussian conditionals with matching precision matrices. A language application would not inherit either justification merely by using an inner product. Mova would need an account of what its condition represents, what alternatives are possible, and why a restricted interaction is appropriate.
The evaluation lesson may be useful even without adopting the architecture. A language system can produce outputs that are easy for an evaluator to approve while covering too little of the acceptable response space. The paper’s auxiliary-classifier experiment offers a reason to distinguish evaluator success from fidelity to the intended task. For Mova, a proposed scoring change should therefore be checked against the behavior it encourages, including whether different valid candidates remain available under the same condition.
The paper also suggests a disciplined boundary for future work. A projection-inspired score could be tested as a small component before considering an adversarial training system. The image results do not establish an advantage for language, and category morphing does not establish controllable linguistic transformations. What can be borrowed honestly is the design question: can a simple, explicit compatibility operation improve conditional decisions while making their structure easier to inspect?
The problem and its context
Why conditional judgment needs its own design
An ordinary generative adversarial network trains through a contest between a generator and a discriminator. The generator produces samples. The discriminator learns to distinguish those samples from examples drawn from the target data. The generator then changes in response to the discriminator’s judgments. As training alternates between the two networks, the discriminator supplies a moving assessment of where the generated distribution differs from the target.
Conditional generation adds another variable to this process. The generator receives information specifying what kind of output to produce, and the discriminator must evaluate an image together with that information. In class-controlled image synthesis, the condition is a category label. In super-resolution, the condition is the low-resolution image from which a higher-resolution image is to be inferred. These are different tasks, but both require the discriminator to assess a relationship between its inputs.
The paper places this problem among several applications of conditional adversarial learning. It discusses category-controlled generation, image creation from text, and translation between image domains. These applications establish why conditioning is not a minor implementation detail. A conditional system can learn a generally realistic output distribution while using the condition poorly. Conversely, it can satisfy an easily recognized property of the condition while producing an impoverished set of outputs.
The authors focus on the discriminator because it defines the distinctions that matter during training. A generator cannot directly optimize against an abstract statement such as “reproduce the whole conditional data distribution.” It receives gradients from a particular critic. The critic’s architecture determines which relationships it can express readily, which it must approximate indirectly, and which are excluded. Architectural choices therefore affect the practical measure of discrepancy used to train the generator.
What concatenation leaves unspecified
Earlier conditional discriminators described in the paper commonly introduce the condition by concatenating it with another representation. Some join it to the input. Others insert an embedded condition into an intermediate feature representation. Both methods provide the network with the relevant information, but they leave the subsequent interaction to learned layers.
This is a reasonable general mechanism: the network has access to both the sample and its condition. The authors’ objection is more specific than saying concatenation cannot work. They argue that the resulting function space does not explicitly reflect the probability structure that an optimal discriminator would have under common assumptions. It may include complicated relationships that lack a clear role in the intended conditional comparison.
Projection takes the opposite design direction. It starts with a statement about the discriminator’s ideal score and asks what architecture follows when the conditional distributions have a particular form. The result restricts the score’s dependence on the condition. That restriction is central to the contribution. The authors are not trying to show that projection can express every function available to a concatenation network. They are investigating whether a more appropriate restriction improves the critic used for training.
This places the paper’s argument within a broader issue of interpretability: an architecture can make the role of an input explicit without explaining every learned feature. The condition has an identifiable route into the final score, and that route corresponds to a probability argument. The paper does not offer a general explanation of the visual features learned by the discriminator.
Auxiliary classification changes the pressure on the generator
The other major comparison is with auxiliary-classifier GANs, called AC-GANs. In the account given by the authors, this approach combines a discriminator with a classifier sharing part of the same network. The training objective includes category-prediction terms for both real and generated images. Conditional information therefore influences learning through the loss, rather than only through the form of the discriminator’s sample–condition score.
This creates a potentially useful signal: generated images should make their intended category recognizable. But recognition and faithful sampling are different requirements. An auxiliary classifier may favor a small set of especially recognizable appearances. If the generator concentrates on these, the label can become easy to predict while the generated distribution loses variation present in the data.
The paper reports that earlier AC-GAN work had already identified a worsening tendency as the number of labels increased. The authors observe a related failure in their own ImageNet experiment. Their auxiliary-classifier system can make recognizable outputs, yet collapses to very limited variation in many classes. This observation motivates their attention to both visual quality and diversity.
They discuss Plug and Play Generative Networks, or PPGNs, for a similar reason. As described in the paper, PPGNs use a sampling procedure driven by gradients from an image prior and a pretrained classifier. The authors suggest that a strong classifier contribution can pull sampling toward images that the classifier especially favors. Their concern is about the objective’s emphasis, not a claim that auxiliary information can never help.
Why super-resolution belongs in the same argument
Super-resolution might initially seem different from choosing a category. A low-resolution image contains spatial information, whereas a category label is a discrete identifier. The authors connect them through the direction of the conditional probability used in their derivation.
Given a low-resolution image, several high-resolution images may be plausible. Yet a particular high-resolution image will typically have a much more constrained low-resolution counterpart. The paper’s assumptions concern the condition given the sample, instead of requiring the sample given the condition to be unimodal. This distinction allows a relatively simple account of the reverse conditional relationship while retaining uncertainty in the desired output.
That observation is important for understanding the scope of projection. The architecture is not justified by a claim that every input condition has a unique correct output. In fact, the super-resolution experiments deliberately retain a random generator input. The method is intended to support conditional distributions, including cases where several outputs can correspond to the same condition.
The method, step by step
The method begins with a discriminator score, derives a suitable way for the condition to enter that score, and then trains the resulting adversarial system. The derivation and the experimental objective serve different purposes. The probability argument uses the familiar sigmoid discriminator formulation. The experiments use a hinge objective and leave the discriminator’s final score unbounded by a sigmoid.
Building and training the conditional critic
The steps in order.
Define the discriminator’s score
The paper writes the discriminator as an activation applied to an underlying score:
D(x, y; θ) = A(f(x, y; θ))
Here, x is the sample, such as an image, and y is its condition. The symbol θ denotes the learned parameters. The function f produces a scalar score, while A is the final activation. D is the discriminator’s output. Distinguishing f from D matters because the derivation initially uses a sigmoid activation, whereas the experiments use the identity activation.
Let q describe the target data distribution and p describe the generator’s distribution. In the standard sigmoid formulation, the discriminator is trained with the following loss:
L(D) = −E_{y∼q(y)} E_{x∼q(x|y)}[log D(x,y)] − E_{y∼p(y)} E_{x∼p(x|y)}[log(1 − D(x,y))]
L(D) is the discriminator loss. E denotes an expectation, meaning an average under the indicated distribution. The first term concerns genuine sample–condition pairs drawn from q. The second concerns generated pairs drawn from p. The conditional distributions q(x|y) and p(x|y) describe samples under a particular condition, while q(y) and p(y) describe how conditions are selected. The logarithm is written as log.
This objective rewards high discriminator output on target examples and low output on generated examples. More importantly for the architectural argument, its ideal underlying score can be expressed as a log ratio between the target and generated joint distributions.
Decompose the ideal decision quantity
The key decomposition is:
f*(x,y) = log[q(x|y)q(y) / (p(x|y)p(y))] = log[q(y|x) / p(y|x)] + log[q(x) / p(x)] = r(y|x) + r(x)
The asterisk in f* marks the optimal score for the stated discriminator objective. The products q(x|y)q(y) and p(x|y)p(y) are the target and generated joint probabilities. The functions r(y|x) and r(x) name the conditional and marginal log ratios, respectively. The distributions q(y|x) and p(y|x) describe the condition given the sample; q(x) and p(x) describe samples without fixing a condition.
The first useful consequence is conceptual. One part of the ideal score concerns how the condition relates to the sample. Another part concerns how the sample distribution differs overall. This does not mean that the trained network learns two perfectly isolated explanations. It means that the optimal decision quantity admits a decomposition that can guide the architecture.
The second consequence is directional. The derivation turns a ratio involving x given y into a term involving y given x. For category generation, that means reasoning about category probabilities from image features. For super-resolution, it means reasoning about the low-resolution condition given the high-resolution sample. The shape of this reverse relationship is what motivates the proposed restriction.
Turn the decomposition into a network
The proposed score has the following form:
f(x,y;θ) = yᵀVφ(x;θΦ) + ψ(φ(x;θΦ);θΨ)
The function φ maps x to a feature vector and has parameters θΦ. The matrix V embeds or linearly transforms the condition y. The superscript T denotes transposition, so yᵀVφ is an inner product between compatible representations. The function ψ produces a scalar from the same image features and has parameters θΨ. The complete learned parameter set θ includes V, θΦ, and θΨ.
The compatibility term changes with the condition. The ψ term does not directly receive y. This is the architectural expression of the earlier decomposition, although ψ can absorb several image-dependent contributions rather than corresponding only to the marginal ratio in isolation.
For a categorical condition, y can be represented by a one-hot vector: a vector identifying the chosen category through its active entry. Multiplying this vector by V selects the corresponding category embedding. The discriminator then compares that embedding with the image features through the inner product.
This avoids the need to replicate the category information across a spatial feature map at the final interaction. The important point is not merely where the label is inserted. It is that the final condition-dependent contribution is constrained to have a particular algebraic form.
Why categorical conditions lead to projection
For category labels, the authors assume a log-linear conditional distribution:
log p(y=c|x) = (v_cᵖ)ᵀφ(x) − log Zᵖ(φ(x))
The symbol c identifies a category, and v_cᵖ is its coefficient vector under the generated distribution p. The function φ supplies the image features. Zᵖ is the normalization term that makes the category probabilities sum appropriately. The superscript p distinguishes quantities associated with the generator distribution from corresponding quantities for the target distribution.
The normalization is:
Zᵖ(φ(x)) = Σ_{j=1}^{C} exp((v_jᵖ)ᵀφ(x))
The symbol Σ denotes summation, j indexes the categories, and C is the number of categories. The function exp is the exponential. Each v_jᵖ contributes a category-specific score, and Zᵖ combines those scores into the normalizer.
The authors assume that q(y|x) admits the same form using the same feature map, but potentially different category coefficients. Subtracting the two log probabilities gives:
log[q(y=c|x) / p(y=c|x)] = (v_cᑫ − v_cᵖ)ᵀφ(x) − [log Zᑫ(φ(x)) − log Zᵖ(φ(x))]
The vector v_cᑫ belongs to the target conditional distribution, and Zᑫ is its normalizer. The difference between the category vectors provides the condition-dependent coefficient. The bracketed normalization difference depends on the image features, but not on which category c is being evaluated.
That distinction permits the normalization difference to join the other image-only terms inside ψ. Defining v_c as the difference between the target and generated category coefficients yields:
f(x,y=c) = v_cᵀφ(x) + ψ(φ(x))
Here, v_c is the learned vector associated with category c after the difference has been absorbed into a single parameterization. The term φ(x) remains the image representation, and ψ remains a scalar function of that representation. This is the category-specific form of the general projection architecture.
The derivation does not require separately estimating all the probability distributions and then subtracting their learned coefficients. The actual discriminator learns its parameters through the adversarial objective. The probability calculation motivates the shape of that learned function.
What the continuous derivation requires
The paper also considers a continuous condition y. It assumes that the target and generated conditional distributions are Gaussian, with feature-dependent means:
q(y|x) = N(y | Wᑫφ(x), Λ_q⁻¹)
N denotes a Gaussian distribution. Wᑫ maps the image features to the target conditional mean. The matrix Λ_q is the target precision matrix, and its inverse Λ_q⁻¹ is the covariance matrix. The variable y is now a continuous vector.
The corresponding generated conditional distribution is:
p(y|x) = N(y | Wᵖφ(x), Λ_p⁻¹)
Wᵖ supplies the generated conditional mean, while Λ_p and Λ_p⁻¹ are its precision and covariance matrices. The same feature map φ appears in both conditional descriptions.
Expanding their log density ratio gives:
r(y|x) = −(1/2)yᵀ(Λ_q − Λ_p)y + yᵀ(Λ_qWᑫ − Λ_pWᵖ)φ(x) + ψ(φ(x))
The function r is the conditional log ratio introduced earlier. The first term is quadratic in y. The second term couples y with the image features. The function ψ collects terms that do not depend on y; at this stage it represents the image-only remainder of the density-ratio expansion.
The simple projection form follows when the two precision matrices agree:
Λ_q = Λ_p = Λ
Λ is the shared precision matrix. This equality removes the quadratic contribution in y. The remaining interaction can be represented by V, while the image-only terms are absorbed into ψ.
Matching precision is therefore part of the justification, rather than a detail that can be discarded. Without it, the expanded ratio contains a condition-dependent quadratic term absent from the proposed simple score. The derivation shows why projection fits a particular continuous setting; it does not establish that every continuous condition should be handled this way.
Train with the hinge objective
For the experiments, the authors use a hinge discriminator loss:
L(Ĝ,D) = E_{y∼q(y), x∼q(x|y)}[max(0,1 − D(x,y))] + E_{y∼q(y), z∼p(z)}[max(0,1 + D(Ĝ(z,y),y))]
Ĝ is the generator held fixed while the discriminator is updated. The random vector z comes from p(z), which is a standard Gaussian distribution. The expression Ĝ(z,y) is a generated image under condition y. The max operation selects the larger argument. D now denotes the score with an identity final activation, so it is not restricted to the sigmoid range.
The real-data term favors discriminator scores on the positive side of the margin. The generated-data term favors scores on the negative side. Once an example is beyond its required margin, that example makes no further contribution to the corresponding hinge term.
The generator objective is:
L(G,D̂) = −E_{y∼q(y), z∼p(z)}[D̂(G(z,y),y)]
G is the generator being updated, and D̂ is the discriminator held fixed for that update. The expectation averages over conditions and random inputs. Minimizing this loss encourages the generator to produce images receiving larger discriminator scores.
The authors use ResNet-based generator and discriminator architectures. They apply spectral normalization to every discriminator weight, with the stated purpose of controlling its Lipschitz behavior. This is a shared part of the experimental setup, instead of the conditioning contribution being tested.
Adam is used with learning rate α=0.0002 and moment parameters β₁=0 and β₂=0.9. The discriminator receives five updates for each generator update. These choices matter because projection is evaluated within a complete training system that already includes architectural and optimization decisions.
Instantiate the category-generation comparison
For ImageNet generation, the data contain approximately 1,300 pictures per class. Images are resized to 128 × 128 pixels. The generator uses conditional batch normalization, so category information affects its internal transformations. Projection is the discriminator-side intervention; conditional batch normalization is part of how the generator receives its condition.
The concatenation comparator retains the same main discriminator architecture. Rather than the projection contribution, it inserts a spatially repeated embedded condition after the third residual block. The auxiliary-classifier comparison attaches a softmax classification component to the shared underlying architecture.
The principal comparison uses 450K generator updates. Learning rate decay starts after 400K updates and reaches 0 at the endpoint. The authors also continue projection to 850K updates as an additional experiment. That extended run must be distinguished from the common-duration comparison.
The paper identifies an official Chainer implementation and makes generated examples and pretrained parameters available. These materials accompany the method; they do not replace the need to interpret the architecture and training conditions described in the experiments.
Extend projection to spatial conditions
For super-resolution, x is a high-resolution RGB image and y is its low-resolution counterpart. Instead of selecting a category vector, the discriminator compares y with a spatial transformation of the features extracted from x:
f(x,y;θ) = Σ_{i,j,k} y_ijk F_ijk(φ(x;θΦ)) + ψ(φ(x;θΦ);θΨ)
The indices i and j identify spatial positions, while k indexes channels. The value y_ijk is an element of the low-resolution condition. F_ijk is the corresponding element of a transformed image-feature representation. The summation forms the spatial compatibility score. The image-only contribution ψ and the parameter symbols retain their earlier roles.
The transformation F is implemented by convolution:
F(φ(x;θΦ)) = V * φ(x;θΦ)
V is now a convolutional kernel, and the asterisk denotes convolution. The output of F is shaped so that it can be paired element by element with y.
The experiment uses high-resolution images of 128 × 128 and low-resolution images of 32 × 32. The latter are produced by bilinear downsampling. The concatenation comparator removes the projection module and joins the low-resolution condition to the output of the preceding residual block instead.
All super-resolution methods receive 150K generator updates. Learning rate decay begins after 100K updates and finishes at 0. The generator retains a random input, allowing different reconstructed images under the same low-resolution condition.
Experiments and results
What the image-generation evaluation measures
The authors evaluate generated images through inception score, intra FID, and visual comparisons. These address overlapping but different aspects of performance. Inception score provides a recognition-based assessment of generated samples. Intra FID compares generated and target image features separately within each category. The visual panels reveal particular appearances and failures that an aggregate number cannot explain by itself.
For intra FID, the paper uses the following expression:
F(q_y,p_y) = ‖μ_q_y − μ_p_y‖₂² + trace(C_q_y + C_p_y − 2(C_q_y C_p_y)^(1/2))
F is the feature-distribution distance for category y. The distributions q_y and p_y refer to target and generated examples in that category. Their feature means are μ_q_y and μ_p_y, and their covariance matrices are C_q_y and C_p_y. The notation ‖·‖₂² denotes squared Euclidean distance. The trace operation sums a matrix’s diagonal entries, and the exponent 1/2 denotes the matrix square-root term used in the expression.
The features come from the final representation of the inception classifier. To estimate the target covariance for a category, the authors use all its training examples. To estimate the generated covariance, they use 5000 generated images. This is a comparison in a learned feature representation, based on estimated means and covariances.
Its within-class organization is important. A generator that produces a narrow collection of recognizable images may look successful under a category-oriented score. Comparing feature variation inside the category makes that loss of coverage more visible. The authors associate collapsed outputs with reduced generated covariance and an unfavorable covariance contribution to intra FID.
This does not turn intra FID into a complete description of diversity. The metric summarizes distributions through particular feature statistics. The paper supplements it with visual inspection, and some of its own examples show why both forms of evidence are needed.
ImageNet generation favors projection
The ImageNet experiment compares projection with hidden-layer concatenation and an auxiliary-classifier alternative. The generator and discriminator are shared across the full category set. This differs from the AC-GAN arrangement described in the paper, where separate generator–discriminator pairs were prepared for groups containing 10 classes.
In the authors’ common architecture, projection has a stronger inception-score training trajectory than concatenation. Its reported intra FID values are also lower than those of both comparison methods. Together, these findings support an improvement in recognizable image quality and in the within-class feature-distribution comparison.
The paper reports that concatenation has stabilized by the principal training endpoint, while projection continues improving beyond it. The longer projection run is therefore useful evidence about continued progress. It is not a comparison in which every alternative receives the same extended training.
The auxiliary-classifier run presents a different difficulty: training collapses before the planned endpoint. The authors consequently report its peak inception-score checkpoint, reached at 80K updates. This gives that baseline credit for its strongest reported recognition-based performance, but it means the comparison also incorporates a difference in training stability.
The visual examples show the nature of the problem. Auxiliary-classifier outputs can be easy to recognize while varying little across random inputs. The authors report that most classes can be represented by essentially a single generated image in this setting. This is a failure of conditional distribution coverage, even when individual outputs appear category-appropriate.
Concatenation also collapses for some categories. Projection produces more varied examples overall, although the paper’s later discussion acknowledges residual repetition in some classes. The strongest supported conclusion is comparative: projection handles diversity better in these experiments. The evidence does not justify declaring collapse impossible.
The ImageNet result tables are named in the paper, but their numeric entries are unavailable in its text. Exact inception-score and intra FID values for those comparisons therefore cannot be reported. The qualitative ordering, checkpoint choices, and training durations are stated explicitly and remain meaningful evidence.
CIFAR-100 supplies an explicit numerical comparison
The appendix examines category-controlled generation on CIFAR-10 and CIFAR-100, reusing an architecture from the authors’ spectral-normalization work. Projection is compared with concatenation inserted at different points in the discriminator. These experiments also motivate the choice of hidden concatenation for the larger ImageNet study.
For CIFAR-100, the authors vary Adam’s learning rate and first-moment parameter while keeping the other fixed. They report projection ahead of the concatenation alternatives across the tested choices. The best stated scores are:
Best reported CIFAR-100 inception scores in the optimizer study
Projection exceeds the strongest concatenation result reported in the study.
The numbers
| System or setting | inception score |
|---|---|
| Best concatenation variant | 8.82 |
| Projection (this paper) | 9.53 |
These values describe the optimizer study’s best reported outcomes. They should not be read as the score for every tested learning rate or momentum setting. The authors’ broader statement about the tested curves supports the robustness claim; the chart captures the explicit numerical comparison available in the prose.
The best concatenation configuration on CIFAR-100 uses hidden insertion with α=0.0002 and β₁=0. Those are also the choices used for the main ImageNet experiment. This matters because it connects the large-scale baseline to an independently explored setting instead of an unexplained default.
The appendix says projection also performs better on CIFAR-10. Its detailed result table is not reproduced numerically in the text, so the size of that advantage cannot be specified. The appropriate claim is the reported direction of the comparison.
Super-resolution evaluates fidelity and recognition
The super-resolution task reconstructs a 128 × 128 image from a 32 × 32 condition. The learned methods are compared with interpolation alternatives. The authors describe bicubic outputs as blurry and concatenation outputs as having overly harsh boundaries. Projection examples show more coherent edges and closer visual agreement with the high-resolution reference.
The quantitative evaluation uses ImageNet validation images. It measures MS-SSIM, a structural similarity measure, and the classification accuracy of the inception classifier on reconstructed images. These metrics answer different questions. Structural similarity concerns agreement with the reference image, while classification asks whether category-relevant information is usable by the evaluator.
Projection is reported to give favorable results on both measures relative to bicubic interpolation and learned concatenation. The concatenation system is especially revealing: despite its sharp-looking outputs, its inception classification accuracy falls below that of both bilinear and bicubic alternatives. Sharper edges alone therefore do not establish better preservation of useful image structure.
The authors also reconstruct the same inputs with different random generator inputs. They average the classifier logits across these generated batches and use the averaged scores to predict labels. With 10 random seeds, the resulting ensemble improves classification accuracy beyond the single-generation use.
That result supports the view that the generator is learning a distribution of reconstructions, rather than simply ignoring its random input and applying a fixed mapping. Different generated versions can carry complementary information for the classifier. The experiment does not show that all such versions are equally faithful, or that the same ensemble benefit must hold for another evaluator.
Exact super-resolution accuracy and MS-SSIM entries are absent from the available table text. The evidence supports the stated ranking and ensemble benefit, but not a numerical estimate of their magnitude.
Category morphing shows structured variation
The generator can also move between categories by mixing their conditional batch-normalization parameters while holding the random input fixed. This produces a sequence of outputs in which the conditioning transformation changes and the source of random variation does not.
The paper illustrates transitions among markedly different categories, including a geyser, a Tibetan terrier, a mushroom, and a robin. Other examples move between dog-related imagery and categories such as a castle or an electric locomotive. The authors emphasize that intermediate outputs can remain visually meaningful even when the endpoint categories are dissimilar.
This is a qualitative demonstration of the trained generator’s organization. It does not supply a numerical measure of transformation quality, and it does not isolate projection from conditional batch normalization as the sole cause. The supported observation is that the jointly trained system admits these parameter-interpolation effects.
What the ablations show
Comparing condition-injection locations
The paper does not rely only on a comparison between projection and an unspecified concatenation implementation. Its preliminary experiments consider concatenating at the input, at a hidden layer, and near the output. This helps distinguish the proposed interaction from a poor placement choice for the baseline.
The authors find hidden concatenation stronger than input concatenation in their preliminary comparisons, with CIFAR-100 particularly relevant to the larger-category setting. They use hidden concatenation in the main ImageNet experiment. This makes the central comparison more demanding: projection is evaluated against the concatenation route selected through prior experiments.
The result does not establish a universal best insertion point. Different architectures or tasks might favor another location. It does show that the authors considered a practical source of baseline sensitivity, instead of attributing every difference to the inner product before examining simpler alternatives.
For the main ImageNet pair, both discriminators retain the same principal residual architecture. Their conditional modules differ. This is a useful controlled comparison because it keeps much of the image-processing machinery common. It is not an exact equality of every computational detail: concatenation changes the representation passed to subsequent layers, while projection contributes through its own final interaction.
Checking the optimizer explanation
The CIFAR-100 sensitivity study varies learning rate and first-order momentum separately. This addresses a plausible alternative explanation: perhaps concatenation performs poorly only because the shared optimizer settings happen to suit projection.
Across the choices examined, the authors report projection ahead of the alternatives. The best concatenation settings also match the ones used in the main ImageNet experiment. These findings support an architectural contribution that survives the particular optimizer variations tested.
The scope remains bounded. Varying parameters separately does not cover every joint combination or training procedure. The study shows robustness over its explored settings, not independence from optimization. It is still more informative than a single result under a single unexplained setting.
Adding classifier guidance reveals an objective trade-off
The paper deliberately revisits its concern about auxiliary classifiers by adding a pretrained classifier loss to an already trained projection generator. The augmented objective is:
L(G,D̂,p̂_pre) = −E_{y∼q(y), z∼p(z)}[D̂(G(z,y),y) − L_C(p̂_pre(y|G(z,y)))]
The symbol p̂_pre denotes the fixed pretrained classifier. The function L_C is its classification-loss contribution for the intended category. D̂ is the fixed discriminator during a generator update, and G(z,y) is the generated image. The expectation averages over the target label distribution and Gaussian random inputs.
The generator first receives 400K updates using the adversarial objective alone. The classifier term is then introduced for the final 50K updates. The pretrained evaluator is ResNet50, trained for ILSVRC2012 classification. The learning-rate choices follow the other experiments.
This sequence is informative because it changes the pressure applied to a generator that has already learned under projection. The visual comparison uses matching random inputs, making the effects of the altered objective easier to inspect. The authors observe improved appearance for classifier-friendly outputs alongside reduced diversity.
They also report an inception score above PPGNs under this modification. Yet they explicitly resist treating that result as evidence of more faithful generation. The experiment supports their distinction between optimizing a recognition-related signal and reproducing the intended conditional distribution.
Inspecting categories rather than only averages
The authors examine categories where projection has better intra FID than concatenation and categories where the ordering reverses. They describe the concatenation wins as modest, while some projection wins are much more pronounced. Without the panel values, that asymmetry remains a qualitative account instead of a reportable numerical comparison.
They also inspect categories with especially low and high projection intra FID. Easier-looking results are not uniformly free of repetition. Categories involving complex objects, including people, can remain difficult and exhibit broad variation in the original data.
These analyses prevent the average result from becoming a claim of uniform success. Projection improves the comparison overall, but performance still varies with category structure. The paper’s acknowledgment of some repeated outputs is particularly important when interpreting its stronger general statements about the absence of notable collapse.
Testing whether randomness contributes
The super-resolution ensemble is an analysis of the generator’s stochastic behavior. If changing the random input produced no useful variation, averaging classifier logits over generated versions would offer little evidence of a learned conditional distribution. The reported improvement indicates that these versions differ in ways useful to the classifier.
This is a narrower conclusion than full uncertainty calibration. The experiment does not measure whether generated variation matches every plausible high-resolution interpretation. It establishes that random input contributes consequential variation in the tested system and that the evaluator can benefit from aggregating it.
Limitations
The authors leave the training theory open
The most explicit theoretical limitation concerns the relationship between the discriminator’s restricted function space and the generator’s actual training dynamics. The derivation assumes simple forms for the condition given the sample. But the generator defines a joint distribution implicitly, and its reverse conditional need not obey those forms.
The authors suggest that the restriction may improve stability by imposing regularity on the discrepancy measure. They do not prove a general stability result. Nor do they prove that the generator remains within the family used to motivate the discriminator. The architectural argument and the empirical success therefore support each other without forming a complete theory of training.
This distinction matters because a derivation can be persuasive while still being conditional. Projection is natural under the specified assumptions. Its success in the experiments shows that those restrictions can be useful in practice. Neither point establishes that the assumptions are literally satisfied throughout optimization.
The categorical argument also relies on a shared feature representation for the target and generated conditional distributions. The continuous argument further requires matching precision matrices to remove the quadratic term. These are substantive restrictions. A reader should not interpret the final compact formula as a general identity for arbitrary conditional relationships.
The authors warn about multimodal reverse conditionals
The paper explicitly identifies multimodal distributions of the condition given the sample as a situation in which its preferred form may be unsuitable. This is the reverse conditional used in the probability decomposition. It should not be confused with the possibility of several valid generated samples under the same condition.
That distinction keeps the super-resolution argument coherent. Several detailed images may fit one low-resolution input, while each detailed image has a relatively constrained low-resolution counterpart. The paper’s justification concerns the latter relationship. Applications lacking that structure would need a different argument or a richer discriminator.
The experiments do not map out where this assumption begins to fail. They test settings chosen because the authors regard the assumptions as plausible. A careful reader can therefore view the results as evidence within a favorable application family, rather than a survey of all conditioning problems.
The authors acknowledge remaining visual failures
Projection is not presented without difficult categories. The paper’s high-intra-FID examples contain complex objects and broad within-category variation. Even among lower-intra-FID categories, the authors observe some remaining repetition.
The authors also state that their architecture was chosen to make training practical within the available time. They suggest that greater network complexity might improve quality and diversity. That is a proposed direction, not an experimental finding established by the paper.
A careful reading should preserve both parts of the evidence: projection outperforms the tested alternatives overall, and its outputs still contain limitations. The comparisons justify selecting a stronger discriminator design in this setting. They do not establish complete coverage of each category’s possible appearances.
The evaluation captures selected properties
Inception-based evaluation uses a classifier’s learned representation and decisions. Intra FID adds a useful within-category distribution comparison, but it still summarizes particular feature statistics. These are informative measurements, not direct access to every meaningful aspect of the image distribution.
The auxiliary-classifier fine-tuning experiment makes the danger concrete. A system can improve a recognition-related score while becoming less varied. The paper itself supplies evidence against interpreting any single favorable score as a sufficient account of generative quality.
The super-resolution metrics also have distinct scopes. Classification accuracy measures usefulness for the chosen classifier. Structural similarity measures a kind of reference agreement. A system’s ranking on those measures does not settle every possible preference concerning reconstructed detail.
The numerical record imposes an additional reporting limit. The prose states the direction of the main ImageNet and super-resolution comparisons, but the corresponding table entries are not present in the paper text available for those results. As a result, exact effect sizes, score dispersion, and numerical gaps cannot be reconstructed honestly.
The comparisons use different checkpoints for stated reasons
The principal generation comparison uses a common planned duration, but the auxiliary-classifier result comes from its earlier peak because the run later collapses. This is a reasonable way to avoid representing the baseline only by its failed endpoint. It also means the reported systems are not all snapshots at the same training stage.
The extended projection result introduces a second distinction. It demonstrates that further training helps projection, but the other approaches are not given matching extended runs in that comparison. The longer result should therefore be interpreted as additional performance obtained by projection, rather than an isolated measurement of architectural benefit under equal extended computation.
The optimizer checks reduce one concern about baseline weakness, but do not remove all implementation dependence. Shared residual architectures, spectral normalization, conditional batch normalization, and the chosen objective form the environment in which the conditioning comparison succeeds. The paper does not separately establish how projection interacts with every alternative training framework.
Qualitative capabilities have narrower evidence
Category morphing is supported by visual examples, not a comprehensive measure of semantic consistency. Holding the random input fixed makes the transformation easy to follow, but does not prove that every category pair has a meaningful path or that intermediate images correspond to controlled attributes.
Similarly, the super-resolution ensemble establishes a classification benefit from multiple generated variants. It does not show that the variation is calibrated to the full uncertainty in high-resolution reconstruction. Randomness being useful to a downstream evaluator is evidence of consequential stochastic behavior, with a narrower meaning than complete probabilistic fidelity.
Finally, the paper tests image tasks. Its conclusion names semantic segmentation and image translation as intended extensions, rather than completed evaluations. Any transfer to language, including the possible Mova uses discussed earlier, remains a hypothesis requiring its own assumptions, implementation, and evidence.
What came after
The later citation record identifies two works connected to this paper. It supports tracing a relationship of citation, but does not specify the components each work adopted. That boundary matters: a later paper may cite projection conditioning without using the exact discriminator architecture, probability argument, or training configuration.
Few-Shot Adversarial Learning of Realistic Neural Talking Head Models is listed as a citing work from 2019. Its title places the connection in adversarial learning for talking-head generation under a few-shot learning setting. The available account does not explain whether it uses the projection term directly, adapts conditional scoring, or cites the paper as related work. A more specific description of technical inheritance would exceed the stated evidence.
The other listed citation is andrew-2018-large-scale-gan-training-high. No descriptive account of its method or use of projection accompanies the citation. It can therefore be identified as later citing work, but its architectural choices, experimental results, and modifications cannot be attributed from this record.
These links establish a limited continuation rather than a documented chain of improvements. The original paper leaves several clear questions available to subsequent research: when a restricted conditional critic is preferable to a more flexible one, how its function space changes generator training, and how to evaluate conditional diversity without rewarding only recognizable prototypes.
Its own experiments make those questions concrete. Projection improves the tested image-generation and reconstruction systems, while auxiliary classifier guidance exposes a tradeoff between appearance and coverage. The lasting idea available for reuse is a way of reasoning about conditional scoring: choose the interaction by examining the probability quantity the critic should express, then test whether the resulting restriction improves the behavior that actually matters.
Cite
Cite as Takeru Miyato and Masanori Koyama. 2018. cGANs with Projection Discriminator. arXiv (Cornell University).
@misc{miyato2018cgans,
title = {{cGANs with Projection Discriminator}},
author = {Takeru Miyato and Masanori Koyama},
year = {2018},
doi = {10.48550/arxiv.1802.05637},
eprint = {1802.05637},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1802.05637}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/miyato-2018-cgans-projection-discriminator/
References
- Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein generative adversarial networks. In ICML, pp. 214–223, 2017. OpenAlex ↗ · Scholar ↗
- Harm de Vries, Florian Strub, Jérémie Mary, Hugo Larochelle, Olivier Pietquin, and Aaron C Courville. Modulating early visual processing by language. In NIPS, pp. 6576–6586, 2017. OpenAlex ↗ · Scholar ↗
- Emily Denton, Soumith Chintala, Arthur Szlam, and Rob Fergus. Deep generative image models using a laplacian pyramid of adversarial networks. In NIPS, pp. 1486–1494, 2015. OpenAlex ↗ · Scholar ↗
- Vincent Dumoulin, Ishmael Belghazi, Ben Poole, Alex Lamb, Martin Arjovsky, Olivier Mastropietro, and Aaron Courville. Adversarially learned inference. In ICLR, 2017a. OpenAlex ↗ · Scholar ↗
- Vincent Dumoulin, Jonathon Shlens, and Manjunath Kudlur. A learned representation for artistic style. In ICLR, 2017b. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680, 2014. OpenAlex ↗ · Scholar ↗
- Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein GANs. arXiv preprint arXiv:1704.00028, 2017. OpenAlex ↗ · Scholar ↗
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016a. our card
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European Conference on Computer Vision, pp. 630–645. Springer, 2016b. OpenAlex ↗ · Scholar ↗
- Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, Günter Klambauer, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a nash equilibrium. arXiv preprint arXiv:1706.08500, 2017. OpenAlex ↗ · Scholar ↗
- Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jungkwon Lee, and Jiwon Kim. Learning to discover cross-domain relations with generative adversarial networks. In ICML, pp. 1857–1865, 2017. OpenAlex ↗ · Scholar ↗
- Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015. our card
- Christian Ledig, Lucas Theis, Ferenc Huszár, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, and Wenzhe Shi. Photo-realistic single image super-resolution using a generative adversarial network. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
- Jae Hyun Lim and Jong Chul Ye. Geometric GAN. arXiv preprint arXiv:1705.02894, 2017. OpenAlex ↗ · Scholar ↗
- Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014. OpenAlex ↗ · Scholar ↗
- Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- Anh Nguyen, Jeff Clune, Yoshua Bengio, Alexey Dosovitskiy, and Jason Yosinski. Plug & play generative networks: Conditional iterative generation of images in latent space. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
- Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-GAN: Training generative neural samplers using variational divergence minimization. In NIPS, pp. 271–279, 2016. OpenAlex ↗ · Scholar ↗
- Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier GANs. In ICML, pp. 2642–2651, 2017. OpenAlex ↗ · Scholar ↗
- Guim Perarnau, Joost van de Weijer, Bogdan Raducanu, and Jose M Álvarez. Invertible conditional gans for image editing. In NIPS Workshop on Adversarial Training, 2016. OpenAlex ↗ · Scholar ↗
- Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In ICLR, 2016. our card
- Scott Reed, Zeynep Akata, Xinchen Yan, Lajanugen Logeswaran, Bernt Schiele, and Honglak Lee. Generative adversarial text to image synthesis. In ICML, pp. 1060–1069, 2016. OpenAlex ↗ · Scholar ↗
- Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 1150 (3):0 211–252, 2015. . our card
- Masaki Saito, Eiichi Matsumoto, and Shunta Saito. Temporal generative adversarial nets with singular value clipping. In ICCV, 2017. OpenAlex ↗ · Scholar ↗
- Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training GANs. In NIPS, pp. 2226–2234, 2016. our card
- Kumar Sricharan, Raja Bala, Matthew Shreve, Hui Ding, Kumar Saketh, and Jin Sun. Semi-supervised conditional GANs. arXiv preprint arXiv:1708.05789, 2017. OpenAlex ↗ · Scholar ↗
- Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In CVPR, pp. 1–9, 2015. OpenAlex ↗ · Scholar ↗
- Seiya Tokui, Kenta Oono, Shohei Hido, and Justin Clayton. Chainer: a next-generation open source framework for deep learning. In Proceedings of workshop on machine learning systems (LearningSys) in the twenty-ninth annual conference on neural information processing systems (NIPS), 2015. OpenAlex ↗ · Scholar ↗
- Antonio Torralba, Rob Fergus, and William T Freeman. 80 million tiny images: A large data set for nonparametric object and scene recognition. IEEE transactions on pattern analysis and machine intelligence, 300 (11):0 1958–1970, 2008. OpenAlex ↗ · Scholar ↗
- Dustin Tran, Rajesh Ranganath, and David M Blei. Deep and hierarchical implicit models. arXiv preprint arXiv:1702.08896, 2017. OpenAlex ↗ · Scholar ↗
- Zhou Wang, Eero P Simoncelli, and Alan C Bovik. Multiscale structural similarity for image quality assessment. In Asilomar Conference on Signals, Systems and Computers, pp. 1398–1402, 2003. OpenAlex ↗ · Scholar ↗
- Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaolei Huang, Xiaogang Wang, and Dimitris Metaxas. Stackgan: Text to photo-realistic image synthesis with stacked generative adversarial networks. In ICCV, 2017. OpenAlex ↗ · Scholar ↗
- Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In ICCV, 2017. OpenAlex ↗ · Scholar ↗