TL;DR
RecurIR is a recursive self-improvement framework that enables image restoration agents to autonomously discover, challenge, and refine their own decision-making rules. By actively seeking out degradation conditions that "break" their current strategies, these agents learn not just what works, but the precise boundaries of their expertise and how to adapt their policies to complex, real-world scenarios.
What Problem Does This Paper Address?
Image restoration—removing noise, blur, or rain—has moved from simple filters to "agentic" systems that coordinate a library of specialized tools. While these agents are flexible, they often suffer from a "knowledge gap." They might learn that "denoising before deblurring" works well on a specific dataset, but they don't explicitly understand why or under what conditions that rule fails (e.g., when noise is localized or extremely severe).
When faced with unseen degradation combinations or varying spatial distributions, existing agents often apply outdated rules, leading to suboptimal results or "rollbacks" (reverting an operation that made the image worse). The authors tackle the challenge of making these agents self-aware: teaching them to identify the applicability boundaries of their strategies and learn how to revise them as conditions change.
Methods
The core of RecurIR is a three-part recursive loop that mimics scientific discovery:
- Policy-Hypothesis Discovery Mechanism (PDM): The agent compares different restoration plans on the same image to identify "hypotheses"—rules that predict which tool sequence is better given a specific degradation state (type, severity, region, and interaction).
- Rule-Falsification-Driven Task Evolution (RTEM): Instead of just training on static data, the agent uses a task generator to "stress-test" its hypotheses. It actively creates targeted degradation variations (e.g., increasing noise in just one corner) to find where its current rules fail. This "falsification" provides the most informative data for improvement.
- Change-Conditioned Policy Revision (CPRM): When a rule is proven wrong, this mechanism learns a "revision operator." It calculates how the restoration plan should be adjusted—changing tool selection, execution order, or operation strength—based on the difference between the original and the new, challenging condition.
This process is recursive: verified revisions become the new baseline for the next round of hypothesis discovery and falsification, as shown in the framework overview:
Datasets
The authors evaluated RecurIR across a massive battery of benchmarks:
- Task-Specific: Rain100H/L, Test100/1200 (Deraining); Snow100K, SRRS, CSD (Desnowing); RESIDE (Dehazing); GoPro, HIDE (Deblurring); CBSD68, Urban100, Kodak24 (Denoising).
- All-in-One (Mixed Tasks): A combined setting using Test100, Snow100K, SOTS-Indoor, GoPro, and CBSD68.
- Real-World: RealRain-1k-L, RTTS (haze), and SIDD (noise) to test generalization beyond synthetic data.
Key Insights and Ideas
- Falsification is a Stronger Signal than Success: Most AI agents learn from what went right. RecurIR gains its edge by proactively seeking what goes wrong. By identifying "counter-examples" where a previously trusted rule fails, the agent learns the "edges" of its knowledge much faster.
- Condition-Dependent Granularity: Unlike "all-in-one" models that apply a global transformation, RecurIR learns to adjust its policy spatially. If an image has "moderate global blur" but "severe noise in the dark facade," the agent learns to apply strong regional denoising while keeping the deblurring global.
- Recursive Refinement: The system doesn't just improve the restoration; it improves the strategy for revising the restoration. As shown in Figure 5, the performance (PSNR) climbs steadily over successive rounds of self-improvement as the agent's internal rules become more robust.
Key Results
RecurIR sets a new state-of-the-art for agentic image restoration:
- Quantitative Superiority: In the All-in-One setting, it achieved an average 35.58 dB PSNR, outperforming the strongest model-based baseline (Defusion) by 2.00 dB and the best previous agent (IAMAgent) by 0.34 dB.
- Efficiency: It achieved the lowest Rollback Rate (0.12) among all agents, meaning it makes far fewer "mistakes" that require undoing an operation.
- Visual Quality: Qualitative results (Figure 2) show that RecurIR is significantly better at removing artifacts (like rain streaks or snow) while preserving fine textures compared to other methods.
Limitations and Future Work
While powerful, RecurIR has a few areas for growth:
- Tool Library Dependency: The agent's performance is ultimately capped by the quality of the underlying tools in its library. It cannot "invent" a new restoration technique, only optimize the use of existing ones.
- Computational Overhead: The recursive self-improvement process involves significant "mental rehearsal" (generating tasks and testing hypotheses), which is computationally intensive during the training/improvement phase, though inference remains efficient.
- Future Directions: The authors suggest expanding the framework to handle even more diverse and extreme degradations and exploring ways to make the "task evolution" even more creative in its falsification strategies.
Summary updated