---
title: "From Source to Target and Back — paper by Russo et al. (2018)"
description: "How SBADA-GAN combines image translation in both directions, class consistency and self-labeling to classify across visual domains."
canonical: "https://research.elamur.ai/free/en/papers/russo-2018-source-target-back-symmetric-bi/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/russo-2018-source-target-back-symmetric-bi/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / From Source to Target and Back: Symmetric Bi-Directional Adaptive GAN

# From Source to Target and Back: Symmetric Bi-Directional Adaptive GAN

Paper · 2018 · Paolo Russo, Fabio Maria Carlucci, Tatiana Tommasi et al.

**Authors:** Paolo Russo, Fabio Maria Carlucci, Tatiana Tommasi and Barbara Caputo · **Year:** 2018 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**233** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2617027347|W2949573501) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1109/cvpr.2018.00845](https://doi.org/10.1109/cvpr.2018.00845)
- [arXiv 1705.08824](https://arxiv.org/abs/1705.08824)
- [OpenAlex](https://openalex.org/W2617027347)

## Deep dive: From Source to Target and Back: Symmetric Bi-Directional Adaptive GAN

How SBADA-GAN combines image translation in both directions, class consistency and self-labeling to classify across visual domains. · about 32 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A classifier can recognize familiar objects and still fail when their appearance changes. Handwritten digits and photographed house numbers may express the same categories, yet their backgrounds, textures and shapes differ substantially. SBADA-GAN addresses this problem when labeled examples exist in a source domain but the target domain supplies images without training labels. Its central proposal is to learn image transformations in both directions: make source images resemble the target, and make target images resemble the source. These routes support different classifiers, whose predictions can then be combined. The motivation is practical: the easier direction of adaptation can depend on the particular domains, so committing to a single route may discard useful information.

The architecture connects these routes through classification rather than exact image recovery. A source image travels into the target style and then returns towards the source style. The returned image must still receive its original category, but it does not have to reproduce every original pixel. The authors call this requirement class consistency. It addresses a weakness of adversarial image generation: an output can look convincing in a destination domain while depicting the wrong category. At the same time, it leaves more freedom than an image reconstruction requirement, which may preserve appearance so strictly that a difficult style transformation becomes ineffective.

A further component uses automatic target [annotation](https://md.research.elamur.ai/free/en/concepts/annotation/). Once the source classifier has learned from genuine source labels, it assigns provisional labels to target images that have been transformed into source style. Those assignments become additional training signals for both the source classifier and the target-to-source generator. This self-labeling begins only after the initial training has settled. At prediction time, the target-style classifier examines the original target image, while the source-style classifier examines its transformed counterpart. A weighted combination of their category probabilities produces the final decision.

The experiments cover digit recognition and synthetic-to-real traffic-sign recognition across six adaptation settings. The authors report leading results against the compared methods in four settings. Their largest stated advantage is up to +8 percentage points for MNIST→SVHN, a difficult move from grayscale handwriting to colorful photographs of house numbers. The method is less successful in the reverse SVHN→MNIST task, where it ranks eighth among thirteen baselines. For Synth Signs→GTSRB, it falls slightly behind associative domain adaptation while exceeding the other reported competitors. These results support the value of complementary transfer directions, while also showing that realistic image transformation does not solve every form of distribution mismatch.

The analyses help explain the contribution of each component. Self-labeling gives its clearest benefits where the initial provisional labels are sufficiently reliable. Class consistency helps retain category identity without forcing visual reconstruction. The authors also report limited sensitivity to several loss weights and to smaller batches. Important qualifications remain: the evidence concerns image classification with shared categories, the principal accuracy comparisons are accompanied by relatively limited uncertainty analysis, and the final combination weights are selected using labeled target validation examples. The training objective therefore uses unlabeled target images, but the complete experimental selection procedure is not independent of target labels.

### Ideas worth borrowing

Preserve the property the task actually needs. Class consistency asks a transformed example to retain its category rather than its complete appearance. This works because the downstream task concerns recognition, while many visual details are incidental. The broader lesson is to define consistency around the information a system must preserve. In another setting, a transformation might need to retain an entity identity, a grammatical property or a decision label. Such extensions would require their own evidence, but the design question transfers directly: which changes are acceptable, and which would invalidate the task?

Keep complementary routes available. The source-to-target route creates labeled examples in the destination style; the target-to-source route brings unfamiliar examples into a style where labels are already available. Their usefulness can differ with the domain pair. Learning both avoids deciding that issue in advance, and combining their predictions can exploit different errors. This idea is reusable whenever the same task admits several representations or preprocessing routes. The paper also suggests a useful evaluation habit: inspect the routes separately before attributing an improvement to their combination.

Delay feedback from uncertain labels. SBADA-GAN initially disables its self-labeling term because premature provisional labels interfere with convergence. The term becomes active after the classifier has learned a more useful decision rule. The reusable principle is to stage learning when one component supplies supervision for another. A system should not necessarily consume its own predictions from the beginning merely because those predictions are available. The experiments further show why the quality of this feedback matters: self-labeling helps with moderate shifts but adds little in the more difficult digit-domain pair.

Make transformations accountable to the task. A discriminator checks whether an image resembles the destination domain, but that does not establish that the image retains its category. Classification losses supply a separate requirement and send feedback into the generators. This division of responsibilities is useful beyond image adaptation: a transformation can satisfy a format or distribution check while corrupting the information a downstream task depends on. A task-specific check can expose failures that a general plausibility check misses.

Evaluate variability as well as plausibility. The authors inspect generated images, visualize distributions and measure similarity among generated examples from the same class. These analyses address different questions. An attractive example does not establish that a generator covers the destination domain or avoids repeatedly producing a narrow prototype. The reusable idea is to evaluate a transformation as a population-producing procedure, alongside evaluating individual outputs. That matters whenever generated or transformed examples become training data.

Treat sensitivity as part of practical performance. The robustness experiments vary loss weights and batch sizes rather than reporting only a favorable configuration. This matters because a method requiring delicate tuning or carefully balanced batches may be difficult to use when target labels are scarce. SBADA-GAN’s reported stability makes its results more informative than a best accuracy alone. Elsewhere, the same approach can clarify whether an improvement depends on a narrow setting or survives reasonable changes in the training procedure.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, this paper offers a design analogy rather than a demonstrated component. SBADA-GAN works with images, adversarial generators and visual classifiers. Its experiments establish no result about language processing or a Rust implementation. There is therefore no basis for claiming that Mova already contains this architecture or benefits from its reported accuracy. The useful connection lies in how the paper separates transformations, task identity and uncertain supervision.

A possible application concerns [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) across differently written material. Suppose a labeled collection and an unlabeled collection express comparable categories but differ in surface conventions. A language system could explore both making labeled material resemble the destination style and making destination material resemble the labeled style. The point borrowed from SBADA-GAN would be the complementary routes, instead of its particular image generators. Whether those transformations preserve enough linguistic information would have to be established through a separate experiment.

The most relevant constraint would be task preservation. A text transformation can alter spelling, phrasing or structure while retaining a category of interest, but it can also change meaning in ways that invalidate the original label. An analogue of class consistency would check whether a round trip preserves the property Mova is supposed to analyze. For a grammatical task, that property might concern a grammatical category; for a classification task, it might concern the assigned class. These are possible designs, not findings from the image experiments.

Mova’s emphasis on transparency makes the distinction between appearance and task identity especially useful. A system could expose the original input, each transformed version and the decisions made along the way. That would let a developer inspect whether a transformation changes only permissible details or alters the evidence supporting a decision. SBADA-GAN’s qualitative comparisons motivate this kind of inspection: destination-like appearance alone can conceal a category error. In language, a fluent or familiar-looking sentence would likewise need a separate task check.

Self-labeling offers another possible connection, with a clear boundary. If Mova assigns provisional labels to unfamiliar material, those labels should remain distinguishable from human annotations. The paper’s training schedule suggests postponing their use until the initial decision process is sufficiently established. Its difficult MNIST↔SVHN experiments also caution against assuming that automatically generated labels will help merely because they enlarge a training collection. Reliability must be measured, and the effect of adding them must be compared with a version that excludes them.

The combined prediction procedure could also inspire an inspectable decision rule. Mova could compare a decision on an original representation with a decision on a transformed representation, record their disagreement, and evaluate whether combining them improves the task. SBADA-GAN supports the narrower proposition that its particular visual routes supply complementary predictions. It does not establish that arbitrary linguistic rewrites will do the same. Any language application would need to demonstrate that the routes add useful information rather than repeat the same error.

Finally, the robustness study suggests how to evaluate such an adaptation within a small system. The important questions would include whether performance survives changes in transformation strength, the weight given to provisional labels, and the amount of data processed together. These checks would help reveal dependence on a fragile configuration. They could be implemented and inspected in Mova’s own terms without recreating the entire visual architecture. The borrowing is a disciplined approach to adaptation and verification; no completed Mova integration is established by this paper.

### The problem and its context

#### Labels travel less easily than appearances

The paper studies unsupervised cross-domain classification. A source collection contains images with category labels, while a target collection contains images from a different visual distribution. Both collections use the same categories. The goal is to classify target images accurately by learning from the labeled source and the unlabeled target.

The shared categories are essential. The task is not to discover an unfamiliar set of objects or reconcile unrelated annotation schemes. A digit category remains the same category across the digit collections. What changes is the visual evidence through which that category appears. A centered handwritten character against a simple background can look very different from a number embedded in a colorful street photograph.

This distinction creates a specific difficulty for [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/). A classifier can exploit regularities that are useful within the source collection but unreliable in the target. Backgrounds, contrast, texture and the range of shapes can all shift. Large amounts of labeled source data do not automatically resolve that mismatch. The system needs some way to connect what it learned from the source with the target’s appearance.

The authors organize their proposal around a choice that earlier approaches frequently made separately. One can transform source examples toward the target and train a classifier there. Alternatively, one can transform target examples toward the source and apply a classifier already supported by source labels. These are related strategies, but neither direction is guaranteed to be easier for every pair of domains.

#### Earlier approaches aligned representations

The related-work discussion describes several strategies for reducing the difference between source and target distributions. Some methods directly minimize a measure of that difference. Others use target reconstruction as a learning signal, or encourage similar target examples to receive compatible labels. Another approach builds associations between source and target examples believed to share a category.

Adversarial representation learning turns domain recognition into a competing task. A domain discriminator attempts to identify where a representation came from, while the representation-learning process tries to make that identification difficult. Source classification remains a simultaneous objective. The intended result is a representation that retains task information while making source and target less distinguishable.

The paper also describes alternatives within this broad family. ADDA separates objectives that other adversarial approaches optimize together. Domain Separation Networks distinguish shared information from components associated with a particular domain. These methods address adaptation within learned representations rather than relying completely on images rendered in a different visual style.

This background matters for interpreting SBADA-GAN’s limitations. Its generators are asked to change images so that they resemble another domain, with classification constraints maintaining category information. That procedure can be effective without directly imposing the same distribution-alignment objective used by a feature-based method. The authors later invoke this distinction when explaining weaker performance on SVHN→MNIST.

#### Image translation made another route possible

The paper places image-based adaptation alongside style-transfer research. Earlier style-transfer procedures sought to maintain image content while borrowing visual characteristics from reference imagery. Related work then used generated images to bridge a gap between synthetic and real data or between distinct visual collections.

PixelDA is especially relevant to the architecture. It adapts labeled source images toward target appearance, allowing the original source labels to supervise classification in the transformed collection. SBADA-GAN uses a comparable basic structure for each of its directional branches. Its contribution concerns how those branches are arranged, connected and used together.

The authors also discuss image generation with consistency requirements. CoGAN couples generators through shared weights without requiring paired examples. CycleGAN, DiscoGAN and UNIT constrain a forward mapping followed by a reverse mapping to return toward the starting image. These approaches provide a way to connect domains even when there is no matched source–target image pair for every example.

SBADA-GAN adopts the round-trip structure but changes what returning successfully means. The destination is a recognition task, so the authors require preservation of the source label after the round trip. They do not require detailed recovery of the source appearance. This is the conceptual bridge between their image generation machinery and their classification objective.

#### Why both directions matter

A direction that looks difficult as an image-generation problem may still contribute a useful classification route. For instance, producing colorful house-number imagery from simple handwriting places substantial demands on source-to-target generation. Bringing photographed numbers toward a simpler source style may offer a different path to recognizing their categories.

The paper does not reduce this choice to a universal rule about which domain is simpler. Instead, it argues that the preferred direction depends on the application and the capacity of the chosen generators. Training both directions allows the final classifier to benefit from whichever evidence each route makes accessible.

There is also a distinction between having both routes and making them interact. Separate directional systems could still learn incompatible transformations. Class consistency couples the generators through a shared source-label requirement, while self-labeling adds a target-derived task signal to the reverse branch. The final combination then uses both decision paths rather than discarding one after training.

The resulting proposal addresses several weaknesses together: dependence on a single adaptation direction, image changes that alter category, and the lack of direct target labels for supervising the reverse transformation. Its experiments are designed to test whether this combination improves classification and whether its individual components explain the improvement.

### The method, step by step

#### Start with a shared classification task

The source collection contains images paired with genuine labels. The target collection contains images without training labels. Both belong to the same category inventory, but they come from different visual domains.

```
Xₛ = {(xₛⁱ, yₛⁱ)}ᵢ₌₀ᴺˢ
```

Here, Xₛ denotes the source dataset, xₛⁱ is a source image, and yₛⁱ is its category label. The superscript i identifies an example, and Nₛ is the source-size index used in the paper’s notation. The source distribution is written as S.

```
Xₜ = {xₜʲ}ⱼ₌₀ᴺᵗ
```

Xₜ is the target dataset, xₜʲ is a target image, and j identifies an example. Nₜ is the corresponding target-size index, and T denotes the target distribution. The absence of a label in this definition captures the unsupervised target training condition.

The architecture has a generator and discriminator for each transformation direction, together with classifiers associated with the source and target visual spaces. The classifiers predict the same categories. Their difference lies in the appearance of the images used to train and test them.

Learning complementary routes across visual domains The steps in order.

#### Generate target-style images with known labels

The forward generator, Gₛₜ, receives a source image and produces a version intended to resemble target imagery.

```
xₛₜⁱ = Gₛₜ(xₛⁱ)
```

The symbol xₛₜⁱ denotes the transformed source image. The subscript st indicates movement from source toward target. This introductory notation suppresses the additional noise input used in the full learning equations.

Each transformed source image retains the original source label. This supplies a labeled collection in target-like visual form. The target-space classifier, Cₜ, learns from those generated images rather than from labeled target training examples.

A discriminator, Dₜ, compares real target images with generated target-like images. Its task is to distinguish the groups. The generator receives an adversarial signal pushing its output toward the target’s appearance. It also receives feedback through Cₜ, pushing the generated image to remain recognizable as the correct source category.

These signals serve different purposes. Domain realism concerns the distribution of appearances. Category supervision concerns the identity needed for classification. An output that satisfies only the first could resemble a convincing target example while representing a different digit or sign.

#### Generate source-style target images

The reverse generator, Gₜₛ, takes target images towards source appearance.

```
xₜₛʲ = Gₜₛ(xₜʲ)
```

Here, xₜₛʲ is the source-like version of target image xₜʲ. The subscript ts denotes the target-to-source direction. As in the forward mapping, the initial expression omits noise for readability.

The source discriminator, Dₛ, learns to distinguish original source images from these transformed target images. Its feedback encourages the generator to produce source-like outputs. A source classifier, Cₛ, is trained using the original labeled source collection.

There is an immediate asymmetry in available supervision. The forward branch knows the true label of every source image it transforms. The reverse branch begins with target images whose labels are unavailable during training. Original-source classification trains Cₛ, but it does not by itself tell Gₜₛ which category a transformed target example should preserve.

Self-labeling addresses this missing connection. It is added after the source classifier has learned sufficiently from its genuine source supervision.

#### Add provisional target labels

Once the initial training has converged, Cₛ predicts categories for target images after Gₜₛ has made them source-like.

```
yₜ,self = argmaxᵧ Cₛ(Gₜₛ(xₜ))
```

The symbol yₜ,self is the provisional label assigned to target image xₜ. Cₛ produces category probabilities after the image passes through Gₜₛ. The argmax operation selects the category y receiving the largest probability.

These assignments are then treated as labels for an additional classification loss. That loss updates Cₛ and sends feedback through the transformed images into Gₜₛ. It therefore provides the reverse generator with a task-related signal that was missing from source-only classifier training.

The labels remain predictions, not independent annotations. A mistaken source-classifier decision can become mistaken supervision. SBADA-GAN combines this loss with its other objectives and delays activation, but those measures do not turn provisional labels into ground truth.

The experiments make this distinction consequential. Where the initial transformed-target recognition is reasonably accurate, self-labeling provides a useful improvement. In the difficult MNIST↔SVHN settings, the reported initial recognition is much lower and the added term does not improve final accuracy.

#### Connect the generators through category identity

The class-consistency path begins with a source example, whose true category is known. Gₛₜ first changes its appearance towards the target. Gₜₛ then maps that result back toward the source. Cₛ must classify the final image correctly.

```
ŷcons = Cₛ(Gₜₛ(Gₛₜ(xₛ, zₛ), zₜ))
```

The vector ŷcons contains predicted category probabilities after the round trip. xₛ is the original source image. zₛ and zₜ are the noise inputs supplied to the forward and reverse generators, respectively.

The crucial requirement concerns the final category. The returned image can differ from the starting image in details that do not prevent correct recognition. This gives the generators flexibility to change appearance while keeping a supervised connection to the source task.

A pixel reconstruction requirement would ask a more restrictive question: can the original image itself be recovered? The paper’s proposal instead asks whether the information needed for the source label survives. The qualitative comparison later examines how this choice affects both category preservation and destination realism.

#### Supply noise and define the losses

The generators also receive random noise, intended to allow additional external variation.

```
zᵢ ∼ N(0, 1)
```

Here, zᵢ is an element of the noise vector, and N denotes the normal distribution with the stated mean and variance. The appendix gives Nᶻ = 5 as the noise-vector size used throughout the experiments. A fully connected layer expands this vector into an image-resolution channel, which is concatenated with the image input.

The forward branch combines adversarial and classification terms. The paper writes its directional objective in a minimax form:

```
minGₛₜ,Cₜ maxDₜ αL_Dₜ(Dₜ, Gₛₜ) + βL_Cₜ(Gₛₜ, Cₜ)
```

Gₛₜ and Cₜ are the forward generator and target-space classifier; Dₜ is the target discriminator. L_Dₜ is the domain-discrimination term, and L_Cₜ is the category-classification term. The non-negative weights α and β control their influence.

The classification term is softmax cross-entropy. It penalizes assigning low probability to the true source category after transformation.

```
L_Cₜ(Gₛₜ, Cₜ) = E[(−yₛ) · log(ŷₛ)]
```

The expectation E averages over labeled source examples and generator noise. yₛ is a one-hot vector encoding the true source label. ŷₛ is the probability vector predicted by Cₜ on the generated image. The dot selects the contribution associated with the true category, and log is applied to the predicted probabilities.

```
ŷₛ = Cₜ(Gₛₜ(xₛ, zₛ))
```

In this expression, xₛ and zₛ are the source image and forward noise input. The generator output is classified by Cₜ. Because the loss depends on that generated image, its training signal can reach both the classifier and the generator.

For domain discrimination, the authors use a squared-error objective rather than binary cross-entropy.

```
L_Dₜ(Dₜ, Gₛₜ) = Eₓₜ∼T[(Dₜ(xₜ) − 1)²] + Eₓₛ∼S,zₛ∼noise[Dₜ(Gₛₜ(xₛ, zₛ))²]
```

Dₜ(xₜ) is the discriminator’s scalar output on a real target image. The first term measures deviation from the real-image target value. The second measures the discriminator output on generated target-like images relative to the generated-image target value. The expectations average over real target examples, source examples and noise.

There is a notational issue in the displayed objectives. The positive squared-error expression is naturally read as a discriminator loss to minimize, whereas the surrounding minimax expression places a maximization over Dₜ. The paper’s architectural explanation is clear that the discriminator distinguishes real and generated images while the generator opposes it. The equations alone do not fully specify the sign conventions and update procedure needed to implement that competition.

#### Train the reverse branch with source and provisional labels

The reverse branch adds source classification and self-labeling to its adversarial objective.

```
minGₜₛ,Cₛ maxDₛ γL_Dₛ(Dₛ, Gₜₛ) + μL_Cₛ(Cₛ) + ηL_self(Gₜₛ, Cₛ)
```

Gₜₛ is the reverse generator, Cₛ the source classifier, and Dₛ the source discriminator. L_Dₛ has the same role as the forward discrimination loss with the domains exchanged. L_Cₛ is classification loss on genuine source examples. L_self is classification loss using provisional target labels. Their weights are γ, μ and η.

For genuine source supervision, Cₛ receives xₛ directly. This loss trains source recognition without passing through Gₜₛ. It consequently provides no direct gradient to that generator.

The self-labeling term does depend on Gₜₛ:

```
L_self(Gₜₛ, Cₛ) = E[(−yₜ,self) · log(ŷₜ,self)]
```

The expectation covers target images with their assigned provisional labels and the reverse generator’s noise. yₜ,self is the one-hot encoding of the assigned category. ŷₜ,self contains the source classifier’s predicted probabilities for the transformed target image.

```
ŷₜ,self = Cₛ(Gₜₛ(xₜ, zₜ))
```

Here, xₜ is a target image and zₜ is reverse-direction noise. Because the predicted probabilities depend on the generated image, the loss can alter Gₜₛ as well as Cₛ.

The class-consistency loss has a related form but uses genuine source labels after the round trip.

```
L_cons(Gₜₛ, Gₛₜ, Cₛ) = E[(−yₛ) · log(ŷcons)]
```

The expectation now covers labeled source examples and both noise inputs. yₛ is the original source category in one-hot form, and ŷcons is the round-trip prediction defined earlier. This loss connects the directional generators through a common supervised requirement.

#### Combine the objectives and stage training

The complete objective collects the directional, classification, self-labeling and consistency terms.

```
L_SBADA-GAN = αL_Dₜ + βL_Cₜ + γL_Dₛ + μL_Cₛ + ηL_self + νL_cons
```

α and γ weight the discriminator terms. β and μ weight target-style and source-style classification. η controls self-labeling, while ν controls class consistency. All weights are non-negative.

The implementation sets α and γ to 1, β and μ to 10, and ν to 1. The stronger classification weights are intended to discourage changes of category during generation. The paper illustrates the concern with a generator turning 7 into 1: a visually acceptable output would still invalidate the inherited label.

Training begins with η set to zero. The authors report that activating self-labeling before the classifier is sufficiently trained obstructs convergence. Once the losses settle, typically after 250 epochs, η becomes 1.

The experiments use ADAM, with discriminator and generator learning rates both specified as 10⁻⁴. Batch size is 32, and training runs for 500 epochs. The authors report no observed overfitting during that schedule and suggest that a longer run might help, although they do not establish the outcome of such an extension.

#### Architecture and input handling

Each generator is a convolutional residual network. The appendix specifies four residual blocks, each containing two convolutional layers with 64 features. The directional architectures are symmetric, giving each domain a corresponding image-generation route.

Each discriminator uses two convolutional layers, average pooling, and a further convolution that produces a scalar. Batch normalization follows the convolutions in the generators and discriminators, except for the generator’s final convolution. The generators and classifiers use ReLU activations; discriminators use leaky ReLU with slope 0.2.

Generator inputs are centered and scaled to [−0.5,0.5]. Generated images and the other inputs supplied to classifiers and discriminators are centered and scaled to [−127.5,127.5]. These details matter because the generators, discriminators and classifiers do not all receive the same numerical input range.

The classifier structures follow those used in PixelDA and domain-adversarial training. The authors implemented the system in Python using Keras. They state that code would be released upon acceptance. The reported training setup uses neither dropout nor noise injected into discriminators.

#### Predict through both routes

At test time, Cₜ receives the original target image. It has learned from target-like transformed source examples. Cₛ instead receives the target image after Gₜₛ has made it source-like.

```
p(xₜ) = σCₛ(Gₜₛ(xₜ, zₜ)) + τCₜ(xₜ)
```

p(xₜ) is the combined category-score vector. σ weights the source-space prediction on the transformed target image, while τ weights the target-space prediction on the original image. Both classifier outputs are category probabilities.

```
τ = 1 − σ
```

τ is the complementary combination weight. The authors search σ over [0,0.1,0.2, …, 1], selecting the setting through target validation data.

This combination is motivated by differences in the classifiers’ mistakes and confidence rankings. A category overlooked along one route may receive stronger support along the other. The reported separate-branch results are therefore important: they distinguish the usefulness of adaptation in each direction from the additional benefit of combining the resulting predictions.

### Experiments and results

#### What the benchmark tests

The [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/) cover six classification settings involving handwritten digits, photographed house numbers and traffic signs. The networks are trained from scratch on the data available for each experiment. The authors exclude Office because the comparison protocols they discuss involve ImageNet-pretrained networks, bringing an additional source collection into the adaptation problem.

The digit settings vary in the kind and severity of visual change. MNIST→MNIST-M changes the background and color context around digits. MNIST↔USPS compares different handwritten-digit collections. MNIST↔SVHN links handwriting with real house-number photographs. Synth Signs→GTSRB extends the evaluation to synthetic and photographed traffic signs.

The principal task metric is classification accuracy. The paper also evaluates generated images qualitatively, examines low-dimensional distribution visualizations, and uses structural similarity to investigate variability. These additional analyses help interpret image generation, but they do not replace the recognition metric.

#### Background changes and handwriting changes

MNIST consists of grayscale digit images at 28×28 pixels. MNIST-M replaces the simple background with patches drawn from color photographs in BSDS500. For MNIST→MNIST-M, the authors divide the MNIST training collection into 50k training examples and 10k validation examples.

The target evaluation uses all 60k images from the MNIST-M training collection. The appendix also specifies a labeled target subset of 1k examples for selecting the classifier-combination weights. Therefore, the collection’s original training designation does not determine its role in this adaptation protocol.

USPS contains 9,298 grayscale digit images at 16×16 pixels, drawn from scanned postal material. Its varied writing styles provide a different kind of shift from the background change in MNIST-M. The USPS images are resized to 28×28 pixels for the experiments.

For USPS→MNIST, the source protocol uses 6,562 training images, 729 validation images and 2,007 test images from USPS. The target evaluation uses the 60k MNIST training images, with 1k labeled target examples also used for validation. For MNIST→USPS, the source uses the 50k and 10k MNIST split, while the target evaluation covers all 9,298 USPS images.

These protocols make the direction of an experiment consequential. Changing the source changes which genuine labels guide training, and changing the target changes the visual distribution that must be recognized. Opposite arrows are therefore separate adaptation tasks rather than interchangeable descriptions of the same experiment.

#### Handwriting and house-number photographs

SVHN contains over 600k color images at 32×32 pixels. Its examples vary in shape and texture, and an image can include other numbers besides the centered number associated with its label. This makes it a more complex destination than a collection of isolated grayscale handwritten digits.

The authors retain the original RGB imagery. They contrast this with the grayscale SVHN treatment used by the competitors in their comparison. MNIST images are resized to 32×32 pixels for these experiments.

For SVHN→MNIST, the source protocol uses 73,257 SVHN images for training and 26,032 for validation. The remaining, less difficult SVHN examples are excluded. The target evaluation again uses the 60k MNIST training examples, with 1k labeled examples available for validation.

For MNIST→SVHN, the source uses the 50k and 10k MNIST split. The target evaluation contains 99,289 SVHN examples, and 1k target examples with labels serve validation purposes. This is the setting in which the paper reports its largest improvement over earlier methods.

#### Synthetic and photographed traffic signs

The synthetic sign collection contains 100k examples generated from sign imagery and artificial changes intended to represent different imaging conditions. The authors use 90k for source training and 10k for source validation.

GTSRB supplies 51,839 cropped traffic-sign photographs as the target collection. Its images are resized through bilinear interpolation to 40×40 pixels, matching the synthetic source dimensions. A labeled target subset of 1k examples is also used for validation.

Both collections contain 43 categories. This broadens the classification task beyond the 10 digit classes while retaining the shared-category assumption. It also tests a synthetic-to-real transfer setting, rather than another pairing of digit collections.

#### Baselines and the main findings

The comparison includes thirteen published baselines and additional results from recently available preprints. Source-Only provides the reference without adaptation. Target-Only provides a fully supervised target reference. These references answer different questions: whether adaptation helps relative to source training, and how it compares with direct target supervision.

The paper reports that SBADA-GAN leads the comparison in four of the six adaptation settings. It also reports the separate Cₛ and Cₜ accuracies before their weighted combination. According to the authors, the favorable settings already show benefits in the individual branches, with the combination adding a further improvement.

For MNIST→SVHN, the stated advantage reaches +8 percentage points. The authors attribute the result partly to the reverse route, which brings target photographs towards source appearance instead of relying entirely on generating complex target-style imagery from handwriting. The result supports complementarity in this setting; it does not show that reverse mapping alone explains the entire gain.

The reverse SVHN→MNIST task gives a less favorable result. SBADA-GAN ranks eighth among thirteen baselines and performs comparably to ADDA. The authors note architectural differences: SBADA-GAN uses fewer fully connected neurons than ADDA and a shallower classifier than DRCN. These differences complicate an interpretation that attributes the ranking entirely to adaptation objectives.

For Synth Signs→GTSRB, the paper places SBADA-GAN slightly below associative domain adaptation and above the other compared methods. Its robustness analysis supplies explicit accuracies for changing batch size in this setting:

SBADA-GAN batch size on Synth Signs→GTSRB, accuracy Recognition remains similar when training uses smaller batches.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Batch size 32 (this paper) | 96.7 |
| Batch size 16 | 96.5 |

The appendix also reports the corresponding batch-sensitivity comparison for associative domain adaptation:

Associative adaptation batch composition on Synth Signs→GTSRB, accuracy Reducing the examples available per category weakens recognition in the reported comparison.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| DA_ass, 24 samples per category | 96.3 |
| DA_ass, 12 samples per category | 92.8 |
| SBADA-GAN, random batches of 32 (this paper) | 96.7 |

These charts concern the robustness experiments, not a reconstruction of the entire main benchmark. The distinction matters because a result under a particular batch configuration should not be treated as a substitute for every method’s primary comparison setting.

#### What the generated images add

The qualitative examples show transformations in both directions for the domain pairs. Their purpose is to establish that the generators change recognizable visual characteristics, including the difficult transition between simple handwriting and colorful house-number imagery.

The distribution analysis projects image data through PCA and then t-SNE. Images are scaled to [−1,1], reduced to 64 components, and placed in a 2-dimensional visualization. The authors interpret the resulting plots as showing transformed source examples covering the target region.

Structural similarity, or SSIM, supplies a different check. The metric ranges from 0 to 1, with higher values indicating more similar images. The authors sample 1000 pairs of generated images within a class, repeat across classes and average the results.

The intended question is whether generation retains variation instead of collapsing to a narrow prototype. The authors report that generated images resemble the destination domain in both style and perceptual variability. This supports their qualitative interpretation, but SSIM and visual overlap do not independently establish correct category transfer. Classification and the consistency analyses remain necessary for that question.

### What the ablations show

#### Rebuilding the full system

The main component study begins with the forward source-to-target GAN branch. The authors then add the reverse branch, connect the transformation loop through class consistency, and finally activate target self-labeling. They evaluate this progression on MNIST→USPS.

Performance improves as the components are added, with self-labeling supplying the largest reported improvement in this sequence. The experiment supports the claim that the complete design benefits from more than the initial image-generation branch.

The order also matters for interpretation. This is a progressive reconstruction of the architecture instead of a complete examination of every possible component combination. A component added after other components can benefit from their presence. The result demonstrates the usefulness of the combined system under this sequence, while leaving some interactions less precisely isolated.

The separate Cₛ and Cₜ results offer another controlled comparison. They show what each prediction route contributes before combination. The authors report that the routes make different mistakes and rank categories differently, supporting their explanation that the weighted combination uses complementary evidence.

#### Self-labeling depends on initial reliability

The effect of self-labeling is not uniform across domain pairs. The authors report benefits in the other settings but no final accuracy change for MNIST↔SVHN when the self-labeling weight is activated.

Their explanation concerns the source classifier’s accuracy on transformed target images. In the difficult pair, this recognition is about 65%. In the other settings, it reaches 80-90%. The provisional labels are therefore substantially less reliable in the setting where self-labeling provides no improvement.

This analysis is valuable because it connects an internal signal to a final outcome. The question is not simply whether more training labels are present. The labels must contain useful information, and their usefulness depends on the transformation and classifier that produced them.

The reported lack of degradation is also narrower than a general safety claim. In these experiments, adding the less reliable assignments does not reduce final performance. That observation does not guarantee that self-labeling tolerates arbitrary error patterns, especially when other domains or category structures are involved.

#### Category consistency versus image reconstruction

The consistency comparison uses MNIST→SVHN, the pair with the strongest described appearance shift. The authors inspect generated images under absent consistency, image-based cycle consistency, and their category-based consistency requirement.

Without consistency, the reverse generator can produce realistic source-like digits that fail to match the input category. This is an especially important failure because the images can look successful to a visual inspection concerned only with destination style. They nevertheless supply misleading information to a classifier.

Image-based cycle consistency has the opposite difficulty in the authors’ examples. It retains the input digit but does not achieve convincing destination appearance. Requiring the round trip to reconstruct the image constrains the transformation more tightly than the recognition task requires.

Class consistency supplies the intended compromise. It asks the round trip to retain the features needed for category recognition while allowing appearance to change. The examples support the claim that this weaker task-oriented constraint can preserve digits and improve style transfer together.

The comparison is qualitative. It illustrates a mechanism and a recognizable failure mode, but it does not by itself measure the frequency of category corruption across all generated images. Its strongest role is explanatory when considered alongside the classification experiments.

#### Sensitivity to weights and batch size

The authors vary the class-consistency weight ν over [0.1,1,10]. Across the evaluated settings, the reported maximum accuracy change is 0.6 percentage points. This supports limited sensitivity within the tested non-zero range.

Changing the classification weights β and μ over the same range produces a maximum reported variation of 0.2 percentage points. The traffic-sign appendix similarly reports changes of less than 0.2 percentage point during its weight experiments.

The batch-size check reduces batches from 32 to 16 while retaining the training schedule. The traffic-sign accuracies remain close, as shown in the results chart. These tests suggest that the system does not depend on a large or precisely composed batch in the examined setting.

Associative domain adaptation supplies the contrast. The paper describes its need for balanced category representation within batches and reports greater sensitivity to its association-loss weights. The appendix attributes especially strong sensitivity to the visit-loss weight, with a reported decline exceeding 16 percentage points under the tested changes.

These findings make a practical case for SBADA-GAN’s training tolerance. Their scope is still the tested configurations and datasets. They do not establish independence from optimization choices generally, nor do they remove the need to select the final classifier-combination weights.

### Limitations

#### The authors identify a gap between style and distribution

The clearest limitation acknowledged by the authors is the weaker SVHN→MNIST result. They explain that transferring appearance in pixel space does not explicitly minimize the overall distribution shift in the way some feature-based approaches do.

This distinction limits what realistic generation can establish. An image may resemble the source or target while retaining a pattern of category overlap that makes classification difficult. Adversarial realism and category supervision provide useful constraints, but they do not amount to a general guarantee that the two domains become aligned for recognition.

The authors identify associative adaptation, DTN and Domain Separation Networks as stronger approaches in that setting. The result prevents a broad claim that jointly learning both image directions consistently outperforms alternative adaptation strategies.

They also recognize the limitations of self-labeling under a large shift. The MNIST↔SVHN analysis shows that unreliable provisional labels do not produce the gains seen elsewhere. Their conclusion is that self-labeling helps under moderate shift without damaging the tested large-shift cases, rather than that it resolves difficult adaptation by itself.

#### Shared categories are an explicit assumption

A limitation visible in the setup is the common category inventory. Source and target use the same labels, and the classification losses depend on that correspondence. The traffic-sign task increases category variety but retains this assumption.

The paper therefore does not establish behavior when the target contains categories absent from the source, when some source categories disappear, or when the annotation schemes differ. Such cases would change the meaning of inherited source labels and of class consistency.

The method also concerns image classification. Its generators modify visual appearance, its discriminators assess images, and its qualitative analyses inspect visual outputs. Extending the consistency idea to language or another modality would require a suitable transformation mechanism and separate evidence that the relevant task property survives.

#### Target labels enter the selection procedure

An important qualification visible in the experimental protocol concerns validation. Target images are unlabeled for the principal adaptation losses, but labeled target examples select the final combination of classifier outputs.

The implementation describes 1000 randomly selected target examples for this purpose, and the appendix repeatedly specifies a 1k labeled target subset. As a consequence, the complete procedure uses target annotation to choose a decision rule.

This does not invalidate the adaptation experiment, but it changes the interpretation of “unsupervised.” The term describes how the central training objectives use target data. It does not mean that every experimental choice is made without access to target labels.

The appendix also describes these target validation examples as drawn from collections used for evaluation. A careful assessment should therefore keep adaptation training, target-based selection and final evaluation conceptually separate. The paper does not establish an equally successful selection rule that needs no target labels.

#### The benchmark does not isolate every architectural choice

The main comparison includes systems with different classifier capacities and different image preprocessing. The authors themselves note that SBADA-GAN has fewer fully connected neurons than ADDA and fewer convolutional layers than DRCN.

They also emphasize that their SVHN experiments retain RGB images while competitors use grayscale. That makes the task representation different across the comparison. Retaining color may expose additional variation, but it also changes the available input information. The results should be read as comparisons of the reported systems and protocols rather than as a perfectly controlled isolation of adaptation loss alone.

Training from scratch avoids the extra-source issue the authors identify for Office. At the same time, excluding that benchmark leaves a narrower range of visual recognition tasks. Digits and cropped signs provide meaningful variation, but they do not establish performance across arbitrary visual domains.

#### Qualitative diagnostics have specific limits

The t-SNE plots are evidence about a projected view of image distributions. Apparent overlap after dimensionality reduction does not prove that all relevant structures align in the original image space or in the classifier’s decision space.

SSIM addresses perceptual similarity among sampled images. It can help investigate repetitive output, but the reported procedure does not certify that every category is represented correctly or that generated examples preserve their source labels. Those are separate questions.

The consistency comparison likewise shows instructive examples rather than a complete count of all possible failures. Its explanation is persuasive when combined with the task results, but it should not be interpreted as a guarantee that class consistency eliminates semantic corruption.

A further conceptual limit follows from where the constraint is applied. The supervised consistency path begins with source images and checks their category after both transformations. It does not directly supply genuine labels for target images. The reverse generator’s behavior on target inputs is still supported by adversarial matching and, later, provisional labels.

#### Some implementation and reporting questions remain

The positive squared discriminator losses and the maximization notation do not provide a fully consistent update specification on their own. Reproducing training would require resolving how the discriminator and generator objectives are implemented. The architectural intent is understandable, but mathematical presentation and executable optimization are not identical levels of specification.

The robustness evidence is also bounded. The tested weight range and batch changes support tolerance around those configurations. They do not establish stability under arbitrary learning rates, training schedules, domain imbalance or generator capacity.

The main discussion and appendix describe the associative method’s batch sensitivity somewhat differently. The explicit accuracy endpoints remain useful, but the varying verbal accounts are a reason to attach conclusions to the stated experimental conditions rather than generalize an exact penalty.

Finally, the absence of observed overfitting during 500 epochs does not establish that longer training would improve performance. The authors present that possibility as a suggestion. Likewise, the reported comparisons do not provide a comprehensive account of variation across random initializations. The evidence supports the observed advantages and failure modes, with more limited support for claims about their statistical consistency.

### What came after

A documented account of later influence would require subsequent studies that explicitly develop, test or modify SBADA-GAN. No such later studies are identified in the available citation record for this discussion, so a specific chain of successors cannot be established.

The related systems discussed by the authors should not be treated as that chain. CycleGAN and DiscoGAN supply the background for image-based round-trip constraints. PixelDA supplies a closely related source-to-target adaptation structure. Associative domain adaptation and ADDA are comparison approaches. Their role in the paper is to motivate or evaluate the proposal, not to demonstrate its later influence.

The paper nonetheless leaves clear questions for subsequent investigation. One concerns whether a task-oriented consistency check can retain useful identity more effectively than detailed reconstruction. Another concerns when opposite adaptation directions contribute independent evidence. A further question is how to activate self-labeling according to measured reliability while reducing dependence on labeled target validation data.

These are research directions suggested by the design and its limitations, rather than documented later results. The established contribution remains the tested combination: complementary image-transfer routes, a category-preserving round trip, delayed provisional-label feedback, and joint use of both classifiers at prediction time.

## Cite

Cite as Paolo Russo, Fabio Maria Carlucci, Tatiana Tommasi and Barbara Caputo. 2018. From Source to Target and Back: Symmetric Bi-Directional Adaptive GAN. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr.2018.00845](https://doi.org/10.1109/cvpr.2018.00845) · [arXiv 1705.08824](https://arxiv.org/abs/1705.08824)

```bibtex
@inproceedings{russo2018source,
  title = {{From Source to Target and Back: Symmetric Bi-Directional Adaptive GAN}},
  author = {Paolo Russo, Fabio Maria Carlucci, Tatiana Tommasi and Barbara Caputo},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2018},
  doi = {10.1109/cvpr.2018.00845},
  eprint = {1705.08824},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2018.00845}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
