Pith. sign in

REVIEW 2 cited by

Automatic Functional Differentiation in JAX

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 2311.18727 v2 pith:RJLFBAIJ submitted 2023-11-30 cs.PL cs.CLcs.LG

classification cs.PLcs.CLcs.LG
keywords functionsfunctionaldifferentiationprimitiveautomaticfunctionalshigher-orderimplement
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We extend JAX with the capability to automatically differentiate higher-order functions (functionals and operators). By representing functions as a generalization of arrays, we seamlessly use JAX's existing primitive system to implement higher-order functions. We present a set of primitive operators that serve as foundational building blocks for constructing several key types of functionals. For every introduced primitive operator, we derive and implement both linearization and transposition rules, aligning with JAX's internal protocols for forward and reverse mode automatic differentiation. This enhancement allows for functional differentiation in the same syntax traditionally use for functions. The resulting functional gradients are themselves functions ready to be invoked in python. We showcase this tool's efficacy and simplicity through applications where functional derivatives are indispensable. The source code of this work is released at https://github.com/sail-sg/autofd .

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Shot-based quantum encoding: a data-loading paradigm for quantum neural networks

    quant-ph 2026-04 unverdicted novelty 6.0 of 10

    Shot-based quantum encoding embeds data as a classical probability mixture over basis states, making the quantum layer a linear map on probabilities—structurally a classical MLP.

  2. Canonical Bayesian Linear System Identification

    stat.ML 2025-07 conditional novelty 6.0 of 10

    Bayesian inference for LTI systems in canonical state-space forms resolves parameter non-identifiability, yields well-behaved posteriors, and restores Bernstein-von Mises asymptotics.

Pith tools