Synthesizing Optimal Object Selection Predicates for Image Editing using Lattices

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: He, Yang, Liu, Xiaoyu, Wang, Yuepeng
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918135167188992
author He, Yang
Liu, Xiaoyu
Wang, Yuepeng
author_facet He, Yang
Liu, Xiaoyu
Wang, Yuepeng
contents Image editing is a common task across a wide range of domains, from personal use to professional applications. Despite advances in computer vision, current tools still demand significant manual effort for editing tasks that require repetitive operations on images with many objects. In this paper, we present a novel approach to automating the image editing process using program synthesis. We propose a new algorithm based on lattice structures to automatically synthesize object selection predicates for image editing from positive and negative examples. By leveraging the algebraic properties of lattices, our algorithm efficiently synthesizes an optimal object selection predicate among multiple correct solutions. We have implemented our technique and evaluated it on 100 tasks over 20 images. The evaluation result demonstrates our tool is effective and efficient, which outperforms state-of-the-art synthesizers and LLM-based approaches.
format Preprint
id arxiv_https___arxiv_org_abs_2504_03155
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Synthesizing Optimal Object Selection Predicates for Image Editing using Lattices
He, Yang
Liu, Xiaoyu
Wang, Yuepeng
Programming Languages
Image editing is a common task across a wide range of domains, from personal use to professional applications. Despite advances in computer vision, current tools still demand significant manual effort for editing tasks that require repetitive operations on images with many objects. In this paper, we present a novel approach to automating the image editing process using program synthesis. We propose a new algorithm based on lattice structures to automatically synthesize object selection predicates for image editing from positive and negative examples. By leveraging the algebraic properties of lattices, our algorithm efficiently synthesizes an optimal object selection predicate among multiple correct solutions. We have implemented our technique and evaluated it on 100 tasks over 20 images. The evaluation result demonstrates our tool is effective and efficient, which outperforms state-of-the-art synthesizers and LLM-based approaches.
title Synthesizing Optimal Object Selection Predicates for Image Editing using Lattices
topic Programming Languages
url https://arxiv.org/abs/2504.03155