Skip to content

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

Paper · arXiv 2610.37341 · daily list of October 28, 2026

Jiafu Tang, Yifan Xu, Eric Tang, Junjie Zhao, Shipeng Luo, Te Sun and 8 more

Collected · snapshot shipped with the site build, not a live feed

Abstract · as written by the authors

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.

This is the original abstract from arXiv. It has not been summarised, translated or rewritten.

Terms in plain language

Automatic

Made by matching the words of the title and abstract against a fixed list of definitions. It does not read the paper and does not change the abstract above.

multimodal
able to work with more than one kind of data, such as text together with images, audio or video.
large language models
an AI system trained on very large amounts of text to read and write language.
open-source
the code or the trained model is published for anyone to download, under a licence that sets what they may do with it.

Questions about this paper

Where can I read the full paper?

On arXiv, under the identifier 2610.37341: the abstract page is https://arxiv.org/abs/2610.37341 and the PDF is https://arxiv.org/pdf/2610.37341. The text on this page is the authors' abstract, not a summary.

Is there code for this paper?

No repository is attached to the paper on Hugging Face. The authors may still have released code; the abstract or the PDF would say so.

What do the upvotes mean?

40 signed-in Hugging Face users upvoted it on the daily list of October 28, 2026. Upvotes measure attention from that community, not peer review.

What are the plain-language terms under the abstract?

Short notes on the technical words of the title and abstract, in everyday English, taken from a fixed list of definitions that we wrote. They are made automatically by matching words, so a note can miss a term or give a meaning that does not fit this paper. The abstract above them is the authors’ text and is not changed.