Tag: foundations
Explore the core building blocks of modern artificial intelligence, from the mathematical rigor of Generative Adversarial Networks and WGAN variants to the intricate routing mechanisms of Mixture-of-Experts architectures like DeepSeek MLA. This collection dissects foundational decision-making structures, including CART, GBDT, and LightGBM, while also addressing critical system design challenges such as high-concurrency SSE streaming and semantic caching.
-

Industry System Case Studies: Pinterest Visual Search & Netflix Recommendation
> **Core Executive Summary**: Real-world system design mastery comes from studying architectures that actually run at scale. This guide dissects **Pinterest** (
-

Distributed Training Parallelism: TP, PP, DP & DeepSpeed ZeRO 1/2/3
> **Core Executive Summary**: Single GPU VRAM cannot host 100B+ LLM training parameters, gradients, and optimizer states (a 70B FP16 model requires 1.12TB train
-

LLM Hallucination & Factuality: Taxonomies, FActScore, RAGAS, SAFE & Context Extension (PI/NTK/YaRN)
> **Core Executive Summary**: LLMs often generate plausible-sounding but unfactual or logically contradictory text, known as **Hallucination**. Hallucinations r
-

Linear Algebra Core for AI: Vector Spaces, Four Subspaces, EVD/SVD, Projection & Least Squares, Jacobian/Hessian
> **Core Executive Summary**: Linear algebra is the substrate of machine learning and deep learning: every tensor is a matrix, every layer is a matrix multiplic
-

Production LLM RAG & Agent System Design: Multi-Tenancy, SSE & High Availability
> **Core Executive Summary**: Moving RAG knowledge bases and agentic systems from demo to enterprise production is a distributed-systems problem as much as an M
-

GPU Hardware Architecture: SM, Tensor Cores, HBM Bandwidth & Roofline Model
> **Core Executive Summary**: AI LLM performance relies directly on underlying GPU hardware physics. Modern GPUs like NVIDIA H100/A100 feature massively paralle
-

Open & Commercial SOTA LLM Evolution: From BERT/GPT-4 to LLaMA-3, Qwen-3, Gemma-4 & Kimi-K2
> **Core Executive Summary**: Since the Transformer paper, Large Language Models (LLMs) evolved from unidirectional/bidirectional encoders (BERT/GPT-1/2) to lar
-

Optimization & Matrix Calculus: Lagrange Multipliers, KKT Conditions, SVD & Convergence Geometry
> **Core Executive Summary**: Every machine learning model—from SVM geometric margin maximization to Transformer gradient descent updates—is fundamentally an **
-

Multimodal Generative System Design: Image/Video Generation & GPU Scaling
> **Core Executive Summary**: Multimodal generative workloads — text-to-image, text-to-video, and vision-language understanding — are the most compute-hungry an
-

High-Concurrency AI System Design: SSE Streaming, Semantic Cache & ML Runtimes
> **Core Executive Summary**: Traditional web servers handle millisecond HTTP requests. LLM serving involves multi-second streaming responses. **High-Concurrenc