跳到正文
HuggingFace Daily Papers·· 1 天前

CodeCap-Bench:代码能否作为好的视频描述?

CodeCap-Bench: Can Code Serve as a Good Video Caption?

AI 导读

研究提出用可执行程序作为视频描述的“Code as Video Caption”范式,通过图形基元、布局规则和时间函数表达视觉内容。在问答与视频重建任务上,代码描述取得更高的推理准确率和重建保真度。

正文 · 原文

Authors:Jiafu Tang, Yifan Xu, Eric Tang, Junjie Zhao, Shipeng Luo, Te Sun, Haoxuan Hu, Yiyan Ji, Xinlong Chen, Zihao Wang, Yang Shi, Yuanxing Zhang, Pengfei Wan, Jiaheng Liu

View PDF HTML (experimental)

Abstract:Video captioning aims to preserve visual information through compact descriptions, predominantly using natural language. However, precisely expressing fine-grained spatial structures and temporal dynamics in natural language often leads to lengthy and potentially ambiguous descriptions. In this work, we explore Code as Video Caption, a paradigm where executable programs serve as a complementary representation of visual content through graphical primitives, layout rules, and functions of time. To examine whether code captions effectively preserve video information, we compare them with natural language captions on downstream question answering and video reconstruction tasks. Our results show that code captions achieve superior reasoning accuracy and reconstruction fidelity. Despite these advantages, realizing the potential of code captioning depends on whether current multimodal large language models (MLLMs) can generate faithful code captions. To systematically assess this capability, we introduce CodeCap-Bench, which comprises 323 videos spanning five categories of structured 2D content, along with fine-grained annotations and a multi-level evaluation framework. Extensive experiments reveal that while leading proprietary MLLMs demonstrate promising code captioning capabilities, they still struggle to faithfully capture complex temporal dynamics, with open-source models lagging substantially behind.
Subjects: Computer Vision and Pattern Recognition (cs.CV)
Cite as: arXiv:2610.37341 [cs.CV]
  (or arXiv:2610.37341v1 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2610.37341

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Jiafu Tang [view email]
[v1] Tue, 27 Oct 2026 14:47:31 UTC (15,118 KB)

来源:HuggingFace Daily Papers · arxiv.org