Self-Reconstruction Dynamics for Autoencoder Reconstruction Refinement
Organizations: Department of Applied Informatics, Faculty of Science and Engineering Hosei University Tokyo, 184-8584, Japan
Abstract
Standard autoencoder (AE) inference uses a single encoder-decoder pass, though the latent may not be optimal for each sample under a fixed decoder. We ask whether a trained AE can reveal information for improving its own reconstruction. Repeated application of a frozen AE to its reconstruction produces transient image- and latent-space trajectories, termed Self-Reconstruction Dynamics (SRD). Although this degrades fidelity in the AEs studied here, SRD contains sample-specific information for correcting the reconstruction. We propose SRD-guided Reconstruction Refinement (SRD-RR), which predicts a latent correction from a short SRD with the AE frozen and no per-sample test-time optimization. We also introduce MSE-recov, an MSE recovery ratio relative to an empirical decoder-optimized reference. Across six datasets, SRD-RR recovers 38.6% of the empirically recoverable MSE gap with one transition and 45.3% with two. A two-transition variant trained without direct access to original images, using an SRD-derived pseudo-target, achieves 40.7% recovery and a 1.74 dB average PSNR gain. Removing trajectory information reduces the gain, while cross-sample trajectory assignment causes severe degradation, confirming strong sample specificity. Nonlinear SRD-conditioned refinement consistently outperforms fixed and trained linear latent correction. On a pretrained DINOv2-based representation autoencoder (RAE) with substantially different latent dynamics, SRD conditioning again improves a matched trajectory-free predictor. However, pixel-MSE latent refinement reveals a strong mismatch between pixel fidelity and perceptual quality, while the SRD-derived pseudo-target mitigates this degradation. Overall, SRD is a useful sample-specific refinement signal, while the objective determines how it translates into pixel and perceptual quality.
Figures & tables
| Model | Description | Definition | Target | -free |
| Baseline and image-space SRD models | ||||
| M1 | Baseline AE | – | – | |
| M2 | Repeated AE | – | – | |
| M3 | Trained Nonlinear Image Corrector | – | ||
| M3-AE | Corrector + AE | – | ||
| M4 | Linear Image Extrapolation | – | ✓ | |
| Split | CIFAR-10 | SVHN | FashionMNIST | MNIST | ImageNet100 | CelebA |
|---|---|---|---|---|---|---|
| Train | 45,000 | 65,932 | 54,000 | 54,000 | 114,021 | 146,493 |
| Val | 5,000 | 7,325 | 6,000 | 6,000 | 12,668 | 16,277 |
| Test | 10,000 | 26,032 | 10,000 | 10,000 | 5,000 | 5,000 |
| Model | Description | CIFAR-10 | SVHN | FMNIST | MNIST | ImageNet | CelebA |
|---|---|---|---|---|---|---|---|
| M1 | 0 | ||||||
| M2 | -143.02 | -197.19 | -157.09 | -158.24 | -173.95 | -172.62 | |
| -346.00 | -488.55 | -371.01 | -360.08 | -429.96 | -412.22 | ||
| -917.10 | -1324.69 | -961.63 | -849.91 | -1184.02 | -1086.96 | ||
| M3 | 116.87 | 103.86 | 87.09 | 96.20 | 51.54 | 98.73 | |
| M3-AE | AE(M3) | -8.93 | -6.16 | -5.38 | -5.37 | 10.54 | -14.03 |
| Model | CIFAR-10 | SVHN | FMNIST | MNIST | ImageNet | CelebA | |
|---|---|---|---|---|---|---|---|
| M5 ( ) | 1 | 24.97 | 34.58 | 17.59 | 12.55 | 33.09 | 24.96 |
| M5-AE | 1 | -40.84 | -53.22 | -54.55 | -55.69 | -38.46 | -66.18 |
| M5-T | 1 | 24.99 | 33.89 | 18.03 | 13.66 | 32.15 | 19.42 |
| 2 | 32.48 | 43.79 | 29.04 | 28.96 | 27.36 | 4.64 | |
| 3 | 32.52 | 43.36 | 29.68 | 31.51 | 24.36 | 31.10 | |
| 4 | 32.53 | 44.75 | 29.73 | 31.59 | 16.89 | 28.23 |
| MSE-recov (%) | Cost | ||||||||
| Model | CIFAR-10 | SVHN | FMNIST | MNIST | ImageNet | CelebA | M1 | -free | |
| M1 | – | 0 | 1.0 | – | |||||
| M3 † | 1 | 116.87 | 103.86 | 87.09 | 96.2 | 51.54 | 98.73 | 8.1 | – |
| M4 ( ) † | 1 | 52.72 | 68.33 | 61.88 | 63.75 | 63.36 | 63.09 | 2.0 | ✓ |
| M5 ( ) | 1 | 24.97 | 34.58 | 17.59 | 12.55 | 33.09 | 24.96 | 2.9 | ✓ |
| M6-LO | 0 | -12.71 | 18.62 | -40.63 | -84.45 | 3.28 | -30.06 | 4.2 | – |
| Model | PSNR | LPIPS | rFID-5k | |
|---|---|---|---|---|
| M1 | – | 18.87 | 0.156 | 3.91 |
| M4 | 1 | 17.70 | 0.201 | 5.72 |
| M6-LO | 0 | 18.65 | 0.470 | 25.52 |
| M6 | 1 | 18.99 | 0.445 | 21.76 |
| M6-xFree | 1 | 18.20 | 0.208 | 5.72 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | CIFAR-10 | SVHN | FMNIST | MNIST | ImageNet | CelebA | macro | macro | -free | |
| PSNR | MSE-recov. (%) | |||||||||
| M1 | – | 30.42 | 36.91 | 32.37 | 35.33 | 35.03 | 38.33 | 0.00 | 0.00 | – |
| M3 † | 1 | 3.80 | 7.94 | 8.30 | 12.75 | 2.00 | 6.09 | 6.81 | 92.38 | |
| M4 † | 1 | 1.36 | 3.59 | 3.98 | 4.28 | 2.67 | 2.90 | 3.13 | 62.19 | ✓ |
| M5 | 1 | 0.57 | 1.56 | 0.84 | 0.61 | 1.19 | 0.96 | 0.95 | 24.62 | ✓ |
| M6-LO | 0 | -0.24 | 0.94 | -1.30 | -2.57 | 0.28 | -0.77 | -0.61 | -24.32 |
| AE | M3 | SRD-RR | |
| Optimizer | Adam | Adam | AdamW |
| Learning rate | |||
| Weight decay | 0 | 0 | |
| Batch size | 64 / 256 | 64 / 256 | 64 / 256 |
| Max. epochs | 50 | 50 | 150 |
| Early-stop patience | 5 | 6 | 10 |
| Setting | Value |
|---|---|
| RAE checkpoint | DINOv2-based RAE, ViT-XL decoder |
| Input resolution | |
| Latent shape | |
| RAE parameters | Frozen |
| Dataset | ImageNet |
| Predictor train / val / test | 20,000 / 2,000 / 5,000 |
| 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|
| – | |||||
| – |
| Model | MSE | PSNR | SSIM | LPIPS | rFID-5k | |
| M1 | – | 0.01602 | 18.87 | 0.4696 | 0.1558 | 3.91 |
| M2 ( ) | 1 | 0.02124 | 17.41 | 0.4286 | 0.2193 | 6.29 |
| M2 ( ) | 2 | 0.02612 | 16.37 | 0.4002 | 0.2770 | 11.21 |
| M2 ( ) | 4 | 0.03516 | 14.97 | 0.3601 | 0.3740 | 33.44 |
| M4 | 1 | 0.02153 | 17.70 | 0.4245 | 0.2009 | 5.72 |
| M5 | 1 | 0.01911 | 17.94 | 0.4363 | 0.1943 | 4.74 |