REVIEW 2 major objections 28 references
The SCALED surrogate gradient for neural codec wrappers is a first-order local approximation of the codec.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · grok-4.3
2026-06-27 05:10 UTC pith:UKSPAMPY
load-bearing objection The paper reinterprets SCALED as a first-order local approximation of the codec and extends it to full pre/post neural wrappers, with reported BD-rate gains but the exact match to the Taylor expansion needs checking in the math. the 2 major comments →
A Projection-Based Surrogate Gradient Interpretation for Neural Codec Wrappers
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The SCALED surrogate gradient can be reinterpreted as a first-order local approximation of the video codec. This reinterpretation supplies insight into why the gradient enables effective training of neural wrappers and remains valid when the wrapper consists of both pre- and post-processing networks.
What carries the argument
The SCALED gradient, which replaces the non-differentiable codec with a scaled version of the true compression error.
Load-bearing premise
The scaled gradient introduced as a reparameterization trick continues to function as a mathematically valid first-order approximation even when the wrapper includes both pre- and post-processing networks.
What would settle it
A direct comparison, on identical training runs, between the SCALED gradient and the true partial derivative of a differentiable proxy codec; if the performance gap widens substantially for full wrapping, the local-approximation claim does not hold.
If this is right
- Training becomes possible for complete neural wrappers rather than only downscalers.
- Performance improvements generalize across different video codecs and quantization parameters.
- Multiple downscaling ratios can be handled by the same gradient construction.
- BD-Rate gains of up to 23.59 percent on x264 are obtained relative to standard resampling.
Where Pith is reading between the lines
- The local-approximation view may extend to other non-differentiable signal-processing blocks whose error surface is locally smooth.
- One could test whether replacing the true error with a cheaper estimate still preserves the first-order property.
- The same gradient might be applied to audio or image codecs whose internal decisions are also discrete.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper claims that the SCALED surrogate gradient, originally introduced as a reparameterization trick, admits a projection-based reinterpretation as a first-order local approximation to the video codec. It extends the approach from downscaling to full neural codec wrappers (pre- and post-processing networks) and reports generalization across codecs (x264, VVenC), quality factors, and downscaling ratios, with BD-Rate (PSNR) gains up to -23.59% and -20.07% relative to standard resampling baselines.
Significance. If the local-approximation interpretation is shown to hold exactly (or under clearly stated conditions), the work would supply a useful analytic lens for surrogate gradients in hybrid neural-conventional codecs and justify extending SCALED to more complex wrapper architectures. The reported BD-Rate numbers are concrete and the generalization claim is testable; both would be strengthened by the promised mathematical grounding.
major comments (2)
- [Abstract / §3 (interpretation)] The central claim equates the SCALED reparameterization to the gradient of a first-order Taylor expansion of the codec. The abstract states the interpretation but supplies neither the explicit local model nor the derivation showing that the surrogate matches the Jacobian of that model; without this step the reinterpretation remains heuristic rather than identity-level.
- [§4 (full neural wrapping)] When extending to full pre- and post-processing networks, the manuscript must verify that the codec's local linear model (and therefore the surrogate gradient) remains independent of the wrapper parameters; otherwise the unbiasedness or variance properties inherited from the original reparameterization may no longer hold. No such verification or regularity condition is referenced in the provided abstract.
Simulated Author's Rebuttal
We thank the referee for the constructive comments, which help strengthen the mathematical grounding of our claims. We address each major comment below and indicate the revisions we will make.
read point-by-point responses
-
Referee: [Abstract / §3 (interpretation)] The central claim equates the SCALED reparameterization to the gradient of a first-order Taylor expansion of the codec. The abstract states the interpretation but supplies neither the explicit local model nor the derivation showing that the surrogate matches the Jacobian of that model; without this step the reinterpretation remains heuristic rather than identity-level.
Authors: The explicit local linear model (first-order Taylor expansion of the codec around the input point) and the derivation showing that the SCALED surrogate equals the gradient of this approximation (via the projection interpretation) are provided in full in Section 3. The abstract summarizes the result at a high level. We will revise the abstract to include one additional sentence referencing the local model and directing readers to the derivation in §3, thereby making the identity-level nature of the claim under the stated conditions explicit. revision: yes
-
Referee: [§4 (full neural wrapping)] When extending to full pre- and post-processing networks, the manuscript must verify that the codec's local linear model (and therefore the surrogate gradient) remains independent of the wrapper parameters; otherwise the unbiasedness or variance properties inherited from the original reparameterization may no longer hold. No such verification or regularity condition is referenced in the provided abstract.
Authors: The local linear model is constructed exclusively from the fixed, non-differentiable codec function and is therefore independent of the neural wrapper parameters by definition. The surrogate gradient continues to use the true compression error, preserving the unbiasedness and variance properties of the original reparameterization. We will add an explicit verification paragraph in §4 stating this independence and the regularity condition that the codec remains unchanged. revision: yes
Circularity Check
No circularity: interpretation presented as analysis of existing reparameterization without reduction to fitted inputs or self-citation chains.
full rationale
The abstract and provided context present the SCALED surrogate as an existing reparameterization trick whose reinterpretation as a first-order local approximation is offered as an independent analytical insight. No equations are shown that define the approximation in terms of the surrogate (or vice versa) by construction, nor is the central claim load-bearing on self-citations or fitted parameters renamed as predictions. The extension to full neural wrapping is demonstrated empirically across codecs and tasks, remaining self-contained against external benchmarks. This matches the default expectation of non-circularity for papers whose core contribution is reinterpretation rather than a closed derivation loop.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption Video codecs admit a first-order local approximation via the compression error as a projection.
read the original abstract
Neural wrappers are learned pre-and postprocessing networks designed to enhance the performance of conventional video codecs. Although these approaches can significantly improve compression efficiency, training them remains challenging due to the non-differentiability of video codecs, which arises from the multiple discrete decisions involved in the encoding process. Surrogate gradients have recently emerged as an effective solution for enabling end-to-end learning with conventional codecs. They offer two main advantages: they avoid training an additional network to mimic the codec, and they can improve compression performance. In particular, the recently proposed SCALED method, which leverages the true compression error, has shown strong results for training neural pre-processors such as downscalers. However, this SCALED gradient was originally introduced as a reparameterization trick, which limits its interpretability. In this paper, we show that this surrogate gradient can be interpreted as a first-order local approximation of the video codec, providing insight into its effectiveness. We further demonstrate that it is effective not only for learning downscaling operations, but also for the more challenging task of full neural wrapping with pre-and post-processing networks. Finally, we show that the approach generalizes well across different video codecs, quality factors, and tasks, including multiple downscaling ratios, yielding BD-Rate (PSNR) reductions of up to -23.59% on x264 and -20.07% on VVenC relative to standard resampling baselines.
Figures
Reference graph
Works this paper leans on
-
[1]
ITU-T Recommendation H.274 (ISO/IEC 23002-7): Versatile Supple- mental Enhancement Information for Coded Video Bitstreams , Interna- tional Telecommunication Union Std., 2023
2023
-
[2]
Neural video compression with feature modulation,
J. Li, B. Li, and Y . Lu, “Neural video compression with feature modulation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , 2024
2024
-
[3]
Dvc: An end-to-end deep video compression framework,
G. Lu, W. Ouyang, D. Xu, X. Zhang, C. Cai, and Z. Gao, “Dvc: An end-to-end deep video compression framework,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2019
2019
-
[4]
Enhanced standard compatible image compression framework based on auxiliary codec networks,
H. Son, T. Kim, H. Lee, and S. Lee, “Enhanced standard compatible image compression framework based on auxiliary codec networks,” IEEE Transactions on Image Processing , vol. 31, 2021
2021
-
[5]
Video compression with arbitrary rescaling network,
M. Guo, S. Zhao, H. Jiang, J. Li, and L. Zhang, “Video compression with arbitrary rescaling network,” arXiv preprint arXiv:2306.04202 , 2023
-
[6]
Self- conditioned probabilistic learning of video rescaling,
Y . Tian, G. Lu, X. Min, Z. Che, G. Zhai, G. Guo, and Z. Gao, “Self- conditioned probabilistic learning of video rescaling,” in Proceedings of the IEEE/CVF international conference on computer vision , 2021
2021
-
[7]
Optimizing an image coding framework with deep learning-based pre-and post-processing,
P. Eus ´ebio, J. Ascenso, and F. Pereira, “Optimizing an image coding framework with deep learning-based pre-and post-processing,” in 28th European Signal Processing Conference (EUSIPCO) . IEEE, 2021
2021
-
[8]
An enhanced video compression framework based on rescaling networks,
Z. Chen and L. Chen, “An enhanced video compression framework based on rescaling networks,” in 2023 IEEE International Symposium on Broadband Multimedia Systems and Broadcasting (BMSB) . IEEE, 2023
2023
-
[9]
Learning a virtual codec based on deep convolutional neural network to compress image,
L. Zhao, H. Bai, A. Wang, and Y . Zhao, “Learning a virtual codec based on deep convolutional neural network to compress image,” Journal of Visual Communication and Image Representation , vol. 63, 2019
2019
-
[10]
Codec-simulation network for joint optimiza- tion of video coding with pre-and post-processing,
K. Qiu, L. Yu, and D. Li, “Codec-simulation network for joint optimiza- tion of video coding with pre-and post-processing,” IEEE Open Journal of Circuits and Systems , vol. 2, 2021
2021
-
[11]
Scale-arbitrary invertible image downscaling,
J. Xing, W. Hu, M. Xia, and T.-T. Wong, “Scale-arbitrary invertible image downscaling,” IEEE Transactions on Image Processing , vol. 32, 2023
2023
-
[12]
Self-asymmetric invert- ible network for compression-aware image rescaling,
J. Yang, M. Guo, S. Zhao, J. Li, and L. Zhang, “Self-asymmetric invert- ible network for compression-aware image rescaling,” in Proceedings of the AAAI Conference on Artificial Intelligence , vol. 37, no. 3, 2023
2023
-
[13]
Learned image downscaling for upscaling using content adaptive resampler,
W. Sun and Z. Chen, “Learned image downscaling for upscaling using content adaptive resampler,” IEEE Transactions on Image Processing , vol. 29, 2020
2020
-
[14]
Learning a convolutional neural network for image compact-resolution,
Y . Li, D. Liu, H. Li, L. Li, Z. Li, and F. Wu, “Learning a convolutional neural network for image compact-resolution,” IEEE Transactions on Image Processing, vol. 28, no. 3, 2019
2019
-
[15]
Sandwiched compression: Repurposing standard codecs with neural network wrappers,
O. G. Guleryuz, P. A. Chou, B. Isik, H. Hoppe, D. Tang, R. Du, J. Taylor, P. Davidson, and S. Fanello, “Sandwiched compression: Repurposing standard codecs with neural network wrappers,” arXiv preprint arXiv:2402.05887, 2024
-
[16]
SCALED: Surrogate-gradient for codec-aware learning of downsam- pling in ABR streaming,
E. Pesnel, J. Le Tanou, M. Ropert, T. Maugey, and A. Roumy, “SCALED: Surrogate-gradient for codec-aware learning of downsam- pling in ABR streaming,” in PCS 2025-Picture Coding Symposium , 2025
2025
-
[17]
Efficient evaluation of quantization-effects in neural codecs,
W. Mack, A. Mustafa, R. Laganowski, and S. Hijazy, “Efficient evaluation of quantization-effects in neural codecs,” arXiv preprint arXiv:2502.04770, 2025
-
[18]
T. M. Cover and J. A. Thomas, Elements of information theory (wiley se- ries in telecommunications and signal processing) . Wiley-interscience, 2006
2006
-
[19]
The shannon lower bound is asymptotically tight,
T. Koch, “The shannon lower bound is asymptotically tight,” IEEE Transactions on Information Theory , vol. 62, no. 11, 2016
2016
-
[20]
On the asymptotic tightness of the shannon lower bound,
T. Linder and R. Zamir, “On the asymptotic tightness of the shannon lower bound,” IEEE Transactions on Information Theory, vol. 40, no. 6, 1994
1994
-
[21]
U-net: Convolutional networks for biomedical image segmentation,
O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in Medical image computing and computer-assisted intervention–MICCAI 2015: 18th international con- ference, Munich, Germany, October 5-9, 2015, proceedings, part III 18 . Springer, 2015
2015
-
[22]
x264: a free software library for encoding video streams into the h.264/mpeg-4 avc format,
J.-B. Kempf and VideoLAN, “x264: a free software library for encoding video streams into the h.264/mpeg-4 avc format,” https://www.videolan. org/developers/x264.html, 2024
2024
-
[23]
VVenC: An open and optimized VVC encoder implementation,
A. Wieckowski, J. Brandenburg, T. Hinz, C. Bartnik, V . George, G. Hege, C. Helmrich, A. Henkel, C. Lehmann, C. Stoffers, I. Zupancic, B. Bross, and D. Marpe, “VVenC: An open and optimized VVC encoder implementation,” inProc. IEEE International Conference on Multimedia Expo Workshops (ICMEW), 2021
2021
-
[24]
Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation
Y . Bengio, N. L ´eonard, and A. Courville, “Estimating or propagat- ing gradients through stochastic neurons for conditional computation,” CoRR, vol. abs/1308.3432, 2013
work page internal anchor Pith review Pith/arXiv arXiv 2013
-
[25]
What matters in unsupervised optical flow,
R. Jonschkowski, A. Stone, J. T. Barron, A. Gordon, K. Konolige, and A. Angelova, “What matters in unsupervised optical flow,” in European conference on computer vision . Springer, 2020
2020
-
[26]
Adam: A Method for Stochastic Optimization
D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980 , 2014
work page internal anchor Pith review Pith/arXiv arXiv 2014
-
[27]
Uvg dataset: 50/120fps 4k sequences for video codec analysis and development,
A. Mercat, M. Viitanen, and J. Vanne, “Uvg dataset: 50/120fps 4k sequences for video codec analysis and development,” in Proceedings of the 2020 ACM Multimedia Systems Conference (MMSys ’20) , 2020
2020
-
[28]
Perceptual video compression with neural wrapping,
M. U. K. Khan, A. Chadha, M. A. Anam, and Y . Andreopoulos, “Perceptual video compression with neural wrapping,” in Proceedings of the Computer Vision and Pattern Recognition Conference , 2025
2025
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.