Using Recurrent Neural Networks to Model Spatial Grammars for Design Creation
- 8 May 2020
- journal article
- research article
- Published by Wiley in Journal of Mechanical Design
- Vol. 142 (10) , 1-18
Abstract
The authors present preliminary results on successfully training a recurrent neural network to learn a spatial grammar embodied in a data set, and then generate new designs that comply with the grammar but are not from the data set, demonstrating generalized learning. For the test case, the data were created by first exercising generative context-free spatial grammar representing physical layouts that included infeasible designs due to geometric interferences and then removing the designs that violated geometric constraints, resulting in a data set from a design grammar that is of a higher complexity context-sensitive grammar. A character recurrent neural network (char-RNN) was trained on the positive remaining results. Analysis shows that the char-RNN was able to effectively learn the spatial grammar with high reliability, and for the given problem with tuned hyperparameters, having up to 98% success rate compared to a 62% success rate when randomly sampling the generative grammar. For a more complex problem where random sampling results in only 18% success, a trained char-RNN generated feasible solutions with an 89% success rate. Further, the char-RNN also generated designs differing from the training set at a rate of over 99%, showing generalized learning.Keywords
Funding Information
- Defense Advanced Research Projects Agency (HROO1 11820008)
This publication has 11 references indexed in Scilit:
- Spatial Grammar-Based Recurrent Neural Network for Design Form and Behavior OptimizationJournal of Mechanical Design, 2019
- Generative Adversarial Networks: An OverviewIEEE Signal Processing Magazine, 2018
- Automated Synthesis of Passive Dynamic Brachiating Robots Using a Simulation-Driven Graph Grammar MethodJournal of Mechanical Design, 2017
- Design with shape grammars and reinforcement learningAdvanced Engineering Informatics, 2013
- Computational Synthesis of Product Architectures Based on Object-Oriented Graph GrammarsJournal of Mechanical Design, 2012
- Shape grammar in contemporary architectural theory and designFacta universitatis - series: Architecture and Civil Engineering, 2012
- On a new multivariate two-sample testJournal of Multivariate Analysis, 2004
- Long Short-Term MemoryNeural Computation, 1997
- Introduction to shape and shape grammarsEnvironment and Planning B: Planning and Design, 1980
- Revised report on the algorithmic language ALGOL 60The Computer Journal, 1963