ExitReal-Time Inference vs. Batch Inference1 / 7
Explanation

Does the caller need the prediction now?

How response-time requirements distinguish interactive prediction requests from offline processing of accumulated inputs. · foundational

Inference means using an already-trained model to produce a prediction or generated output. Real-time and batch inference both do this; neither is model training. Their main difference is when the result is needed.

Real-time inference responds to incoming requests within the time an application allows. For example, a shopping page can request recommendations while a customer is viewing it. The prediction is part of the current interaction, so waiting too long affects that interaction.

Batch inference processes accumulated inputs and makes the results available for later use. For example, a business can score collected customer records before preparing a campaign. The consumer can wait for processing to finish rather than needing each prediction during a live interaction.