Abstract
Neural Architecture Search (NAS) is often bottlenecked by the computational cost of evaluating thousands of candidate architectures. Predictor-based NAS addresses this by training a meta-model to estimate performance from graph structures. However, existing predictors frequently fail to handle graph isomorphism—the property where different node orderings represent the same functional network. We introduce PINAT (Permutation INvariance Augmented Transformer), which incorporates a specialized Permutation Invariance Module (PIM) to ensure consistent predictions across isomorphic graphs. By blending global self-attention with local structural awareness, PINAT achieves state-of-the-art ranking accuracy across multiple benchmarks, including NAS-Bench-101/201 and ImageNet, with significantly reduced search costs.
Introduction
The primary challenge in predictor-based NAS is the "graph isomorphism" problem. In a computational graph, internal nodes or edges can often be reordered without altering the network's function. If a predictor is not permutation invariant, it may assign different scores to identical architectures based solely on their data representation. Previous approaches have attempted to solve this via inefficient data augmentation or struggled to capture complex topological features. PINAT addresses this by making permutation invariance an inherent property of the model architecture.
Methods
The PINAT framework consists of three main stages: raw input encoding, a Transformer-based backbone, and a regressor for final prediction.
The core innovation is the Permutation Invariance Module (PIM), a sub-network designed to process node neighborhoods in a mathematically order-indifferent manner. By integrating PIM, PINAT ensures that the mathematical representation of a neural network results in the same performance prediction regardless of node ordering.
PINAT integrates PIM through two key components:
- Partial Permutation Invariant Token Embedding (PITE): Instead of standard embeddings, PINAT generates tokens by combining operation types, a Laplacian matrix (serving as graph-based positional encoding), and PIM outputs.
- Partial Permutation Invariant Self-Attention (PISA): While standard self-attention provides global invariance, it often misses local structural details. PISA augments the attention mechanism by concatenating global features with local connectivity features from the PIM.
Experimental Results
PINAT was evaluated across diverse search spaces, including standard NAS benchmarks (NAS-Bench-101/201), CNN spaces (DARTS, ProxylessNAS), and GCN search spaces (PPI, ModelNet).
- Ranking Accuracy: On NAS-Bench-101, PINAT achieved a Kendall’s Tau of 0.846, outperforming previous SOTA methods like TNASP and GMAE-NAS.
- Search Efficiency: On CIFAR-10, PINAT identified an architecture with 97.58% accuracy in just 0.3 GPU days. On ImageNet, the searched PINAT-S model reached 77.8% Top-1 accuracy, surpassing ProxylessNAS and MobileNetV3.
- Generality: The model successfully discovered high-performing Graph Neural Networks (GNNs) for the PPI dataset, demonstrating its robustness across different graph-based tasks.
Conclusion
PINAT demonstrates that hybrid invariance—combining global self-attention with local structural modules—is highly effective for graph-based performance prediction. By utilizing Laplacian matrices for positional encoding and the PIM for local feature extraction, PINAT provides a robust, efficient, and inherently symmetric solution to the graph isomorphism problem in NAS. Future work will focus on further balancing global and local information and reducing the initial data requirements for training the predictor.
Summary updated