TL;DR
GyroDeblurNet is a novel deep learning framework that leverages smartphone gyroscope data to tackle the "ill-posed" problem of single-image deblurring. Unlike previous methods that assume near-perfect sensor data, this approach is specifically engineered to handle real-world "gyro errors"—such as sensor noise, misaligned centers of rotation, and moving objects—achieving state-of-the-art results with a fraction of the computational cost of heavy transformer-based models.
What Problem Does This Paper Address?
Single-image deblurring is notoriously difficult because a single blurry image can technically be the result of infinitely many sharp images and motion paths. While modern smartphones have gyroscopes that track camera motion, using this data for deblurring is harder than it looks.
Real-world gyro data is messy. It contains noise, doesn't account for translational (side-to-side) movement, and assumes the camera and sensor share the exact same physical center. Furthermore, if a person or car moves within the frame, the gyroscope (which only tracks the camera) provides no information about that specific blur. Existing methods often fail when these inconsistencies—which the authors call gyro error—occur, leading to ringing artifacts or persistent blur.
Methods
The authors introduce three key innovations to make gyro-aided deblurring robust:
- Camera Motion Field (CMF): Instead of representing motion as a simple vector, they construct a "Camera Motion Field." This is a tensor that stacks multiple motion vectors per pixel, allowing the network to represent complex, non-linear camera shakes over the duration of an exposure. Camera motion field construction
- Dual-Block Architecture: The network (GyroDeblurNet) consists of two specialized modules:
- Gyro Refinement Block: This uses features from the blurry image to "clean up" the global gyro data, adaptively selecting the most consistent motion candidates.
- Gyro Deburring Block: Located in the bottleneck of a U-Net, this block uses the refined gyro data to guide deformable convolutions, effectively "undoing" the spatially-varying blur. Network architecture
- Curriculum Learning Strategy: Training a network to trust a noisy sensor is tricky; if the noise is too high initially, the network learns to ignore the sensor entirely. The authors start training with "clean" synthetic gyro data and gradually introduce realistic noise and errors, forcing the network to learn how to utilize the sensor while simultaneously correcting it.
Datasets
The researchers introduced two new benchmarks to fill the gap in realistic gyro-image pairs:
- GyroBlur-Synth: 14,600 training and 640 test images. It uses real smartphone gyro traces to warp sharp images, adding realistic degradations like moving objects (from the COCO dataset), sensor noise, and pixel saturation.
- GyroBlur-Real: A collection of real-world blurry photos paired with raw gyro data from a Samsung Galaxy S22 and a Huawei P30 Pro, used to evaluate how well the model generalizes to different hardware.
Key Insights and Ideas
- Gyro data is a hint, not ground truth: The core philosophy is that the image itself contains the information needed to "fix" the sensor data. By concatenating image features into the gyro module, the network can identify where the sensor is lying (e.g., due to a moving object) and compensate.
- Temporal Resolution Matters: The hyperparameter $M$ (the number of vectors in the CMF) is critical. The authors found that $M=8$ provides a "sweet spot" that captures intricate shakes without ballooning memory usage.
- Spatial Smoothness: By using a scaling factor in their motion field, they exploit the fact that camera shake is usually spatially smooth, allowing for a detailed representation with a small memory footprint.
Key Results
GyroDeblurNet significantly outperforms both traditional single-image deblurring models and previous gyro-based attempts.
- Quantitative: On the GyroBlur-Synth dataset, it achieved a PSNR of 27.28 dB, outperforming the best single-image transformer (FFTformer) by over 1.2 dB and the best previous gyro-based method (EggNet) by nearly 1.8 dB.
- Efficiency: Despite the higher accuracy, the model is remarkably efficient. It uses only 16.31M parameters and is significantly faster than transformer-based competitors, making it more viable for mobile deployment.
- Qualitative: As seen in the paper's examples, the model successfully restores sharp details in high-blur scenarios where other models produce "ghosting" or fail to resolve text. Real-world deblurring results
Limitations and Future Work
The authors acknowledge a few areas for improvement:
- Fixed Temporal Resolution: The number of motion vectors ($M$) is currently fixed. However, longer exposures likely require a higher $M$ to capture more complex paths.
- Ignoring the Accelerometer: The current model only uses the gyroscope (rotation). Integrating accelerometer data could help resolve translational motion, though this is historically difficult due to the need for depth estimation.
- Backbone Potential: The image deblurring module uses a relatively simple U-Net. Swapping this for a more advanced recent backbone could potentially push performance even further.
Summary updated