arXiv:2511.03913v3 cs.NE

확산 모델에서 프롬프트 임베딩의 추론 시점 최적화: sep-CMA-ES와 Adam 비교

Inference-Time Optimization of Prompt Embeddings in Diffusion Models: A Comparison of sep-CMA-ES and Adam

Domício Pereira Neto, João Correia, Penousal Machado

제출 2025-11-05

한국어 초록

심층 확산 모델은 고품질 출력을 생성함으로써 이미지 생성을 혁신해 왔다. 그러나 이러한 모델로 특정 목표를 달성하려면 종종 미세조정과 같이 비용이 큰 적응이 필요하며, 이는 리소스 집약적이고 시간이 많이 걸릴 수 있다. 대안으로 추론 시점 제어가 있으며, 이는 모델 가중치를 바꾸지 않고 프롬프트 임베딩을 최적화하여 생성 과정을 유도한다. 우리는 Stable Diffusion XL Turbo 모델에 대한 프롬프트 임베딩 검색 최적화를 탐구하며, 그래디언트 없는 진화적 접근인 Separable Covariance Matrix Adaptation Evolution Strategy(sep-CMA-ES)를 널리 쓰이는 그래디언트 기반 옵티마이저 Adaptive Moment Estimation(Adam)과 비교한다. 후보 이미지는 LAION Aesthetic Predictor V2와 CLIPScore를 결합한 가중 목적 함수로 평가되며, 미적 품질과 프롬프트-이미지 정렬(alignment) 사이의 명시적 트레이드오프를 가능하게 한다. Parti Prompts(P2)에서 샘플링한 36개 프롬프트에 대해 세 가지 가중치 설정(미학만, 균형, 정렬만) 하에서 sep-CMA-ES는 Adam보다 일관되게 더 높은 목적 함수 값을 달성한다. 또한 최적화되지 않은 기준선 대비 이탈을 코사인 유사도와 SSIM으로 분석하고, 연산 및 메모리 footprint를 보고한다. 이러한 결과는 sep-CMA-ES가 프롬프트 임베딩 검색을 위한 효과적인 추론 시점 옵티마이저임을 시사하며, 모델 미세조정 없이 미학-정렬 트레이드오프와 리소스 사용을 개선한다.

원문 초록

Deep diffusion models have revolutionized image generation by producing high-quality outputs. However, achieving specific objectives with these models often requires costly adaptations such as fine-tuning, which can be resource-intensive and time-consuming. An alternative approach is inference-time control, which involves optimizing the prompt embeddings to guide the generation process without altering the model weights. We explore prompt-embedding search optimization for the Stable Diffusion XL Turbo model, comparing a gradient-free evolutionary approach, the Separable Covariance Matrix Adaptation Evolution Strategy (sep-CMA-ES), against the widely used gradient-based optimizer Adaptive Moment Estimation (Adam). Candidate images are evaluated by a weighted objective that combines LAION Aesthetic Predictor V2 and CLIPScore, enabling explicit trade-offs between aesthetic quality and prompt-image alignment. On 36 prompts sampled from Parti Prompts (P2) under three weight settings (aesthetics-only, balanced, alignment-only), sep-CMA-ES consistently achieves higher objective values than Adam. We additionally analyze divergence from the unoptimized baseline using cosine similarity and SSIM and report the compute and memory footprints. These results suggest that sep-CMA-ES is an effective inference-time optimizer for prompt-embedding search, improving aesthetics-alignment trade-offs and resource usage without model fine-tuning.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2511.03913v3제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.