Invertible Unpaired Translation with an Explicit Residual Channel

When a network translates an aerial photo into a street map without paired examples, the map has far less information than the photo: trees, roof textures and car positions have nowhere to go. If the network must also be able to turn its map back into the original photo, it has to hide those details somewhere. CycleGAN hides them as faint, high-frequency noise in the generated map, a kind of accidental steganography. Making the translator exactly invertible, as flow-based translators do, makes this worse rather than better. A bijection cannot discard anything, so the hidden detail is required by construction. We propose to give that information a legitimate place to go. The translator is an exactly invertible network that outputs two things: the target image, and a separate "residual" code that holds whatever the target domain cannot express. The target image is passed through a noisy, quantizing channel during training, so it cannot carry covert detail. The residual code is kept clean and is modeled by a learned density, so the amount of hidden information is measured in bits instead of smuggled.

The payoff is threefold. Reverse translation becomes honest and multimodal: to turn a map into a photo, you sample a residual code rather than decoding invisible noise. Features that exist in only one domain, such as map text or tumors in one MRI sequence, are pushed out of the target image and into the residual code rather than hallucinated. And the residual rate, in bits per dimension, gives a per-image and per-domain-pair measurement of how non-bijective a translation task actually is, which no current unpaired method reports.

Core Claim

Exact invertibility and steganography are the same phenomenon viewed from two sides. An invertible unpaired translator with a factored-out, density-modeled residual code, trained so that reconstruction must survive a noisy channel on the visible output, will satisfy four expectations. It will reconstruct robustly under perturbations that destroy CycleGAN reconstructions. It will match or beat mask-based methods on non-bijective benchmarks. It will allocate residual bits in a direction that tracks the known information asymmetry of each domain pair: many bits for photo→map, few for map→photo, and near-symmetric for horse↔zebra.

Background and Positioning

The problem is documented from the translation side. CycleGAN trains two generators with a soft L1 round-trip loss. CycleGAN, a Master of Steganography showed that on aerial↔map this loss is satisfied by embedding source details in perturbations of about ±3/256, and that noise of that amplitude destroys reconstruction. This paper motivates our work: it identifies the gap. Two works then attack information asymmetry with learned side-structures but without invertibility. AsymGAN adds an auxiliary latent from an encoder to fill in missing detail. StegoGAN learns a mask separating matchable from unmatchable features and routes the unmatchable ones through a hidden path. Both are strong competitors. Neither gives a conservation law: nothing guarantees that the information not in the visible output is actually in their side variable rather than still hidden in pixels. HarmonicGAN instead constrains patch-affinity smoothness, and CUT drops the reverse mapping altogether in favor of patchwise contrastive learning.

Three works supply our method's ingredients, and one paper frames it:

  • Exactly invertible translators. AlignFlow composes two flows through a shared latent so that cycle consistency holds exactly. Cycle-free CycleGAN uses one invertible generator and one discriminator for CT denoising.
  • Dimension change inside a flow. VFlow shows how to pad inputs with auxiliary noise so a flow's input and output dimensions can differ.
  • Conditional priors. DeFlow and LLFlow show that flow densities can be conditioned on image content.
  • Motivating analogy. Lossy Image Compression with Normalizing Flows quantizes a bijective latent. We quantize the visible output instead.

Both invertible translators are strictly equal-dimensional and deterministic, and both explicitly leave asymmetric domains open. Cycle-free CycleGAN was tested only where input and output share geometry. Neither has been examined for steganography, even though a bijection from a high-entropy to a low-entropy domain must hide entropy somewhere. RevGAN makes only its core reversible, for memory. We borrow its reversible-core idea for scaling but make the whole map invertible.

Method

Let $x$ be a source image and $u \sim \mathcal{N}(0, I)$ an auxiliary noise tensor of the same size, in the style of VFlow. An exactly invertible network $f_\theta$ maps $(x, u)$ to $(y, r)$, where $y$ is the target-domain image and $r$ is the residual code. The network is built from Glow-style couplings, invertible 1×1 convolutions and squeeze layers, with reversible recomputation for memory. Let $c_\sigma$ be a training-time channel that quantizes $y$ to 8 bits and adds noise of amplitude $\sigma$ (default $\sigma = 3/256$, the steganography scale). Let $p_\phi(r \mid y)$ be a conditional flow density on the residual. The forward-direction objective is

$$ \mathcal{L} = \mathcal{L}_{\text{adv}}(y) + \lambda\, \mathbb{E}\,\big\| x - \pi_x f_\theta^{-1}(c_\sigma(y), r) \big\|_1 - \beta\, \mathbb{E}\log p_\phi(r \mid c_\sigma(y)), $$

where $\pi_x$ keeps the image part of the inverse output, and $\lambda, \beta$ are weights. Each term does one job:

  • The adversarial term makes $y$ look like the target domain.
  • The channel means any detail stored in $y$ below the noise level is lost, so reconstruction pushes that detail into $r$.
  • The likelihood term makes $r$ both sampleable given a real target image and costly in bits. Without it, the model would dump everything into $r$.

Because $f_\theta$ is a bijection, information cannot vanish. It must sit either in robust, visible structure in $y$ or in $r$. The average $-\log p_\phi(r \mid y)$ in bits per dimension is the reported residual rate. Reverse translation of a real target image $y$ samples $r \sim p_\phi(\cdot \mid y)$ and inverts, which yields diverse sources. A second discriminator on these reverse samples trains the reverse direction. This follows Cycle-free CycleGAN's single-generator design.

Research Program

We will first build the equal-dimension, no-residual version, a direct AlignFlow/Cycle-free-style translator. Running the steganography analysis on it answers the open question in isolation: does hard invertibility amplify covert hiding? We will measure this in three ways:

  • a fragility curve of reconstruction error versus added noise amplitude and JPEG quality;
  • the high-frequency spectral energy of generated maps, compared with real maps;
  • a leakage probe: a small network trained to predict source-photo detail from generated maps, compared with the same probe on real maps paired with real photos.

We will then add the residual channel and sweep $\sigma$ and $\beta$ to trace a rate–realism–reconstruction trade-off. Finally, we will report residual rates across domain pairs as a measurement of asymmetry, and check whether the residual code localizes unmatchable content. For example, map text on PlanIGN and tumors on BraTS should show high per-pixel residual rate where these features occur.

Baselines

The naive reference point is CycleGAN with its standard L1 cycle and identity losses. It is trained on the same splits, at the same resolution, with the same number of iterations as our model. For context, CycleGAN reports 0.52 per-pixel accuracy on Cityscapes labels→photo, against 0.71 for paired pix2pix (CycleGAN). Beating it means lower reconstruction fragility and lower RMSE on non-bijective benchmarks.

The strongest competitor on the non-bijective question is StegoGAN. It is built for exactly this failure: it learns a mask for unmatchable features and routes them through a hidden path. The strongest reported figure is its PlanIGN RMSE of 22.5 versus 27.0 for CycleGAN (StegoGAN). It also reports a 20× lower tumor false-positive rate than CycleGAN on T1→FLAIR, but the file gives no absolute value. We will run the authors' configuration on the same splits with an equal hyperparameter-search budget. Beating it means RMSE below 22.5 on PlanIGN and fewer hallucinated unmatchable features, with robustness to channel noise that StegoGAN does not claim.

For invertible-translator comparisons we use AlignFlow. It reports a Facades B→A MSE of 0.2512 versus 0.3286 for CycleGAN (AlignFlow). For Cityscapes photo→label we use AsymGAN's 74.9% per-pixel accuracy (AsymGAN). For realism of the forward direction we use CUT's horse→zebra FID of 45.5 (CUT). For Maps, no reported reconstruction number found on Lacuna for AlignFlow or StegoGAN, so we will rerun both.

Two ablations isolate the key ingredient, both at identical parameter count:

  • No residual. Our architecture with $r$ removed, which is a pure bijection. We predict it will show extreme fragility.
  • No channel. Our architecture with the residual but $\sigma = 0$. We predict it leaves $r$ nearly empty and reverts to hiding detail in $y$.

If the full model is not clearly more robust than the no-channel ablation, the channel is not doing what we claim.

Why not just…?

Why not just add noise or JPEG to the generated image inside a standard CycleGAN? This is a real threat, and it is the cheapest fix. A noisy channel alone does remove the covert signal. But it gives the displaced information no place to go, so the cycle loss must then either fail or force visible hallucinated structure into $y$. Map→photo also remains deterministic, with no way to sample the missing detail. We include CycleGAN-with-channel as a baseline at the same $\sigma$. If it matches our RMSE, robustness and hallucination rates, the residual code is unnecessary and we would say so.

Why not just use CUT and drop reconstruction entirely? CUT never reconstructs, so it cannot be steganographic, and its forward quality is strong (FID 45.5 on horse→zebra). It offers no reverse translation, no multimodal sampling of missing detail, and no measurement of how much information the translation discards. We do not expect to beat CUT's forward FID by a wide margin. The claim to test is parity on forward realism while adding a robust, sampleable reverse direction and a residual-rate measurement.

Why not just use StegoGAN or AsymGAN, which already separate unmatchable content? Both are learned heuristics on non-invertible backbones. Nothing prevents residual information from still being hidden in pixels, and neither reports robustness of reconstruction to channel noise. Our head-to-head on PlanIGN and BraTS, plus the fragility curve applied to StegoGAN's outputs, settles whether the conservation guarantee buys anything measurable.

Why not just use AlignFlow as is? It is exactly our no-residual ablation. Our first experiment predicts that on Maps it is maximally steganographic, precisely because it is a bijection. If instead it proves robust, our motivating argument is wrong.

Proposed Experiments

We train on four settings:

  • Maps (aerial↔map) and PlanIGN: strongly asymmetric pairs.
  • BraTS T1↔FLAIR: tests unmatchable pathology.
  • Cityscapes photo↔label: asymmetric, with a standard segmentation-accuracy metric.
  • Horse↔zebra: roughly symmetric control.

Metrics are RMSE/MSE against held-out pairs where they exist (Maps, PlanIGN, Facades), per-pixel accuracy on Cityscapes, FID on horse↔zebra, tumor false-positive rate on BraTS, residual rate in bits per dimension, and the fragility and leakage measures above.

Three checks are decisive:

  • Robustness. At noise amplitude 3/256, CycleGAN and the no-residual flow should lose reconstruction almost entirely, as Chu et al. found for CycleGAN. The full model should degrade gracefully.
  • Leakage. The probe should recover no more source detail from our generated maps than from real maps.
  • Asymmetry. Residual rate should be clearly higher for photo→map than for map→photo, and roughly equal across directions for horse↔zebra.

If the rates do not order this way, the residual code is not measuring information asymmetry and the central claim fails.