Aussie AI

Conditional Computation

  • Last Updated 3 September, 2024
  • by David Spuler, Ph.D.

Conditional computation is an optimization technique for AI model inference where simple computations are done first, so that more complicated and expensive computations are only done "conditionally" and often avoided completely. Other names for conditional computation as a programming optimization technique include "skipping", "lazy evaluation", "easy case first", "simple case first", and "common case first".

When applied to neural network inference, conditional computation is a type of dynamic inference (or "adaptive inference"), where the computations change dynamically based on the input sequence, and only parts of the full model are activated. Some examples of conditional computation algorithms for dynamic inference include:

Research on Conditional Computation

Research papers on various types of conditional computation, with an initial cheap computation to avoid a larger subsequent computation, include:

More AI Research

Read more about: