Manuscript Offprint

arXiv:2610.10760

DOGS: Design-Space Sampling for Prompt-Driven Logo Generation

Ganyu Zou, Chen Dai, Nathan Self, Kevin Piper, Ramachandra Rao Seethiraju, Karthik Shyamsunder, Chang-Tien Lu, Naren Ramakrishnan

Ganyu Zou 1^{1}

ganyu@vt.edu

Chen Dai 1^{1}

chendai@vt.edu

Nathan Self 1^{1}

nwself@vt.edu

Kevin Piper 2^{2}

kiper@verisign.com

Ramachandra Rao Seethiraju 2^{2}

rseethiraju@verisign.com

Karthik Shyamsunder 2^{2}

kshyamsu@verisign.com

Chang-Tien Lu 1^{1}

clu@vt.edu

Naren Ramakrishnan 1^{1}

naren@cs.vt.edu

1^{1} Department of Computer Science

Virginia Tech

Alexandria, Virginia, USA

2^{2} Verisign, Inc.

Reston, Virginia, USA

Abstract

Prompt optimization for text-to-image (T2I) generation has been pursued almost entirely as text rewriting, in which a short user brief is expanded into a longer, model-preferred token sequence. We argue that such a language-space formulation is ill-suited to structured visual design tasks such as logo creation, where a one-line brief leaves most design decisions unspecified. These decisions depend on relational priors that a linear sequence cannot encode, and they leave an uncontrolled channel through which protected marks may be reproduced. We therefore recast logo prompting as sampling within a structured design space, and instantiate this idea as DOGS (Design-space prompting with an Originality-aware GFlowNet Sampler). From a large corpus of real-world logos, we mine a typed, graph-structured design grammar whose edges record empirical co-occurrence. A GFlowNet sampler then generates design graphs with probability proportional to a terminal reward that combines recognizability, aesthetics, and corpus-relative originality. Every slot draws only from a closed design-level vocabulary, and any infringement-inducing or harmful token is removed during parsing. The originality reward further penalizes proximity to existing logos, thereby incorporating infringement avoidance into the method by construction. On two open-source renderers and against nine baselines, DOGS produces logos that are more recognizable and aesthetic, substantially more diverse, and far less prone to trademark infringement.

© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms.

Figure

Figure 1: From user brief to logo design. Each column is one brief. Top: the user prompt rendered directly. Bottom: the DOGS output, which fills in the unspecified design decisions to produce a coherent, professionally composed mark.

1 Introduction

A text-to-image (T2I) model can render the same idea very differently depending on how the prompt is written. Vague phrasing tends to yield generic or off-target images, whereas a detailed, well-chosen prompt produces far more usable results. Prompt optimization automatically expands a short user input into a more informative prompt, typically by training a language model to rewrite prompts toward human preferences or aesthetic scores [6, 9, 3]. Existing work, however, optimizes for general aesthetic appeal, whereas many users want to use these models for professional visual design such as logo creation, a regime in which even the strongest generative models still fall far short of professional standards [1].

In logo design, the users are typically non-experts (e.g. brand owners, startup teams, and independent content creators) whose inputs are necessarily broad descriptions. Yet a usable logo must exhibit strong recognizability, design originality, and conformance to established logo-design conventions, requirements that go beyond generic image quality. A one-line brief thus fixes what the user wants while leaving almost every decision about how to design it unspecified.

Mainstream prompt engineering treats the prompt as free-form text and tunes it toward generic image quality. The methods append modifiers such as style to a brief, but do not decide which entity, layout, or typography the logo should adopt, leaving the essential design choices to the user or to whatever the LLM rewriter implicitly defaults to. We therefore investigate prompt optimization for logo design. Given only a brief user intent, the goal is to automatically generate high-quality prompts that are both well aligned with the preferences of T2I models and faithful to the professional requirements of logo design.

This task poses three intrinsic challenges, spanning how a design is represented, how it is searched, and how infringement is controlled. First, representing a complete design. A usable logo requires design decisions that the brief never states, and choosing them professionally rests on relational priors such as which elements should appear together, what role each element should play, and which relations between elements are valid. Such priors cannot be stored in, or recovered from, a linear token sequence. A text-rewriting pipeline therefore has no representation that can hold a complete design, and cannot fill in what the brief leaves unspecified. Second, searching the design space. Logo quality is combinatorial: particular combinations of design elements reliably yield stable, high-quality logos while nearby ones degrade sharply. Moreover, a single brief typically admits many equally valid designs rather than one [50]. Optimizing a single linear string never exposes the combination itself as the search variable, so existing methods cannot deliberately search for high-quality combinations, and tend to collapse onto a single phrasing rather than cover the many valid designs. Third, controlling infringement risk. Logo generation carries an inherent trademark risk, since an output may reproduce a protected mark. A free-text pipeline provides no explicit objective that measures and penalizes proximity to existing logos, so infringement can only be caught by a post-hoc filter rather than avoided during generation.

To meet these challenges, we propose DOGS (Design-space prompting with an Originality-aware GFlowNet Sampler), built from three components. First, we mine a typed, graph-structured design grammar from a large corpus of real-world logos, with nodes as design elements and edges encoding their empirical co-occurrence. This grammar is the representation that linear text lacks, so any sample is a complete design rather than a paraphrase of the brief. Second, the optimization variable becomes a symbolic composition over the grammar, from which the renderer prompt is derived deterministically, and a GFlowNet sampler draws design graphs with probability proportional to a terminal reward, deliberately searching for high-reward combinations while spreading probability mass across the many valid designs rather than collapsing onto one [1, 14]. Third, the design space is a whitelist of purely design-level vocabulary, of which a trademark name is not a member, so such a token has no slot to occupy and is dropped at parsing. The terminal reward then adds a corpus-relative originality term alongside a CLIP recognizability term and an MLLM-judged aesthetics term, penalizing proximity to existing logos so that incidental resemblance is suppressed during sampling rather than caught by a post-hoc filter.

The contributions of this work are summarized as follows:

• Design-space prompt optimization: A reformulation of logo prompt optimization that replaces language-space rewriting with reward-proportional GFlowNet sampling over a typed symbolic design space, exposing the design composition as the search variable and accounting for the many valid designs that a single brief admits.

• Corpus-induced relational design space: A typed, graph-structured grammar induced from real-world logos that captures the relational priors (which elements co-occur, in what roles, and under what spatial relations) that are absent from any linear prompt rewriter. This grammar is shared across the action space of the sampler, the corresponding pruning prior, and the originality reward.

• Originality-aware reward with infringement-by-construction: A terminal reward that combines recognizability and aesthetics with a dual-view, corpus-relative originality term spanning pixel-level visual similarity and symbol-level co-occurrence. Together with a design-space whitelist that removes trademark tokens during parsing, this construction embeds infringement avoidance into the sampler rather than relying on post-hoc filters.

• Evaluation protocol and cross-renderer study: A logo-specific evaluation protocol that comprises a quality battery and a three-tier infringement battery, which probes brand, company, and design prompts at decreasing levels of explicitness. Using this protocol in a controlled comparison on two open-source renderers against nine baselines, we find that DOGS produces logos that are more recognizable and aesthetic, substantially more diverse, and far less prone to trademark infringement.

References (36)