arXiv:2610.38413cs.CVOct 2026

Manuscript Offprint

arXiv:2610.38413

Structure-retained low-rank adapters for weather synthesis

Shunxin Wang, Alexandros Stergiou, Luuk Spreeuwers, Estefania Talavera, Nicola Strisciuglio

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Real-world deployment of computer vision models, particularly in outdoor scenarios, is often limited by environmental interferences, such as adverse weather. Improving model robustness across weather conditions is thus critical for reliability. However, sourcing high-quality data relevant to isolated weather effects is a significant challenge. Most datasets include changes in dynamic elements across observations of the same scene: subjects such as pedestrians and vehicles change between shots, while camera viewpoints vary. These aspects make it difficult to decouple solely weather-induced distribution shifts from the scene. In this work, we address this with a novel weather synthesis framework that utilizes structure-retaining Low-Rank Adapters (LoRA). We analyze the attention blocks in Stable Diffusion XL (SDXL) and identify where relevant structural information is mostly processed during image-to-image translation. Through an architectural analysis of SDXL, we learn structural LoRA matrices for the corresponding blocks and then leverage them for weather synthesis, eliminating the need for external conditioning such as ControlNet. Experimental results demonstrate that our method improves upon existing synthesis approaches, achieving greater realism while preserving structure. This provides a robust pipeline for generating high-fidelity training and evaluation data for outdoor computer vision applications.

1. Introduction

Computer vision models deployed in real-world scenarios often encounter robustness problems. In outdoor settings, interference comes not only from hardware, such as photon and thermal noise (especially in low-light settings), but also from unpredictable environmental changes, such as weather conditions. Improving model performance is important for ensuring the reliability of deployed models, especially in safety-critical applications such as autonomous driving. However, collecting high-quality, sufficiently varied image

Figure

Figure 1. Text-guided weather manipulation with structure-LoRA for preserving the structural layout of input images.

data that contains various weather changes remains a challenge. Sourcing real-world image data from the same scene in different weather conditions requires comprehensive control over dynamic objects. Existing datasets mostly contain image pairs under different conditions, e.g., sunny-rainy and sunny-foggy, without ensuring that the original objects present in the images (e.g., cars and passengers) or camera views are preserved [12, 39]. This induces not only weather-related distribution shifts, but also temporal and spatial variations.

Generative models can produce high-quality images while offering granular control over details like style (e.g., weather) and specific scene content [22, 24]. For style manipulation, previous works extracted style information from one reference image [14], or from a pair of images with and without the target style [15]. For text-to-image generation tasks, image style can be manipulated by changing style-related text descriptions. However, for image-to-image translation, manipulating the input image style using only text prompts is insufficient, either failing to produce strong changes or disrupting the image content [1, 32].

Synthesizing adverse weather conditions is a critical frontier for improving computer vision models deployed in outdoor scenarios, e.g., autonomous driving. Previous work relied on Generative Adversarial Networks (GANs), such as CycleGAN [40] that simulated diverse weather types.

∗^{*}work done while at the University of Twente

These methods often require high-quality paired training data, which is expensive to obtain. To circumvent this, [16] turned to graphics engines and large-scale generative models. For instance, Stable Diffusion XL (SDXL) [21] is used to curate precisely controlled weather attributes within synthetic scenes. Despite the increased variety these models offer, the original scene structure is often not preserved during image-to-image translation. ControlNet [36] was proposed to preserve structure information of an input image, by injecting structured spatial conditions, e.g., edges and depth, into intermediate feature maps. But this often leads to a loss of fine-grained details, such as original textures and object identities [13]. Other approaches that adopt instruction-based editing, such as InstructPix2Pix [2], frequently struggle with spatial relational reasoning, i.e., the models either focus solely on local effects (e.g., rain in the sky) while neglecting global consequences (e.g., reflections on the road), or alter global image color rather than specific weather elements.

In this work, we perform an architectural analysis of SDXL on the sensitivity of attention blocks to structural information, and subsequently devise a structure-retaining Low-Rank Adaptation (LoRA) [11] strategy to synthesize weather while preserving structure details. Compared to other weather synthesis methods, our method improves the variety of weather effects while requiring light computations. Compared with other style-manipulation approaches, our method preserves more structural and content information. Effectively, we reduce the need to curate high-quality paired image data through manual collection or graphic engines.

Our contributions are as follows:

  1. An architectural analysis and identification of SDXL attention blocks that capture more structural and dynamic information within scenes;

  2. A weather synthesis framework using structural priors in the form of low-rank adapters (structure-LoRA), to retain the layout and dynamic elements of input images. Our method improves realism and weather-synthesis effects while better preserving scene dynamic objects and structural layout compared to existing approaches.

References (39)