Papers › URWKV: Unified RWKV Model with Multi-state Perspective for Low-light Image Restoration

URWKV: Unified RWKV Model with Multi-state Perspective for Low-light Image Restoration

29 May 2025CVPR 2025 1arXiv:2505.23068archive 2025-07-28

Rui Xu, Yuzhen Niu, Yuezhou Li, Huangbiao Xu, Wenxi Liu, Yuzhong Chen

Existing low-light image enhancement (LLIE) and joint LLIE and deblurring (LLIE-deblur) models have made strides in addressing predefined degradations, yet they are often constrained by dynamically coupled degradations. To address these challenges, we introduce a Unified Receptance Weighted Key Value (URWKV) model with multi-state perspective, enabling flexible and effective degradation restoration for low-light images. Specifically, we customize the core URWKV block to perceive and analyze complex degradations by leveraging multiple intra- and inter-stage states. First, inspired by the pupil mechanism in the human visual system, we propose Luminance-adaptive Normalization (LAN) that adjusts normalization parameters based on rich inter-stage states, allowing for adaptive, scene-aware luminance modulation. Second, we aggregate multiple intra-stage states through exponential moving average approach, effectively capturing subtle variations while mitigating information loss inherent in the single-state mechanism. To reduce the degradation effects commonly associated with conventional skip connections, we propose the State-aware Selective Fusion (SSF) module, which dynamically aligns and integrates multi-state features across encoder stages, selectively fusing contextual information. In comparison to state-of-the-art models, our URWKV model achieves superior performance on various benchmarks, while requiring significantly fewer parameters and computational resources.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.23068")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

fzu-n/urwkv officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
7ran
3unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from FZU-N/URWKV. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_psnr FZU-N/URWKV/custom_utils/image_utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d292dd965ab59629 · report
create_window FZU-N/URWKV/model/loss.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 6154e3744ece5728 · report
gaussian FZU-N/URWKV/custom_utils/losses.py official repository ran Apache-2.0 (permissive) · b98ab675041aad53 · report
get_gaussian_kernel FZU-N/URWKV/custom_utils/losses.py official repository ran fingerprinted Apache-2.0 (permissive) · 7f494e37955dbf6d · report
get_gaussian_kernel2d FZU-N/URWKV/custom_utils/losses.py official repository ran Apache-2.0 (permissive) · f604cce48cb1aaf6 · report
is_frozen FZU-N/URWKV/custom_utils/model_utils.py official repository ran Apache-2.0 (permissive) · 930cddf0a4d80ab1 · report
load_img FZU-N/URWKV/custom_utils/image_utils.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 04f9122f3967b7ae · report
load_start_epoch FZU-N/URWKV/custom_utils/model_utils.py official repository ran Apache-2.0 (permissive) · c3bea8c4ee6bef4a · report
network_parameters FZU-N/URWKV/custom_utils/model_utils.py official repository ran Apache-2.0 (permissive) · 92e01b46692e513c · report
q_shift FZU-N/URWKV/model/modules/urwkv.py official repository ran Apache-2.0 (permissive) · a2d0a36f82b566d4 · report
check_keys FZU-N/URWKV/custom_utils/model_load.py official repository unverified Apache-2.0 (permissive) · ec73a18eb6cee64f · report
load_pretrain FZU-N/URWKV/custom_utils/model_load.py official repository unverified Apache-2.0 (permissive) · 1023e0f5057a4383 · report
remove_prefix FZU-N/URWKV/custom_utils/model_load.py official repository unverified Apache-2.0 (permissive) · a57313630ecbb3a1 · report

Tasks

DeblurringImage EnhancementImage RestorationLow-Light Image Enhancement

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections