面向机器的图像编码:基于特征保持的率失真优化 Image Coding for Machines via Feature-Preserving Rate-Distortion Optimization 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-04-03
👁️ 预览文献
💡 AI 中文简介
许多图像和视频主要供计算机视觉算法处理,偶尔才由人查看。为在压缩后仍保持下游任务性能,本文提出用原始与解码图像的特征距离作为失真度量进行率失真优化。直接优化计算量过大,作者通过泰勒展开将特征距离近似为二次型,再简化为块级可计算的输入相关平方误差,并利用雅可比矩阵的草图近似。在AVC和HEVC上,相比传统基于SSE的优化,该方法在相同任务精度下节省高达17%码率,解码复杂度不变,编码复杂度仅增加7.86%。
领域图像/视频压缩与计算机视觉交叉
适合谁读需要一定专业背景(图像压缩、优化理论或深度学习基础)
核心贡献1. 理论证明使用特征距离作为失真度量可减少压缩对下游任务的影响;2. 提出输入相关平方误差(IDSE)的块级可计算近似,使特征保持的RDO实用化。
关键数据相比基于SSE的RDO,在相同任务精度下节省高达17%码率;解码复杂度无额外开销;编码复杂度仅增加7.86%。
推荐理由如果你关心如何让压缩后的图像依然被AI算法准确理解,这篇工作用巧妙的数学近似实现了高效优化,码率节省显著,值得一读。
关键词["图像编码", "率失真优化", "特征保持", "机器视觉", "视频压缩", "块级近似"]

原文摘要

查看英文原文摘要

Many images and videos are primarily processed by computer vision algorithms, involving only occasional human inspection. When this content requires compression before processing, e.g., in distributed applications, coding methods must optimize for both visual quality and downstream task performance. We first show theoretically that an approach to reduce the effect of compression for a given task loss is to perform rate-distortion optimization (RDO) using the distance between features, obtained from the original and the decoded images, as a distortion metric. However, optimizing directly such a rate-distortion objective is computationally impractical because it requires iteratively encoding and decoding the entire image-plus feature evaluation-for each possible coding configuration. We address this problem by simplifying the RDO formulation to make the distortion term computable using block-based encoders. We first apply Taylor's expansion to the feature extractor, recasting the feature distance as a quadratic metric involving the Jacobian matrix of the neural network. Then, we replace the linearized metric with a block-wise approximation, which we call input-dependent squared error (IDSE). To make the metric computable, we approximate IDSE using sketches of the Jacobian. The resulting loss can be evaluated block-wise in the transform domain and combined with the sum of squared errors (SSE) to address both visual quality and computer vision performance. Simulations with AVC and HEVC across multiple feature extractors and downstream networks show up to 17 % bit-rate savings for the same task accuracy compared to RDO based on SSE, with no decoder complexity overhead and a small (7.86 %) encoder complexity increase.