The Mathematics of Large Language Models

The Mathematics of Large Language Models

Jason J. Karpeles

66,74 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2026
ISBN:
9781809200037
66,74 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Kálamo Books
  • Librería Elías (Asturias)
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

Learn the mathematics behind large language models and deep learning, from optimization and attention to diffusion, uncertainty, scaling laws, and hallucination, with equations explained symbol by symbol from first principles.Key Features:- Connect core mathematics to transformers, diffusion, and modern generative models- Understand optimization, generalization, uncertainty, robustness, and causality- Trace AI theory from foundational notation to scaling laws, hallucination, and abstentionBook Description:Modern AI spans more than neural-network architectures: understanding why models learn, generalize, generate, scale, and fail requires the mathematics connecting them. This book builds that foundation systematically, starting with notation, approximation and expressivity, optimization and training dynamics, generalization, symmetry, and geometric inductive bias.Written by Jason Karpeles, a former world No. 5-ranked Kaggle competitor with 30 years of predictive-modeling experience, the book keeps important equations and derivations intact. For each key formula, it explains both what the equation does and how to read its notation symbol by symbol. You’ll then examine convolutional and multiscale models, recurrent and state-space models, attention and transformers, graph and geometric deep learning, and generative approaches spanning latent-variable, flow, diffusion, and score-based models.Later chapters cover neural ODEs, scientific machine learning, Bayesian deep learning, uncertainty, robustness, out-of-distribution behavior, causality, scaling laws, and in-context learning. The final chapter examines truth, error, abstention, and hallucination as mathematical problems. By connecting theory with clear interpretation, the book helps you follow AI research, compare model families, and reason precisely about model behavior.What You Will Learn:- Read linear algebra, calculus, and probability notation used in AI- Trace gradient descent and backpropagation through model training- Explain approximation, generalization, and implicit bias in networks- Derive attention and transformer equations from first principles- Compare CNNs, RNNs, state-space, graph, and geometric models- Follow the math of VAEs, flows, diffusion models, and neural ODEs- Quantify uncertainty, robustness, OOD behavior, and causality- Interpret scaling laws, in-context learning, and LLM hallucinationWho this book is for:This book is for machine learning engineers, data scientists, AI researchers, quantitative practitioners, technical students, and mathematically curious readers who want to understand the theory behind modern deep learning and large language models. It is especially relevant to readers who need to follow derivations, interpret research papers, or reason about model behavior beyond high-level intuition. Familiarity with basic linear algebra, calculus, and probability is helpful, although the opening chapters review core notation and concepts. No programming is required.Table of Contents- Foundations and Notation- Approximation and Expressivity- Optimization and Training Dynamics- Generalization and Implicit Bias- Symmetry and Geometric Inductive Bias- Convolutional and Multiscale Models- Recurrent and State-Space Model- Attention and Transformer- Graph and Geometric Deep Learning- Latent, Adversarial, and Flow Models- Diffusion, Score, and Transport-Based Generation- Continuous-Depth and Implicit Models- Scientific ML and Operator Learning- Bayesian Deep Learning and Uncertainty(N.B. Please use the Read Sample option to see further chapters)

Artículos relacionados

  • Poetry Is Our Ministry to Touch the Heart
    Anelda Lukesia Ballard / Jean Anelda Scott
    Poetry is Our Ministry to Touch the Heart, was birthed when Anelda L. Ballard became ill. God spoke to her in a dream and said 'pick up a pen and write' by being obedient this book was written through the Holy Spirit. Anelda and her mother Jean A. Scott believes that God’s wants to heal a hurting heart. This book will inspire you and encourage you to never give up hope. Jesu...
    Disponible

    11,12 €

  • I soldati lunghi
    Pierluigi Romeo di Colloredo Mels
    Il 24 maggio 1915 il Regno d’Italia entrò nella Grande Guerra, che si sarebbe dimostrata il momento più alto e tragico della sua storia, a poco più di cinquant’anni dalla sua unificazione.In quella lotta tremenda durata quattro anni, la Brigata Granatieri di Sardegna , con i suoi due valorosi Reggimenti, i più antichi del Regio Esercito scrisse, nel grande quadro della guerra d...
    Disponible

    32,59 €

  • Five Beneath Philly
    Susan Bandy / Tom Richmond
    Allen Williams plans to make something of his life and escape South Philly and the work at Cross Brothers’ Meat Packing Plant. He prepares himself with excellent grades and an upcoming full-ride scholarship to climb out of South Philly forever. Then fate changes his whole world. An only son in a family of six, Allen suddenly finds himself responsible for his mother, grandmother...
    Disponible

    18,28 €

  • Forms
    Sharon Welch
    I am an award-winning artist and my works hang in private residences, community hospitals, businesses, and restaurants across the US and also abroad.  I live in Pierre, South Dakota. Since 2008 I have owned Sharon Welch Gallery and Studio where I paint and teach classes.  My theory is have fun, remove the fear of failure, experiment and let the child inside of you play.Very oft...
  • Ricordi di una ausiliaria
    Andrea Lombardi / Raffaella Duelli
    Le memorie di Raffaella Duelli, Volontaria nel Battaglione Barbarigo della Decima Flottiglia Mas iniziano con la partenza del Barbarigo da Roma, narrando la lunga marcia del reparto verso il nord, sotto il mitragliamento degli aerei Alleati. Quindi, è descritta vividamente l'ultima battaglia del Barbarigo sul Fronte Sud, dal Senio a Comacchio: gli appunti di Raffaella, giov...
    Disponible

    28,08 €

  • Why Didn’t You Ask?
    Panya Dixon
    From an early occurrence in her childhood to a perilous thirteen-year relationship, Panya Dixon too often suffered from various forms of physical, emotional, and sexual abuse. Conflicted between love and the pain her loved ones brought on her, she consistently had to fight for her life and her will to move on. Why Didn’t You Ask? is an expression of Panya’s truth—her trials, pa...
    Disponible

    20,35 €