Co-DSL: Human-LLM Co-design of Reusable Spatial Concepts for Layout Generation
Abstract
We present Co-DSL, a framework in which users and LLMs co-design reusable spatial concepts for layout generation. In the first stage, our system allows users to create a library of personalized operations. To add a concept, a user provides a description, which the LLM converts into an initial implementation. The user can then observe the concept's execution behavior over example scenarios and provide lightweight feedback to the LLM, which revises the concept's implementation logic. In the second stage, given a library, an LLM can author a layout program that meets a new layout request from a user. Executing a layout program instantiates a concept-graph, a declarative composition of library concepts. In this way, we require the LLM only to specify which concepts should hold, while we use a solver to search for a layout that satisfies them. Across five spatial layout domains, we find that Co-DSL libraries let LLMs capture layout patterns that are challenging for prior fixed-operation systems, and demonstrate that our concept-graph representation is needed for LLMs to reliably compose concepts together. We further find that Co-DSL lets LLMs author generative layout programs that expose high-level parametric controls users can manipulate to explore a distribution of related layouts without re-prompting.
Create a lesson
Metadata
- Categories
- cs.GR, cs.AI, cs.CV
- Comments
- Project page: rkjones4.github.io/codsl.html
Related papers
Content-Edited Layout Generation for Graphic Design
Shared title terminologycs.GRShirong Yang, Zheyi Pan, Ying Cao
MoSAT: Human Motion Generation from Spatial Audio and Textual Description
Shared title terminologycs.GRShuyang Xu, Zhiyang Dou, Yiduo Hao et al.
Human-aware Design Generation: Adding 3D Humans into Graphic Designs
Shared title terminologycs.GRZijin Hou, Ying Cao
LayoutShop: Content-Constrained Exploratory Design of Creative Article Layout
Shared title terminologycs.GRJialuo Li, Pengfei Xu
MultiCube: Compositional 3D Generation With Part-Level Semantic and Spatial Control
Shared title terminologycs.GRAva Pun, Kangle Deng, Yiheng Zhu et al.
One Code per Material: Neural Representation and Generation of Measured BTFs
Shared title terminologycs.GRFazilet Gokbudak, Canberk Baykal, Chenliang Zhou et al.