sega-layout-eval
SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior — Wang et al. (2025) (arXiv:2510.15749, 2025)
What this evaluates
Evaluates a model's ability to generate content-aware graphic layouts from background images and instructions. It probes spatial reasoning, adherence to design principles (alignment, overlap, occlusion), and aesthetic quality.
Datasets
- PKU — total 9974; splits: (unstated)
- CGL — total 60548; splits: (unstated)
- Crello — total 23182; splits: (unstated)
Metrics
Ali (primary) — range: other (↑/↓ directionality)
- Alignment metric calculated based on design principle (iv): elements should align with each other. Higher is better.
Ove — range: other (↑/↓ directionality)
- Overlap metric calculated based on design principle (i): elements are not overlaid. Lower is better.
Und_l — range: other (↑/↓ directionality)
- Underlay large metric based on principle (ii): non-underlay elements should be covered by the underlay. Higher is better.
Und_s — range: other (↑/↓ directionality)
- Underlay small metric based on principle (ii): non-underlay elements should be covered by the underlay. Higher is better.
Read — range: other (↑/↓ directionality)
- Readability metric based on text element placement and coverage. Lower is better.
Occ — range: other (↑/↓ directionality)
- Occlusion metric based on principle (iii): elements should not cover the object in the background. Lower is better.
S_Mean — range: other (↑/↓ directionality)
- Mean aesthetic score computed from pre-trained models (DL, QL, TV, IO). Higher is better.
Inference Time — range: seconds
- Wall-clock seconds required to generate the layout, including coarse estimation and iterative refinement steps.
Input / output format
Input: Background image I, task instruction D, and conditional constraint C.
Output: Layout L = {e_1, ..., e_k} where each element e = (c, l, t, w, h), plus an evaluation text E^Pred describing design principle violations.
Scoring recipe
def compute_metrics(pred_layout, gt_layout):
# Rule-based metrics from 4 design principles
overlap = calculate_bbox_intersection(pred_layout)
alignment = check_coordinate_proximity(pred_layout, threshold=5.0)
underlay = check_z_order_coverage(pred_layout)
occlusion = check_background_covering(pred_layout)
readability = estimate_text_element_readability(pred_layout)
# Aesthetic scores from external models
aesthetic = compute_aesthetic_scores(pred_layout)
return {
'Ali': alignment, 'Ove': overlap, 'Und_l': underlay,
'Und_s': underlay, 'Read': readability, 'Occ': occlusion,
'S_Mean': aesthetic.mean(), 'Inference Time': wall_clock_time()
}
Common pitfalls
- Rule-based metrics (Ali, Ove, etc.) rely on implicit coordinate thresholds for alignment and overlap detection that are not explicitly defined in the main text.
- Inference time includes both coarse estimation and iterative refinement steps, which can vary depending on the number of iterations chosen.
- Aesthetic scores (S_DL, S_QL, etc.) are computed by external pre-trained models and may not correlate perfectly with human preference.
Evidence (verbatim from paper)
Concretely, we briefly summarize the principles for layout generation as four points: (i) Elements are not overlaid. (ii) Non-underlay elements should be covered by the underlay. (iii) Elements should not cover the object in the background. (iv) Elements should align with each other. The corresponding evaluation is defined based on the rule-based metric calculation. Experimental results report metrics including Ali↓, Ove↓, Und_l↑, Und_s↑, Read↓, Occ↓, and aesthetic scores S_Mean↑.
Citation
@misc{wang2025sega,
title={SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior},
author={Wang et al. (2025)},
year={2025},
note={arXiv:2510.15749}
}
1---2name: sega-layout-eval3description: Evaluates a model's ability to generate content-aware graphic layouts from background images and instructions. It probes spatial reasoning, adherence to design principles (alignment, overlap, occlusion), and aesthetic quality. Use when the user wants to benchmark on PKU, CGL, Crello, or asks about evaluating this task. Reports Ali.4---56# sega-layout-eval78> SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior — Wang et al. (2025) (arXiv:2510.15749, 2025)910## What this evaluates1112Evaluates a model's ability to generate content-aware graphic layouts from background images and instructions. It probes spatial reasoning, adherence to design principles (alignment, overlap, occlusion), and aesthetic quality.1314## Datasets1516- **PKU** — total 9974; splits: (unstated)17- **CGL** — total 60548; splits: (unstated)18- **Crello** — total 23182; splits: (unstated)1920## Metrics2122- `Ali` **(primary)** — range: other (↑/↓ directionality)23 - Alignment metric calculated based on design principle (iv): elements should align with each other. Higher is better.24- `Ove` — range: other (↑/↓ directionality)25 - Overlap metric calculated based on design principle (i): elements are not overlaid. Lower is better.26- `Und_l` — range: other (↑/↓ directionality)27 - Underlay large metric based on principle (ii): non-underlay elements should be covered by the underlay. Higher is better.28- `Und_s` — range: other (↑/↓ directionality)29 - Underlay small metric based on principle (ii): non-underlay elements should be covered by the underlay. Higher is better.30- `Read` — range: other (↑/↓ directionality)31 - Readability metric based on text element placement and coverage. Lower is better.32- `Occ` — range: other (↑/↓ directionality)33 - Occlusion metric based on principle (iii): elements should not cover the object in the background. Lower is better.34- `S_Mean` — range: other (↑/↓ directionality)35 - Mean aesthetic score computed from pre-trained models (DL, QL, TV, IO). Higher is better.36- `Inference Time` — range: seconds37 - Wall-clock seconds required to generate the layout, including coarse estimation and iterative refinement steps.3839## Input / output format4041**Input**: Background image I, task instruction D, and conditional constraint C.4243**Output**: Layout L = {e_1, ..., e_k} where each element e = (c, l, t, w, h), plus an evaluation text E^Pred describing design principle violations.4445## Scoring recipe4647```python48def compute_metrics(pred_layout, gt_layout):49 # Rule-based metrics from 4 design principles50 overlap = calculate_bbox_intersection(pred_layout)51 alignment = check_coordinate_proximity(pred_layout, threshold=5.0)52 underlay = check_z_order_coverage(pred_layout)53 occlusion = check_background_covering(pred_layout)54 readability = estimate_text_element_readability(pred_layout)55 56 # Aesthetic scores from external models57 aesthetic = compute_aesthetic_scores(pred_layout)58 59 return {60 'Ali': alignment, 'Ove': overlap, 'Und_l': underlay,61 'Und_s': underlay, 'Read': readability, 'Occ': occlusion,62 'S_Mean': aesthetic.mean(), 'Inference Time': wall_clock_time()63 }64```6566## Common pitfalls6768- Rule-based metrics (Ali, Ove, etc.) rely on implicit coordinate thresholds for alignment and overlap detection that are not explicitly defined in the main text.69- Inference time includes both coarse estimation and iterative refinement steps, which can vary depending on the number of iterations chosen.70- Aesthetic scores (S_DL, S_QL, etc.) are computed by external pre-trained models and may not correlate perfectly with human preference.7172## Evidence (verbatim from paper)7374> Concretely, we briefly summarize the principles for layout generation as four points: (i) Elements are not overlaid. (ii) Non-underlay elements should be covered by the underlay. (iii) Elements should not cover the object in the background. (iv) Elements should align with each other. The corresponding evaluation is defined based on the rule-based metric calculation. Experimental results report metrics including Ali↓, Ove↓, Und_l↑, Und_s↑, Read↓, Occ↓, and aesthetic scores S_Mean↑.7576## Citation7778```bibtex79@misc{wang2025sega,80 title={SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior},81 author={Wang et al. (2025)},82 year={2025},83 note={arXiv:2510.15749}84}85```8687- arXiv: 2510.15749