TSCnet: A Text-driven Semantic-level Controllable Framework for Customized Low-Light Image Enhancement

Miao Zhang, Jun Yin, Pengyu Zeng, Yiqing Shen, Shuai Lu, Xueqian Wang · DOI

Abstract

Low-light image enhancement (LLIE) has traditionally been treated as a deterministic mapping problem, often ignoring the subjective preferences of users. We present TSCnet, a novel framework that enables semantic-level, quantitative, and text-driven customization for low-light images. By leveraging Large Language Models (LLMs) to interpret natural language prompts and Retinex theory to facilitate precise object segmentation in dark environments, TSCnet allows users to adjust specific regions or objects with granular control. Experimental results demonstrate that TSCnet achieves state-of-the-art performance on standard benchmarks and significantly improves downstream computer vision tasks like face detection.

Introduction

Most deep learning-based low-light image enhancement (LLIE) methods operate as "black boxes" that perform a one-to-one mapping. While these models can brighten a dark image, they do not account for the subjective nature of lighting preferences—where one user might want a moody silhouette, another may require full illumination for surveillance.

Existing controllable methods often rely on manual masks or simple sliders, which are cumbersome and lack semantic awareness. TSCnet addresses these limitations by shifting the paradigm toward text-driven, semantic-level control. As shown in the comparison below, TSCnet moves beyond global and regional adjustments to allow for precise, language-based manipulation of specific image elements.

Figure 1: Evolution of enhancement paradigms from global-level to the proposed text-driven semantic-level enhancement.

Methodology

The TSCnet architecture is a multi-stage pipeline that integrates LLMs, Retinex theory, and Diffusion models to achieve high-fidelity, controllable enhancement.

1. LLM-Driven Instruction Parsing

The system utilizes GPT-4o to parse raw natural language prompts (e.g., "Brighten the doll by 20%") into structured data, identifying the target semantic object and the desired numerical brightness ratio.

2. Retinex-based Reasoning Segment (RRS)

Localizing objects in low-light conditions is notoriously difficult. TSCnet overcomes this by applying Retinex decomposition to separate the image into illumination and reflection components. Because the reflection component contains the inherent texture and structure of the scene independent of lighting, the RRS module can generate pixel-perfect masks for the target objects.

3. Text-based Brightness Controllable (TBC) and Adaptive Contextual Compensation (ACC)

The TBC module uses the quantitative ratio from the LLM to generate a spatial consistency guide. Subsequently, the ACC module employs cross-attention mechanisms to fuse multi-modal inputs—including the original image, the generated mask, and the illumination guide—ensuring that localized brightening remains globally coherent without visible artifacts.

Figure 2: The detailed architecture of TSCnet, illustrating the integration of the RRS, TBC, and ACC modules within a diffusion-based framework.

Key Results and Insights

TSCnet was evaluated against state-of-the-art (SOTA) methods on several benchmarks, including the LOL and MIT-Adobe FiveK datasets.

  • Quantitative Performance: TSCnet achieved a PSNR of 25.78 on the LOL dataset, outperforming previous leaders like CLE (25.51). On the MIT-Adobe FiveK dataset, it reached a PSNR of 29.92.
  • Visual Fidelity: Unlike traditional enhancers that often suffer from overexposure or noise amplification, TSCnet maintains high-frequency textures and natural lighting transitions.
  • Downstream Utility: When used as a pre-processor for face detection on the DARK FACE dataset, TSCnet achieved an Average Precision (AP) of 0.394, the highest among all tested enhancement methods, proving its value for automated vision systems.

Conclusion

TSCnet represents a significant advancement in interactive image processing. By treating natural language as a precise dial for image attributes, it provides a level of granularity previously unavailable in low-light enhancement. Future work will explore extending this framework to include complex color corrections and white balance adjustments through similar text-driven interfaces.

Summary updated

BibTeX
@article{zhang2025tscnet,
  author = {Miao Zhang and Jun Yin and Pengyu Zeng and Yiqing Shen and Shuai Lu and Xueqian Wang},
  title = {{TSCnet: A Text-driven Semantic-level Controllable Framework for Customized Low-Light Image Enhancement}},
  journal = {Neurocomputing},
  year = {2025},
  doi = {10.1016/j.neucom.2025.129509},
}
Figure