📝 AI Concepts

A collection of technical primers on artificial intelligence (AI) and machine learning (ML), spanning frontier model architectures, reasoning, reinforcement learning, post-training, optimization, and the mathematical foundations of learning algorithms.

The primers explore the theoretical foundations, training objectives, algorithmic design choices, and practical engineering trade-offs behind modern AI systems.
Frontier Architectures, Reasoning, and Post-Training
Recursive Transformers
Looped Transformers; recurrent depth; latent reasoning; adaptive computation; test-time compute; post-training
Reinforcement Fine-Tuning (RFT)
Reinforcement learning; reward-driven fine-tuning; reasoning models; OpenAI RFT
LLM Alignment and Preference Optimization
Reward modeling; PPO; DPO; GPO; KTO; ICDPO
Token Sampling and Decoding Strategies
Greedy decoding; top-k sampling; nucleus (top-p) sampling; temperature; beam search; exhaustive search
Training Objectives and Optimization
Loss Functions
Cross-entropy (log loss); hinge loss; PolyLoss; focal loss; GE2E; MAE; MSE; additive angular margin (AAM)
Gradient Accumulation and Checkpointing
Effective batch size; gradient accumulation; activation recomputation; memory-compute trade-offs
Statistical Estimation and Optimization
Expectation-maximization (EM); maximum likelihood estimation (MLE); gradient descent; algorithmic comparisons
Activation Functions
Sigmoid; hyperbolic tangent (tanh); ReLU; nonlinear transformations
Model Efficiency, Evaluation, and ML Systems
Model Compression and Privacy
On-device machine learning; knowledge distillation; federated learning; differential privacy
Large Language Model Operations (LLMOps)
LLM operational best practices; security; responsible deployment; ethics
Model Evaluation Metrics
Precision; F1 score; area under the curve (AUC)
Debugging and Diagnosing ML Models
Data quality; underfitting; overfitting; hyperparameter optimization (HPO)
AI-Generated Text Detection
DetectGPT; detection of machine-generated text
Deep Learning Architectures
Graph Neural Networks (GNNs)
Message passing; graph learning; architectural benefits; loss functions
Deep Learning Architectures and Algorithms
Transformers; convolutional neural networks (CNNs); recurrent neural networks (RNNs); LSTMs; GRUs
Classical Machine Learning and Foundations
Ensemble Learning
Bootstrapping; bagging; boosting; gradient boosting; random forests
Machine Learning Algorithms
Classification; regression; algorithm selection and comparison
Practical Machine Learning Techniques
Approaches to common machine learning problems; practical workflows