Pith. sign in

REVIEW 15 cited by

Efficient and Modular Implicit Differentiation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2105.15183 v5 pith:ZRKQM7MN submitted 2021-05-31 cs.LG cs.NAmath.NAstat.ML

classification cs.LGcs.NAmath.NAstat.ML
keywords differentiationimplicitoptimizationapproachautodiffefficientmodularproblem
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Automatic differentiation (autodiff) has revolutionized machine learning. It allows to express complex computations by composing elementary ones in creative ways and removes the burden of computing their derivatives by hand. More recently, differentiation of optimization problem solutions has attracted widespread attention with applications such as optimization layers, and in bi-level problems such as hyper-parameter optimization and meta-learning. However, so far, implicit differentiation remained difficult to use for practitioners, as it often required case-by-case tedious mathematical derivations and implementations. In this paper, we propose automatic implicit differentiation, an efficient and modular approach for implicit differentiation of optimization problems. In our approach, the user defines directly in Python a function $F$ capturing the optimality conditions of the problem to be differentiated. Once this is done, we leverage autodiff of $F$ and the implicit function theorem to automatically differentiate the optimization problem. Our approach thus combines the benefits of implicit differentiation and autodiff. It is efficient as it can be added on top of any state-of-the-art solver and modular as the optimality condition specification is decoupled from the implicit differentiation mechanism. We show that seemingly simple principles allow to recover many existing implicit differentiation methods and create new ones easily. We demonstrate the ease of formulating and solving bi-level optimization problems using our framework. We also showcase an application to the sensitivity analysis of molecular dynamics.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 15 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 37 citations worldwide. Full citation record

  1. Delocalized Coupled-Cluster Theory for Polaron Structure and Dynamics

    cond-mat.mtrl-sci 2026-08 conditional novelty 8.0 of 10

    Delocalized coupled-cluster theory gives a scalable, systematically improvable variational description of polaron ground states, spectral functions, and optical conductivities from model Hamiltonians to ab initio materials.

  2. AGN Reverberation Mapping with LITMUS: Fundamental Limits on lag Recovery Rates

    astro-ph.CO 2026-08 conditional novelty 7.0 of 10

    A Bayesian re-analysis of 906 OzDES AGN finds that previous reverberation lags, especially for MgII and CIV, are often false positives, with only 3-28% of MgII sources showing simple lags.

  3. jaxdae: A JAX-native Differentiable Solver for Differential-Algebraic Equations in Coupled Multi-physics

    cs.MS 2026-07 conditional novelty 6.0 of 10

    jaxdae provides the first JAX-native differentiable DAE solver, using a frozen-grid BDF-2 replay adjoint for reverse-mode gradients and XLA-fused batched sweeps.

  4. BOSS-CLAM: Utilizing a Constrained Linear Absorption Model to Infer Stellar Parameters from BOSS Spectra

    astro-ph.SR 2026-07 conditional novelty 6.0 of 10

    A new generative pipeline, BOSS-CLAM, infers temperature, gravity, metallicity, and alpha-abundance for 1,708,214 SDSS-V BOSS spectra and releases a validated clean catalog of 915,514 stars.

  5. Implicit differentiation of tensor network algorithms

    quant-ph 2026-07 conditional novelty 6.0 of 10

    PEPS energy gradients can be computed by implicit differentiation of characteristic equations for the contraction environment, avoiding unstable subroutine backpropagation and reducing asymptotic cost.

  6. Restricted Dynamic Geometric Complexity: Path-Space Reduction and M\"obius--Jacobi Response

    math.OC 2026-07 conditional novelty 6.0 of 10

    Restricted dynamic geometric complexity measures the intrinsic affine-invariant path distance from an initial metric to a condition-number target when the metric family is structurally constrained, with exact LMI and ...

  7. General Purpose Inverse Design of Heterogeneous Finite-Sized Assemblies

    cond-mat.soft 2025-10 conditional novelty 6.0 of 10

    A differentiable wrapper around an analytical equilibrium-yield calculation enables gradient-based design of dimers, temperature-switchable shells, and size-controlled polymers, validated by molecular dynamics.

  8. linrax: A JAX Compatible, Simplex Method Linear Program Solver

    eess.SY 2025-09 conditional novelty 6.0 of 10

    linrax implements the simplex method in JAX, enabling JIT-compiled, differentiable LP solving with support for degenerate constraints.

  9. Adversarial Machine Learning Attacks on Financial Reporting via Maximum Violated Multi-Objective Attack

    cs.LG 2025-07 conditional novelty 6.0 of 10

    MVMO, a new weighted multi-objective attack, can inflate earnings and lower fraud scores in about 50 to 66 percent of firm-years, versus under 14 percent for standard attacks.

  10. DiffCoTune: Differentiable Co-Tuning for Cross-domain Robot Control

    cs.RO 2025-05 conditional novelty 6.0 of 10

    DiffCoTune co-tunes simulator and controller parameters via gradient-based alternating optimization, improving sim-to-real transfer with fewer than five deployment rollouts.

  11. Diff-FlowFSI: A GPU-Optimized Differentiable CFD Platform for High-Fidelity Turbulence and FSI Simulations

    physics.flu-dyn 2025-05 conditional novelty 6.0 of 10

    A fully differentiable, GPU-optimized CFD platform for turbulence and fluid-structure interaction is validated on benchmarks and demonstrated for inverse modeling and hybrid neural-physics learning.

  12. Resource-Efficient Quantum Optimization via Higher-Order Encoding

    quant-ph 2025-11 conditional novelty 5.0 of 10

    HUBO encodings reduce qubit counts from n*m to n*ceil(log2 m) and cut CNOT counts by 89.6-100% in QAOA benchmarks on gate assignment, max k-colorable subgraph, and integer programming instances.

  13. Unveiling the Atmosphere of HR 7672 B from the Near-Infrared High-Resolution Spectrum Using REACH/Subaru

    astro-ph.EP 2025-08 conditional novelty 5.0 of 10

    High-resolution REACH spectra of the brown dwarf HR 7672 B reveal water and iron hydride absorption, and a preference for an optically thick cloud layer near 10^1.16 bar.

  14. rodeo: Probabilistic Methods of Parameter Inference for Ordinary Differential Equations

    stat.CO 2025-06 conditional novelty 5.0 of 10

    rodeo is a JAX-based Python library that implements probabilistic ODE solvers and several Bayesian parameter inference methods with linear scaling in system size.

  15. The Gittins Index: A Design Principle for Decision-Making Under Uncertainty

    math.OC 2025-06 conditional novelty 2.0 of 10

    The Gittins index is presented as a general design principle that optimally solves many independent-chain decision problems and gives strong approximate solutions in Bayesian optimization and tail-latency scheduling.

Pith tools