fourier-feature-regression-eval
Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains — Tancik et al. (2020) (arXiv:2006.10739, 2020)
What this evaluates
Evaluates how well coordinate-based MLPs with different input feature mappings (none, basic, positional encoding, Gaussian random Fourier features) can learn high-frequency functions across various low-dimensional regression tasks in computer vision and graphics.
Datasets
- Natural images — total ?; splits: train (-1), test (-1)
- Text images — total ?; splits: train (-1), test (-1)
- 3D shape — total ?; splits: train (-1), test (-1)
- Shepp-Logan phantoms — total ?; splits: train (-1), test (-1)
- ATLAS dataset — total ?; splits: train (-1), test (-1)
- NeRF ATLAS scene — total ?; splits: train (-1), test (-1)
Metrics
PSNR (primary) — range: dB
- Peak Signal-to-Noise Ratio computed from the mean squared error between predicted and ground truth values. Higher is better.
IoU (primary) — range: [0, 1]
- Intersection over Union between predicted binary occupancy and ground truth occupancy on points sampled near the mesh surface. Higher is better.
Input / output format
Input: 2D or 3D spatial coordinates (pixel or voxel locations) passed to a coordinate-based MLP.
Output: Continuous values (RGB color, volume density, or atomic response) or binary occupancy (0/1), depending on the task.
Scoring recipe
if task == '3D_shape':
pred_occ = sigmoid(mlp_output) > 0.5
iou = intersection(pred_occ, gold_occ) / union(pred_occ, gold_occ)
return iou
else:
mse = mean_squared_error(pred_vals, gold_vals)
max_val = max(gold_vals) # or 255 for images
psnr = 10 * log10(max_val**2 / mse)
return psnr
Common pitfalls
- Direct vs indirect supervision: Direct tasks use ground truth labels per coordinate, while indirect tasks pass network outputs through a forward model (e.g., integral projection, Fourier transform, volume rendering) before computing loss.
- The scale parameter (σ) for Fourier feature mappings is highly task-dependent and requires hyperparameter sweeping; the paper notes scale is more critical than the distribution shape.
- PSNR is the standard metric for all tasks except 3D shape regression, which exclusively uses IoU.
Evidence (verbatim from paper)
All results are reported in PSNR except 3D shape, which uses IoU (higher is better for all).
Citation
@misc{tancik2020fourier,
title={Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains},
author={Tancik et al. (2020)},
year={2020},
note={arXiv:2006.10739}
}
1---2name: fourier-feature-regression-eval3description: Evaluates how well coordinate-based MLPs with different input feature mappings (none, basic, positional encoding, Gaussian random Fourier features) can learn high-frequency functions across various low-dimensional regression tasks in computer vision and graphics. Use when the user wants to benchmark on Natural images, Text images, 3D shape, Shepp-Logan phantoms, ATLAS dataset, NeRF ATLAS scene, or asks about evaluating this task. Reports PSNR, IoU.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/fourier-feature-regression-eval6 skill_kind: dataset_eval7 source_arxiv: 2006.107398 bibtex_key: tancik2020fourier9 confidence: high10---1112# fourier-feature-regression-eval1314> Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains — Tancik et al. (2020) (arXiv:2006.10739, 2020)1516## What this evaluates1718Evaluates how well coordinate-based MLPs with different input feature mappings (none, basic, positional encoding, Gaussian random Fourier features) can learn high-frequency functions across various low-dimensional regression tasks in computer vision and graphics.1920## Datasets2122- **Natural images** — total ?; splits: train (-1), test (-1)23- **Text images** — total ?; splits: train (-1), test (-1)24- **3D shape** — total ?; splits: train (-1), test (-1)25- **Shepp-Logan phantoms** — total ?; splits: train (-1), test (-1)26- **ATLAS dataset** — total ?; splits: train (-1), test (-1)27- **NeRF ATLAS scene** — total ?; splits: train (-1), test (-1)2829## Metrics3031- `PSNR` **(primary)** — range: dB32 - Peak Signal-to-Noise Ratio computed from the mean squared error between predicted and ground truth values. Higher is better.33- `IoU` **(primary)** — range: [0, 1]34 - Intersection over Union between predicted binary occupancy and ground truth occupancy on points sampled near the mesh surface. Higher is better.3536## Input / output format3738**Input**: 2D or 3D spatial coordinates (pixel or voxel locations) passed to a coordinate-based MLP.3940**Output**: Continuous values (RGB color, volume density, or atomic response) or binary occupancy (0/1), depending on the task.4142## Scoring recipe4344```python45if task == '3D_shape':46 pred_occ = sigmoid(mlp_output) > 0.547 iou = intersection(pred_occ, gold_occ) / union(pred_occ, gold_occ)48 return iou49else:50 mse = mean_squared_error(pred_vals, gold_vals)51 max_val = max(gold_vals) # or 255 for images52 psnr = 10 * log10(max_val**2 / mse)53 return psnr54```5556## Common pitfalls5758- Direct vs indirect supervision: Direct tasks use ground truth labels per coordinate, while indirect tasks pass network outputs through a forward model (e.g., integral projection, Fourier transform, volume rendering) before computing loss.59- The scale parameter (σ) for Fourier feature mappings is highly task-dependent and requires hyperparameter sweeping; the paper notes scale is more critical than the distribution shape.60- PSNR is the standard metric for all tasks except 3D shape regression, which exclusively uses IoU.6162## Evidence (verbatim from paper)6364> All results are reported in PSNR except 3D shape, which uses IoU (higher is better for all).6566## Citation6768```bibtex69@misc{tancik2020fourier,70 title={Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains},71 author={Tancik et al. (2020)},72 year={2020},73 note={arXiv:2006.10739}74}75```7677- arXiv: 2006.10739