the.ai

Architecture / Sparsity

verified

Conditional Computation

Most networks spend the same effort on every input, whether it is trivial or hard. Conditional computation lets the network decide, per input, which parts of itself to run. The appeal is obvious and the difficulty is specific: the decision is discrete, and you cannot take a gradient through a choice.

Viz primitive · update-spectrumgate-temperature = 1

8 values. The left group decays steeply; the right group is 33% of the way to flat, and reads flatter than the left.

A relaxed gate's output distribution as temperature rises. Drag it up to watch the gate soften toward an even blend — hardening into a discrete choice is the same knob toward zero, which this figure bottoms out at rather than passing through.

1

Reviewed by opendroid · 2026-08-01

  • arXiv:1511.06297 — Conditional Computation in Neural Networks for Faster Models
  • arXiv:1308.3432 — Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation