Saved in:
Bibliographic Details
Main Author: Scardapane, Simone
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.17625
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912558066171904
author Scardapane, Simone
author_facet Scardapane, Simone
contents Neural networks surround us, in the form of large language models, speech transcription systems, molecular discovery algorithms, robotics, and much more. Stripped of anything else, neural networks are compositions of differentiable primitives, and studying them means learning how to program and how to interact with these models, a particular example of what is called differentiable programming. This primer is an introduction to this fascinating field imagined for someone, like Alice, who has just ventured into this strange differentiable wonderland. I overview the basics of optimizing a function via automatic differentiation, and a selection of the most common designs for handling sequences, graphs, texts, and audios. The focus is on a intuitive, self-contained introduction to the most important design techniques, including convolutional, attentional, and recurrent blocks, hoping to bridge the gap between theory and code (PyTorch and JAX) and leaving the reader capable of understanding some of the most advanced models out there, such as large language models (LLMs) and multimodal architectures.
format Preprint
id arxiv_https___arxiv_org_abs_2404_17625
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Alice's Adventures in a Differentiable Wonderland -- Volume I, A Tour of the Land
Scardapane, Simone
Machine Learning
Artificial Intelligence
Neural networks surround us, in the form of large language models, speech transcription systems, molecular discovery algorithms, robotics, and much more. Stripped of anything else, neural networks are compositions of differentiable primitives, and studying them means learning how to program and how to interact with these models, a particular example of what is called differentiable programming. This primer is an introduction to this fascinating field imagined for someone, like Alice, who has just ventured into this strange differentiable wonderland. I overview the basics of optimizing a function via automatic differentiation, and a selection of the most common designs for handling sequences, graphs, texts, and audios. The focus is on a intuitive, self-contained introduction to the most important design techniques, including convolutional, attentional, and recurrent blocks, hoping to bridge the gap between theory and code (PyTorch and JAX) and leaving the reader capable of understanding some of the most advanced models out there, such as large language models (LLMs) and multimodal architectures.
title Alice's Adventures in a Differentiable Wonderland -- Volume I, A Tour of the Land
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2404.17625