gradient reversal layer instrument
| Definition | A layer between an encoder and a domain head that passes its input unchanged on the forward pass and multiplies the gradient by minus lambda on the backward pass. The domain head learns to predict the nuisance variable while the encoder is trained to make that prediction harder. |
|---|---|
| Example | With lambda 0.5, a domain-loss gradient of (2, -1) arriving at the layer reaches the encoder as (-1, 0.5), and the forward output equals the input. |
| Volume | Geometric Methods, Volume 1 of the Geometric Series; entry id gradient-reversal-layer, kind instrument. |
| Status | The README's status note of 2026-07-14 calls this volume the series' metrology discipline, a method that is normative and not a finding. Its Section 21.8 (November 2026) classes each result as proved, posited, or measured on a recorded run, and the tables of Chapters 1, 8, 9, 11 and 12 are posited illustrations. Corrections: none recorded. |
| Defining equation | none |
| Assumptions and scope |
|
| Prior art | The domain-adversarial neural network of Ganin et al. (2016). |
| Evidence | geometric-methods/chapters/chapter-14-gradient-reversal.md:75-80, geometric-methods/chapters/chapter-14-gradient-reversal.md:97-103 |
| Reviewed | not yet reviewed; generated 2026-11-25 from records at the commits on the provenance page. |
Equation
none
Conditions
- A domain head at chance means the representation defeats that discriminator. It does not mean the representation holds no information about the nuisance.
- The method fails when the nuisance and task subspaces coincide, when the domain head is too weak to detect the nuisance, or when the minimax training does not converge.
- Invariance is measured by a probe fitted after training on held-out data and by accuracy on a test set where the shortcut is broken. In the recorded run of Section 14.9 the probe recovered the nuisance 99.9% of the time under full reversal.
Conditions are curated in volumes/geometric-methods.toml
rather than read from a record.
Ledger
none. standing. The README’s status note of 2026-07-14 calls this volume the series’ metrology discipline, a method that is normative and not a finding. Its Section 21.8 (November 2026) classes each result as proved, posited, or measured on a recorded run, and the tables of Chapters 1, 8, 9, 11 and 12 are posited illustrations.
First stated
Section 14.2.1, geometric-methods/chapters/chapter-14-gradient-reversal.md:75-80,
with the limit of what an equilibrium shows at geometric-methods/chapters/chapter-14-gradient-reversal.md:97-103.
Online, Geometric
Methods.
Measurements
none
Failures and corrections
none
Invariance envelope
none declared
Machine checked
none
Used in
Geometric Methods, Volume 1 of the Geometric Series.
Related
gradient reversal shortcut experiment; nuisance; encoder; leakage; residualization.
See also
none
Status
Generated 2026-11-25 by encyclopedia/generate.py; book
at observation-data-mining 736f790; the commit of every record is listed
in the encyclopedia’s provenance.