REVIEW 3 major objections 3 minor 43 references
CLASS: Contrastive Learning via Action Sequence Supervision for Robot Manipulation
T0 review · 3 major / 3 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read This paper claims that contrastive pre-training on action-sequence similarity lets a Diffusion Policy keep 75% success under visual shifts, where other methods fail.
desk verdict A sensible new combination of DTW action-sequence alignment with soft InfoNCE for robot manipulation; the strong visual-shift claim needs full-paper verification. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the CLASS pre-training objective: supervised contrastive learning over observation embeddings, with supervision derived from Dynamic Time Warping (DTW) between action sequences. DTW aligns two action sequences of possibly different lengths and returns a distance; CLASS turns that distance into a similarity weight for each pair of demonstrations and feeds the weights into a soft InfoNCE loss. This lets the encoder learn invariances across observations that lead to similar behavior, which is exactly the structure behavior cloning tends to miss under visual shift.
What would settle it
One concrete test: take a task with two visually distinct but behaviorally equivalent strategies, such as a right-handed and a left-handed grasp of the same object, and compare DTW similarity against a human-provided label of behavioral equivalence; if CLASS separates these pairs despite their shared outcome, then action-sequence similarity is capturing trajectory style rather than task-relevant behavior, which would undercut the transfer claim.
Extended reading notes
Core claim
On the paper's own terms, the central discovery is that action-sequence similarity is a usable weak supervision signal for learning behaviorally meaningful visual representations. Given a set of demonstrations, CLASS computes pairwise DTW distances between action sequences, converts them into similarity weights, and optimizes a soft InfoNCE loss that pulls together observation embeddings whose actions are similar while pushing apart dissimilar ones. The resulting encoder can be used directly for retrieval-based control from its representations or as a pre-trained backbone for Diffusion Policy. Across five simulation benchmarks and three real-world tasks, the paper reports that CLASS pre-training lets Diffusion Policy reach an average 75% success rate under visual shifts such as new camera poses and object appearances, where all other baseline methods fail to perform competitively.
Load-bearing premise
The load-bearing premise is that two demonstrations whose action sequences are similar under DTW really do require similar behavior, so the contrastive objective learns the right invariances; if DTW similarity is noisy or semantically shallow, the pre-trained representations would encode the wrong structure.
Editorial extensions
If this is right
- With CLASS pre-training, a Diffusion Policy retains an average 75% success rate under significant visual shifts, while baseline methods are not competitive, and retrieval-based control using only the learned representations is also competitive on simulation and real-world tasks.
- Heterogeneous demonstration datasets become usable without new task annotations, because similar action sequences found by DTW supply the weak supervision that behavior cloning lacks.
- The learned representations transfer across camera pose and object appearance changes because the contrastive objective compresses observations that share behavior into nearby embeddings.
- Pre-training is decoupled from the downstream policy, so CLASS representations can be plugged into different behavior-cloning backbones rather than being tied to one architecture.
- Scaling behavior cloning to diverse data could improve rather than degrade performance when the encoder is trained with action-sequence supervision.
Reading between the lines
- An extension the paper leaves implicit is testing how sensitive the method is to the DTW distance definition: using different action normalizations or including velocities would change the contrastive labels and could shift transfer performance.
- The method suggests a testable route for learning from mixed-quality human teleoperation data in the wild, where task labels are missing but action sequences are recorded, because CLASS can supply the label signal that behavior cloning otherwise requires.
- Because DTW aligns trajectory style, CLASS might group demonstrations that share short sub-sequences but solve different tasks; a probe of whether retrieval control confuses such pairs would sharpen the method's limits.
- A practical consequence is that evaluation under visual shift could become a standard pre-training benchmark: report success after changing camera pose and object appearance, since that is where the method claims its largest advantage.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces CLASS (Contrastive Learning via Action Sequence Supervision), a method that pre-trains an observation encoder using supervised contrastive learning with soft positive pairs derived from Dynamic Time Warping (DTW) similarity between demonstration action sequences. The authors claim that the resulting representations support retrieval-based control and, when used to pre-train a Diffusion Policy, achieve a 75% average success rate under significant visual shifts (new camera poses and object appearances), while baselines fail to compete. The abstract reports evaluations on 5 simulation benchmarks and 3 real-world tasks. The submitted full text, however, is heavily corrupted and mostly unreadable, so the method details, experimental protocols, and numerical evidence behind the central claims could not be verified.
Significance. If the central claim holds, CLASS would be a meaningful contribution: it offers a weak-supervision strategy that leverages action-sequence similarity to learn visual representations robust to domain shift, which is a practical obstacle in behavior cloning. The idea of using DTW-based pseudo-labels within an InfoNCE-style loss is interesting and potentially transferable to other learning-from-demonstration settings. The reported 75% visual-shift success rate is a concrete, falsifiable claim, and the inclusion of both simulation and real-world experiments is appropriate. However, the significance cannot be currently assessed because the manuscript as provided lacks the experimental detail and evidence required to support the abstract's quantitative claims.
major comments (3)
- [Full text (all sections after Abstract)] The full text of the submitted manuscript is corrupted and unreadable: the visible content consists of garbled byte sequences, fragmented symbols, and broken table renders. As a result, the central claims cannot be verified. There is no accessible method section (Eq. for DTW, loss, architecture), no experimental setup, no baseline descriptions, and no per-task results or error bars. The 75% average success rate reported in the Abstract is therefore unsupported by evidence the referee can inspect. The authors must resubmit a complete, readable manuscript before the scientific content can be reviewed.
- [Abstract (DTW pseudo-labels)] The load-bearing premise is that DTW similarity between action sequences is a faithful proxy for semantic similarity of the underlying manipulation tasks. The Abstract does not specify the action space (joint vs. end-effector), the DTW distance metric, window constraints, or normalization, nor does it say how near-duplicate or zero-length sequences are handled. If DTW rankings are dominated by common motion subsegments (e.g., approach motions or idle phases), the contrastive encoder could learn spurious invariances that do not track task or object semantics, which would invalidate the visual-shift generalization claim. The manuscript should include an ablation or analysis demonstrating that DTW pseudo-labels correlate with task identity and that performance degrades when they are replaced by random or corrupted labels.
- [Abstract (75% claim and baselines)] The Abstract reports an average success rate of 75% under visual shift, but gives no variance, number of evaluation episodes, or per-task breakdown. It also states that 'all other baseline methods fail to perform competitively' without defining the baseline set or the threshold for competitiveness. For the claim to be assessable, the paper must report per-task success rates with confidence intervals, the number of demonstrations and rollouts, and controlled comparisons where baselines use the same encoder and policy architecture, differing only in the presence of CLASS pre-training.
minor comments (3)
- [Abstract] The phrase 'retrieval-based control with representations only' is not defined; clarify how retrieval is performed and how it is evaluated relative to the learned policy.
- [Full text (tables)] Several table-like structures are visible but their content is corrupted; ensure that all tables render correctly in the resubmitted version so that per-task and per-benchmark results can be read.
- [Abstract] The paper would benefit from a clear statement of limitations, including potential failure modes of DTW-based pseudo-labeling and the scope of visual shifts covered by the benchmarks.
Circularity Check
No significant circularity: DTW action-similarity pretraining is an independent input, and the visual-shift evaluation is an external test.
full rationale
The paper's claimed derivation is not circular. The pretraining signal (DTW-computed similarity between action sequences) is an input defined independently of the downstream visual-shift evaluation; the contrastive loss is trained to align observation embeddings with that action-sequence similarity, and the reported 75% success rate is measured on held-out camera poses and object appearances via a downstream Diffusion Policy. No equation in the available text defines the evaluation target in terms of the pretraining loss, and no fitted parameter is reused to produce the headline result. The concern that DTW pseudo-labels may be noisy or semantically shallow is a robustness or correctness caveat, not a circularity: even if the pretraining objective is optimized, the transfer claim stands or falls on external benchmark results, which are not constructed from the method's own predictions. There are no load-bearing self-citations or imported uniqueness theorems in the visible text. Accordingly, the circularity score is 0.
Assumptions & free parameters
free parameters (3)
- DTW distance metric and window
- InfoNCE temperature tau
- similarity weighting exponent
assumptions (3)
- domain assumption Dynamic Time Warping yields meaningful distances between action sequences of different lengths and timings.
- domain assumption Observations with similar action sequences should be embedded close together regardless of visual appearance.
- standard math InfoNCE loss is a valid estimator for mutual information or representation learning.
Cite this review
Pith. "Pith review of CLASS: Contrastive Learning via Action Sequence Supervision for Robot Manipulation." pith.science (2026). https://pith.science/paper/AOBCTATD
@misc{pith2026250801600,
author = {Pith},
title = {Pith review of: CLASS: Contrastive Learning via Action Sequence Supervision for Robot Manipulation},
year = {2026},
howpublished = {\url{https://pith.science/paper/AOBCTATD}},
note = {Machine review of arXiv:2508.01600}
}
read the original abstract
Recent advances in Behavior Cloning (BC) have led to strong performance in robotic manipulation, driven by expressive models, sequence modeling of actions, and large-scale demonstration data. However, BC faces significant challenges when applied to heterogeneous datasets, such as visual shift with different camera poses or object appearances, where performance degrades despite the benefits of learning at scale. This stems from BC's tendency to overfit individual demonstrations rather than capture shared structure, limiting generalization. To address this, we introduce Contrastive Learning via Action Sequence Supervision (CLASS), a method for learning behavioral representations from demonstrations using supervised contrastive learning. CLASS leverages weak supervision from similar action sequences identified via Dynamic Time Warping (DTW) and optimizes a soft InfoNCE loss with similarity-weighted positive pairs. We evaluate CLASS on 5 simulation benchmarks and 3 real-world tasks to achieve competitive results using retrieval-based control with representations only. Most notably, for downstream policy learning under significant visual shifts, Diffusion Policy with CLASS pre-training achieves an average success rate of 75%, while all other baseline methods fail to perform competitively. Project webpage: https://class-robot.github.io.
Reference graph
Works this paper leans on
-
[1]
write newline
" write newline "" before.all 'output.state := FUNCTION n.dashify 't := "" t empty not t #1 #1 substring "-" = t #1 #2 substring "--" = not "--" * t #2 global.max substring 't := t #1 #1 substring "-" = "-" * t #2 global.max substring 't := while if t #1 #1 substring * t #2 global.max substring 't := if while FUNCTION format.date year duplicate empty "emp...
- [2]
-
[3]
A. Khazatsky, K. Pertsch, S. Nair, A. Balakrishna, S. Dasari, S. Karamcheti, S. Nasiriany, M. K. Srirama, L. Y. Chen, K. Ellis, et al. Droid: A large-scale in-the-wild robot manipulation dataset. arXiv preprint arXiv:2403.12945, 2024
arXiv 2024
-
[4]
C. Chi, Z. Xu, S. Feng, E. Cousineau, Y. Du, B. Burchfiel, R. Tedrake, and S. Song. Diffusion policy: Visuomotor policy learning via action diffusion. The International Journal of Robotics Research, 2024
work page 2024
-
[5]
T. Z. Zhao, V. Kumar, S. Levine, and C. Finn. Learning fine-grained bimanual manipulation with low-cost hardware. arXiv preprint arXiv:2304.13705, 2023
arXiv 2023
-
[6]
S. Lee, Y. Wang, H. Etukuru, H. J. Kim, N. M. M. Shafiullah, and L. Pinto. Behavior generation with latent actions. arXiv preprint arXiv:2403.03181, 2024
arXiv 2024
-
[7]
A. Xie, L. Lee, T. Xiao, and C. Finn. Decomposing the generalization gap in imitation learning for visual robotic manipulation. In 2024 IEEE International Conference on Robotics and Automation (ICRA), pages 3153--3160. IEEE, 2024
work page 2024
- [8]
Show all 43 references
-
[9]
Z. Li, R. P \'e rez-Dattari, R. Babuska, C. Della Santina, and J. Kober. Beyond behavior cloning: Robustness through interactive imitation and contrastive learning. arXiv preprint arXiv:2502.07645, 2025
2025 arXiv
-
[10]
Janner, Q
M. Janner, Q. Li, and S. Levine. Offline reinforcement learning as one big sequence modeling problem. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P. Liang, and J. W. Vaughan, editors, Advances in Neural Information Processing Systems, volume 34, pages 1273--1286. Curran Associa...
2021
-
[11]
S.-W. Lee, X. Kang, and Y.-L. Kuo. Diff-dagger: Uncertainty estimation with diffusion policy for robotic manipulation. In International Conference on Robotics and Automation (ICRA), 2025
2025
-
[12]
L. Lai, A. Z. Huang, and S. J. Gershman. Action chunking as policy compression. 2022
2022
-
[13]
Janner, Q
M. Janner, Q. Li, and S. Levine. Offline reinforcement learning as one big sequence modeling problem. Advances in neural information processing systems, 34: 0 1273--1286, 2021
2021
-
[14]
van den Oord, O
A. van den Oord, O. Vinyals, and k. kavukcuoglu. Neural discrete representation learning. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, In...
2017
-
[15]
N. M. M. Shafiullah, Z. J. Cui, A. Altanzaya, and L. Pinto. Behavior transformers: Cloning k modes with one stone. In Thirty-Sixth Conference on Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=agTr-vRQsa
2022
-
[16]
Eysenbach, T
B. Eysenbach, T. Zhang, S. Levine, and R. R. Salakhutdinov. Contrastive learning as goal-conditioned reinforcement learning. Advances in Neural Information Processing Systems, 35: 0 35603--35620, 2022
2022
-
[17]
Sermanet, C
P. Sermanet, C. Lynch, Y. Chebotar, J. Hsu, E. Jang, S. Schaal, S. Levine, and G. Brain. Time-contrastive networks: Self-supervised learning from video. In 2018 IEEE international conference on robotics and automation (ICRA), pages 1134--1141. IEEE, 2018
2018
-
[18]
S. Nair, A. Rajeswaran, V. Kumar, C. Finn, and A. Gupta. R3m: A universal visual representation for robot manipulation. arXiv preprint arXiv:2203.12601, 2022
2022 arXiv
-
[19]
Y. J. Ma, S. Sodhani, D. Jayaraman, O. Bastani, V. Kumar, and A. Zhang. Vip: Towards universal visual reward and representation via value-implicit pre-training. In International Conference on Learning Representations, 2023
2023
-
[20]
Halawa, O
M. Halawa, O. Hellwich, and P. Bideau. Action-based contrastive learning for trajectory prediction. In European conference on computer vision, pages 143--159. Springer, 2022
2022
-
[21]
Zhang, Z
Q. Zhang, Z. Peng, and B. Zhou. Learning to drive by watching youtube videos: Action-conditioned contrastive policy pretraining. In European Conference on Computer Vision, pages 111--128. Springer, 2022
2022
-
[22]
Zhuang, W
H. Zhuang, W. Emma Zhang, J. Yang, W. Chen, and Q. Z. Sheng. Not all negatives are equally negative: Soft contrastive learning for unsupervised sentence representations. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, pages 3591...
2024
-
[23]
Suresh and D
V. Suresh and D. C. Ong. Not all negatives are equal: Label-aware contrastive loss for fine-grained text classification. arXiv preprint arXiv:2109.05427, 2021
2021 arXiv
-
[24]
H. Li, X. Zhou, L. A. Tuan, and C. Miao. Rethinking negative pairs in code search. arXiv preprint arXiv:2310.08069, 2023
2023 arXiv
-
[25]
S. Lee, T. Park, and K. Lee. Soft contrastive learning for time series. arXiv preprint arXiv:2312.16424, 2023
2023
-
[26]
J. Pari, N. M. Shafiullah, S. P. Arunachalam, and L. Pinto. The surprising effectiveness of representation learning for visual imitation. arXiv preprint arXiv:2112.01511, 2021
2021 arXiv
-
[27]
M \"u ller
M. M \"u ller. Dynamic time warping. Information retrieval for music and motion, pages 69--84, 2007
2007
-
[28]
Middlehurst, A
M. Middlehurst, A. Ismail-Fawaz, A. Guillaume, C. Holder, D. Guijo-Rubio, G. Bulatova, L. Tsaprounis, L. Mentel, M. Walter, P. Sch \"a fer, and A. Bagnall. aeon: a python toolkit for learning from time series. Journal of Machine Learning Research, 25 0 (289): 0 1--10, 2024. UR...
2024
-
[29]
Khosla, P
P. Khosla, P. Teterwak, C. Wang, A. Sarna, Y. Tian, P. Isola, A. Maschinot, C. Liu, and D. Krishnan. Supervised contrastive learning. Advances in neural information processing systems, 33: 0 18661--18673, 2020
2020
-
[30]
C. Ge, J. Wang, Z. Tong, S. Chen, Y. Song, and P. Luo. Soft neighbors are positive supporters in contrastive visual representation learning. arXiv preprint arXiv:2303.17142, 2023
2023 arXiv
-
[31]
K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770--778, 2016
2016
-
[32]
Mandlekar, D
A. Mandlekar, D. Xu, J. Wong, S. Nasiriany, C. Wang, R. Kulkarni, L. Fei-Fei, S. Savarese, Y. Zhu, and R. Mart \' n-Mart \' n. What matters in learning from offline human demonstrations for robot manipulation. arXiv preprint arXiv:2108.03298, 2021
2021 arXiv
-
[33]
Mandlekar, S
A. Mandlekar, S. Nasiriany, B. Wen, I. Akinola, Y. Narang, L. Fan, Y. Zhu, and D. Fox. Mimicgen: A data generation system for scalable robot learning using human demonstrations. arXiv preprint arXiv:2310.17596, 2023
2023 arXiv
-
[34]
B. Liu, Y. Zhu, C. Gao, Y. Feng, Q. Liu, Y. Zhu, and P. Stone. Libero: Benchmarking knowledge transfer for lifelong robot learning. Advances in Neural Information Processing Systems, 36: 0 44776--44791, 2023
2023
-
[35]
Devlin, M.-W
J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies...
2019
-
[36]
J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248--255. Ieee, 2009
2009
-
[37]
Grill, F
J.-B. Grill, F. Strub, F. Altch \'e , C. Tallec, P. Richemond, E. Buchatskaya, C. Doersch, B. Avila Pires, Z. Guo, M. Gheshlaghi Azar, et al. Bootstrap your own latent-a new approach to self-supervised learning. Advances in neural information processing systems, 33: 0 21271--2...
2020
-
[38]
Z. Cui, H. Pan, A. Iyer, S. Haldar, and L. Pinto. Dynamo: In-domain dynamics pretraining for visuo-motor control. Advances in Neural Information Processing Systems, 37: 0 33933--33961, 2024
2024
-
[39]
D. Wang, S. Hart, D. Surovik, T. Kelestemur, H. Huang, H. Zhao, M. Yeatman, J. Wang, R. Walters, and R. Platt. Equivariant diffusion policy. arXiv preprint arXiv:2407.01812, 2024
2024 arXiv
-
[40]
Y. You, I. Gitman, and B. Ginsburg. Large batch training of convolutional networks. arXiv preprint arXiv:1708.03888, 2017
2017 arXiv
-
[41]
J. Song, C. Meng, and S. Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020
2010 arXiv
-
[42]
Y. Zhou, C. Barnes, J. Lu, J. Yang, and H. Li. On the continuity of rotation representations in neural networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5745--5753, 2019
2019
-
[43]
C. Chi, Z. Xu, C. Pan, E. Cousineau, B. Burchfiel, S. Feng, R. Tedrake, and S. Song. Universal manipulation interface: In-the-wild robot teaching without in-the-wild robots. arXiv preprint arXiv:2402.10329, 2024
2024 arXiv
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Sign in to comment.