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.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/sega-layout-eval6 skill_kind: dataset_eval7 source_arxiv: 2510.157498 bibtex_key: wang2025sega9 confidence: high10---1112# sega-layout-eval1314> SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior — Wang et al. (2025) (arXiv:2510.15749, 2025)1516## What this evaluates1718Evaluates 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.1920## Datasets2122- **PKU** — total 9974; splits: (unstated)23- **CGL** — total 60548; splits: (unstated)24- **Crello** — total 23182; splits: (unstated)2526## Metrics2728- `Ali` **(primary)** — range: other (↑/↓ directionality)29 - Alignment metric calculated based on design principle (iv): elements should align with each other. Higher is better.30- `Ove` — range: other (↑/↓ directionality)31 - Overlap metric calculated based on design principle (i): elements are not overlaid. Lower is better.32- `Und_l` — range: other (↑/↓ directionality)33 - Underlay large metric based on principle (ii): non-underlay elements should be covered by the underlay. Higher is better.34- `Und_s` — range: other (↑/↓ directionality)35 - Underlay small metric based on principle (ii): non-underlay elements should be covered by the underlay. Higher is better.36- `Read` — range: other (↑/↓ directionality)37 - Readability metric based on text element placement and coverage. Lower is better.38- `Occ` — range: other (↑/↓ directionality)39 - Occlusion metric based on principle (iii): elements should not cover the object in the background. Lower is better.40- `S_Mean` — range: other (↑/↓ directionality)41 - Mean aesthetic score computed from pre-trained models (DL, QL, TV, IO). Higher is better.42- `Inference Time` — range: seconds43 - Wall-clock seconds required to generate the layout, including coarse estimation and iterative refinement steps.4445## Input / output format4647**Input**: Background image I, task instruction D, and conditional constraint C.4849**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.5051## Scoring recipe5253```python54def compute_metrics(pred_layout, gt_layout):55 # Rule-based metrics from 4 design principles56 overlap = calculate_bbox_intersection(pred_layout)57 alignment = check_coordinate_proximity(pred_layout, threshold=5.0)58 underlay = check_z_order_coverage(pred_layout)59 occlusion = check_background_covering(pred_layout)60 readability = estimate_text_element_readability(pred_layout)61 62 # Aesthetic scores from external models63 aesthetic = compute_aesthetic_scores(pred_layout)64 65 return {66 'Ali': alignment, 'Ove': overlap, 'Und_l': underlay,67 'Und_s': underlay, 'Read': readability, 'Occ': occlusion,68 'S_Mean': aesthetic.mean(), 'Inference Time': wall_clock_time()69 }70```7172## Common pitfalls7374- 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.75- Inference time includes both coarse estimation and iterative refinement steps, which can vary depending on the number of iterations chosen.76- Aesthetic scores (S_DL, S_QL, etc.) are computed by external pre-trained models and may not correlate perfectly with human preference.7778## Evidence (verbatim from paper)7980> 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↑.8182## Citation8384```bibtex85@misc{wang2025sega,86 title={SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior},87 author={Wang et al. (2025)},88 year={2025},89 note={arXiv:2510.15749}90}91```9293- arXiv: 2510.15749