Convex conjugate of a constrained quadratic 2026-10-06
Maximize over . The maximizer is , giving the displayed Huber loss. The indicator functional of a constraint set is zero on the interval and infinity outside; it is not the zero-one indicator used in measure theory.
Huber gradient regularizer 2026-10-06
A Huber loss applied to a discrete gradient combines quadratic penalization of small slopes with linear penalization of large slopes. This interpolates between squared-gradient smoothing and total variation denoising, allowing smooth regions while retaining an edge-preserving large-gradient regime. The threshold should be chosen consistently with the signal's units and discretization. It can reduce staircasing in total variation denoising without guaranteeing its elimination.
Infimal convolution Created 2026-10-05 Updated 2026-10-14
An infimal convolution is the cheapest way to split a prescribed total between two costs. Suppose two activities contribute and to a required total , costing and . Their combined cost is optimized over all splits , rather than charging both activities for the entire total.
For proper extended-real functions on a real vector space , defineThe definition does not require convexity. An infinite cost forbids that contribution, as with an indicator functional of a constraint set. If no split has two finite costs, set ; if the costs of admissible splits are unbounded below, . Thus proper inputs need not produce a proper extended-real function. The notation denotes the same operation. See Parikh and Boyd, Proximal Algorithms, §3.1 for the standard convex analysis definition and its connection to the Moreau envelope.
An infimum is a best lower bound, whereas a minimum is a value realized by some split. Writing in place of requires an attaining pair . For convex functions, mixing two nearly optimal splits and applying convexity to each cost proves that their infimal convolution is convex whenever it is proper; one must use nearly optimal splits because exact minimizers need not exist. Its convex conjugate is whenever the extended real number arithmetic is well defined; see conjugate of an infimal convolution for the precise identity. This turns the optimization over splits into addition in the conjugate variables.
Two quadratic costs: share the load according to its price. Let and let the convex quadratic functions beFor fixed , eliminate . The derivative of the total cost is , so equal marginal costs giveThe cheaper activity receives more of a positive total: when and , . Completing the square gives an exact certificate for every competing split:Consequently the infimum is a unique minimum, andThe effective quadratic coefficient is , with . It is smaller than either or : allowing both activities reduces the cost compared with assigning everything to either one. If , each receives half the total and . This is a simple quadratic optimization problem whose answer preserves the form of the original costs.
Optimizing the split of two quadratic costs gives a cheaper quadratic total cost
. An exact illustrative calculation, not measured data: , and give and cost , compared with cost for an equal split. The right panel compares the optimized cost with assigning the whole total to either activity. Details.Smoothing a corner by splitting its cost. Take the absolute value function and the convex quadratic function , with . This infimal convolution is the Moreau envelope of the absolute value function:Here is the sign function, with . The optimal is soft thresholding. In the central region, the quadratic function carries the whole total; outside it, stays at and the absolute value function carries the excess. At the result is the Huber loss in the normalization near zero and outside. Its derivative is for and outside, so the corner becomes a continuous change of slope. Parikh and Boyd's [ref]
https://web.stanford.edu/~boyd/papers/pdf/prox_algs.pdf#page=18. §3.1 discussion of Moreau smoothing
uses twice this normalization for the Huber loss; the explicit formula here fixes the convention. This is also the one-dimensional case of the existing Moreau envelope of the Euclidean norm. Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 65 1 c Solution Created 2026-10-03 Updated 2026-10-14
The conjugate of an infimal convolution is the sum of the conjugates:Here , and , the indicator functional of the unit infinity-norm ball. ThusThe infimal convolution is finite convex and continuous, so the Fenchel-Moreau theorem applies without a closure defect. By equality in the Fenchel–Young inequality and the subdifferential sum rule,This is precisely the variational characterization of projecting onto the cube. ConsequentlyFor the primal split, and . These directly minimize the two scalar terms. The Huber loss is continuously differentiable, including at , but its second derivative changes there. The one-dimensional sketch shows a quadratic center joined tangentially to linear tails:
Applied to a discrete gradient, the Huber gradient regularizer penalizes small slopes quadratically and large slopes linearly. Compared with pure squared-gradient smoothing it preserves large edges better; compared with pure total variation denoising it encourages small smooth variations and reduces the strong preference for piecewise-constant plateaus. It can therefore be useful for denoising signals or images containing both smooth regions and sharp transitions. It still penalizes edges and can bias their amplitude, and it does not guarantee complete elimination of staircasing in total variation denoising. The unit threshold must be scaled appropriately for data units and grid spacing.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 326 3 2 b Solution Created 2026-10-03 Updated 2026-10-06
The indicator functional of a constraint set restricts the conjugate supremum to . Complete the square:Its maximizer is when , and the nearer endpoint otherwise. The convex conjugate of a constrained quadratic is thereforeThis is the unit-threshold Huber loss; both branches and their first derivatives agree at the transition points. The original PDF constrains , including both signs; the damaged TeX loses that absolute value.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 2 a Solution Created 2026-09-28 Updated 2026-10-03
The normal location score is . Under a bound on gross-error sensitivity, the variance-minimizing influence curve clips this score. For , define the Huber scoreThe optimal B-robust estimator is the Huber location estimator defined byEquivalently, it has the explicit optimization formwhere the Huber loss isAt its normalized influence function is
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 223 2 a Solution Created 2026-09-24 Updated 2026-09-25
For residual , minimizeover . Soft thresholding gives , and the minimized value isThis is for the usual Huber loss. Multiplication by the positive constant does not change the minimizing , proving equivalence.


