[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85930-en":3,"doc-seo-85930-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},85930,7971461740909,"Levi","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",8,"Research & Report","Differentiable Proxy Learning for Adaptive Quantization Control in H.264 Video Coding","H.264 remains a widely deployed video coding format, yet optimizing codec parameters such as the quantization parameter (QP) is difficult because standard codecs are non-differentiable. This paper introduces a differentiable proxy learning method for H.264 intra coding, enabling adaptive quantization control. The proxy is built on a variable-rate learned compression model and becomes differentiable w.r.t. codec QP via soft indexing. The learned proxy approximates the rate-distortion behavior of H.264 under global-QP and spatial-QP, improving perceptual and machine-vision trade-offs, including BD-rate reductions up to 17.12%.","Differentiable Proxy Learning for Adaptive Quantization Control in H.264 Video Coding  \nQihan Xu and Ivan V. Baji  \nSchool of Engineering Science, Simon Fraser University  \nBurnaby, BC, Canada  \narXiv :2607 . 10478v1 [ ee ss .IV] 11 Jul 2026  \nAbstract—H.264 has been the most widely used video coding format for the past two decades due to its relative simplicity, efficiency, and wide availability of software and hardware implementations. However, optimizing codec parameters such asthe quantization parameter (QP) for specific objectives (e.g., perceptual quality or machine vision tasks) is challenging due to the non-differentiable nature of standard video codecs. While differentiable proxies have recently been used to enable gradientbased optimization around standard codecs, their fidelity to the target codec is rarely explicitly characterized. In this paper, we propose a differentiable proxy learning method for H.264 intra codec to enable adaptive quantization control. Built upon a variable-rate learned compression model, the proposed proxy is made differentiable with respect to codec QP through a softindexing mechanism. It is then trained to approximate the ratedistortion behavior of H.264 under two quantization settings: global-QP, which uses one QP per image, and spatial-QP, which assigns QPs at the macroblock level. Using the frozen trained proxy, we develop a proxy-based adaptive quantization (AQ) framework for both perceptual optimization and machine vision tasks. Experimental results demonstrate that the proposed proxies closely approximate the rate-distortion behavior of H.264 intra codec. The resulting proxy-based AQ framework consistently improves rate-task trade-offs over fixed-QP H.264 baselines, achieving BD-rate reduction of up to 17. 12% for semantic segmentation and 15.30% for MS-SSIM.  \nIndex Terms—H.264, video coding, differentiable proxy, quantization  \nI. INTRODUCTION  \nImage and video coding has become increasingly important due to the rapid growth of visual data. H.264 [1] has remained widely used for video coding over the past two decades due to its relative simplicity, high coding efficiency, and broad availability in software and hardware implementations.  \nFor standard codecs like H.264, adaptive quantization (AQ) is a practical way to improve rate-distortion and rate-task trade-offs without changing the codec itself. However, directly optimizing quantization parameter (QP) assignments is difficult: standard codecs are non-differentiable, and the relationship between QP, bitrate, and reconstruction is highly coupled, which prevents gradient-based end-to-end optimization.  \nOne way to address this issue is to introduce differentiable proxies for the target codec during training [2] . Existing works explore several strategies toward this goal. Some methods retain the overall codec structure while replacing non-differentiable operations such as quantization or entropy  \nThis work was supported by the SFU–Huawei Canada Joint Lab and the NSERC grant RGPIN-2021-02485 .  \ncoding-related components with differentiable analytical approximations, enabling gradient propagation through the codec pipeline [3], [4] .  \nOther approaches use neural simulation modules to approximate the output behavior of a standard codec during training. Instead of implementing a full learned codec, these methods train networks to predict the decoded reconstruction and/orbitrate of the target codec, thereby enabling gradient-based optimization while avoiding repeated codec invocation [5]–[7] .  \nMore recently, learned image and video compression models [8], [9] have been adopted as differentiable codec proxies. These methods train neural compression models to mimic thereconstruction and bitrate behavior of standard codecs, and use the resulting differentiable proxies to optimize preprocessing, postprocessing, or downstream task performance [10]–[12] .  \nDespite this progress, most prior work uses the differentiable proxy primarily as","cbCaikYqrncnZ2zZ","https://ap.wps.com/l/cbCaikYqrncnZ2zZ","pdf",3034444,1,7,"English","en",105,"# Abstract\n# Introduction\n# Proposed Method\n## Differentiable proxy learning for H.264 intra codec\n## Proxy-based adaptive quantization framework","[{\"question\":\"Why is adaptive quantization (AQ) hard to optimize for H.264 with gradient-based methods?\",\"answer\":\"Standard codecs like H.264 are non-differentiable, and the relationship among QP, bitrate, and reconstruction is highly coupled, which blocks end-to-end gradient optimization.\"},{\"question\":\"What differentiable proxy is proposed for H.264 intra coding?\",\"answer\":\"The method learns a differentiable proxy based on a variable-rate learned compression model and makes it differentiable with respect to the codec QP using a soft-indexing mechanism.\"},{\"question\":\"How does the paper evaluate the proxy and what benefits does it bring?\",\"answer\":\"The proxy is trained and assessed by approximating H.264 intra rate-distortion behavior under global-QP and spatial-QP, then used in a frozen form to train AQ networks for perceptual and machine vision tasks, improving rate-task trade-offs and achieving BD-rate reductions.\"}]",1784207222,18,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"differentiable-proxy-learning-for-adaptive-quantization-control-in-h264-video-coding","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/differentiable-proxy-learning-for-adaptive-quantization-control-in-h264-video-coding/85930/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why is adaptive quantization (AQ) hard to optimize for H.264 with gradient-based methods?","Question",{"text":75,"@type":76},"Standard codecs like H.264 are non-differentiable, and the relationship among QP, bitrate, and reconstruction is highly coupled, which blocks end-to-end gradient optimization.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What differentiable proxy is proposed for H.264 intra coding?",{"text":80,"@type":76},"The method learns a differentiable proxy based on a variable-rate learned compression model and makes it differentiable with respect to the codec QP using a soft-indexing mechanism.",{"name":82,"@type":73,"acceptedAnswer":83},"How does the paper evaluate the proxy and what benefits does it bring?",{"text":84,"@type":76},"The proxy is trained and assessed by approximating H.264 intra rate-distortion behavior under global-QP and spatial-QP, then used in a frozen form to train AQ networks for perceptual and machine vision tasks, improving rate-task trade-offs and achieving BD-rate reductions.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":45,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":21,"doc_module":4,"doc_module_name":45,"category_name":116,"show_sort_weight":117,"slug":118},"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]