Robot Data Annotation Pipeline: How Small Model Collaboration Cuts Video Labeling Costs by 100x

    This article explains how to build a robot data annotation system that converts raw video into machine-readable labels at a fraction of the cost of a single large model. It covers the three label types required across the robot training lifecycle (timestamped action captions, process rewards, and outcome rewards), why a single monolithic model fails on redundant input, task mismatch, and uneven peak load, and how a pipeline of specialized small models handles shot segmentation, keyframe extraction, visual semantic recognition, timestamp alignment, scoring, and optional large-model arbitration. The article also details cost levers, quality control practices, deployment recommendations, and common pitfalls, with pipeline pseudocode and a metrics configuration example. A production system running continuously at up to 200,000 hours per day is reported at roughly $0.72 per hour versus about $88.49 per hour for a top-tier general model.

    Teaching robots general-purpose manipulation depends on translating massive volumes of video into machine-readable text and scores. Raw video is only a pixel stream: it never announces “this is pouring water,” nor does it admit “this grasp failed.” Extracting that semantics from frames is the annotation problem. Two approaches dominate the industry. Manual labeling offers controllable quality but is limited in throughput and cost. Calling a top-tier general-purpose large model API for automatic labeling produces acceptable quality at a staggering bill—one research team estimated that processing one hour of robot video at the highest reasoning effort costs about $88.49, so 100,000 hours of data implies an expense large enough to buy a house. This article discusses a third path: a group of smaller, clearly specialized models working together to complete annotation, pushing the per-hour cost down to around $0.72—roughly two orders of magnitude cheaper than the top-tier large model approach—while slightly improving annotation quality. This is not a showy new algorithm but a real system that has been running continuously in an industrial environment at up to 200,000 hours processed per day, and it reads more like an engineering notebook.

    1. Problem Definition: Three Label Types in the Robot Training Lifecycle

    Robot training is not a one-shot action but a staged pipeline, and each stage consumes a different form of label.

    • Pre-training stage: requires timestamped action captions. Each action segment in the video is labeled with a start and end time plus a one-sentence description, for example, “from 3.05s to 32.65s, left hand holds a shoe while the right hand dips a brush into liquid.” These labels are the base material for data mixing ratios and instruction-following capability.
    • Reinforcement learning post-training stage: requires process rewards. Rather than only the final success or failure, every step in the process receives a graded score of “normal / marginal / failed.” This is the same idea as step-by-step verification of reasoning in language model training, except the object is physical action.
    • Deployment monitoring stage: requires outcome rewards. A single overall success-or-failure score is given for the entire task, used for online quality monitoring, bad-data filtering, and regression comparison.

    The shared difficulty of the three label types is that all of them demand a composite capability: understanding long videos, localizing time intervals, and outputting structured judgments. The marginal cost of a single call to a very large model cannot sustain continuous production at the scale of 100,000 hours.

    2. Why a Single-Model Approach Does Not Work

    Treating annotation as one “large model question-and-answer” session is the root cause of runaway cost. There are three reasons:

    1. Redundant input. Robot video is typically multi-view and high frame rate, and the vast majority of frames contribute nothing to judging task success or failure. Sending everything to the model means paying for useless information.
    2. Task mismatch. Timestamp localization, process scoring, and outcome judgment place different demands on model capability. Using one general large model for all of them wastes resources and makes it hard to optimize quality for each task type.
    3. Uneven peaks and troughs. Data production is a continuous stream, while large model inference has limited throughput and a high unit price, which easily creates queuing and cost spikes.

    The conclusion is straightforward: an annotation system should be designed as a pipeline, not as a single call.

    3. System Architecture: How a Combination of Small Models Collaborates

    The system chains and parallelizes several specialized small models. Each stage does only one thing, and each is replaceable and can be rolled out gradually.

    1. Shot segmentation and keyframe extraction. Transition detection and motion-energy analysis first cut long video into semantically coherent segments, then keyframes are extracted according to the magnitude of change, typically compressing the input by an order of magnitude.
    2. Visual semantic recognition. Small models identify objects, hand actions, scenes, and tool states, outputting structured entities and action candidates.
    3. Timestamp alignment. Semantic events are mapped back to the original timeline to produce draft action captions with start and end times.
    4. Process and outcome scoring. Based on the event sequence, completion level, and anomaly detection, the system produces step-by-step scores and an overall score, along with confidence values.
    5. Large model arbitration (optional). A general large model is called only for low-confidence samples to re-check them, spending expensive compute where it is needed most.

    The illustrative pipeline pseudocode below highlights “filter first, judge later, escalate by confidence”:

    1. def annotate(video):
    2. shots = shot_segmentation(video) # Transition detection
    3. keyframes = select_keyframes(shots) # Keyframe extraction, the key to cost reduction
    4. events = small_vlm(keyframes) # Structured semantics
    5. timeline = align_timestamps(events, shots) # Timestamp alignment
    6. step_scores = process_reward(timeline) # Process reward
    7. final = outcome_reward(timeline, step_scores)
    8. if min(step_scores.confidence) < THRESHOLD:
    9. final = llm_arbitration(timeline) # Escalate only difficult samples
    10. return timeline, step_scores, final

    4. Key Levers for Cost Control

    The cost reduction does not rely on a single trick but on stacking multiple levers:

    • Input slimming: keyframe extraction plus adaptive resolution directly reduces the number of tokens/images sent to the model.
    • Tiered routing: high-confidence samples go to small models, and only low-confidence samples are escalated to the large model, forming a structure where a cheap model handles the bulk and an expensive model handles the hard cases.
    • Batching and caching: intermediate results are reused for segments from the same scene, camera angle, and task, avoiding repeated computation.
    • Distillation and quantization: a small amount of high-quality annotation produced by the large model distills the small models, then quantization and graph optimization improve throughput.
    • Elastic compute: stateless inference tasks are containerized and automatically scaled up or down by queue length, shaving peaks and filling troughs.

    In engineering practice, it is advisable to make cost an observable metric and put it on the same dashboard as quality metrics:

    1. metrics:
    2. cost_per_hour: 0.72 # Annotation cost per hour of video
    3. throughput_hours_per_day: 200000
    4. quality:
    5. timestamp_iou: 0.78 # Time interval overlap
    6. step_score_agreement: 0.85
    7. outcome_accuracy: 0.91
    8. routing:
    9. llm_escalation_rate: 0.06

    5. Quality Control: Making Automatic Annotation Trustworthy

    The biggest risk of automatic annotation is that it “looks right.” Practical control measures include:

    • Dual-track sampling inspection: small models produce full-volume output while humans re-check via stratified sampling, focusing on low-confidence and new scenarios.
    • Consistency checks: the same segment is cross-voted by multiple models, and samples with disagreement enter the arbitration queue.
    • Temporal plausibility constraints: action descriptions must satisfy physical and temporal constraints, such as “pick up” must come after “approach”; violations are rejected.
    • Versioning and traceability: each label records the model version, prompt template, and parameters, making problem localization and regression easier.
    • Active learning loop: arbitration samples flow back into the training set, continuously improving small model performance on long-tail scenarios.

    6. Deployment Recommendations and Common Pitfalls

    • Start with data stratification: compute statistics by scene, task, and camera angle, and prioritize automating the high-volume, stable-pattern portions.
    • Do not pursue 100% automation: putting humans in arbitration and sampling inspection yields better overall throughput and quality.
    • Watch for metric drift: robot scenarios change fast, so the evaluation set must be rebuilt periodically to avoid “offline gains, online losses.”
    • Storage and governance support: for massive video and labels, build on general cloud product categories such as object storage, message queues, container platforms, logging services, and monitoring and alerting to ensure traceability and replayability.
    • Cost guardrails: set a cost cap and degradation strategy per task to prevent abnormal data from triggering bill spikes.

    Conclusion

    The bottleneck in robot learning is shifting from “the model is not big enough” to “labels are not cheap enough or good enough.” Reconstructing annotation as a pipeline of collaborating small models with confidence-based tiered escalation trades engineering effort rather than single-point compute for a two-order-of-magnitude cost reduction, while sampling inspection, consistency checks, and active learning hold the quality line. This approach offers direct lessons for any production system that must process massive video semantics. For teams building a similar data production line on Baidu AI Cloud, the key is not choosing a particular model but designing the “filter—recognize—align—score—arbitrate” chain clearly and making both cost and quality observable at the same time.