Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Beyond Pixels: Visual Metaphor Transfer via Schema-Driven Agentic Reasoning

SIGGRAPH Asia 2026

Yu Xu1, Yuxin Zhang1, Lin Gao1, Oliver Deussen2, Tong-Yee Lee3, Fan Tang4✉

1University of Chinese Academy of Sciences 2University of Konstanz 3National Cheng Kung University 4University of Science and Technology Beijing

PaperProject PageLicense: MIT

teaser

Visual Metaphor Transfer (VMT): given a reference image that carries a visual metaphor and a user-specified target subject, the model must autonomously decouple the creative essence of the reference and re-materialize that abstract logic onto the new subject — going beyond pixel-level instruction alignment and surface-level appearance preservation.

News

  • 2026-08: The method is packaged as a ready-to-use agent skill — see visual-metaphor-transfer/.
  • 2026-08: Agent system prompts released.
  • 2026-08: Beyond Pixels is accepted to SIGGRAPH Asia 2026. 🎉

Abstract

A visual metaphor constitutes a high-order form of human creativity, employing cross-domain semantic fusion to transform abstract concepts into impactful visual rhetoric. Despite the remarkable progress of generative AI, existing models remain largely confined to pixel-level instruction alignment and surface-level appearance preservation, failing to capture the underlying abstract logic necessary for genuine metaphorical generation. To bridge this gap, we introduce the task of Visual Metaphor Transfer (VMT), which challenges models to autonomously decouple the "creative essence" from a reference image and re-materialize that abstract logic onto a user-specified target subject. We propose a cognitive-inspired, multi-agent framework that operationalizes Conceptual Blending Theory (CBT) through a novel Schema Grammar (SG). This structured representation decouples relational invariants from specific visual entities, providing a rigorous foundation for cross-domain logic re-instantiation. Our pipeline executes VMT through a collaborative system of specialized agents: a perception agent that distills the reference into a schema, a transfer agent that maintains generic space invariance to discover apt carriers, a generation agent for high-fidelity synthesis, and a hierarchical diagnostic agent that mimics a professional critic, performing closed-loop backtracking to identify and rectify errors across abstract logic, component selection, and prompt encoding. Extensive experiments and human evaluations demonstrate that our method significantly outperforms state-of-the-art baselines in metaphor consistency, analogy appropriateness, and visual creativity.

Framework

pipeline

A visual metaphor is represented as a 7-tuple Schema GrammarSG = {S, C, A_S, A_es, G, V, I} (subject, carrier, subject attributes, expressive attributes, generic space, violation points, emergent meaning), a direct operationalization of Conceptual Blending Theory. The pipeline runs four agents in a closed loop — all reasoning agents are driven by GPT, and images are synthesized with GPT-Image:

  1. Perception Agent — distills the reference image into SG_ref, separating surface entities from abstract relational logic.
  2. Transfer Agent — synthesizes SG_tgt for the target subject while keeping the Generic Space G invariant: it profiles the new subject, discovers an apt carrier, and redesigns the violation.
  3. Generation Agent — translates SG_tgt into a stylistically rigorous T2I master prompt, then synthesizes the image with GPT-Image.
  4. Diagnostic Agent — checks subject salience, violation realization, relational coherence, and meaning alignment, then triggers hierarchical backtracking: prompt-level (refine the T2I prompt), component-level (re-select carrier / redesign violation), or abstraction-level (re-extract the reference schema). The loop stops on success or after tau iterations (paper: tau = 5).

Examples

Results from the paper — for each pair, the left image is the reference and the right is the generated result:

results

Commercial ad generation — product attributes are mapped onto novel creative carriers, with or without a reference image:

ads

Meme generation — the underlying satirical logic of canonical meme templates transfers to new target entities:

memes

Comparison with baselines (BAGEL, Midjourney, GPT-Image, Banana-Pro)

comparison

Prompts

The four agent system prompts are released verbatim under prompts/:

FileAgentPaper notation
prompts/perception_agent.mdPerception Agentp_extract
prompts/transfer_agent.mdTransfer Agentp_transfer
prompts/generation_agent.mdGeneration Agentp_generation
prompts/diagnostic_agent.mdDiagnostic Agentp_critic

Use as an Agent Skill

The method also ships as a self-contained agent skill under visual-metaphor-transfer/ — the same four prompts orchestrated by a closed-loop workflow (SKILL.md) that any skill-capable coding agent can execute directly. Copy that folder into your agent's skills directory:

AgentSkills directory
Codex~/.codex/skills/
Claude Code~/.claude/skills/
Cursor~/.cursor/skills/

Then upload a reference image and ask, for example:

Use visual-metaphor-transfer to transfer this image's metaphor to "FRESH Rose Cream".

The agent needs vision and a text-to-image tool (e.g. GPT-Image). Without an image tool it will stop after Phase 3 and hand you the final master prompt instead.

Ethics & Responsible Use

The Diagnostic Agent includes a safety and alignment check that rejects or revises schemas inducing malicious, offensive, or harmful subject-carrier-violation alignments. Generated metaphors are intended for creative applications such as advertising and media; please comply with the usage policies of the underlying model providers.

Citation

If you find this work useful, please cite:

@inproceedings{xu2026beyondpixels,
title = {Beyond Pixels: Visual Metaphor Transfer via Schema-Driven Agentic Reasoning},
author = {Xu, Yu and Zhang, Yuxin and Gao, Lin and Deussen, Oliver and Lee, Tong-Yee and Tang, Fan},
booktitle = {SIGGRAPH Asia 2026 Conference Papers},
year = {2026}
}

About

SIGGRAPH ASIA 2026🎉 Offical repository for "Beyond Pixels: Visual Metaphor Transfer via Schema-Driven Agentic Reasoning".

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors