Download code/trace_vla/SPEC_v1.1.md from phammminhhieu/trace-vla-code: direct link, hf CLI and curl.
- Browser
- Download file 37.7 kB
-
https://huggingface.co/phammminhhieu/trace-vla-code/resolve/main/code/trace_vla/SPEC_v1.1.md
- Command line
-
hf download hf://phammminhhieu/trace-vla-code/code/trace_vla/SPEC_v1.1.md
-
curl -L -o SPEC_v1.1.md https://huggingface.co/phammminhhieu/trace-vla-code/resolve/main/code/trace_vla/SPEC_v1.1.md
TRACE-VLA β Architecture and Training Update v1.1
Status: Proposed architecture update
Target model: TRACE-VLA
Foundation model: TIPSv2-B/14
Reference dataset: LIBERO
Parameter budget: Approximately 246M parameters
Primary objective: Efficient one-shot compositional robot learning
1. Purpose
Update the TRACE-VLA architecture to process unsegmented video demonstrations.
The model must learn useful interaction representations without manual skill labels.
The model must use one video demonstration to execute a new task that contains previously learned skills.
The model must retain the joint action-effect learning mechanism.
This update changes DELTA, SYNC, PULSE, ECHO, and the related training objectives.
Keep the existing ANCHOR, NEXUS, and FLUX design unless this document specifies a necessary interface change.
This document supersedes conflicting requirements in the previous architecture update.
2. Research Objectives
The updated architecture must investigate four research questions.
RQ1 β Temporal Representation
Can ordered temporal windows retain useful interaction information better than static demonstration memory?
RQ2 β Residual Representation
Can temporal visual residuals improve the transfer of learned interactions between different episodes and tasks?
RQ3 β Compositional Learning
Can the model use one video demonstration to combine previously learned skills into a new task?
RQ4 β Joint Action-Effect Learning
Can visual effect prediction improve robot control and compositional generalization without a separate World Model?
These questions are research hypotheses. Do not assume that the proposed methods are effective before the experiments.
3. General Design Requirements
The architecture must satisfy these requirements:
- Do not require manual skill segmentation.
- Do not require predefined skill labels.
- Do not require a fixed skill vocabulary.
- Do not assume that all tasks have the same execution phases.
- Do not assume that one temporal window contains one complete skill.
- Do not use demonstration actions as model inputs.
- Do not use demonstration robot states as model inputs.
- Preserve the temporal order of the demonstration.
- Keep ECHO in the main architecture.
- Keep the model weights fixed during inference.
- Keep the architecture suitable for edge deployment.
The architecture must support different types of manipulation:
- Rigid object manipulation.
- Articulated object manipulation.
- Deformable object manipulation.
- Repeated movements.
- Continuous interactions.
- Tool use.
Examples include object placement, drawer opening, cloth folding, and table wiping.
These examples describe the intended architectural scope. They do not imply that LIBERO contains all these skills.
The model is not required to execute unknown physical skills that are absent from its training data.
4. Updated System Architecture
TRACE-VLA contains these components:
| Component | Technical name | Function |
|---|---|---|
| ANCHOR | Foundation Perception Backbone | Encode images, text, and robot state |
| DELTA | Temporal Residual Demonstration Memory | Encode unsegmented demonstrations |
| SYNC | Context Synchronization and Retrieval | Retrieve relevant demonstration information |
| NEXUS | Joint Action-Effect Transformer | Process action and effect representations |
| FLUX | Flow-based Action Head | Generate continuous robot actions |
| ECHO | Visual Effect Head | Predict future visual changes |
| PULSE | Temporal Progress Head | Estimate execution progress |
4.1. Primary architecture
The initial model uses these components:
- ANCHOR
- DELTA
- SYNC
- NEXUS
- FLUX
- ECHO
PULSE remains an optional component during the initial experiments.
4.2. Data flow
The demonstration follows this path:
Demo Video β ANCHOR β DELTA β Cached Demo Memory
The current observation follows this path:
Live Images + Text + Robot State + History β ANCHOR β SYNC
SYNC reads the cached demonstration memory.
SYNC supplies the fused context to NEXUS.
NEXUS produces action features and effect features.
FLUX generates robot actions from the action features.
ECHO predicts future visual changes from the effect features.
The robot executes the selected action prefix.
The model then receives a new observation.
Repeat this process until the task is complete or the execution limit is reached.
Do not add a separate semantic skill planner, segmentation network, MoE, or independent World Model.
5. ANCHOR β Foundation Perception Backbone
5.1. Foundation model
Keep TIPSv2-B/14 as the shared visual and language foundation model.
Use the same Vision Encoder for the demonstration and the current observation.
Freeze the TIPSv2 weights during the initial experiments.
5.2. Inputs
ANCHOR receives:
- RGB demonstration video.
- Current main camera image.
- Current wrist camera image.
- Observation history.
- Optional text instruction.
- Current robot state.
The demonstration contains RGB images only.
The current robot state remains available during training and inference.
5.3. Reference configuration
| Parameter | Initial value |
|---|---|
| Image resolution | 224 Γ 224 |
| Vision feature dimension | 768 |
| Common hidden dimension | 512 |
| Spatial patch size | 14 Γ 14 |
| Spatial patches per image | 256 |
| Pooled spatial tokens per image | 64 |
| Observation history | 4 frames |
| Robot state dimension | 8 |
Compare different image resolutions and spatial pooling configurations before full training.
Preserve sufficient spatial information for accurate grasp execution.
5.4. Feature consistency
Use identical image preprocessing during training and inference.
Correct the previous image orientation mismatch.
Use the same TIPSv2 weights for all cached features.
If the Vision Encoder weights change, regenerate the affected feature cache.
Use a rolling observation cache during inference. Do not encode all previous observations again at each replan.
6. DELTA β Label-Free Temporal Window Construction
6.1. Purpose
DELTA must transform an unsegmented video into an ordered demonstration memory.
A temporal window is a short video interval. It is not a semantic skill.
DELTA does not need to know which part of a video represents grasping, lifting, folding, or wiping.
Do not use these interaction names to construct windows.
6.2. Frame sampling
Sample a maximum of 64 frames from each demonstration.
Preserve the original temporal order.
Include the first and last valid frames.
Store the original frame indices and timestamps.
If the video contains fewer than 64 frames, use the available frames.
Do not duplicate frames to create artificial motion.
Use masks for invalid or padded positions.
6.3. Overlapping temporal windows
Use overlapping windows to reduce information loss at window boundaries.
Use this initial configuration:
| Parameter | Value |
|---|---|
| Maximum sampled frames | 64 |
| Window size | 8 frames |
| Window stride | 4 frames |
| Reference overlap | 50% |
| Maximum valid windows | 15 |
| Reserved window positions | 16 |
| Tokens per window | 4 |
| Token dimension | 512 |
For a demonstration with 64 sampled frames:
- Window 1 contains frames 1 to 8.
- Window 2 contains frames 5 to 12.
- Window 3 contains frames 9 to 16.
- Continue this procedure until the last frame.
Use a final window that ends at the last valid frame if the regular stride does not cover this frame.
For a video with fewer than eight valid frames, create one masked window.
Do not calculate residuals between valid frames and padded frames.
6.4. Window semantics
Do not assume a direct relationship between windows and skills.
One physical interaction can contain multiple windows.
One window can contain parts of multiple interactions.
Different episodes can contain the same interaction at different window positions.
The model must learn these relationships from the training data.
7. DELTA β Multi-scale Temporal Residuals
7.1. Problem with endpoint residuals
A residual between the first and last frames does not always describe the complete interaction.
For example, a robot can move a cleaning tool to the right and then return to its initial position.
The first and last observations can be similar.
The intermediate motion is still important.
Therefore, DELTA must retain information from the intermediate frames.
7.2. Visual features
Let Z(i) represent the spatial visual features at frame i.
Use the following input representation after spatial pooling:
[B, T, P, D]
Where:
- B is the batch size.
- T is the number of sampled frames.
- P is the number of spatial tokens.
- D is the feature dimension.
The reference input shape is:
[B, 64, 64, 768]
Project the feature dimension from 768 to 512 before the lightweight temporal processing operations.
7.3. Residual types
Calculate three types of visual residual.
Local residual
Calculate the difference between consecutive valid frames.
R_local(i) = Z(i + 1) β Z(i)
Medium-range residual
Calculate the difference between valid frames that have four sampled positions between their indices.
R_medium(i) = Z(i + 4) β Z(i)
Endpoint residual
Calculate the difference between the last and first valid frames in a window.
R_endpoint = Z(end) β Z(start)
Calculate medium-range residuals only when both positions are valid.
Do not use an offset of eight inside an eight-frame window.
7.4. Temporal direction
Preserve the sign and temporal order of each residual.
Do not average all signed residuals before temporal processing.
Opposite movements can cancel each other.
The Temporal Transformer must receive sufficient intermediate information before compression.
7.5. Original appearance information
Do not discard the original visual features.
Residuals describe changes in the visual feature space.
They do not necessarily identify the manipulated object.
Retain initial, intermediate, and final appearance information.
Do not interpret visual residuals as physical displacement vectors.
7.6. Camera selection
Use the fixed main camera of the demonstration for the initial DELTA experiments.
A moving wrist camera can produce residuals that represent camera motion instead of object interaction.
The current observation can continue to use both cameras.
Evaluate moving-camera demonstration features in a separate experiment.
8. DELTA β Demonstration Memory Tokens
8.1. Memory structure
Compress each temporal window into four continuous latent tokens.
| Token | Information |
|---|---|
| START | Initial appearance and environment state |
| CHANGE | Ordered motion and visual residual information |
| END | Final appearance and environment state |
| LOCAL | Spatial appearance and interaction information |
These tokens are learned numerical representations.
They are not text descriptions or manually assigned skill labels.
8.2. START token
Encode the initial visual features of the window.
Preserve information about the scene and relevant objects.
8.3. CHANGE token
Encode the ordered sequence of intermediate visual changes.
Use local, medium-range, and endpoint residual information.
Retain information about repeated and opposite movements.
8.4. END token
Encode the final visual features of the window.
Preserve information about the resulting environment state.
8.5. LOCAL token
Encode useful spatial information from the window.
Use original appearance features and change information.
Do not select interaction regions from residual magnitude alone.
The model must retain information about object identity and interaction location.
8.6. Temporal Transformer
Use the existing lightweight temporal architecture.
Initial configuration:
- Two Transformer blocks.
- Hidden dimension: 512.
- Attention heads: 8.
- Learned pooling.
- Window position embeddings.
- Token type embeddings.
- Frame time information.
- Validity masks.
Perform temporal processing before the final four-token compression.
Avoid global attention over all uncompressed video patches.
Do not add a large independent video encoder.
8.7. Output
The maximum padded demonstration memory shape is:
[B, 16, 4, 512]
The equivalent flattened shape is:
[B, 64, 512]
A demonstration with 64 sampled frames produces 15 valid windows and 60 valid memory tokens.
Mask the remaining reserved token positions.
Cache the demonstration memory once during task initialization.
9. SYNC β Label-Free Demonstration Retrieval
9.1. Purpose
SYNC must retrieve demonstration information that is useful for the current robot observation.
The model must not depend on explicit skill labels.
The model must support different execution speeds.
9.2. Retrieval conditions
SYNC receives:
- Current visual features.
- Robot state features.
- Observation history.
- Optional text features.
- DELTA demonstration memory.
- Demonstration validity masks.
9.3. Initial retrieval mechanism
Use global soft cross-attention for the initial implementation.
Use the current execution context as the query.
Use the demonstration memory as the keys and values.
Allow SYNC to read all valid demonstration tokens.
The demonstration memory has a maximum of 64 token positions.
A global retrieval mechanism is acceptable at this size.
9.4. Retrieval behavior
SYNC must support:
- Reading the same window multiple times.
- Reading multiple adjacent windows.
- Reading windows at different temporal positions.
- Different demonstration and execution speeds.
- Repeated physical interactions.
Do not require the model to select only one window.
Do not select a window only from elapsed execution time.
Do not use the ground-truth task phase during inference.
9.5. Spatial alignment
The demonstration and the current scene can have different object positions.
SYNC must learn useful correspondences between them.
Do not assume that the demonstration coordinates are valid in the current environment.
Use the current visual context to condition action generation.
The effectiveness of implicit spatial grounding must be evaluated experimentally.
10. PULSE β Optional Temporal Progress Prediction
10.1. Initial configuration
Keep PULSE available in the architecture.
Disable its progress loss and its control of SYNC during the initial experiments.
Initial loss weight:
lambda_pulse = 0.0
10.2. Reason
LIBERO does not provide reliable semantic skill boundaries for this purpose.
A temporal window does not necessarily represent a complete interaction.
Normalized demonstration timestamps are not reliable execution progress labels.
10.3. Future progress supervision
Investigate automatic cross-episode temporal alignment after the global retrieval baseline is available.
Possible methods include:
- Dynamic Time Warping.
- Monotonic soft alignment.
- Learned visual similarity.
- Visual interaction change detection.
Treat these alignment results as approximate training targets.
Measure their quality.
Mask uncertain targets.
10.4. Progress-guided retrieval
When PULSE is enabled, use its output as a soft retrieval bias.
Do not use a strict window selection rule in the first implementation.
Do not force the pointer to advance after a fixed number of robot actions.
Allow the model to remain at the same temporal position.
Preserve access to the full demonstration memory when the progress estimate is uncertain.
Do not add mandatory recovery behavior without suitable training data.
11. NEXUS β Joint Action-Effect Transformer
11.1. Purpose
NEXUS must learn shared representations for robot actions and environment effects.
Use one dense Transformer.
Do not use separate large Transformers for action prediction and effect prediction.
11.2. Reference configuration
| Parameter | Value |
|---|---|
| Transformer blocks | 6 |
| Hidden dimension | 512 |
| Attention heads | 8 |
| FFN dimension | 2,048 |
| Action tokens | 16 |
| Effect tokens | 16β32 |
| Expert routing | None |
| Transformer type | Dense |
11.3. Joint processing
Use shared attention to process action tokens and effect tokens.
Allow both token types to read the context from SYNC.
Allow information exchange between action and effect representations.
The action tokens must retain the noisy action input and the Flow Matching time condition.
The effect tokens must contain learned queries or current-context information.
Do not supply the ground-truth future observation as an input to effect tokens.
11.4. Output
NEXUS supplies:
- Action features to FLUX.
- Effect features to ECHO.
The action objective and the effect objective must update the shared Transformer during training.
This shared processing is the primary action-effect learning mechanism.
12. FLUX β Flow-based Action Generation
Keep the existing Conditional Flow Matching design.
12.1. Input
FLUX receives:
- Action features from NEXUS.
- Noisy action tokens.
- Flow Matching time condition.
12.2. Output
Generate a continuous robot action chunk.
Output shape:
[B, 16, 7]
Each action contains translation, rotation, and gripper commands.
Use the verified action representation from the existing LIBERO pipeline.
12.3. Execution
Initial configuration:
| Parameter | Value |
|---|---|
| Prediction horizon | 16 actions |
| Execution horizon | 4 actions |
| Action dimension | 7 |
| Flow integration steps | 4 |
Execute the first four valid actions.
Receive a new observation.
Generate a new action chunk.
Do not use future ground-truth actions during inference.
13. ECHO β Integrated Visual Effect Prediction
13.1. Design decision
Keep ECHO enabled in the main TRACE-VLA architecture.
ECHO does not require semantic skill labels.
ECHO does not require manual video segmentation.
The DELTA update is not a reason to disable ECHO.
13.2. Purpose
ECHO must predict future visual changes from the shared NEXUS representation.
The objective is to help the model learn useful relationships between robot actions and environment effects.
Do not add a separate World Model.
13.3. Training target
Use observations from the query episode.
Let I(t) be the current observation.
Let I(t + H) be the future observation.
Encode both observations with the same frozen TIPSv2 Vision Encoder.
Calculate:
Z(t) = Encoder(I(t))
Z(t + H) = Encoder(I(t + H))
The residual target is:
R_target = Z(t + H) β Z(t)
Use the fixed main camera for the initial residual prediction experiments.
Preserve spatial information.
Do not reduce the complete target to one global feature vector.
13.4. Prediction horizon
Use H = 4 robot action steps for the initial experiment.
This horizon matches the reference execution horizon of FLUX.
Compare other horizons in separate experiments.
Candidate horizons:
- H = 1
- H = 4
- H = 8
- H = 16
These horizons refer to original query trajectory steps.
They do not refer to sampled demonstration frames.
Do not calculate targets across episode boundaries.
Mask samples that do not contain a valid future observation.
13.5. Target feature space
Use a fixed feature space for the training target.
Retain the frozen TIPSv2 spatial features after deterministic spatial pooling.
If the existing implementation requires 512-dimensional target features, use a fixed projection from 768 to 512.
Do not allow the prediction loss to modify the target feature space.
Do not use a trainable target projection that can reduce the loss by collapsing the target features.
13.6. Effect prediction
Use the effect features from NEXUS to predict the visual residual.
Use direct regression.
Do not add a separate visual diffusion process.
The reference output contains 64 spatial feature positions.
Use the same feature dimension for the prediction and the target.
13.7. Effect loss
Use Huber loss between the predicted residual and the target residual.
L_echo = Huber(R_predicted, R_target)
Calculate the loss only for valid target positions.
Keep the target encoder frozen.
Allow gradients from ECHO to update the shared NEXUS representation.
13.8. Action-effect coupling
The effect tokens must exchange information with the action tokens in NEXUS.
Do not give ECHO an isolated prediction pathway that does not affect the shared representation.
During training, the action tokens contain the noisy action representation used by FLUX.
During inference, the action tokens contain the generated action representation.
This mechanism provides joint action-effect learning.
It does not guarantee accurate predictions for arbitrary counterfactual actions.
Do not describe ECHO as a complete action-conditioned dynamics model unless additional experiments demonstrate this capability.
13.9. Inference behavior
Keep the shared action-effect processing active during inference.
ECHO can produce a residual prediction during the final Flow Matching evaluation.
A separate final evaluation is necessary if the output must correspond to the completed action chunk.
Do not execute the robot based only on the predicted visual effect.
Do not use ECHO to reject actions or declare task completion in the initial implementation.
Measure the actual inference cost of the effect tokens and effect head.
A later experiment can investigate action candidate scoring.
14. Label-Free Support-Query Training
14.1. Episode pairing
Use two different episodes of the same task.
The support episode supplies the demonstration video.
The query episode supplies the execution data.
The support and query episode identifiers must be different.
14.2. Support inputs
Use only:
- RGB demonstration frames.
- Frame timestamps.
- Frame validity information.
Do not supply demonstration actions.
Do not supply demonstration robot states.
Do not supply semantic interaction labels.
14.3. Query inputs
Use:
- Current visual observations.
- Observation history.
- Current robot state.
- Optional text instruction.
14.4. Query targets
Use:
- Ground-truth action chunk.
- Future visual observation for ECHO.
The future observation is a training target only.
Do not supply it to the policy context.
14.5. Training behavior
Train the model to predict the query actions.
Do not train the model to reproduce the exact trajectory of the support episode.
The support and query episodes can have different robot positions, object positions, and execution speeds.
The model must learn to transfer useful demonstration information to the current environment.
14.6. Gradient flow
Allow action and effect gradients to update the trainable components.
These components include:
- DELTA.
- SYNC.
- NEXUS.
- FLUX.
- ECHO.
- State and context projections.
Keep TIPSv2 frozen during the initial training experiments.
15. Input Modality Training
The model must support three task conditioning modes.
| Mode | Task text | Demo video |
|---|---|---|
| Text-only | Available | Not available |
| Video-only | Not available | Available |
| Hybrid | Available | Available |
Use the following initial sampling ratios:
| Mode | Ratio |
|---|---|
| Text-only | 25% |
| Video-only | 50% |
| Hybrid | 25% |
These ratios are initial experiment settings.
Use the same neutral instruction for all video-only samples if the text interface requires an instruction.
The neutral instruction must not identify the task.
Example:
"Execute the task shown in the video."
Use current visual observations and robot state in all three modes.
Do not remove both task conditioning sources during normal training.
A no-demo, neutral-text condition is necessary for evaluation.
16. Training Objectives
16.1. Primary objective
Train TRACE-VLA with two mandatory objectives.
L_total = L_flux + lambda_echo Γ L_echo
Use these initial weights:
| Objective | Weight | Status |
|---|---|---|
| Flow Matching action loss | 1.0 | Enabled |
| Visual residual effect loss | 0.1 | Enabled |
| Cross-skill alignment loss | 0.0 | Disabled |
| Progress prediction loss | 0.0 | Disabled |
These values are initial experiment settings.
They are not validated optimal values.
16.2. Loss monitoring
Record the individual loss values.
Record the gradient norms of the shared Transformer.
Check whether the effect loss produces harmful changes in action learning.
Do not compare loss values without considering their reduction methods and numerical scales.
16.3. Skill alignment objective
Keep cross-skill contrastive learning available as an optional experiment.
Do not require this objective during initial training.
Do not assign identical skill labels to windows only because their normalized timestamps are similar.
Enable explicit skill alignment only after reliable supervision or automatic alignment is available.
17. Experimental Plan
Perform small controlled experiments before full training.
17.1. Data validation
| ID | Experiment | Objective |
|---|---|---|
| A01 | Image and state validation | Detect preprocessing errors |
| A02 | Expert action replay | Verify the action interface |
| A03 | Spatial feature probe | Evaluate TIPSv2 localization information |
| A04 | Resolution comparison | Evaluate grasp-related spatial precision |
| A05 | Feature pooling comparison | Detect information loss |
Do not continue with full training if the action replay or preprocessing tests fail.
17.2. Demonstration memory experiments
| ID | Representation | Objective |
|---|---|---|
| D00 | Static memory | Reference baseline |
| D01 | Ordered raw windows | Evaluate temporal organization |
| D02 | Start and end features | Evaluate endpoint information |
| D03 | Endpoint residuals only | Evaluate residual-only information |
| D04 | Start, end, and endpoint residual | Evaluate explicit residual bias |
| D05 | Raw intermediate frames | Evaluate intermediate appearance and motion information |
| D06 | Ordered intermediate residuals with appearance features | Evaluate the proposed DELTA representation |
| D07 | Overlapping temporal windows | Evaluate window overlap |
Use the same underlying video frames for equivalent representation comparisons.
Keep the output token budget and Transformer capacity equal when possible.
Report differences in valid token count, input coverage, and computational cost.
Compare D06 with D05 to measure the benefit of explicit residuals.
Do not compare residuals only with static memory.
That comparison cannot isolate the effect of residual representation.
17.3. Retrieval experiments
| ID | Configuration | Objective |
|---|---|---|
| S00 | Static demonstration context | Reference baseline |
| S01 | Global soft retrieval | Evaluate observation-conditioned retrieval |
| S02 | Progress-guided soft retrieval | Evaluate the additional benefit of PULSE |
| S03 | Automatic temporal alignment supervision | Evaluate progress supervision |
Use the best validated memory representation for these experiments.
Do not require PULSE for S01.
17.4. ECHO experiments
| ID | Prediction objective | Effect loss |
|---|---|---|
| E00 | Action prediction only | 0.0 |
| E01 | Full future spatial feature prediction | 0.1 |
| E02 | Future spatial residual prediction | 0.1 |
E02 is the primary TRACE-VLA configuration.
Use the same prediction horizon, target dimensions, shared Transformer, and training data for E01 and E02.
Keep the effect-token architecture consistent for the main loss comparison.
Use an additional action-only model without effect tokens to measure the deployment cost of the complete effect pathway.
Do not select the best configuration from prediction loss alone.
Select the configuration from closed-loop robot performance and computational efficiency.
17.5. Complete architecture comparison
| ID | Architecture |
|---|---|
| C00 | Previous SERA-V4 |
| C01 | TRACE-Base |
| C02 | TRACE with ordered raw memory |
| C03 | TRACE with DELTA and SYNC |
| C04 | TRACE with DELTA, SYNC, and ECHO |
| C05 | C04 with PULSE |
| C06 | C05 with validated skill alignment supervision |
C04 is the initial complete TRACE-VLA reference configuration.
Use C05 and C06 only after reliable additional supervision is available.
18. Additional Validation Tests
18.1. Cyclic motion test
Select video segments with repeated movements or opposite movements.
Compare endpoint residuals with intermediate residual sequences.
Check whether the representation retains information about motion that is absent from the endpoint difference.
Use synthetic motion sequences or additional diagnostic videos if LIBERO does not contain suitable examples.
Do not report synthetic results as robot task success.
18.2. Temporal speed test
Change the playback speed of a demonstration.
Preserve the original interaction order.
Evaluate whether the model can retrieve useful information when the demonstration speed differs from the execution speed.
18.3. Window boundary test
Change the starting positions of the temporal windows.
Preserve video coverage.
Evaluate whether small boundary changes cause large performance changes.
18.4. Compression test
Compare different token budgets per window.
Candidate budgets:
- One token.
- Four tokens.
- Eight tokens.
Measure information retention, task success, memory use, and latency.
18.5. Demonstration dependency test
Evaluate these conditions:
- Correct demonstration.
- No demonstration.
- Swapped demonstration.
- Temporally shuffled demonstration.
- Text-only conditioning.
- Correct demonstration and task text.
Use identical evaluation states where possible.
Use swapped demonstrations that describe feasible alternative tasks in the current scene.
Measure success against both the original goal and the alternative goal.
For the temporal shuffle test, select tasks where the interaction order is necessary.
Do not assume that a different order is incorrect for tasks with interchangeable operations.
Attention weights alone are not evidence of correct demonstration use.
18.6. Compositional test
Select held-out tasks that contain previously learned physical interactions.
Verify training skill coverage before evaluation.
Do not update model weights with held-out task trajectories.
Use one RGB demonstration for each rollout.
Evaluate complete task success and individual interaction success.
19. Evaluation Metrics
Record these metrics for each relevant experiment.
| Metric | Purpose |
|---|---|
| Full-task success rate | Measure task completion |
| Grasp success rate | Measure basic interaction accuracy |
| Object selection accuracy | Measure target identification |
| Subgoal completion rate | Measure execution progress |
| First failure stage | Identify execution bottlenecks |
| Demo-following rate | Measure demonstration conditioning |
| Compositional success rate | Measure unseen task composition |
| Action prediction error | Measure offline action accuracy |
| Effect prediction error | Measure auxiliary prediction quality |
| Actual parameter count | Verify model size |
| Trainable parameter count | Verify training configuration |
| Peak GPU memory | Measure resource requirements |
| Training throughput | Measure training efficiency |
| Median inference latency | Measure typical latency |
| P95 inference latency | Measure delayed inference |
| Demo initialization latency | Measure one-shot setup cost |
Use additional evaluation-only annotations when necessary to measure interaction accuracy.
Do not make these annotations mandatory model inputs.
Report the number of evaluation episodes and the number of successful episodes.
Report uncertainty and results from multiple seeds in the final evaluation.
20. Training and Comparison Requirements
Use the same training data and evaluation conditions for controlled comparisons.
Keep these conditions consistent:
- Dataset split.
- Image preprocessing.
- Foundation model weights.
- Action representation.
- Effective batch size.
- Optimizer update budget.
- Evaluation initial states.
- Action execution horizon.
- Demonstration selection protocol.
Compare models from equivalent initialization conditions.
Report actual training computation time.
The same number of optimizer updates does not necessarily represent the same computational cost.
Do not select checkpoints with the final held-out test set.
Use a separate development validation set.
Do not claim compositional generalization from seen-task success alone.
21. Development Priority
Use the following development order.
Stage 0 β Data validation
Verify the dataset, action interface, image orientation, and simulator configuration.
Stage 1 β TRACE-Base
Validate the dense executor and Flow Matching action generation.
Stage 2 β DELTA representation
Compare raw temporal features and visual residual representations.
Stage 3 β SYNC
Validate label-free demonstration retrieval.
Stage 4 β Joint action-effect learning
Enable ECHO in the main demonstration-conditioned architecture.
Perform the controlled ECHO experiments.
Stage 5 β Compositional evaluation
Evaluate the complete TRACE-VLA reference model.
Stage 6 β Optional supervision
Evaluate PULSE and cross-skill alignment.
Stage 7 β Edge deployment
Measure inference latency, memory consumption, and quantization effects.
Do not start long training runs before the preceding validation gates are complete.
22. Acceptance Criteria
The updated architecture must satisfy these conditions:
- DELTA processes an unsegmented RGB video without skill labels.
- DELTA retains intermediate temporal information.
- DELTA supports overlapping temporal windows.
- DELTA preserves original appearance information.
- SYNC retrieves relevant information without mandatory progress labels.
- FLUX generates valid continuous robot actions.
- NEXUS processes shared action and effect representations.
- ECHO predicts spatial visual residuals without future observation leakage.
- The model supports video-only task conditioning.
- The model does not require weight updates during inference.
- The implementation remains within the selected parameter and resource budget.
- The experimental pipeline compares TRACE-VLA with SERA-V4.
- The evaluation measures actual closed-loop behavior.
- The experimental report identifies the contribution of each proposed mechanism.
These conditions validate the implementation.
They do not guarantee that TRACE-VLA is more effective than SERA-V4.
The experiments must determine the final architecture.
23. Research References
TIPSv2
Foundation visual and language representation.
Model reference:
https://huggingface.co/google/tipsv2-b14
Use TIPSv2 as the shared foundation model.
ResWAM
Residual visual prediction and joint action-world learning.
https://arxiv.org/abs/2611.19559
Use this work as the reference for ECHO and residual-based effect learning.
TRACE-VLA uses a smaller shared Transformer and direct residual regression instead of a separate visual diffusion process.
Treat this modification as an experimental design.
XSkill
Cross-embodiment skill discovery from unsegmented video demonstrations.
https://xskill.cs.columbia.edu/
Use this work as a reference for label-free temporal windows and demonstration alignment.
TRACE-VLA does not require a discrete skill prototype vocabulary in its initial configuration.
ICRT
In-Context Imitation Learning via Next-Token Prediction.
https://arxiv.org/abs/2408.15980
Use this work as a reference for cross-episode conditioning and in-context robot learning.
Flow Matching
Flow Matching for Generative Modeling.
https://arxiv.org/abs/2210.02747
Use this work as the theoretical reference for FLUX.
ActionCodec2
Streaming robot action tokenization.
https://arxiv.org/abs/2611.15490v1
Keep this method as an optional action-generation experiment.
Do not replace FLUX in the main architecture at this stage.
LIBERO
Benchmark for lifelong robot learning.
https://libero-project.github.io/
Dataset reference:
https://huggingface.co/datasets/lerobot/libero
Use LIBERO for initial robot control, demonstration conditioning, and compositional experiments.
24. Implementation Instructions
Update the existing TRACE-VLA technical specification.
Update the affected architecture interfaces.
Update the training configuration.
Update the experiment configuration.
Add tests for:
- Short videos.
- Invalid frames.
- Overlapping windows.
- Temporal order.
- Intermediate residual sequences.
- Cyclic motion.
- Demonstration data leakage.
- Future observation leakage.
- Effect target construction.
- Episode boundaries.
Keep ECHO enabled in the main reference architecture.
Keep PULSE and explicit skill alignment supervision optional.
Do not modify unrelated components without experimental justification.
Do not introduce additional large neural networks.
Report all deviations from this specification.
Report measured resource consumption and actual tensor shapes.
The objective is not to classify robot movements into predefined skills.
The objective is to learn useful interaction representations from unsegmented videos and reuse learned robot capabilities to execute new task compositions.
END OF SPECIFICATION β TRACE-VLA v1.1