Explain
Detailed Explanation
A Quadratic Program (QP) is an optimization problem with a quadratic objective function and linear constraints.
In our case:
- Variable: The variable size doubles from (for ) to (for ).
- Hessian : The matrix is positive semi-definite (if is), which ensures the problem is convex and has a global minimum. The block structure reflects the symmetry of how and affect the output (differing only by sign).
- Linear term : Regulates the trade-off. pushes all weights towards 0. The data term pulls them towards fitting the data.
- Constraints: We have a simple lower bound constraint .
This transformation allows the use of robust, off-the-shelf QP solvers instead of needing to write a custom gradient descent algorithm for the non-differentiable L1 cost.