Adaptive gradient-norm weighting for improved domain adversarial training

Abstract Unsupervised domain adaptation (UDA) transfers knowledge from a labeled source domain to an unlabeled target domain by jointly optimizing source classification and domain-alignment objectives. A key practical challenge is selecting the trade-off coefficient $$\lambda $$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>λ</mml:mi> </mml:math> , which controls the strength of domain alignment. Fixed values and manually designed schedules are commonly used, but the appropriate balance can vary across datasets, transfer directions, and training stages. This paper proposes Adaptive Gradient-Norm Weighting (AWD), a lightweight scalarization mechanism that dynamically adjusts $$\lambda $$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>λ</mml:mi> </mml:math> using the ratio between the gradient norms of the classification and alignment losses. AWD introduces no additional learnable parameters and can be applied to UDA objectives of the form $$\mathcal {L}_{\textrm{CE}}+\lambda \mathcal {L}_{\textrm{Align}}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:msub> <mml:mi>L</mml:mi> <mml:mtext>CE</mml:mtext> </mml:msub> <mml:mo>+</mml:mo> <mml:mi>λ</mml:mi> <mml:msub> <mml:mi>L</mml:mi> <mml:mtext>Align</mml:mtext> </mml:msub> </mml:mrow> </mml:math> . We evaluate AWD within Deep Adaptation Network (DAN) and Domain-Adversarial Neural Network (DANN) on Office-31, Office-Home, DomainNet, and digit adaptation benchmarks using five independent seeds. Across the evaluated benchmarks, AWD consistently improves average performance over fixed and scheduled baselines, with the strongest gains on more difficult transfer settings. On Office-Home with DANN, AWD improves average accuracy over fixed $$\lambda {=}1$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>λ</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn> </mml:mrow> </mml:math> by $$+4.4$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>+</mml:mo> <mml:mn>4.4</mml:mn> </mml:mrow> </mml:math> percentage points, while avoiding manual per-task grid search. The method incurs only modest computational overhead. Overall, the results show that gradient-aware adaptive weighting is a simple, practical, and interpretable mechanism for balancing classification and alignment losses in UDA.

Authors

Institutions

Publication Details

Journal
International Journal of Data Science and Analytics
Published
2026-07-27
DOI
https://doi.org/10.1007/s41060-026-01234-2
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive gradient-norm weighting for improved domain adversarial training

Mostafa M. Rezaee, Mohammadhossein Homaei, Robert Green, Iman Khazrak
International Journal of Data Science and Analytics
Domain Adaptation and Few-Shot Learning
article

Adaptive gradient-norm weighting for improved domain adversarial training

Mostafa M. Rezaee, Mohammadhossein Homaei, Robert Green, Iman Khazrak
article en

Abstract

Abstract Unsupervised domain adaptation (UDA) transfers knowledge from a labeled source domain to an unlabeled target domain by jointly optimizing source classification and domain-alignment objectives. A key practical challenge is selecting the trade-off coefficient $$\lambda $$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>λ</mml:mi> </mml:math> , which controls the strength of domain alignment. Fixed values and manually designed schedules are commonly used, but the appropriate balance can vary across datasets, transfer directions, and training stages. This paper proposes Adaptive Gradient-Norm Weighting (AWD), a lightweight scalarization mechanism that dynamically adjusts $$\lambda $$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>λ</mml:mi> </mml:math> using the ratio between the gradient norms of the classification and alignment losses. AWD introduces no additional learnable parameters and can be applied to UDA objectives of the form $$\mathcal {L}_{\textrm{CE}}+\lambda \mathcal {L}_{\textrm{Align}}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:msub> <mml:mi>L</mml:mi> <mml:mtext>CE</mml:mtext> </mml:msub> <mml:mo>+</mml:mo> <mml:mi>λ</mml:mi> <mml:msub> <mml:mi>L</mml:mi> <mml:mtext>Align</mml:mtext> </mml:msub> </mml:mrow> </mml:math> . We evaluate AWD within Deep Adaptation Network (DAN) and Domain-Adversarial Neural Network (DANN) on Office-31, Office-Home, DomainNet, and digit adaptation benchmarks using five independent seeds. Across the evaluated benchmarks, AWD consistently improves average performance over fixed and scheduled baselines, with the strongest gains on more difficult transfer settings. On Office-Home with DANN, AWD improves average accuracy over fixed $$\lambda {=}1$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>λ</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn> </mml:mrow> </mml:math> by $$+4.4$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>+</mml:mo> <mml:mn>4.4</mml:mn> </mml:mrow> </mml:math> percentage points, while avoiding manual per-task grid search. The method incurs only modest computational overhead. Overall, the results show that gradient-aware adaptive weighting is a simple, practical, and interpretable mechanism for balancing classification and alignment losses in UDA.

International Journal of Data Science and AnalyticsVol. 22(1)
Bowling Green State University (US), Universidad de Extremadura (ES)
Openalex Percentile: Top 7%
Domain Adaptation and Few-Shot Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.