Precise Duration Control for Video Editing via LLM Scoring and Constrained Optimization

Mackenzie Leake, Stephen DiVerdi and Mira Dontcheva

Abstract

Editing videos calls for satisfying two fundamentally different kinds of requirements simultaneously. Editors often need to meet hard constraints, such as hitting a precise target duration, while also considering semantic objectives, such as preferring engaging content. These two requirements lend themselves to different computational tools, and combining them is non-trivial. Using video editing as a case study, we present a hybrid approach that combines using LLMs to provide semantically relevant labels for video clips with using mixed-integer linear programming to enforce hard constraints and select content. Our approach guarantees millisecond-precise output durations while optimizing for user-specified semantic objectives, such as informativity and topic relevance. Feedback from editors indicates that our tool supports interactive exploration across several video editing goals, including creating interview rough cuts and shortening edited videos for sharing across different platforms.

Venue
UIST 2026
Volume
Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3830398.3830510
PDF
https://dl.acm.org/doi/pdf/10.1145/3830398.3830510
Anthology ID
2026.uist.35

Cite

@inproceedings{leake-etal-2026-precise,
    title = {{Precise Duration Control for Video Editing via LLM Scoring and Constrained Optimization}},
    author = {Mackenzie Leake and Stephen DiVerdi and Mira Dontcheva},
    booktitle = {Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400728563},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3830398.3830510},
    url = {https://doi.org/10.1145/3830398.3830510},
    abstract = {Editing videos calls for satisfying two fundamentally different kinds of requirements simultaneously. Editors often need to meet hard constraints, such as hitting a precise target duration, while also considering semantic objectives, such as preferring engaging content. These two requirements lend themselves to different computational tools, and combining them is non-trivial. Using video editing as a case study, we present a hybrid approach that combines using LLMs to provide semantically relevant labels for video clips with using mixed-integer linear programming to enforce hard constraints and select content. Our approach guarantees millisecond-precise output durations while optimizing for user-specified semantic objectives, such as informativity and topic relevance. Feedback from editors indicates that our tool supports interactive exploration across several video editing goals, including creating interview rough cuts and shortening edited videos for sharing across different platforms.}
}