Home Knowledge Base OHEM

OHEM (Online Hard Example Mining) is a training method that selects the hardest examples within each mini-batch for backpropagation — performing a forward pass on all examples, ranking by loss, and backpropagating only through the top-K hardest examples.

How OHEM Works

Why It Matters

OHEM is training only on the hardest cases per batch — automatically focusing each gradient update on the most informative examples.

online hard example miningohemcomputer vision

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.