NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hash3D: Training-free Acceleration for 3D Generation

Xingyi Yang, Xinchao Wang · Submission to ICLR 2025 · Withdrawn

TL;DR

Hash3D is a "plug-and-play" acceleration module that speeds up 3D object generation by up to 4x without requiring any additional model training. By identifying and hashing redundant feature maps across similar camera angles and diffusion timesteps, it eliminates unnecessary computations while actually improving the visual consistency of the resulting 3D models.

The Bottleneck in 3D Generation

Generating high-quality 3D assets from text or images has recently shifted toward using Score Distillation Sampling (SDS). This technique leverages powerful pre-trained 2D diffusion models (like Stable Diffusion) to "guide" a 3D representation into looking like the desired object from every angle.

The catch? SDS is incredibly slow. It requires thousands of iterations, and in each step, the heavy 2D diffusion model must perform a full inference pass to predict "scores" for a specific camera view and noise level. This process can take anywhere from several minutes to hours for a single object. Previous attempts to fix this usually involved training smaller, faster models or using specific 3D representations, which limits their flexibility.

The Hash3D Method

The authors introduce Hash3D, based on a key observation: images rendered from nearby camera positions at similar diffusion timesteps produce highly redundant internal feature maps in the U-Net (the core of the diffusion model).

To capitalize on this, Hash3D employs the following workflow:

  1. Grid-based Hashing: The algorithm divides the search space (camera azimuth, elevation, distance, and diffusion timestep) into a multi-dimensional grid.
  2. Feature Reuse: When the system samples a new view, it checks a hash table. If a "close enough" feature map was already computed and stored in that grid cell, Hash3D retrieves and reuses it instead of running the full U-Net computation.
  3. Adaptive Grid Hashing: Hash3D dynamically adjusts the grid size by maximizing the cosine similarity of features within each grid. This ensures that the "reuse" doesn't introduce blurriness or artifacts.
  4. Collision Resolution: To keep the memory fresh, the hash table uses "separate chaining" with a small queue (size 3), ensuring that only the most recent and relevant features are stored.

Crucially, Hash3D is training-free. It sits on top of existing pipelines like Dream-Gaussian, Magic123, or Zero-123 as a modular optimization.

Key Insights and Ideas

  • Redundancy is a Feature, Not a Bug: In 2D video generation, feature caching is common. Hash3D proves that this redundancy exists in the 3D optimization space as well, even though SDS samples views stochastically (randomly) rather than in a linear sequence.
Heatmap illustrating feature similarity across adjacent camera angles.
  • Consistency through Sharing: Surprisingly, reusing features doesn't just save time—it improves quality. By forcing nearby views to share feature information via the hash table, the 3D model achieves better "view consistency," reducing the common "Janus problem" where 3D objects have mismatched parts when viewed from different sides.
  • Hashing vs. Caching: Traditional caching requires an ordered sequence. Because SDS is unordered and stochastic, a hash table is a much more efficient data structure for retrieving "nearby" historical data.

Key Results

The authors evaluated Hash3D across several benchmarks, including Image-to-3D (Google Scanned Objects dataset) and Text-to-3D (DreamFusion prompts), integrating it into 8 different state-of-the-art frameworks.

Visual comparisons showing Hash3D accelerating Gaussian-Dreamer and Dream-Gaussian.
  • Massive Speedups: Hash3D accelerated Dream-Gaussian by 4.0x (reducing generation to just 30 seconds) and Zero-123 (NeRF) by 3.3x.
  • Efficiency: It significantly reduced the number of Floating Point Operations (MACs). For most models, MACs dropped by roughly 10-25% while maintaining or improving performance.
  • Quality Maintenance: Quantitative metrics like PSNR, SSIM, and CLIP-similarity remained comparable to (and sometimes higher than) the slower baseline models.
  • User Preference: In a user study with 44 participants, models generated with Hash3D were often preferred over baselines due to smoother surfaces and better multi-view alignment.

Limitations and Future Work

While Hash3D is highly effective, the authors note a few areas for improvement. Although the hash table is designed to be efficient, storing high-dimensional feature maps still consumes GPU memory. Furthermore, while the adaptive grid helps, very complex or highly detailed textures might still suffer if the grid size isn't perfectly tuned. Future directions include exploring more sophisticated hashing functions or applying this "feature sharing" logic to even more complex 4D (video/dynamic 3D) generation tasks.

Summary updated

BibTeX
@misc{yang2024hash,
  author = {Xingyi Yang and Xinchao Wang},
  title = {{Hash3D: Training-free Acceleration for 3D Generation}},
  year = {2024},
  eprint = {2404.06091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.06091},
}
Figure