ReWave-Net is a measurement-residual-conditioned wavelet unrolled network for accelerated single-coil MRI reconstruction. At every cascade, it:
- measures the current prediction error only at acquired k-space locations;
- summarizes that error in low-, mid-, and high-frequency radial bands;
- conditions channel-wise Haar wavelet routing on those residuals and the cascade index; and
- applies a learnable per-cascade soft data-consistency update.
For cascade
The low-, mid-, and high-band residual summaries, together with normalized cascade progress, condition every wavelet-routing block in a shared complex U-Net regularizer. The candidate reconstruction is then updated using:
where each
ReWave-Net adopts standard components: a complex U-Net regularizer, an orthonormal Haar DWT/IWT, an unrolled cascade structure, and weighted k-space data consistency. The proposed design is their measurement-driven connection:
band-wise residual measured only at acquired k-space locations
-> residual-conditioned wavelet structure/detail routing
-> cascade-wise learned soft data consistency
At every cascade, the current measured-data mismatch is recomputed and used to condition all wavelet-routing blocks. ReWave-Net does not claim the individual standard components as new.
The original matched 20-epoch experiment uses the same held-out volumes, sampling rule, number of cascades, base channels, epochs, and metric conversion for the zero-filled, unrolled Complex U-Net, and ReWave-Net comparisons.
| Method | PSNR | SSIM | MAE |
|---|---|---|---|
| Zero-filled | 25.4182 | 0.5456 | 0.042191 |
| Unrolled Complex U-Net | 26.4522 | 0.5742 | 0.039058 |
| ReWave-Net | 27.0594 | 0.5918 | 0.037323 |
In this matched comparison, ReWave-Net improves PSNR by 0.6072 dB over the
20-epoch unrolled Complex
U-Net baseline. The reported values are per-slice means on the held-out split
that was also used for checkpoint selection, so they are validation/evaluation
results rather than an independent test-set estimate or a clinical validation
claim. See the results notes for the exact metric protocol
and remaining ablations. A curated result summary, configuration, and
reconstruction example are available in results/.
The v0.1.1 checkpoint continues ReWave-Net training to 40 total epochs and
selects epoch 39. It reaches PSNR 27.1215, SSIM 0.5943, and MAE 0.037148
on the same held-out split. This extended-training result is better than the
20-epoch ReWave-Net result, but it is not a matched-epoch comparison against
the 20-epoch Complex U-Net baseline.
The figure below is generated from a real held-out fastMRI slice using the
v0.1.1 checkpoint. The red boxes mark an automatically selected
high-gradient detail region; the second row enlarges the same region for each
image.
The best five-cascade ReWave-Net checkpoint is published with the
v0.1.1 GitHub release:
rewave_c5_acc4_best.pt
SHA256: fcc5e92cdef9325f306b8c95fb1318ab1b55dca7aef5c3d6469fabc0611fe043
Evaluate it with:
python scripts/evaluate_rewave_net.py \
--checkpoint-path path/to/rewave_c5_acc4_best.ptdata/ Local fastMRI data location; data files are ignored
docs/ Method, results, and experiment documentation
results/ Curated result summary, configuration, and example figure
scripts/ Training, evaluation, baseline, and smoke-test scripts
src/mri_recon/ Reusable models, datasets, metrics, transforms, and DC
outputs/ Local checkpoints, figures, metrics, and splits; ignored
The main implementation is:
src/mri_recon/models/residual_conditioned_wavelet_unet.pysrc/mri_recon/models/rewave_net.pysrc/mri_recon/reconstruction/torch_ops.py
The repository keeps the matched unrolled Complex U-Net as the primary baseline. Earlier exploratory models remain available in Git history.
Python 3.9 or newer is required.
python -m pip install -r requirements.txt
python -m pip install -e .PyTorch installation can depend on the local CUDA version. If necessary, install the appropriate PyTorch build first, then install the remaining requirements.
Download the fastMRI single-coil knee dataset under its applicable access terms and place the HDF5 files in:
data/knee_singlecoil_val/
Data files and generated outputs are intentionally excluded from Git. See data/README.md for the expected layout.
Run the model smoke test without downloading the dataset:
python scripts/test_rewave_net.pyRun a small end-to-end training check after placing the data:
python scripts/train_rewave_net.py \
--model-type rewave \
--epochs 1 \
--num-cascades 2 \
--base-channels 4 \
--max-train-files 2 \
--max-test-files 1 \
--max-train-samples 8 \
--max-test-samples 4 \
--disable-progressRun the full matched ReWave-Net experiment:
python scripts/train_rewave_net.py \
--model-type rewave \
--epochs 20 \
--num-cascades 5 \
--base-channels 8 \
--seed 42 \
--mask-seed 42
python scripts/evaluate_rewave_net.py \
--checkpoint-path outputs/checkpoints/rewave_c5_acc4_best.ptThe complete public script inventory is documented in scripts/README.md.
- Use the same
--seedand--mask-seedfor matched comparisons. - Keep the file split, mask rule, cascades, channels, epochs, and metric conversion fixed across models.
- Checkpoints, generated metrics, and fastMRI files are not committed.
- The current five learned ReWave-Net soft-DC weights are approximately
[0.955, 0.995, 0.997, 0.997, 0.988].
This repository is research code for accelerated MRI reconstruction. It is not intended for clinical use.
Citation metadata is available in CITATION.cff. Until a
paper citation is available, cite the software release:
Nancy Xue. ReWave-Net: Measurement-residual-conditioned wavelet unrolled MRI
reconstruction. Version 0.1.1, 2026.
https://github.com/nxue-lang/ReWave-Net
This work uses the fastMRI single-coil knee dataset and a U-Net-style regularizer. MoDL and End-to-End VarNet are listed as broader related context for model-based unrolled MRI reconstruction; ReWave-Net does not reuse their implementations.
- Zbontar et al., fastMRI: An Open Dataset and Benchmarks for Accelerated MRI, 2018.
- Ronneberger et al., U-Net: Convolutional Networks for Biomedical Image Segmentation, 2015.
- Aggarwal et al., MoDL: Model Based Deep Learning Architecture for Inverse Problems, 2017.
- Sriram et al., End-to-End Variational Networks for Accelerated MRI Reconstruction, 2020.
Please cite the fastMRI dataset paper and follow its applicable access and usage terms when using the dataset.

