Answers are grounded in this paper and cite their sources.
Computer-Aided Design (CAD) systems have become essential tools in engineering and design fields. However, the complexity of these systems can create a steep learning curve and reduce efficiency for users. To address this challenge, a deep learning-based approach for predicting the next CAD command in a design sequence is proposed, leveraging sentence embeddings and sequential pattern recognition to enhance prediction accuracy. The method utilizes the Multilingual Universal Sentence Encoder (MUSE) to generate dense vector representations of CAD commands, effectively capturing semantic relationships between different design operations. These embeddings are then combined with distance features that encode the sequential patterns between consecutive commands to create comprehensive representation of design workflows. Two neural architectures are implemented and evaluated: the Convolutional Sequence Embedding Recommendation (Caser) model and the Tiny-Transformer model, each tested with four different feature configurations (random embeddings, random embeddings with distance features, MUSE embeddings, and MUSE embeddings with distance features), resulting in eight model variants total. Experimental results demonstrate that the CNN-based Caser model consistently outperforms the attention- based Tiny-Transformer across all configurations. The best performing model, Caser with MUSE embeddings and distance features, achieves the highest accuracy at 0.5902 and precision at 0.5917, representing a 7.6% improvement over traditional methods and a 2.5% improvement over the best Transformer variant. Our analysis of the training dynamics reveals that models with distance features converge faster and demonstrate more stable validation loss, highlighting the complementary roles of semantic understanding and sequential pattern recognition in CAD command prediction. However, while Transformer models showed competitive baseline performance, they failed to benefit from additional feature engineering, unlike the Caser models which effectively leveraged both semantic and sequential information. These findings show that incorporating both semantic understanding of commands and their sequential relationships significantly improves prediction accuracy, potentially enhancing user experience by providing intelligent command suggestions during the CAD design process.
No takes yet. Share an insight, caveat, or question.
Lin et al. (2025) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: