Synthesis of web layouts from examples

6Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.

Abstract

We present a new technique for synthesizing dynamic, constraint-based visual layouts from examples. Our technique tackles two major challenges of layout synthesis. First, realistic layouts, especially on the web, often contain hundreds of elements, so the synthesizer needs to scale to layouts of this complexity. Second, in common usage scenarios, examples contain noise, so the synthesizer needs to be tolerant to imprecise inputs. To address these challenges we propose a two-phase approach to synthesis, where a local inference phase rapidly generates a set of likely candidate constraints that satisfy the given examples, and then a global inference phase selects a subset of the candidates that generalizes to unseen inputs. This separation of concerns helps our technique tackle the two challenges: the local phase employs Bayesian inference to handle noisy inputs, while the global phase leverages the hierarchical nature of complex layouts to decompose the global inference problem into inference of independent sub-layouts. We implemented this technique in a tool called Mockdown and evaluated it on nine real-world web layouts, as well as a series of widespread layout components and an existing dataset of 644 Android applications. Our experiments show that Mockdown is able to synthesize a highly accurate layout for the majority of benchmarks from just three examples (two for Android layouts), and that it scales to layouts with over 600 elements, about 30x more than has been reported in prior work on layout synthesis.

References Powered by Scopus

SciPy 1.0: fundamental algorithms for scientific computing in Python

22291Citations
N/AReaders
Get full text

The Daikon system for dynamic detection of likely invariants

779Citations
N/AReaders
Get full text

Oracle-guided component-based program synthesis

400Citations
N/AReaders
Get full text

Cited by Powered by Scopus

DynaVis: Dynamically Synthesized UI Widgets for Visualization Editing

8Citations
N/AReaders
Get full text

Derivations with Holes for Concept-Based Program Synthesis

2Citations
N/AReaders
Get full text

Push-Button Synthesis of Watch Companions for Android Apps

2Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Lukes, D., Sarracino, J., Coleman, C., Peleg, H., Lerner, S., & Polikarpova, N. (2021). Synthesis of web layouts from examples. In ESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering (pp. 651–663). Association for Computing Machinery, Inc. https://doi.org/10.1145/3468264.3468533

Readers over time

‘21‘22‘2302468

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 3

100%

Readers' Discipline

Tooltip

Computer Science 6

100%

Save time finding and organizing research with Mendeley

Sign up for free
0