ViterbiPlanNet: Injecting Procedural Knowledge via Differentiable Viterbi for Planning in Instructional Videos

Luigi Seminara, Davide Moltisanti, Antonino Furnari
3/4/2026
cs.CV

No official code found. Best implementation: Gigi-G/ViterbiPlanNet (4 stars, last commit 2026-03-18).

Abstract

Procedural planning aims to predict a sequence of actions that transforms an initial visual state into a desired goal, a fundamental ability for intelligent agents operating in complex environments. Existing approaches typically rely on large-scale models that learn procedural structures implicitly, resulting in limited sample-efficiency and high computational cost. In this work we introduce ViterbiPlanNet, a principled framework that explicitly integrates procedural knowledge into the learning process through a Differentiable Viterbi Layer (DVL). The DVL embeds a Procedural Knowledge Graph (PKG) directly with the Viterbi decoding algorithm, replacing non-differentiable operations with smooth relaxations that enable end-to-end optimization. This design allows the model to learn through graph-based decoding. Experiments on CrossTask, COIN, and NIV demonstrate that ViterbiPlanNet achieves state-of-the-art performance with an order of magnitude fewer parameters than diffusion- and LLM-based planners. Extensive ablations show that performance gains arise from our differentiable structure-aware training rather than post-hoc refinement, resulting in improved sample efficiency and robustness to shorter unseen horizons. We also address testing inconsistencies establishing a unified testing protocol with consistent splits and evaluation metrics. With this new protocol, we run experiments multiple times and report results using bootstrapping to assess statistical significance.

View on arXivView PDF

Code Implementations(1)

[CVPR, 2026] ViterbiPlanNet: Injecting Procedural Knowledge via Differentiable Viterbi for Planning in Instructional Videos

41Shell, PythonFeb 27, 20267 months agoNOASSERTION
computer-visioncvpr2026procedure-planningviterbi

Similar Papers

Cite this paper

@article{seminara2026viterbiplannet,
  title  = {ViterbiPlanNet: Injecting Procedural Knowledge via Differentiable Viterbi for Planning in Instructional Videos},
  author = {Luigi Seminara and Davide Moltisanti and Antonino Furnari},
  year   = {2026},
  eprint = {2603.04265},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.04265v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.04265.svg)](https://codeofpaper.com/paper/2603.04265)

Discussion