Summary
The paper presents a novel approach to learning task graphs from procedural activities observed in egocentric videos. Task graphs represent the partial ordering of key-steps needed to complete a task and are crucial for developing intelligent agents that can assist users. The proposed method utilizes direct maximum likelihood optimization of edge weights, enabling gradient-based learning that can be integrated into neural network architectures. The study demonstrates significant improvements in task graph prediction accuracy and online mistake detection using datasets like CaptainCook4D, Assembly 101, and EPIC-Tent.
The main motivation behind this work is twofold. Firstly, it aims to enhance the ability of intelligent systems to assist users in performing complex tasks by automatically learning flexible and accurate task graph representations from video observations, rather than relying on manually crafted procedures. Secondly, the authors seek to explicitly model task graphs to provide a more interpretable and human-understandable representation of procedural activities.
The authors introduce two primary approaches for task graph learning: Direct Optimization (DO) and Task Graph Transformer (TGT). The DO method uses the Task Graph Maximum Likelihood (TGML) loss to directly optimize the adjacency matrix representing the task graph. This optimization is performed using gradient descent, making the process straightforward and effective. On the other hand, the TGT model employs a transformer encoder to process key-step text or video embeddings and predict the adjacency matrix from these embeddings. This model includes a regularization loss to maintain distinctiveness among embeddings, ensuring accurate and meaningful task graph generation.
Strengths
The main contributions of the paper are as follows:
1. **Approach:** This paper presents an new error detection approach via learning task graphs by directly optimizing a maximum likelihood objective. This approach enables gradient-based task graph learning, allowing task graph methods to be applied to the problem of mistake detection in programs.
2. **Performance:** The proposed methods achieve superior performance in task graph generation and mistake detection compared to existing methods.
3. **Code Availability**: The availability of code for replication enhances the study's transparency and usability.
Weaknesses
1. **Dependence on Labeled Key-Step Sequences:** The method proposed in this work relies on action recognition models or Ground-truth Key-Step Labels. On the one hand, this will bring additional performance overhead, and on the other hand, relying on other action recognition models may introduce noise when errors occur during recognition. It's uncertain whether it will also affect the results of mistake detection. More discussions on these issues are needed.
2. **Limitation in Versatility and Scalability:** In this approach, a new model (task graph) needs to be trained for each new sequence of actions in order to achieve mistake detection. This method to some extent limits the versatility and scalability of the model, as retraining is required for each new task. Additionally, it seems that the proposed method has no versatility on order-unrelated mistakes, such as technique/measurement errors, which are highlighted in latest datasets (e.g., HoloAssist-ICCV23[1], CaptainCook4D-ICML23[2], EgoPER-CVPR24[3])
3. **Insufficient Qualitative Analysis**: The paper only provides one qualitative result on generated task graph in Figure 5. However, there is no qualitative analysis of the generated task graphs for detecting the mistakes. Also, it is suggested to provide discussions on the corner cases that may be challenging for the proposed method, which would bring insightful observations for the error detection community.
[1] Wang, Xin, et al. "Holoassist: an egocentric human interaction dataset for interactive ai assistants in the real world." Proceedings of the IEEE/CVF International Conference on Computer Vision. 2023.
[2] Peddi, Rohith, et al. "CaptainCook4D: A dataset for understanding errors in procedural activities." arXiv preprint arXiv:2312.14556 (2023).
[3] Lee, Shih-Po, et al. "Error detection in egocentric procedural task videos." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024.
Suggestions for authors:
My main concerns are about:
- The versatility of the proposed method for various types of mistakes.
- The detailed qualitative analysis on generated graphs when used to detect mistakes.
Please do read the weakness carefully, I would consider to raise my rating if my concerns are well addressed.