Skip to content

ArthurDanjou/Learning-Theory-Two-layer-Neural-Networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Theory - Exo 3.4

Mathematical examination on generalization bounds for two-layer neural networks with ReLU activation.

Overview

This project derives and analyzes generalization bounds for two-layer neural networks:

  • Naive bound using empirical Rademacher complexity (explains why standard bounds fail for overparameterized models)
  • Symmetrization inequality tailored to ReLU networks
  • Scale-invariant complexity measure exploiting ReLU's positive homogeneity
  • Tighter, width-independent bound for faithful capacity assessment

Course Details

  • Course: Learning Theory: Exam - Two-Layer Neural Networks
  • Institution: Université Paris-Dauphine -- PSL, Department of MIDO
  • Supervisor: Katia Meziani
  • Author: Arthur Danjou
  • Program: Master 2 ISF (Initial Track)
  • Academic Year: 2025/2026

Exercise.tex

The main file exercise.tex is a LaTeX-based exam solution that covers three main parts:

Part A: Naive Width-Dependent Bound

  • Derives generalization bound using empirical Rademacher complexity
  • Shows $\mathcal{R}_{S_n}(\mathcal{H}) \le 2 B_w B_u C \sqrt{m/n}$
  • Explains why standard bounds fail for overparameterized networks ($m \gg n$)

Part B: Symmetrization Inequality for ReLU Networks

  • Establishes inequality: E[sup|Z|] <= 2 * E[sup phi(Z)]
  • Exploits ReLU property: $|z| = \phi(z) + \phi(-z)$
  • Uses distributional equality of $\sigma$ and $-\sigma$

Part C: Scale-Invariant Complexity Measure

  • Leverages positive homogeneity of ReLU activation
  • Introduces scale-invariant parameterization
  • Yields width-independent generalization bound

Files

File Description
exercise.tex LaTeX source (main file)
exercise.pdf Compiled PDF version
logo dauphine.jpg University logo

Building

Compile the LaTeX source:

pdflatex exercise.tex

Or use your preferred LaTeX editor.

Contributors

Languages