MIDAS: Mosaic Input-Specific Differentiable Architecture Search
About
Differentiable Neural Architecture Search (NAS) provides efficient, gradient-based methods for automatically designing neural networks, yet its adoption remains limited in practice. We present MIDAS, a novel approach that modernizes DARTS by replacing static architecture parameters with dynamic, input-specific parameters computed via self-attention. To improve robustness, MIDAS (i) localizes the architecture selection by computing it separately for each spatial patch of the activation map, and (ii) introduces a parameter-free, topology-aware search space that models node connectivity and simplifies selecting the two incoming edges per node. We evaluate MIDAS on the DARTS, NAS-Bench-201, and RDARTS search spaces. In DARTS, it reaches 97.42% top-1 on CIFAR-10 and 83.38% on CIFAR-100. In NAS-Bench-201, it consistently finds globally optimal architectures. In RDARTS, it sets the state of the art on two of four search spaces on CIFAR-10. We further analyze why MIDAS works, showing that patchwise attention improves discrimination among candidate operations, and the resulting input-specific parameter distributions are class-aware and predominantly unimodal, providing reliable guidance for decoding.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100 | -- | 622 | |
| Image Classification | CIFAR-10 NAS-Bench-201 (test) | Accuracy94.36 | 173 | |
| Image Classification | CIFAR-100 NAS-Bench-201 (test) | Accuracy73.51 | 169 | |
| Image Classification | ImageNet-16-120 NAS-Bench-201 (test) | Accuracy46.34 | 139 | |
| Image Classification | CIFAR-10 | -- | 124 | |
| Image Classification | CIFAR-10 NAS-Bench-201 (val) | Accuracy91.55 | 119 | |
| Image Classification | CIFAR-100 NAS-Bench-201 (val) | Accuracy73.49 | 109 | |
| Image Classification | ImageNet 16-120 NAS-Bench-201 (val) | Accuracy46.37 | 96 | |
| Image Classification | ImageNet | Top-1 Acc75.4 | 33 | |
| Image Classification | CIFAR-10S (test) | -- | 17 |