AVCodeEdit / README.md
Liguyanger's picture
Publish AVCodeEdit dataset
233cde6 verified
|
Raw History Blame
11.3 kB
metadata
pretty_name: AVCodeEdit
license: cc-by-nc-4.0
language:
  - en
  - zh
tags:
  - benchmark
  - code-generation
  - video-editing
  - audiovisual
  - video
  - audio
size_categories:
  - 1K<n<10K
configs:
  - config_name: all
    default: true
    data_files:
      - split: train
        path: all/tasks/*.parquet
  - config_name: test
    data_files:
      - split: test
        path: test/tasks/*.parquet

AVCodeEdit logo

Benchmarking Coding Agents on Audio-Video Editing

Zhenghan Chen, Zekai Shao, Leting Cheng, Xin Lin, and Siming Chen

Homepage: AVCodeEdit GitHub: AVCodeEdit Hugging Face: AVCodeEdit

Code license: Apache-2.0 Data license: CC BY-NC 4.0

Overview  |  Task format  |  Dataset  |  Use the data  |  Evaluation

๐ŸŽ‰ What's New

Overview

AVCodeEdit evaluates coding agents on audio-video editing through executable programs. Each task combines a source video, an editing instruction, and a checklist that separately checks the requested edits and the reconstruction of unedited content. The dataset contains 1,026 tasks, 3,024 editing goals, and 35,048 checklist questions, spanning 11 source categories, 28 subtypes, and 38 editing operations.

Representative editing tasks with source frames, editing instructions, and rendered results

Each example above pairs a source frame and a shortened instruction with a frame from an agent's output. The examples cover visual changes and coordinated changes to picture and sound.

Dataset component Count
Editing tasks / source videos 1,026
Editing goals 3,024
Checklist questions 35,048
Instruction Following questions (IF) 9,619
Fidelity Preservation questions (FP) 25,429
Source categories / subtypes 11 / 28
Editing operations 38
Fixed evaluation subset 205 tasks

Task format

The model receives a source video and an editing instruction. It produces executable code that reconstructs the complete timeline and applies the requested edits together. Unedited subjects, actions, camera behavior, dialogue, music and sound effects should match the source.

Time references use the original source timeline unless the instruction defines an output timeline. Temporal edits may change duration, event positions and sound-picture relationships as specified in the instruction. Source videos are references for analysis; the benchmark's code-based reconstruction setting does not permit copying their frames or recordings into the output.

An example: Fire Engine Leaving the Garage

Read the editing instruction
  1. Change the outdoor environment seen through the garage bay doors and windows to a dark rainy night with falling rain, wet reflective street surfaces, and continuous rainfall and thunder ambience throughout the video.
  2. Change the parked fire truck on the right from white with a blue stripe to matte black with a bright yellow stripe throughout the video.
  3. Remove all human cheering, shouting, and background chatter throughout the video.

The full checklist is included in the dataset. Four representative questions are shown below:

Question Dimension Exact question text
Q1 IF Is the outdoor environment seen through the garage bay doors and windows dark as at night throughout the video?
Q2 IF Is falling rain visible outside the garage doorways and windows whenever the exterior is in view?
Q13 FP Does the departing ladder fire truck have a red-and-white body as it exits the center garage bay?
Q14 FP Is the text "FIRE RESCUE EMS" visible on the rear of the exiting ladder fire truck at the start of the video?

Dataset

Construction

Source collection, curation, audiovisual event annotation, editing instruction and checklist construction

Source videos are collected, screened and curated, then annotated with visual and sound events. The instructions specify what to change; the checklists cover those changes and the rest of the source content.

Editing coverage

The 38 editing operations across joint audio-video, video-only, non-speech audio and speech edits

The taxonomy groups 38 operations into 14 editing aspects across joint audio-video, video-only, non-speech audio and speech edits. Tasks can contain multiple goals and multiple operation types. Operation IDs use J for joint audio-video edits, V for video-only edits, A for non-speech audio edits, and S for speech edits.

Source diversity

Distributions of task complexity, goals, categories and checklist questions, and source video styles, subjects, sounds, motion, events and duration

Source videos include motion graphics, character animation, 3D scenes and real-world footage. Category labels can overlap, so the counts below should not be summed to obtain the number of tasks.

Source category Tasks carrying the label
1. Explainer Motion Graphics 88
2. Branding & Promotional Motion 238
3. Kinetic Typography 68
4. UI & Product Motion 113
5. Data & Infographic Animation 50
6. Title Sequences 77
7. Broadcast & Show Graphics 24
8. Illustrative & Character Narrative 655
9. Abstract & Experimental Motion 43
10. 3D Motion 495
11. Environments & Physical Processes 63

Complexity annotations

Axis Meaning
C โ€” Construction Visual structures and elements to reconstruct
D โ€” Dynamic animation Motion, coordination and temporal organization
S โ€” State dependency How long earlier objects or states constrain later content
A โ€” Audio reconstruction Complexity of the sound content to reconstruct
AV โ€” Audio-video Relationships between visible events and sounds

These five axes describe reconstruction complexity. Editing difficulty is recorded separately.

Loading the data

Load the Parquet tables from avcodeedit/AVCodeEdit with an authorized Hugging Face account:

from datasets import load_dataset

all_tasks = load_dataset("avcodeedit/AVCodeEdit", "all", split="train", token=True)
test_tasks = load_dataset("avcodeedit/AVCodeEdit", "test", split="test", token=True)

all contains all 1,026 tasks. test contains the 205 evaluation tasks selected from all and shares their task IDs. The full table uses the train loading split and the evaluation table uses test.

Source videos are provided through reference_urls. No video or audio files are included.

Data fields

Field Content
sample_id Task ID from AVCodeEdit-0001 to AVCodeEdit-1026
instruction Complete editing instruction
reference_urls, duration_s Source URLs and duration in seconds
video_categories, subtypes, visual_style Source-category names and style label
title, source_description, subjects, motion_types Original source title, description, and subject and motion types
events, source_audio_description, audio_events Visual and sound-event descriptions, original IDs and available times
construction_complexity, dynamic_complexity, state_dependency_span C, D and S labels
audio_complexity, audiovisual_complexity A and AV labels
object_localization Difficulty of locating the edit target
audio_source_complexity Complexity of the audio sources involved in the edit
cross_modal_linkage Relationship between the audio and visual parts of the edit
editing_operations, goals Operation IDs, goal IDs, scope, source interval and event references
edit_qa Instruction Following (IF) questions in their original order
preservation_qa Fidelity Preservation (FP) questions in their original order

Event times use seconds. Unrecorded boundaries are null.

Evaluation

The checklist distinguishes two requirements:

  • Instruction Following (IF): Does the result satisfy the requested changes?
  • Fidelity Preservation (FP): Does the result reconstruct the content and properties that should stay unchanged?

Each fully satisfied question receives 1 (Yes); otherwise it receives 0 (No). IF and FP are percentages of satisfied questions within each task, averaged across tasks. Modality-specific scores average tasks with applicable questions.

The GitHub repository contains objective metric implementations, independent IF/FP scorers, audiovisual quality scoring, and result aggregation. The project homepage presents editing examples and benchmark results.

Citation

If you find AVCodeEdit useful, please consider citing our work:

@misc{chen2026avcodeeditbenchmarkingcodingagents,
  title = {AVCodeEdit: Benchmarking Coding Agents on Audio-Video Editing},
  author = {Zhenghan Chen and Zekai Shao and Leting Cheng and Xin Lin and Siming Chen},
  year = {2026},
  eprint = {2611.41298},
  archivePrefix = {arXiv},
  primaryClass = {cs.CV},
  url = {https://arxiv.org/abs/2611.41298}
}

Contact

For questions about AVCodeEdit, contact chenzh26@m.fudan.edu.cn.

License

Dataset annotations and checklists are licensed under CC BY-NC 4.0. The evaluation code uses Apache-2.0. Source videos and third-party materials retain their respective rights and licenses.