Introduction
Implicit Neural Representations (INRs) map coordinates to signal values, offering a powerful way to represent images, audio, and 3D shapes. However, using INRs for data compression typically requires either expensive Neural Architecture Search (NAS) to find the optimal network structure for a specific bit-rate or large-scale offline training of hypernetworks. D’OH (Decoder-Only random Hypernetworks) addresses these challenges by using fixed random projections to generate network weights, allowing for efficient, signal-agnostic compression without pre-training.
The D'OH Architecture
The core of the D’OH framework is a decoder-only hypernetwork that generates the weights of a target coordinate network (such as SIREN) from a low-dimensional latent code $z$.
How It Works
- Weight Generation: Instead of storing the full weights of a network, D’OH stores a small latent code $z$ and an integer random seed. At runtime, weights are generated via a linear mapping $W = Bz$, where $B$ is a fixed random projection matrix derived from the seed.
- Runtime Optimization: D’OH eliminates the need for an encoder. Instead, the latent code $z$ is optimized directly on the target signal (e.g., a single image) at runtime to minimize reconstruction error.
- Hypernetwork-Specific Initialization: Because coordinate networks like SIREN are sensitive to initialization, the authors introduced a specialized scheme to maintain stable gradients and variance when weights are produced by a hypernetwork.
Key Advantages
D’OH provides several significant improvements over standard MLP-based representations, as summarized in the comparison table in Figure 2:
- Dynamic Bit-Rate Control: Unlike standard MLPs where changing the bit-rate requires changing the network architecture (NAS), D’OH allows users to adjust the file size simply by varying the dimensionality of the latent code $z$.
- Efficient Positional Encoding: In traditional MLPs, adding positional encoding increases the input dimension and thus the total parameter count. In D’OH, the number of parameters is fixed by the size of $z$, allowing for high-frequency encoding that captures fine details without increasing the bit-rate.
- Quantization Robustness: The random projection $B$ acts as a smoothing mechanism. This makes the resulting weights remarkably robust to Post-Training Quantization (PTQ), achieving high accuracy even when reduced to 8-bit integers without the need for complex Quantization-Aware Training (QAT).
Results and Performance
The authors evaluated D’OH on 2D image regression (Kodak and DIV2K datasets) and 3D occupancy fields.
- Compression Quality: D’OH outperformed JPEG and existing INR methods like COIN and COIN++ in rate-distortion metrics.
- Quantization Gains: On the DIV2K dataset, D’OH achieved a BD-Rate reduction of -78.66% over standard MLPs under 8-bit quantization.
- Visual Fidelity: At very low bit-rates (e.g., 0.09 BPP), D’OH maintains sharp structural details, whereas standard MLPs often suffer from blurriness or blocky artifacts.
Limitations and Future Work
While D’OH simplifies the compression workflow, the encoding process is currently slow, taking about 30 minutes to fit a single Kodak image. This makes the method ideal for archival storage or broadcast scenarios rather than real-time communication. Future work will explore accelerating the optimization process and improving performance in 3D tasks, where gains over optimized MLPs were more modest.
Summary updated