Choosing an Optimisation Technique
6 entriesModel optimisation makes a trained network cheaper to store and faster or less costly to run, ideally without losing much accuracy. The main families are pruning (removing weights, neurons or whole structures), quantisation (storing weights and activations in fewer bits), knowledge distillation (training a small student to imitate a larger teacher), low-rank factorisation and parameter-efficient fine-tuning (such as LoRA), efficient architectures and neural architecture search, sparse and mixture-of-experts designs, and inference-time techniques such as efficient attention, KV-cache management and speculative decoding. They are often combined, and the right mix depends on whether the bottleneck is memory, compute or latency and on the target hardware. Always re-measure accuracy and real speed on the target device, because a smaller model is not always a faster one. This page collects surveys, papers, courses and libraries for each family.
Surveys, Courses & Overviews
8 entriesWhere to start before choosing techniques.
Pruning & Sparsity
10 entriesRemoving weights, neurons or structures.
Quantisation
10 entriesRepresenting weights and activations with fewer bits.
Knowledge Distillation
8 entriesTraining small students from larger teachers.
Low-Rank Methods & Parameter-Efficient Fine-Tuning
5 entriesAdapting models by training few parameters.
Efficient Architectures, NAS & Sparse Models
8 entriesDesigning smaller or sparser networks from the start.
Efficient Attention & Inference-Time Techniques
8 entriesSpeeding up generation without changing the model's weights.
Libraries, Compilers & Toolkits
11 entriesSoftware that applies these techniques.
Related Pages
9 entriesNeighbouring pages on this site.
Frequently Asked Questions
Why does deep learning need statistics?
Training objectives such as cross-entropy and squared error are maximum likelihood estimates under assumed noise models, and questions about overfitting, evaluation, uncertainty and data shift are statistical questions. Without them it is hard to tell a real improvement from noise.
What statistics topics should I learn first for deep learning?
Start with random variables and distributions, expectation and variance, maximum likelihood and Bayes' theorem, then the bias-variance tradeoff, cross-validation and the bootstrap. After that, calibration, hypothesis testing for model comparison and distribution shift matter most in practice.
How do I know whether one model is really better than another?
Evaluate on held-out data, report uncertainty (for example confidence intervals from the bootstrap or variation across random seeds), and use an appropriate test when comparing models. The evaluation section lists papers on comparing classifiers and on error bars for language-model evaluations.
What is calibration and why does it matter?
A model is calibrated when its stated probabilities match observed frequencies. Guo et al. found that modern neural networks are often overconfident, and the uncertainty section lists methods such as temperature scaling, deep ensembles and conformal prediction.
Does the bias-variance tradeoff still apply to large neural networks?
The classical U-shaped curve describes many models, but work on double descent shows that test error can fall again as models grow past the point of fitting the training data. The generalisation section lists the main papers.
How is this page different from Probability Theory for AI?
That page covers probability, Bayesian inference and generative models. This page focuses on statistical practice for deep learning: estimation and regularisation, generalisation, evaluation and significance, uncertainty, distribution shift and experiment design.