4 min read
On this page

Multiplicative vs Additive Constraint Enforcement

In Plain English#

Imagine you’re trying to lose weight (data fit) while also eating enough vegetables (constraint). An additive approach says:

“Your score is diet_points + 0.1 × vegetable_points”

A multiplicative approach says:

“Your score is diet_points × vegetable_factor”

The additive approach can fool you — you might eat lots of junk food but just enough vegetables to pass the constraint. The multiplicative approach is honest: if you fail the vegetable constraint, your whole score fails, no matter how good the diet is.

Now make this mathematical. In physics-informed neural networks (PINNs), the additive approach is the industry standard. The multiplicative approach is the Arithmetic Manifold.

Why this matters: Additive constraints can “hide” from each other — satisfy one while violating another. Multiplicative constraints are compositional — every constraint must be satisfied, or the whole product collapses.


The Problem with Additive#

Standard PINN loss:

L=Ldata+λ1Lphysics+λ2LBC\mathcal{L} = \mathcal{L}_{\text{data}} + \lambda_1 \mathcal{L}_{\text{physics}} + \lambda_2 \mathcal{L}_{\text{BC}}

Gradient conflicts arise:

  • The gradient of Ldata\mathcal{L}_{\text{data}} may point opposite to Lphysics\mathcal{L}_{\text{physics}}
  • The weights λ1,λ2\lambda_1, \lambda_2 must be tuned by hand
  • At convergence, gradients may cancel, causing oscillations

Result: 31.31% monotonicity violations in Navier-Stokes (standard approach).


The Multiplicative Solution#

The Arithmetic Manifold replaces additive penalties with multiplicative constraint factors:

L=Ldata×C(v)\mathcal{L} = \mathcal{L}_{\text{data}} \times C(\mathbf{v})

Where the constraint factor is:

C(v)=G(v)Euler Gate×B(v)Exponential BarrierC(\mathbf{v}) = \underbrace{G(\mathbf{v})}_{\text{Euler Gate}} \times \underbrace{B(\mathbf{v})}_{\text{Exponential Barrier}}

Euler Gate (attenuates violations)#

G(v)=c(1pcτvc)G(\mathbf{v}) = \prod_{c} \left(1 - p_c^{-\tau v_c}\right)

When constraint cc is satisfied (vc>0v_c > 0), the gate attenuates. The product structure means all constraints contribute simultaneously.

Exponential Barrier (amplifies violations)#

B(v)=exp(γv22)B(\mathbf{v}) = \exp(\gamma \|\mathbf{v}\|_2^2)

When any constraint is violated, the barrier grows exponentially, pulling the optimizer back.


Why Multiplicative Works#

1. No Gradient Cancellation#

When constraints compose multiplicatively:

θlnC(v)=clngcθ\frac{\partial}{\partial \theta} \ln C(\mathbf{v}) = \sum_c \frac{\partial \ln g_c}{\partial \theta}

The logarithm converts products to sums. Gradient contributions add — they don’t cancel.

2. Self-Normalizing#

0<G(v)<1andB(v)>10 < G(\mathbf{v}) < 1 \quad \text{and} \quad B(\mathbf{v}) > 1

The Euler gate is bounded; the barrier grows monotonically. The product C(v)C(\mathbf{v}) never explodes or vanishes (for finite γ\gamma).

3. Phase Transition at Critical β#

At critical inverse temperature β=1\beta = 1, the Riemann zeta function diverges:

ζ(1)=\zeta(1) = \infty

This nucleates a “superconducting phase” where constraints propagate without dissipation. The optimization landscape becomes convex.


Results: Multiplicative vs Additive#

MetricAdditive (Standard)Multiplicative
Residual reduction (Navier-Stokes)baseline99.64%
Monotonicity violations31.31%0%
Speedup over CFD1x100,000x
Gradient conflict rateHighZero

The “Superconducting” Analogy#

In superconductivity, electrons form Cooper pairs and flow without resistance. In the Arithmetic Manifold:

  • Electrons → Constraint gradients
  • Resistance → Gradient conflicts
  • Cooper pairs → Prime-weighted constraint factors
  • Superconducting phase → Convex optimization landscape

When you’re in the superconducting phase, all constraints are satisfied simultaneously because they compose factorially, not additively.


Connection to Euler Products#

The Euler product structure:

ζ(s)=p11ps\zeta(s) = \prod_{p} \frac{1}{1 - p^{-s}}

Is the continuous limit of the multiplicative constraint factor. As s1s \to 1, ζ(s)\zeta(s) \to \infty — the product diverges. This is the phase transition that creates the superconducting regime.


Key Insight#

The shift from additive to multiplicative is not a tweak — it’s a paradigm shift. Additive constraints are penalties that can be gamed. Multiplicative constraints are invariants that must hold. The Euler product structure guarantees compositional behavior that additive penalties cannot achieve.


See Also#

Start typing to search all 77 articles and guides.