The possibility of a weight parameter monotonically increasing over many gradient descent updates depends on the persistent negativity of its gradient and appropriate learning rate tuning. Below is a concise explanation:
Key Condition:
For a weight ( w ) to increase monotonically (( w_{t+1} \geq w_t )) across iterations, the update rule ( w_{t+1} = w_t - \eta \cdot \nabla_w L ) requires:
[
-\eta \cdot \nabla_w L \geq 0 \implies \nabla_w L \leq 0 \quad \text{(gradient must be non-positive)}.
]
Monotonic increase occurs if ( \nabla_w L \leq 0 ) for all relevant iterations.
Scenarios Where This Happens:
-
Convex Loss Surfaces (e.g., Quadratic Loss):
- Example: ( L(w) = (w - w^)^2 ) with minimum at ( w^ = 10 ).
- If initialized at ( w_0 < w^* ), the gradient ( \nabla_w L = 2(w - w^) ) is negative for all ( w < w^ ).
- With learning rate ( \eta < 1/|H| ) (where ( H ) is the curvature), ( w ) increases monotonically until convergence near ( w^* ).
-
Linear Loss Regions:
- Example: ( L(w) = -a \cdot w ) (( a > 0 )).
- Gradient ( \nabla_w L = -a ) is constantly negative.
- Updates: ( w_{t+1} = w_t + \eta \cdot a ), leading to unbounded monotonic increase.
-
Consistent Optimization Path:
- In complex models (e.g., deep networks), a weight may lie in a region where the gradient remains negative due to:
- Data properties (e.g., consistent correlation between input feature and target).
- Architectural constraints (e.g., ReLU activations masking certain paths).
- Example: A weight connected to a feature that always positively correlates with the target may have persistently negative gradients.
Critical Considerations:
- Learning Rate (( \eta )):
- If ( \eta ) is too large, overshooting can cause oscillations (breaking monotonicity).
- Small ( \eta ) ensures stable ascent in negative-gradient regions.
- Stochasticity:
- In SGD, noise from mini-batches may cause intermittent positive gradients, disrupting monotonicity. This is less likely in full-batch GD.
- Loss Landscape:
- Non-convex surfaces may have regions where gradients change sign (e.g., saddle points, local minima). Monotonicity holds only while ( \nabla_w L \leq 0 ).
Practical Example:
- Task: Linear regression predicting house prices with feature ( x ) (square footage).
- Weight Behavior: If ( x ) always has a positive effect on the target, the gradient for its weight ( w ) is consistently negative during updates. With ( \eta ) small, ( w ) increases monotonically toward its optimal positive value.
Conclusion:
Yes, a weight can monotonically increase over many updates if the gradient remains non-positive and the learning rate is sufficiently small to prevent overshooting. This is common in convex regions, linear loss components, or optimization paths where data/architecture sustain consistent gradient directions. Stochasticity or complex loss landscapes may interrupt monotonicity, but it remains achievable under specific conditions.