Virtual loss is a concurrency control mechanism used in tree parallelization for Monte Carlo Tree Search. When a thread selects a node during the selection phase, it temporarily applies a 'virtual' penalty to that node's statistics (typically by artificially incrementing its visit count and decrementing its cumulative reward). This discourages other threads from simultaneously exploring the same path, reducing wasteful contention and search overhead. The loss is removed after the thread completes its simulation and backpropagation, updating the node with the real result.
