Classifying Component Function in Product Assemblies with Graph Neural Networks

Vincenzo Ferrero, Kaveh Hassani, Daniele Grandi, Bryony DuPont

Introduction

In engineering design, the principle of function-based design dictates that a product's intended actions (functions) should be defined prior to its physical form. While this approach is foundational for conceptualizing new products, it currently relies heavily on manual documentation and human intuition. Existing repositories, such as the Oregon State Design Repository (OSDR), contain decades of engineering knowledge but are often characterized by sparse, imbalanced, and subjective data. This paper presents a hierarchical Graph Neural Network (GNN) framework designed to automate the classification of component functions within product assemblies, bridging the gap between raw CAD data and functional knowledge.

Relational Assembly-Flow Graphs

To represent the complex interactions within a product, the researchers transformed traditional assembly data into Relational Assembly-Flow Graphs. In this representation, nodes correspond to individual components (e.g., a handle or a blade) and store attributes such as material and system type. Edges represent two distinct relationship types:

  1. Assembly edges: Physical connections between parts.
  2. Flow edges: Functional interactions, such as the transfer of energy, material, or signals.
An example of a Relational Assembly-Flow Graph for a vegetable peeler, illustrating nodes and the two types of edges (Assembly and Flow).

Hierarchical GNN Architecture

Engineering functions are inherently hierarchical; for instance, a broad "Branch" function may be subdivided into "Separate" and further into "Divide." To capture this structure, the authors developed a hierarchical GNN architecture. The model utilizes three dedicated GNN encoders, one for each tier of functional specificity. During training, a "teacher forcing" technique is employed, where ground-truth labels from broader categories assist the model in learning more granular sub-functions.

The hierarchical GNN architecture, showing the progression from input graph to Tier 1, Tier 2, and Tier 3 functional predictions using sequential GNN and MLP modules.

Dataset and Methodology

The primary data source was the Oregon State Design Repository (OSDR). After filtering for completeness, the final dataset consisted of 160 assembly graphs comprising 15,636 nodes. The researchers evaluated several GNN variants, including GraphSAGE, GCN, GAT, and GIN, comparing them against standard Multi-Layer Perceptrons (MLPs) and linear models to assess the impact of relational data on predictive performance.

Results and Discussion

The GNN-based approach significantly outperformed non-graph models, achieving micro-average F1-scores of 0.832 for Tier 1, 0.756 for Tier 2, and 0.783 for Tier 3. Notably, the best-performing GNN (GraphSAGE) surpassed a standard MLP by 29.5% in F1-score for Tier 1 predictions.

Key insights from the study include:

  • Connectivity as a Primary Feature: The superior performance of GNNs suggests that a component's position within an assembly is a stronger indicator of its function than its individual material properties.
  • The Importance of Flow: Flow edges were found to be more influential than assembly edges. Functional interactions (e.g., transferring rotational energy) provide more predictive power than simple physical connectivity.
  • Hierarchical Benefits: Training the model on broad categories first improved performance on specific Tier 3 functions, demonstrating that the functional hierarchy serves as an effective heuristic for the network.
  • Utility as a Design Assistant: While Top-1 accuracy is strong, Top-3 accuracy exceeds an F1-score of 0.91, suggesting the model's potential as an intelligent assistant that can suggest likely functions to human engineers.

Conclusion and Future Work

This work demonstrates the efficacy of hierarchical GNNs in extracting functional knowledge from product assemblies. Despite challenges such as data imbalance in specific functional categories and the current lack of 3D geometric data, the framework provides a robust foundation for intelligent CAD systems. Future research will focus on integrating 3D geometric embeddings and scaling the model to handle complex industrial machinery, ultimately aiming for real-time functional feedback within design software.

Summary updated

BibTeX
@article{ferrero2021classifying,
  author = {Vincenzo Ferrero and Kaveh Hassani and Daniele Grandi and Bryony DuPont},
  title = {{Classifying Component Function in Product Assemblies with Graph Neural Networks}},
  journal = {Journal of Mechanical Design},
  year = {2021},
  doi = {10.1115/1.4052720},
}
Figure