텍스트-이미지 확산 모델을 위한 이중 역전: 프롬프트와 노이즈 관점 모두에서
Dual Inversion for Text-to-Image Diffusion Models: From Both Prompt and Noise Perspectives
한국어 초록
전형적인 역공학(reverse engineering) 기술인 프롬프트 역전(prompt inversion)은 텍스트-이미지(T2I) 확산 모델이 광범위한 프롬프트 엔지니어링 없이도 원하는 목표 이미지를 생성할 수 있도록 해준다. 그러나 기존의 프롬프트 역전 방법들은 중대한 한계를 겪고 있다: (1) 그래디언트 기반 방법은 불안정하고 해석이 불가능하여, 생성된 이미지에 심각한 아티팩트가 발생하는 경우가 많다; (2) 그래디언트 미사용(gradient-free) 방법은 사람이 읽을 수 있는 프롬프트를 도출하지만, 세밀한 디테일 정렬(alignment)의 부재로 인해 여전히 시각적 충실도를 보존하지 못한다. 우리는 이러한 한계가 프롬프트 역전을 역공학의 충분조건으로 취급하고, 구조적 정보를 인코딩하는 잠재 노이즈의 중요한 역할을 무시하는 데서 기인한다고 주장한다. 따라서, 우리는 목표 이미지의 의미론적 프롬프트와 잠재 노이즈를 모두 공동으로 복원하는 2단계 방법인 Dualin(Dual inversion)을 제안한다. 첫 번째 단계에서는 비전-언어(vision-language) 모델, CLIP, 대규모 언어 모델(LLM)을 통합하여 충실하고 인간이 해석 가능한 하드 프롬프트를 역전한다. 두 번째 단계에서는 무조건부 DDIM 역전을 통해 목표 이미지의 정확한 잠재 노이즈를 재구성하여, 구조적 정보 수준에서의 일관성을 보장한다. 이론적으로, 우리는 역전된 노이즈가 재최적화 없이도 유연한 이미지 편집을 가능하게 함을 증명한다. 다양한 데이터셋에 대한 광범위한 실험은 Dualin이 고품질의 역전된 프롬프트를 생성하는 동시에 최첨단(SOTA) 수준의 이미지 충실도를 달성함을 보여준다. 또한, Dualin은 정밀하고 제어 가능한 이미지 편집을 위한 견고한 기반을 구축할 수 있다.
원문 초록
Prompt inversion, as a typical reverse engineering technique, enables text-to-image (T2I) diffusion models to generate the desired target images without extensive prompt engineering. However, existing prompt inversion methods suffer from significant limitations: (1) gradient-based methods are unstable and uninterpretable, often resulting in generated images with severe artifacts; (2) gradient-free methods yield human-readable prompts but still fail to preserve visual fidelity due to the lack of fine-grained detail alignment. We contend that the limitations stem from treating prompt inversion as a sufficient condition for reverse engineering, ignoring the critical role of the latent noise that encodes structural information. Consequently, we propose Dualin (Dual inversion), a two-stage method that jointly recovers both the semantic prompt and latent noise of the target image. In the first stage, we integrate vision-language model, CLIP and large language model to invert a faithful, human-interpretable hard prompt. In the second stage, unconditional DDIM inversion reconstructs the exact latent noise of the target image, guaranteeing the consistency at the structural information level. Theoretically, we prove that the inverted noise enables flexible image editing without re-optimization. Extensive experiments on diverse datasets demonstrate that Dualin simultaneously generates high-quality inverted prompts and achieves state-of-the-art image fidelity. Additionally, Dualin can establish a robust foundation for the precise and controllable image editing.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2607.26735v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.