arXiv:2610.33635cs.CVOct 2026

Manuscript Offprint

arXiv:2610.33635

DROA-CLIPSeg: Prompt-Guided Thin Crack Segmentation in Low-Light Conditions

Vinita Shukla, Partibha Jangra, Vinayak Pathak, Praful Hambarde, Amit Shukla

Abstract

Pavement crack segmentation under low light is degraded by reduced contrast, shadows, headlight glare, joints, stains, and wet seams. Existing crack segmentation methods mostly assume good illumination. Low-light enhancement methods improve visual quality, but they do not explicitly preserve crack topology. To address these limitations, we formulate low-light crack segmentation as a degradation-aware, prompt-grounded structural-defect segmentation problem and propose DROA-CLIPSeg, a parameter-efficient framework that adapts a frozen CLIPSeg vision–language backbone using two lightweight modules. QKV Low-Rank Adaptation is injected into the Q/K/V projections of the vision and text encoders to improve crack-specific image-text alignment without backbone fine-tuning. The proposed Domain-Residual Orthogonal Adapter (DROA) decomposes intermediate features into a dominant crack-domain branch, which captures recurring low-light crack patterns, and an orthogonal residual branch, which preserves faint, thin, and fragmented evidence usually suppressed by noise, shadow, or over-smoothing. We also introduce CrackLingo-9K and CrackLingo-12K, text-augmented versions of Crack9k and Crack12k with crack-aware prompts. Training only ∼\sim1.93 M parameters, corresponding to 1.3% of the full model, DROA-CLIPSeg outperforms 9 zero-shot and 4 fine-tuned vision–language baselines on both splits, generalises zero-shot to MVTecAD across textures and defect morphologies, and is supported by extensive ablations. Our source code is publicly available at https://github.com/VShuklacode/DROA-CLIPSeg

1 Introduction

Pavement cracks are early indicators of structural fatigue; left undetected they grow into potholes, spalling, and safety hazards, making automated inspection from on-vehicle cameras and UAVs an active research area [2, 76, 36, 43]. Two settings still undermine real-

© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms.

world deployment: low-light acquisition and thin hairline cracks. Under low light, reduced contrast and amplified sensor noise blend hairlines with shadows, oil stains, joints and wet seams; vision-only models trained on well-lit pavement therefore either over-predict shadows or miss faint cracks. Generic low-light enhancers [1, 2, 3, 4, 5] are trained for perceptual quality, not the structural cues a downstream segmenter relies on, and chaining an enhancer in front of a segmenter introduces artefacts at exactly the thin structures we want to preserve, as concurrent low-light crack-segmentation work also reports [4]. In parallel, vision-language foundation models: CLIP [5], CLIPSeg [6], LSeg [7], GroupViT [8], CRIS [9], OVSeg [10], SAM [11], and the recently anomaly-aware AA-CLIP [12], show that natural-language prompts inject strong semantic priors into dense prediction. For surface defects such priors are particularly attractive: a phrase like “a thin longitudinal hairline crack on dark asphalt” encodes visual signature and surface context that purely visual encoders rarely learn from small crack datasets. Yet directly using off-the-shelf CLIPSeg under low light is sub-optimal: it is trained on natural images and not specialised for elongated sub-pixel structures, while full fine-tuning destroys backbone generalisation and over-fits to small crack benchmarks [13]. Dedicated low-light crack segmentation [14], by contrast, remains scarce and architecturally narrow. CrackNex [15] restores contrast through a Retinex reflectance prior in a few-shot regime, while CLCNet [16] aligns day- and night-time features by cross-light contrastive training on paired road imagery; both are CNN/RGB-only pipelines that hinge on either an explicit enhancement stage or paired cross-illumination supervision, are validated only on small in-domain benchmarks, and exploit no language priors. To the best of our knowledge, no prior method couples vision-language prompting with low-light thin-crack segmentation, leaving this practically important regime essentially unaddressed and motivating the design below.

We propose DROA-CLIPSeg, a parameter-efficient prompt-guided framework that adapts a frozen CLIPSeg through two complementary mechanisms. Building on parameter-efficient adaptation [6,13,14,15,16,17][6, 13, 14, 15, 16, 17], we inject trainable LoRA factors into the Q/K/V projections of both vision and text self-attention layers, modulating how tokens interact without altering any backbone weight. We then place a Domain–Residual Orthogonal Adapter (DROA) after each attention and MLP block that decomposes the intermediate feature into a dominant crack-domain branch and an orthogonal residual branch, fused by a learnable energy gate; this factorisation preserves both the strong recurring crack appearance and the faint fragmented evidence of thin cracks that standard adapters tend to suppress. We manually annotate Crack9k and Crack12k with crack location, surface and type (thin/thick/none) descriptions.

Contributions. (i) a parameter-efficient prompt-guided framework for thin, low-light crack segmentation that adapts a fully frozen CLIPSeg backbone, training only ∼\sim1.9 M new parameters; (ii) the Domain–Residual Orthogonal Adapter, complementing LoRA by routing crack-specific evidence through orthogonal dominant and residual subspaces under an energy-gated injection; (iii) crack-aware text annotations of Crack9k/Crack12k with location, surface, and type descriptions; (iv) extensive experiments and ablations showing consistent Dice/IoU gains on both benchmarks, with the largest improvements on thin-crack subsets.

References (44)