AxisQ: Depth-Adaptive Channel--Frequency Quantization for Camouflaged Object Detection
Organizations: SpinEntropy · Nankai University · Tianjin University of Technology · I2R, A*STAR
Abstract
Camouflaged object detection (COD) depends on weak texture and boundary cues that can be destroyed by aggressive post-training quantization (PTQ). Existing PTQ methods mainly optimize quantizers or reconstruct network blocks, while using a single precision-allocation domain throughout hierarchical backbones. Instead, we introduce AxisQ, a depth-adaptive bit-allocation framework motivated by the observation that the useful allocation axis changes with feature depth. Under a fixed per-layer average activation-bit budget, AxisQ allocates precision in the channel domain for shallow features and in the local-frequency domain for deep features, using COD-aware sensitivity to better preserve subtle foreground regions and ambiguous boundaries. We also formulate a boundary-aware Hessian approximation for reconstruction by incorporating boundary-weighted gradient and error statistics. Experiments across multiple COD models and diverse benchmarks demonstrate improved accuracy over the strongest baselines at low bit widths, with relative weighted F-measure gains of 12.7% for CFRN and 33.3% for CamoFormer-P on CAMO under W2A2 quantization. These results support adapting the allocation domain to feature depth as a transferable quantization strategy for hierarchical COD models.
Figures & tables
| CAMO | CHAMELEON | COD10K | NC4K | |||||||||||||||||
| Method | MAE | MAE | MAE | MAE | ||||||||||||||||
| CFRN | ||||||||||||||||||||
| FP32 | .876 | .843 | .932 | .877 | .042 | .912 | .874 | .959 | .898 | .020 | .870 | .794 | .937 | .835 | .022 | .888 | .849 | .939 | .880 | .030 |
| W4A4 | ||||||||||||||||||||
| RepQ-ViT | .676 | .608 | .750 | .656 | .099 | .701 | .622 | .774 | .672 | .067 | .676 | .549 | .779 | .599 | .062 | .718 | .651 | .783 | .691 | .072 |
| COD-TDQ | .813 | .723 | .864 | .795 | .070 | .861 | .759 | .906 | .825 | .040 | .802 | .650 | .864 | .737 | .038 | .836 | .746 | .883 | .816 | .052 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Dataset | MAE | ||||
|---|---|---|---|---|---|---|
| W2A2 | CAMO | +.052 | +.082 | +.067 | +.062 | -.017 |
| CHAMELEON | +.025 | +.044 | +.051 | +.023 | -.009 | |
| COD10K | +.011 | +.030 | +.026 | +.020 | -.003 | |
| NC4K | +.010 | +.025 | +.023 | +.016 | -.005 | |
| W2A3 | CAMO | +.017 | +.026 | +.019 | +.024 | -.005 |
| CHAMELEON | +.001 | +.001 | +.006 | .000 | .000 |
| Item | Value |
|---|---|
| Input resolution | |
| Calibration / reconstruction images | 128 / 1,024 |
| Fisher image–mask pairs / frequency images | 64 / 16 |
| Reconstruction iterations | 20,000 per block |
| Reconstruction method | Least-squares Hessian + AdaRound + QDrop |
| QDrop probability / temperature | 0.5 / 20 |
Post-Training Quantization
Post-Training Quantization compresses trained neural networks into low-bit weights, activations, or caches to reduce memory use and inference cost.
See all 366 papers