How Far Can INRs Go? Cross-Domain Parameter-efficient INR-Based Semantic Segmentation for Brain MRI
Organizations: Department of Systems Design Engineering University of Waterloo · David R. Cheriton School of Computer Science University of Waterloo · Department of Management Science and Engineering University of Waterloo
Abstract
Biomedical image segmentation is central to medical image analysis, but practical deployment often faces limited annotations, memory constraints, and cross-site distribution shifts. Implicit Neural Representations (INRs) have recently emerged as a lightweight alternative for semantic segmentation, achieving competitive performance with substantially fewer parameters than conventional architectures. However, the mechanisms, scaling behavior, and domain generalization abilities of INR-based segmentation remain insufficiently understood. In this work, we study these questions in the context of cross-domain brain MRI segmentation. We analyze INR-based segmentation across low-parameter regimes, comparing it with conventional pipelines in both in-domain and out-of-domain settings. Surprisingly, we find that INR-based models do not simply improve with increasing parameter budget. Their advantage is most pronounced under low-parameter and limited-augmentation settings, while U-Net-based models benefit more from larger capacity and standard augmentation. We also investigate how INRs encode semantic information in their hidden features and show that complementary segmentation-relevant structure is distributed across multiple INR layers. Building on this insight, we introduce HierINRSeg, a hierarchical INR-based architecture that aggregates multi-layer representations for improved robustness and generalization. Extensive experiments show that HierINRSeg consistently outperforms MetaSeg, a strong recent INR-based segmentation baseline, with an average improvement of 5.6 percentage points in Dice for the in-domain test set and 8.2 percentage points out-of-domain. Overall, our analysis identifies the conditions under which INR-based segmentation is most effective, providing concrete guidance for model selection and future research.
Figures & tables
| Budget | Model | Performance (Dice) on each percentage | ||||
|---|---|---|---|---|---|---|
| 5% | 20% | 40% | 60% | 80% | ||
| 10K | MetaSeg | 0.666 ± 0.020 | 0.648 ± 0.016 | 0.616 ± 0.011 | 0.535 ± 0.034 | 0.526 ± 0.016 |
| HierINRSeg | 0.703 ± 0.013 | 0.724 ± 0.059 | 0.680 ± 0.008 | 0.615 ± 0.019 | 0.644 ± 0.024 | |
| U-Net | 0.466 ± 0.093 | 0.450 ± 0.061 | 0.451 ± 0.016 | 0.476 ± 0.090 | 0.617 ± 0.014 | |
| 200K | MetaSeg | 0.697 ± 0.011 | 0.694 ± 0.018 | 0.623 ± 0.007 | 0.512 ± 0.055 | 0.517 ± 0.015 |
| HierINRSeg | 0.746 ± 0.003 | 0.768 ± 0.005 | 0.735 ± 0.048 | 0.666 ± 0.016 | 0.640 ± 0.034 | |
| Head config | Params | ID | OOD | |
|---|---|---|---|---|
| KKI | Caltech | CMU | ||
| W32-D1 | 67K + 4K | 0.670 ± 0.001 | 0.562 ± 0.010 | 0.656 ± 0.013 |
| W64-D1 | 67K + 8K | 0.676 ± 0.012 | 0.560 ± 0.007 | 0.652 ± 0.012 |
| W128-D1 (MetaSeg) | 67K + 17K | 0.685 ± 0.005 | 0.575 ± 0.014 | 0.658 ± 0.005 |
| W256-D1 | 67K + 34K | 0.689 ± 0.020 | 0.575 ± 0.026 | 0.659 ± 0.020 |
| W512-D1 | 67K + 69K | 0.687 ± 0.009 | 0.575 ± 0.006 | 0.656 ± 0.006 |
| Model | Params | Selected layers | ID | OOD | |||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | KKI | Caltech | CMU | ||
| MetaSeg | 67K+17K | ✓ | 0.685 ± 0.005 | 0.575 ± 0.014 | 0.658 ± 0.005 | ||||
| MetaSeg: large | 67K + 594K | ✓ | 0.672 ± 0.005 | 0.565 ± 0.005 | 0.627 ± 0.022 | ||||
| HierINRSeg: 1 layer | 67K+3K | ✓ | 0.700 ± 0.014 | 0.586 ± 0.005 | 0.690 ± 0.005 | ||||
| HierINRSeg: 2 layers | 67K+36K | ✓ | ✓ | 0.727 ± 0.023 | 0.636 ± 0.010 | 0.716 ± 0.010 | |||
| HierINRSeg: 3 layers | 67K+70K | ✓ | ✓ | ✓ | 0.731 ± 0.006 | 0.638 ± 0.003 | 0.721 ± 0.010 | ||
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Target Size | Feature counts | Parameters |
|---|---|---|
| 5k | 5,037 | |
| 10k | 10,005 | |
| 20k | 19,999 | |
| 40k | 40,011 | |
| 70k | 70,003 | |
| 80k | 79,999 |
| Target size | (layer width) | Parameters |
|---|---|---|
| 5k | 30 | 4,957 |
| 10k | 43 | 9,897 |
| 20k | 62 | 20,157 |
| 40k | 88 | 40,047 |
| 70k | 117 | 70,207 |
| 80k | 128 | 83,847 |
| Target size | (layer width) | Parameters |
|---|---|---|
| 5k | 18 | 5,101 |
| 10k | 26 | 9,861 |
| 20k | 38 | 19,881 |
| 40k | 55 | 39,992 |
| 70k | 74 | 70,677 |
| 80k | 79 | 80,192 |
| Target size | Feature counts | Parameters |
|---|---|---|
| 5k | ||
| 10k | ||
| 20k | ||
| 40k | ||
| 70k | ||
| 80k |
| Hyperparameter | Value |
|---|---|
| Step 1 inner-loop fitting steps | 2 |
| Validation/test time INR fitting steps | 100 |
| Validation frequency | Every 50 iterations |
| Focal loss: | gamma=1, no class weights |
| INR learning rate | |
| Classifier learning rate |
| Budget | Model | Performance (Dice) on each percentage | ||||
|---|---|---|---|---|---|---|
| 5% | 20% | 40% | 60% | 80% | ||
| 10K | MetaSeg | 0.542 ± 0.016 | 0.518 ± 0.027 | 0.491 ± 0.021 | 0.432 ± 0.048 | 0.426 ± 0.012 |
| HierINRSeg | 0.596 ± 0.025 | 0.610 ± 0.009 | 0.587 ± 0.009 | 0.534 ± 0.014 | 0.555 ± 0.017 | |
| U-Net | 0.461 ± 0.027 | 0.419 ± 0.074 | 0.404 ± 0.043 | 0.467 ± 0.095 | 0.583 ± 0.011 | |
| 200K | MetaSeg | 0.601 ± 0.017 | 0.583 ± 0.022 | 0.522 ± 0.008 | 0.406 ± 0.055 | 0.415 ± 0.040 |
| HierINRSeg | 0.683 ± 0.019 | 0.699 ± 0.002 | 0.663 ± 0.004 | 0.610 ± 0.018 | 0.575 ± 0.015 | |
| Budget | Model | Performance (Dice) on each percentage | ||||
|---|---|---|---|---|---|---|
| 5% | 20% | 40% | 60% | 80% | ||
| 10K | MetaSeg | 0.624 ± 0.010 | 0.560 ± 0.030 | 0.536 ± 0.029 | 0.475 ± 0.057 | 0.458 ± 0.013 |
| HierINRSeg | 0.661 ± 0.006 | 0.660 ± 0.010 | 0.624 ± 0.002 | 0.568 ± 0.003 | 0.580 ± 0.022 | |
| U-Net | 0.355 ± 0.026 | 0.391 ± 0.075 | 0.408 ± 0.032 | 0.457 ± 0.105 | 0.593 ± 0.005 | |
| 200K | MetaSeg | 0.678 ± 0.005 | 0.637 ± 0.017 | 0.563 ± 0.011 | 0.449 ± 0.054 | 0.454 ± 0.041 |
| HierINRSeg | 0.738 ± 0.007 | 0.742 ± 0.005 | 0.696 ± 0.006 | 0.634 ± 0.008 | 0.592 ± 0.016 | |
| Dataset | MetaSeg | HierINRSeg | U-Net |
|---|---|---|---|
| KKI (ID) | 0.688 (+0.019) | 0.750 (+0.001) | 0.701 (+0.016) |
| Caltech (OOD) | 0.569 (+0.040) | 0.676 (+0.013) | 0.654 (+0.100) |
| CMU (OOD) | 0.658 (+0.038) | 0.735 (+0.016) | 0.661 (+0.086) |
| Selected INR layers | Selected layers | Dice | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | KKI | Caltech | CMU | |
| 1 layer | ✓ | +0.060 | +0.046 | +0.069 | ||||
| 2 layers | ✓ | ✓ | +0.039 | +0.043 | +0.018 | |||
| 3 layers | ✓ | ✓ | ✓ | +0.002 | -0.011 | -0.004 | ||
| excl. middle | ✓ | ✓ | +0.008 | +0.008 | +0.005 | |||
| 4 layers | ✓ | ✓ | ✓ | ✓ | -0.004 | -0.019 | -0.007 | |
Semantic Segmentation
Semantic segmentation assigns a class label to every image pixel, enabling detailed scene understanding across domains and sensors.
See all 416 papers