Title: Specifying Label Layout Styles by Example
1Specifying Label Layout Styles by Example
- Ian Vollick1, Daniel Vogel1,
- Maneesh Agrawala2, Aaron Hertzmann1
- 1University of Toronto, 2UC Berkeley
2Romanes, G.J., "Cunningham's Manual of Practical
Anatomy 14th Edition." Oxford University Press
(1977)
3What is Label Layout?
- The label layout problem consists of
- An arrangement of the labels is called a layout.
manoa
nuuanu
kipapa
4Bad Layouts
- Good layouts do not have
- overlapping elements
- elements outside page boundary
5Stylistic Decisions
6Motivation
Left Sobotta, Johannes, "Atlas and text-book of
human anatomy, Philadelphia, Saunders (1914)
Right Pratt, Neal E., "Clinical Musculoskeletal
Anatomy," J.B. Lippincott Company (1991)
7Motivation
Swindler, Daris Ray, "An atlas of primate gross
anatomy." University of Washington Press (1974)
8Motivation
- Many stylized layouts are needed for
- Automotive manuals
- Anatomical atlases
- Catalogues, etc..
http//www.longenterprises.com
9Automated Layout Systems
- Rule-based layout
- e.g. Visio, Interface Builder
- Energy-based layout
- e.g. LineDrive, GADGET
10Energy-based Layout
- Goal find XS arg minX E(X)
- E(X) ?i Ei(X)
- Ei(X) are objective terms
11Objective Terms
nuuanu
kipapa
manoa
12Objective Terms
Egap
Edist
Epref?
Ealign
Eexitf
13Objective Terms Edist
14Objective Terms Eoverlap
- Eoverlap (X ?) Siltj f(-g di,j)
15Parameterized energy function
- E(X ?) Si ai Ei(X ?i)
- ? a1 , ? 1 , a2 , ? 2 ...
16Problem
17Previous Work
- Preference Elicitation
- e.g. Masui 1994, Gajos Weld 2005
18NIO
- Nonlinear Inverse Optimization
- (Liu, Hertzmann Popovic, 2005)
19Problem statement
- Given an optimal, artist-created layout, what was
the energy function? - Given
- layout XT
- layout problem
- Determine ?
E(X,?)
XT
20Obvious Approach
- The obvious approach doesnt work
XT arg min E(X q) 2
21Idea
- Goal
- E(XT ?) minX E(X ?)
- Learning objective function
- G(?) E(XT ?) - minX E(X ?)
22Learning
- XS(?) arg minX E(X ?)
- G(?) E(XT ?) - E(XS(?) ?)
-
-
use gradient descent with line search
23Learning
E(X ?)
XS
XT
XS
24Validation
ground truth
estimated
Synthetic
25Validation
26Results
Horizontal/Vertical
27Results
Horizontal Groups
28Results
Left and Right groups, horizontal leaders
29Results
Left and Right Groups
30Results
Parallel Leader Lines
31Limitations
- The example must be sufficiently complex to
constrain q. - The style must lie in the space of styles S
q1,q2,q3,...
manoa
32Limitations
Horizontal
33Summary and Future Work
- Learning layout style from a single example
- General framework for learning style
- Future work
- Improve performance
- Interactive workflow
34Thank-you
35Alpha Constraints
- Constraints ?j ?j 1, ?j gt 0
- to prevent E0 everywhere