[Paper Review] Siamese Encoding and Alignment by Multiscale Learning with Self-Supervision
This paper proposes SEAMLeSS, a self-supervised, coarse-to-fine image alignment method using siamese convolutional encoders and multiscale alignment modules. By learning hierarchical feature representations instead of relying on image pyramids, it achieves superior accuracy over SPyNet and one-shot methods like FlowNet, especially in handling large displacements and discontinuous deformations in serial section electron microscopy data.
We propose a method of aligning a source image to a target image, where the transform is specified by a dense vector field. The two images are encoded as feature hierarchies by siamese convolutional nets. Then a hierarchy of aligner modules computes the transform in a coarse-to-fine recursion. Each module receives as input the transform that was computed by the module at the level above, aligns the source and target encodings at the same level of the hierarchy, and then computes an improved approximation to the transform using a convolutional net. The entire architecture of encoder and aligner nets is trained in a self-supervised manner to minimize the squared error between source and target remaining after alignment. We show that siamese encoding enables more accurate alignment than the image pyramids of SPyNet, a previous deep learning approach to coarse-to-fine alignment. Furthermore, self-supervision applies even without target values for the transform, unlike the strongly supervised SPyNet. We also show that our approach outperforms one-shot approaches to alignment, because the fine pathways in the latter approach may fail to contribute to alignment accuracy when displacements are large. As shown by previous one-shot approaches, good results from self-supervised learning require that the loss function additionally penalize non-smooth transforms. We demonstrate that "masking out" the penalty function near discontinuities leads to correct recovery of non-smooth transforms. Our claims are supported by empirical comparisons using images from serial section electron microscopy of brain tissue.
Motivation & Objective
- Address the limitations of SPyNet, particularly its sensitivity to large displacements and reliance on strong supervision.
- Overcome the failure of one-shot alignment methods like FlowNet when displacements are large, due to limited receptive fields in fine pathways.
- Enable self-supervised training for image alignment without ground-truth transforms, expanding applicability to datasets lacking labeled correspondences.
- Improve alignment of serial section electron microscopy (ssEM) images, which exhibit complex, non-smooth deformations due to physical slicing.
- Develop a method that correctly recovers discontinuous transforms (e.g., at object boundaries) by masking nonsmoothness penalties near discontinuities.
Proposed method
- Use siamese convolutional neural networks to encode both source and target images into hierarchical feature maps at multiple scales.
- Apply a coarse-to-fine recursive architecture where each aligner module refines the transform using the output from the coarser level.
- Train the entire encoder-aligner network in a self-supervised manner by minimizing the squared error between the source image (after warping) and the target image.
- Introduce a nonsmoothness penalty in the loss function to encourage smooth transforms, but mask this penalty near detected discontinuities to allow recovery of non-smooth deformations.
- Use a multiscale optimization strategy: initialize alignment at the highest MIP level and upsample the transform to refine it at lower levels.
- Leverage learned features instead of raw pixel pyramids to preserve global context and improve alignment accuracy.
Experimental results
Research questions
- RQ1Can siamese feature encodings improve alignment accuracy compared to image pyramids in a self-supervised setting?
- RQ2Does a coarse-to-fine recursive architecture with learned features outperform one-shot methods like FlowNet when displacements are large?
- RQ3Can self-supervised training with a nonsmoothness penalty produce accurate alignments for non-smooth deformations, such as those at object boundaries in ssEM images?
- RQ4Is masking the nonsmoothness penalty near discontinuities essential for recovering discontinuous transforms in self-supervised learning?
- RQ5How does the performance of SEAMLeSS compare to direct optimization at inference time in terms of accuracy and computational cost?
Key findings
- SEAMLeSS outperforms SPyNet in alignment accuracy, especially at high MIP levels, demonstrating that siamese feature encodings preserve more useful global context than image pyramids.
- The method achieves better performance than one-shot approaches like FlowNet and VoxelMorph, even though their fine-scale pathways have limited receptive fields and fail on large displacements.
- Self-supervised training with a masked nonsmoothness penalty enables the network to correctly recover discontinuous deformations at crack boundaries in ssEM images.
- SEAMLeSS is approximately two orders of magnitude faster than direct optimization at inference time, while maintaining competitive accuracy.
- Direct optimization at inference time achieves better average and best-case performance but fails catastrophically in worst-case scenarios due to local minima at coarse levels.
- The recursive, multiscale refinement with learned features provides a more robust and accurate solution than both one-shot and direct optimization methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.