Zum Hauptinhalt springen

Showing 1–12 of 12 results for author: Dangel, F

Searching in archive cs. Search in all archives.
.
  1. arXiv:2406.03276  [pdf, other

    cs.LG cs.AI

    Revisiting Scalable Hessian Diagonal Approximations for Applications in Reinforcement Learning

    Authors: Mohamed Elsayed, Homayoon Farrahi, Felix Dangel, A. Rupam Mahmood

    Abstract: Second-order information is valuable for many applications but challenging to compute. Several works focus on computing or approximating Hessian diagonals, but even this simplification introduces significant additional costs compared to computing a gradient. In the absence of efficient exact computation schemes for Hessian diagonals, we revisit an early approximation scheme proposed by Becker and… ▽ More

    Submitted 3 July, 2024; v1 submitted 5 June, 2024; originally announced June 2024.

    Comments: Published in the Proceedings of the 41st International Conference on Machine Learning (ICML 2024). Code is available at https://github.com/mohmdelsayed/HesScale. arXiv admin note: substantial text overlap with arXiv:2210.11639

  2. arXiv:2405.15603  [pdf, other

    cs.LG physics.comp-ph

    Kronecker-Factored Approximate Curvature for Physics-Informed Neural Networks

    Authors: Felix Dangel, Johannes Müller, Marius Zeinhofer

    Abstract: Physics-informed neural networks (PINNs) are infamous for being hard to train. Recently, second-order methods based on natural gradient and Gauss-Newton methods have shown promising performance, improving the accuracy achieved by first-order methods by several orders of magnitude. While promising, the proposed methods only scale to networks with a few thousand parameters due to the high computatio… ▽ More

    Submitted 27 May, 2024; v1 submitted 24 May, 2024; originally announced May 2024.

  3. arXiv:2404.12406  [pdf, other

    cs.LG

    Lowering PyTorch's Memory Consumption for Selective Differentiation

    Authors: Samarth Bhatia, Felix Dangel

    Abstract: Memory is a limiting resource for many deep learning tasks. Beside the neural network weights, one main memory consumer is the computation graph built up by automatic differentiation (AD) for backpropagation. We observe that PyTorch's current AD implementation neglects information about parameter differentiability when storing the computation graph. This information is useful though to reduce memo… ▽ More

    Submitted 21 August, 2024; v1 submitted 15 April, 2024; originally announced April 2024.

    Comments: The code is available at https://github.com/plutonium-239/memsave_torch . This paper was accepted to WANT@ICML'24

  4. arXiv:2402.03496  [pdf, other

    cs.LG math.OC

    Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective

    Authors: Wu Lin, Felix Dangel, Runa Eschenhagen, Juhan Bae, Richard E. Turner, Alireza Makhzani

    Abstract: Adaptive gradient optimizers like Adam(W) are the default training algorithms for many deep learning architectures, such as transformers. Their diagonal preconditioner is based on the gradient outer product which is incorporated into the parameter update via a square root. While these methods are often motivated as approximate second-order methods, the square root represents a fundamental differen… ▽ More

    Submitted 30 August, 2024; v1 submitted 5 February, 2024; originally announced February 2024.

    Comments: A long version of the ICML 2024 paper. Added root-free update schemes for n-dim tensor cases

  5. arXiv:2312.05705  [pdf, other

    cs.LG stat.ML

    Structured Inverse-Free Natural Gradient: Memory-Efficient & Numerically-Stable KFAC

    Authors: Wu Lin, Felix Dangel, Runa Eschenhagen, Kirill Neklyudov, Agustinus Kristiadi, Richard E. Turner, Alireza Makhzani

    Abstract: Second-order methods such as KFAC can be useful for neural net training. However, they are often memory-inefficient since their preconditioning Kronecker factors are dense, and numerically unstable in low precision as they require matrix inversion or decomposition. These limitations render such methods unpopular for modern mixed-precision training. We address them by (i) formulating an inverse-fre… ▽ More

    Submitted 23 July, 2024; v1 submitted 9 December, 2023; originally announced December 2023.

    Comments: A long version of the ICML 2024 paper, updated the text about a related work

  6. arXiv:2310.00137  [pdf, other

    cs.LG stat.ML

    On the Disconnect Between Theory and Practice of Neural Networks: Limits of the NTK Perspective

    Authors: Jonathan Wenger, Felix Dangel, Agustinus Kristiadi

    Abstract: The neural tangent kernel (NTK) has garnered significant attention as a theoretical framework for describing the behavior of large-scale neural networks. Kernel methods are theoretically well-understood and as a result enjoy algorithmic benefits, which can be demonstrated to hold in wide synthetic neural network architectures. These advantages include faster optimization, reliable uncertainty quan… ▽ More

    Submitted 28 May, 2024; v1 submitted 29 September, 2023; originally announced October 2023.

  7. arXiv:2307.02275  [pdf, other

    cs.LG cs.CV stat.ML

    Convolutions Through the Lens of Tensor Networks

    Authors: Felix Dangel

    Abstract: Despite their simple intuition, convolutions are more tedious to analyze than dense layers, which complicates the generalization of theoretical and algorithmic ideas. We provide a new perspective onto convolutions through tensor networks (TNs) which allow reasoning about the underlying tensor multiplications by drawing diagrams, and manipulating them to perform function transformations, sub-tensor… ▽ More

    Submitted 5 July, 2023; originally announced July 2023.

    Comments: 10 pages main text + appendix, pre-print version

  8. arXiv:2302.07384  [pdf, other

    cs.LG stat.ML

    The Geometry of Neural Nets' Parameter Spaces Under Reparametrization

    Authors: Agustinus Kristiadi, Felix Dangel, Philipp Hennig

    Abstract: Model reparametrization, which follows the change-of-variable rule of calculus, is a popular way to improve the training of neural nets. But it can also be problematic since it can induce inconsistencies in, e.g., Hessian-based flatness measures, optimization trajectories, and modes of probability densities. This complicates downstream analyses: e.g. one cannot definitively relate flatness with ge… ▽ More

    Submitted 23 October, 2023; v1 submitted 14 February, 2023; originally announced February 2023.

    Comments: NeurIPS 2023

  9. arXiv:2106.02624  [pdf, other

    cs.LG stat.ML

    ViViT: Curvature access through the generalized Gauss-Newton's low-rank structure

    Authors: Felix Dangel, Lukas Tatzel, Philipp Hennig

    Abstract: Curvature in form of the Hessian or its generalized Gauss-Newton (GGN) approximation is valuable for algorithms that rely on a local model for the loss to train, compress, or explain deep networks. Existing methods based on implicit multiplication via automatic differentiation or Kronecker-factored block diagonal approximations do not consider noise in the mini-batch. We present ViViT, a curvature… ▽ More

    Submitted 10 February, 2022; v1 submitted 4 June, 2021; originally announced June 2021.

    Comments: Main text: 10 pages, 6 figures; Supplements: 26 pages, 27 figures, 5 tables

  10. arXiv:2102.06604  [pdf, other

    cs.LG stat.ML

    Cockpit: A Practical Debugging Tool for the Training of Deep Neural Networks

    Authors: Frank Schneider, Felix Dangel, Philipp Hennig

    Abstract: When engineers train deep learning models, they are very much 'flying blind'. Commonly used methods for real-time training diagnostics, such as monitoring the train/test loss, are limited. Assessing a network's training process solely through these performance indicators is akin to debugging software without access to internal states through a debugger. To address this, we present Cockpit, a colle… ▽ More

    Submitted 26 October, 2021; v1 submitted 12 February, 2021; originally announced February 2021.

    Comments: (NeurIPS 2021) Main text: 13 pages, 6 figures, 1 table; Supplements: 23 pages, 13 figures, 1 table, 1 listing

  11. arXiv:1912.10985  [pdf, other

    cs.LG stat.ML

    BackPACK: Packing more into backprop

    Authors: Felix Dangel, Frederik Kunstner, Philipp Hennig

    Abstract: Automatic differentiation frameworks are optimized for exactly one thing: computing the average mini-batch gradient. Yet, other quantities such as the variance of the mini-batch gradients or many approximations to the Hessian can, in theory, be computed efficiently, and at the same time as the gradient. While these quantities are of great interest to researchers and practitioners, current deep-lea… ▽ More

    Submitted 15 February, 2020; v1 submitted 23 December, 2019; originally announced December 2019.

    Comments: Main text: 10 pages, 7 figures, 1 table; Supplements: 10 pages, 4 figures, 3 tables

  12. arXiv:1902.01813  [pdf, other

    cs.LG stat.ML

    Modular Block-diagonal Curvature Approximations for Feedforward Architectures

    Authors: Felix Dangel, Stefan Harmeling, Philipp Hennig

    Abstract: We propose a modular extension of backpropagation for the computation of block-diagonal approximations to various curvature matrices of the training objective (in particular, the Hessian, generalized Gauss-Newton, and positive-curvature Hessian). The approach reduces the otherwise tedious manual derivation of these matrices into local modules, and is easy to integrate into existing machine learnin… ▽ More

    Submitted 28 February, 2020; v1 submitted 5 February, 2019; originally announced February 2019.

    Comments: 9 pages, 5 figures, 1 table, supplements included (13 pages, 6 figures, 2 tables)