MIU2Net: Deep Learning for Mass Inversion
- MIU2Net is a deep learning framework that performs high-fidelity weak lensing mass inversion using a nested U-Net architecture.
- It leverages multi-scale feature extraction to accurately recover both pixel-level convergence maps and statistical power spectra under realistic observational conditions.
- The method employs a composite loss function combining MSE and RAPS to ensure spatial precision and robust frequency-domain reconstruction.
MIU2Net is a deep learning framework developed for high-fidelity inversion of weak gravitational lensing shear fields into mass (convergence, ) maps, specifically addressing challenges anticipated in large-scale surveys such as CSST and Euclid. MIU2Net leverages the nested U-structure of U²-Net to enable precise recovery of both pixel-level convergence and the statistical power spectrum, outperforming prior methods in both root-mean-square error (RMSE) and frequency-domain accuracy under realistic survey conditions including shape noise, reduced shear nonlinearity, and complex masking (G. et al., 20 Jan 2026).
1. Architecture: Nested U²-Net Design
MIU2Net is based on the two-level U-Net topology introduced as U²-Net (Qin et al., 2020), which consists of a deep outer U-Net where each encoder and decoder stage contains an inner U-Net "ResU-block". This design enables feature extraction at multiple scales and dramatically increases the network's effective receptive field while maintaining moderate parameter count.
- Outer U: Six encoder and six decoder stages, connected via conventional long-range skip-connections.
- ResU-blocks (Inner Us): Each comprises two down-sampling and two up-sampling layers with internal skip-connections, as well as a residual connection linking the block input directly to its output.
- Side outputs: After each decoder stage, a convolution produces an intermediate prediction, , ; these are fused via another convolution to yield the final map.
- Input/Output: MIU2Net takes two input channels (noisy shear or reduced shear components) and produces one output channel ().
- Skip connections: Extensive lateral skip paths both in the main U-structure (encoder-to-decoder) and inside each nested ResU-block.
This multi-scale nested scheme yields sensitivity to both large-scale filamentary lensing signals and small-scale cluster peaks.
2. Mathematical Formulation of Weak-Lensing Mass Inversion
The method maps observed shear, , to the surface mass density (convergence), , describing the dark matter distribution.
- Lensing equations:
- , , with
- Forward convolution (Kaiser–Squires):
with
- Fourier inversion:
- Noise model:
where (galaxy ellipticity rms), is pixel size in arcmin, and is source density.
- Reduced shear () is used in observations where is not negligible.
This framework captures the ill-posedness introduced by shape noise, masking, and reduced shear nonlinearity.
3. Loss Function and Training Strategy
MIU2Net employs a composite loss to jointly optimize for both pixel-level accuracy and correct two-point (power spectrum) statistics:
- Total loss:
- ,
- Each loss component:
- : pixelwise mean-square error, enforced over valid (unmasked) pixels.
- : azimuthal mean-absolute error between the true and predicted convergence power spectra, up to radii , emphasizing accurate two-point statistics to multipole .
- Typical settings: , , pixels.
- Side-output supervision: All intermediate decoder outputs are supervised through side losses.
This dual-objective training avoids the mode-collapse or spectral bias observed in MSE- or MAP-only optimizations, enabling the resulting maps to simultaneously preserve peak structure and power-spectrum statistics.
4. Simulation Protocol, Data Preprocessing, and Observational Realism
Training and evaluation leverage cosmological -body simulations and ray-tracing, augmented to match realistic survey systematics:
- Simulation details: Four independent boxes (each Mpc, particles), multiple redshift slices, yielding 6000 map pairs.
- Data splits: $5000$ for training, $1000$ for validation.
- Preprocessing:
- On-the-fly addition of shape noise at .
- Generation of complex masks (0–25% area coverage), produced as unions of disks.
- Input maps cropped and downsampled to .
- Data augmentations: rotations (multiples of 90°), horizontal/vertical flips.
- Training regime:
- AdamW optimizer (initial lr , cosine annealing to over 2000 epochs, batch size 128).
- First epoch uses Huber loss (threshold 50) for initial stability.
- Training on a single NVIDIA A100 requires min/epoch; plateau within 256 epochs, total 2000 for final model.
This results in a network robust to the systematics and incompleteness inherent to actual wide-area survey data.
5. Quantitative Performance Evaluation
MIU2Net is evaluated against several mass inversion methodologies:
- Root-mean-square error (RMSE):
where , are the smoothed (FWHM ) true and predicted within valid (unmasked) pixels. - At (no smoothing): MIU2Net achieves 83% lower RMSE than Kaiser–Squires (KS), 5% lower than U-Net, and results comparable to Wiener Filtering (WF) and MCALens. - At : 34% improvement over KS, 38% over U-Net.
- Recovered convergence power spectrum :
- MIU2Net reconstructs the power spectrum with 4% error up to , far exceeding KS/WF ( error) and U-Net ().
- Additional map statistics:
- Dynamic range: Accurate minima/maxima recovery (no over-smoothing).
- Peak location/amplitude: Centroid errors pixel, amplitude bias .
- Convergence PDF: Correct log-normality, matches true PDF including high- tails.
- These accuracies persist under additional shape noise and moderate () masking, and MIU2Net generalizes to a different cosmology without retraining (power error at ).
| Method | RMSE () | Error | Peak Accuracy |
|---|---|---|---|
| MIU2Net | lowest | 4% | 1 px, |
| U-Net | 38% higher | 37% | inferior |
| KS/WF/MCA | higher | inferior |
6. Advantages and Methodological Significance
MIU2Net introduces several methodological advantages for cosmic shear mass mapping:
- Receptive Field: The nested U-structure combines broad spatial context (for reconstructing diffuse filaments) with localized sensitivity (cluster and peak resolution) at a moderate parameter cost.
- Loss Engineering: The joint MSE RAPS loss surmounts the conventional bias-variance/spectral-trade-off, enabling the model to deliver physically meaningful maps that are simultaneously spatially accurate and statistically consistent.
- Observational Robustness: By simulating noise, masking, and nonlinearities within the input pipeline, MIU2Net performs one-step denoising and inpainting that avoids the need for iterative or hand-tuned post-processing steps.
A plausible implication is that this end-to-end strategy positions MIU2Net as an enabling technology for cosmological parameter extraction directly from reconstructed convergence fields in next-generation surveys (G. et al., 20 Jan 2026).
7. Context, Limitations, and Prospects
MIU2Net demonstrates significant progress over traditional mass inversion (Kaiser–Squires, Wiener Filtering), inpainted solutions (MCALens), and even prior learning-based reconstructors (U-Net, DeepMass) by achieving both high spatial and frequency-domain fidelity under survey-realistic conditions. It is particularly suited for next-generation datasets with non-uniform coverage, complex masking, and high noise, where ad-hoc smoothing and inpainting often compromise scientific signal.
Current limitations include the absence of explicit uncertainty estimation per-pixel and the dependence on simulation-based training; further validation against real survey data and extension to full posterior inference remain desirable future directions.
MIU2Net represents a substantial advance in weak gravitational lensing mass inversion, providing a foundation for extracting dark matter maps and cosmological information from massive survey datasets with unprecedented reliability and statistical consistency (G. et al., 20 Jan 2026).