LossAgent:利用LLM智能体实现图像处理中的任意优化目标
LossAgent: Towards Any Optimization Objectives for Image Processing with LLM Agents
AI总结:
本文提出LossAgent,首次将大语言模型作为损失智能体,通过损失库和面向优化的提示工程动态决定各损失组合权重,从而实现低层图像处理中任意定制优化目标的端到端优化。
摘要:
我们提出了首个面向低层图像处理任务(例如图像超分辨率和图像复原)的损失智能体,称为LossAgent,旨在不同实际应用中实现低层图像处理的任意定制优化目标。值得注意的是,并非所有优化目标(例如复杂的手工设计感知指标、文本描述以及复杂的人类反馈)都能用现有的低层损失(例如MSE损失)来实例化,这给以端到端方式优化图像处理网络带来了关键挑战。为消除这一障碍,我们的LossAgent引入强大的大语言模型(LLM)作为损失智能体,其中丰富的文本先验知识理解能力赋予损失智能体在低层图像处理网络优化过程中理解复杂优化目标、优化轨迹以及来自外部环境状态反馈的潜力。具体而言,我们通过整合支持低层图像处理端到端优化的现有损失函数来建立损失库。然后,我们为损失智能体设计了面向优化的提示工程,使其能够在每次优化交互中主动且智能地决定损失库中每个损失的组合权重,从而为任意定制优化目标实现所需的优化轨迹。在三个典型低层图像处理任务和多个优化目标上的大量实验证明了我们提出的LossAgent的有效性和适用性。
英文摘要:
We present the first loss agent, dubbed LossAgent, for low-level image processing tasks, e.g., image super-resolution and restoration, intending to achieve any customized optimization objectives of low-level image processing in different practical applications. Notably, not all optimization objectives, such as complex hand-crafted perceptual metrics, text description, and intricate human feedback, can be instantiated with existing low-level losses, e.g., MSE loss, which presents a crucial challenge in optimizing image processing networks in an end-to-end manner. To eliminate this, our LossAgent introduces the powerful large language model (LLM) as the loss agent, where the rich textual understanding of prior knowledge empowers the loss agent with the potential to understand complex optimization objectives, trajectory, and state feedback from external environments in the optimization process of the low-level image processing networks. In particular, we establish the loss repository by incorporating existing loss functions that support the end-to-end optimization for low-level image processing. Then, we design the optimization-oriented prompt engineering for the loss agent to actively and intelligently decide the compositional weights for each loss in the repository at each optimization interaction, thereby achieving the required optimization trajectory for any customized optimization objectives. Extensive experiments on three typical low-level image processing tasks and multiple optimization objectives have shown the effectiveness and applicability of our proposed LossAgent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。