File size: 37,726 Bytes
ae1ed83 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 | # 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:
1. DELTA processes an unsegmented RGB video without skill labels.
2. DELTA retains intermediate temporal information.
3. DELTA supports overlapping temporal windows.
4. DELTA preserves original appearance information.
5. SYNC retrieves relevant information without mandatory progress labels.
6. FLUX generates valid continuous robot actions.
7. NEXUS processes shared action and effect representations.
8. ECHO predicts spatial visual residuals without future observation leakage.
9. The model supports video-only task conditioning.
10. The model does not require weight updates during inference.
11. The implementation remains within the selected parameter and resource budget.
12. The experimental pipeline compares TRACE-VLA with SERA-V4.
13. The evaluation measures actual closed-loop behavior.
14. 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**
|