Localization

Localization predicts where an entity, event, region, or signal is located. It sits between global prediction and dense segmentation: the output is spatial, but not always a full mask.

The output can be written as:

where is an optional class, is a location object, and is a confidence score.

Output Types

  • Point: , , residue index, timestamp, or token span.
  • Box: .
  • Region proposal: coarse spatial region before segmentation.
  • Keypoint set: joints, landmarks, atoms, residues, or anchor points.
  • Span: start/end positions in text, sequence, audio, or video.
  • Transform: relative pose, rotation, translation, or alignment.

Loss And Metric

For point localization:

For boxes, overlap is often measured by:

For sequence spans:

The metric should match the output type. A coordinate error, IoU, span F1, and top-k hit rate are not interchangeable.

Failure Modes

  • Predicting the right class at the wrong location.
  • Predicting a plausible location that is unavailable at deployment time.
  • Learning annotation bias instead of the physical or semantic site.
  • Collapsing multiple valid locations into one averaged point.
  • Evaluating with a tolerance that is too loose for the downstream decision.

Checks

  • What spatial object is predicted: point, box, keypoint, span, transform, or region?
  • Is location measured in pixels, tokens, residues, atoms, coordinates, frames, or time?
  • What tolerance defines a correct localization?
  • Are augmentations applied consistently to labels?
  • Does preprocessing leak the true location, pose, or reference frame?