Generalization Test Splits: Evaluating on Unseen Objects, Scenes and Instructions

Robot Generalization Evaluation

A policy that handles the mugs it trained on has told you very little. The question that matters for deployment is what happens with the mug it has never seen, in a kitchen it has never visited, given an instruction nobody phrased that way before. Robot generalization evaluation answers that question, but only if the test splits are built to be genuinely unseen.

This guide covers how to design held-out objects, unseen environment testing and instruction generalization splits, and how to report out-of-distribution evaluation without fooling yourself.

Table of contents

    Why random splits fail in robotics

    In many machine learning tasks a random split of examples is acceptable. In robotics it leaks. Episodes from the same session share lighting, objects, backgrounds and operator style, so a random episode-level split puts near-duplicates on both sides of the line.

    Recht and colleagues highlighted “the danger of overfitting to excessively re-used test sets” when they rebuilt the CIFAR-10 and ImageNet test sets. Robotics test sets are smaller and reused more often, so the risk is greater.

    The four axes of generalization

    Axis What is held out Example
    Objects Instances or whole categories Train on 40 mugs and test on 10 unseen mugs, or hold out the entire bowl category
    Scenes Backgrounds, layouts, lighting, sites Train in three kitchens and test in a fourth
    Instructions Paraphrases, new compositions, new verbs “Put the cup in the sink” versus “Drop the mug in the basin”
    Tasks and embodiments Skill combinations or robot variants Pick-and-place seen, pouring never seen

    Each axis fails independently. A policy can handle new objects and collapse in a new scene, so test them separately before combining them.

    Build splits that are truly unseen

    1. Split at the right level. Hold out whole objects, scenes and sessions, not individual episodes.
    2. Hold out categories, not just instances. An unseen instance of a seen category is much easier than an unseen category.
    3. Collect test data independently, with separate operators, sites and dates, rather than reserving leftovers from the training collection.
    4. Check for near-duplicates. Deduplicate by object ID and scene ID, then by embedding similarity.
    5. Define difficulty tiers: near (new instance, same scene), mid (new scene, same category) and far (new category, new scene).
    6. Freeze and version the split, and keep one locked copy for release decisions.

    Instruction generalization

    For language-conditioned policies, test four kinds of variation: paraphrases with the same meaning, compositional instructions that combine seen verbs and objects in new ways, novel referring expressions such as “the blue thing next to the sink,” and instructions with constraints or negation.

    Have the test instructions written by people who did not write the training prompts. Annotators converge on a shared phrasing style, and a test set written in that style flatters the model. Our guide to language-conditioned manipulation data covers how to collect varied instructions.

    Report out-of-distribution results honestly

    Report each axis and tier separately. A single pooled generalization number hides which axis fails. Show the in-distribution score beside it so the gap is visible, and give intervals, following our robot policy evaluation protocol.

    State precisely what “unseen” means: how many held-out objects, scenes and instructions, how they were chosen, and how they differ from training. A policy that generalizes to objects but not scenes needs different data than the reverse, so the breakdown is also your collection plan.

    Turn the gap into a collection plan

    A generalization gap is a map of missing diversity. Measure what your training set actually covers with data diversity scoring, then collect along the axis that fails: more object categories, more sites, more instruction styles.

    Roborax collects held-out evaluation sets independently of training collection, with separate operators, sites and object pools, through our evaluation benchmarks service. For training-side breadth, see bespoke manipulation datasets.

    Frequently asked questions

    Q: How many held-out objects do we need?

    A: Enough that one odd object cannot swing the result. Judge by intervals, and prefer more objects with fewer trials each over a few objects with many.

    Q: Is an unseen instance of a seen category enough?

    A: It is a useful near tier, but it is the easiest test. Add unseen categories and unseen scenes before claiming general capability.

    Q: Can synthetic data build held-out sets?

    A: For screening, yes, with caution. Final generalization claims should rest on real held-out data, especially for objects and scenes.

    Generalization is a claim, and a claim needs a test it could fail. If you are designing splits for a new model or auditing the ones you have, tell us what you are training and we will build an independent held-out set against it.

    Related reading

    External reference

    Sumanta Ghorai

    Sumanta Ghorai · GTM and Solutions Lead

    Sumanta is a subject matter expert in Hi-Tech, Telecom, and Utility verticals with six-plus years in presales and digital marketing, helping platforms across e-commerce, autonomous systems, and data annotation grow through lead generation and strategic proposal management. He leads bid management, RFP strategy, and account-based marketing across Fusion CX's technical accounts, turning business requirements into solutions that win deals. He writes about go-to-market strategy and how presales teams should think about technical robotics and data partnerships.

    Contact form

    Or just fill this out

    We’ll route your message to the right inbox and respond within one business day.