Davies Meyer – home
    AI2 min read

    Inference

    In machine learning, inference applies a trained model to an input to calculate an output. That may be a classification, prediction or generated text. This use of the term concerns model application; statistical inference is a different context.

    Inference explained

    Training adapts a model; uses it. A larger system may connect those stages, but a new request does not automatically retrain the model. Nor does a model output itself authorise an action.

    Operations should match usage. An interactive assistant should respond clearly and promptly. A periodic report may be calculated in advance or in batches. There is no universal waiting-time threshold suitable for every marketing workflow.

    Processing on a device or server depends on capabilities, available resources and data flows. Neither is universally faster, cheaper or more appropriate. Retrieval, transmission, queues and post-processing matter alongside model runtime.

    Compare the complete task: is the output suitable, how long does a usable version take, and what happens on failure? Raw speed offers little benefit when a team must then make extensive corrections.

    Examples

    Hypothetical application

    A team runs an overnight classification of approved product copy for internal review. Results are ready the next morning. Reliable, traceable batch processing matters more for this task than an immediate response to each document.

    Key Points

    • Distinguish model application and training.
    • Match operations to interactive or delayed use.
    • Measure complete processing time and quality.

    Practical application

    Evaluate a real task under typical load, considering waiting time, failure cases and quality.

    Useful measures

    Time to a usable result

    Include retrieval, processing and required review.

    Successfully completed tasks

    Account for failures, retries and editing.

    Common mistakes

    • Assuming one universal millisecond threshold.
    • Measuring model runtime instead of the full workflow.

    Sources and context

    Frequently Asked Questions about Inference

    No. Delayed or batch processing can suit the task.

    Loading related terms…

    All Terms