HOI-Swap: Swapping Objects in Videos with Hand-Object Interaction Awareness

Zihui Xue, Romy Mi Luo, Changan Chen, Kristen Grauman
2/3/2026

No official code found. Best implementation: zihuixue/HOISwap (26 stars, last commit 2024-10-20).

Abstract

We study the problem of precisely swapping objects in videos, with a focus on those interacted with by hands, given one user-provided reference object image. Despite the great advancements that diffusion models have made in video editing recently, these models often fall short in handling the intricacies of hand-object interactions (HOI), failing to produce realistic edits -- especially when object swapping results in object shape or functionality changes. To bridge this gap, we present HOI-Swap, a novel diffusion-based video editing framework trained in a self-supervised manner. Designed in two stages, the first stage focuses on object swapping in a single frame with HOI awareness; the model learns to adjust the interaction patterns, such as the hand grasp, based on changes in the object's properties. The second stage extends the single-frame edit across the entire sequence; we achieve controllable motion alignment with the original video by: (1) warping a new sequence from the stage-I edited frame based on sampled motion points and (2) conditioning video generation on the warped sequence. Comprehensive qualitative and quantitative evaluations demonstrate that HOI-Swap significantly outperforms existing methods, delivering high-quality video edits with realistic HOIs.

View on arXivView PDF

Code Implementations(1)

zihuixue/HOISwapCommunity65%

[NeurIPS 2024] HOI-Swap: Swapping Objects in Videos with Hand-Object Interaction Awareness

260PythonOct 17, 20242 years ago

Similar Papers

Cite this paper

@article{xue2026hoiswap,
  title  = {HOI-Swap: Swapping Objects in Videos with Hand-Object Interaction Awareness},
  author = {Zihui Xue and Romy Mi Luo and Changan Chen and Kristen Grauman},
  year   = {2026},
  eprint = {2406.07754},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.07754},
  url    = {https://arxiv.org/abs/2406.07754},
  journal = {NEURIPS 2024 2024}
}

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/2406.07754.svg)](https://codeofpaper.com/paper/2406.07754)

Discussion