500+ LLM Inference Optimization Techniques

  • Updated: June 16, 2026
  • by David Spuler, Ph.D.

LLM Inference Optimization

We do a lot of research on inference optimization techniques, so here's a very long list of all the techniques about which we have research papers. There's more than 500 (700+ now!), but see the blog post links below if you only want to know about the latest LLM inference techniques.

The Book from This Webpage! Here's the book with summarized research about these LLM Inference Optimization techniques and breakthroughs:

Update in June, 2026: More additions to this research literature survey:

Update in May, 2026: Some of the newer research areas added to the list:

Update in April, 2026: Some of the newer techniques added to this list:

Update in Feb 2026: As we head into 2026, some of the more recent areas of attention include:

Research areas that remain as hot as always include:

Late 2025 research. Areas of new research relevance include:

And no doubt much more to come in 2026!

Update in March 2025: well, now we're into 2025 and this list has outgrown its title. There are over 600 items on the list below, all of which are related to LLM efficiency. The main change in 2025 is that the recent releases of "reasoning models" has spawned a new area of research in optimizing the efficiency of LLM reasoning algorithms such as Chain-of-Thought.

Free AI C++ books: for more about LLM optimization, read books online or download a PDF:

Popular articles: additional research articles on faster LLM inference:

More lists: lots of general efficiency optimization information:

LLM Inference Optimizations List

Here's the list! It's over 600 and growing!

    Reasoning Efficiency Optimization (REO): it's the latest hot research area in 2025!
  1. Reasoning inference optimization (RIO) (blog article)
  2. Chain-of-Thought (CoT) optimization
  3. CoT token reduction
  4. CoT step skipping
  5. CoT path reduction
  6. CoT early stopping
  7. CoT reasoning decoding
  8. Constrained CoT
  9. Coconut
  10. Concise CoT
  11. Hidden CoT (interim steps in latent space)
  12. CoT prompt sequence optimizations
  13. CoT sparsity
  14. CoT distillation
  15. Long context CoT
  16. — Small Reasoning Model (SRM)
  17. Reasoning tokens
  18. Adaptive inference time compute
  19. — One-step reasoning models (e.g. DeepSeek R1's long answers)
  20. — Augmented scaffold + Small Reasoning Model
  21. Reasoning caching

    Inference Modes and Token API optimizations:
  22. "Fast mode" inference (e.g. from OpenAI or Anthropic)
  23. Cached tokens
  24. Batched tokens
  25. Low batch size inference
  26. Priority batching
  27. API model routing features

    Model compression main subtypes:
  28. Model compression (overview)
  29. Pruning (overview)
  30. Quantization (overview)
  31. Knowledge Distillation (KD)
  32. Parameter sharing (weight sharing)
  33. Low-rank matrices
  34. Small Language Models (SLMs)
  35. Data compression algorithms

    Pruning main types:
  36. Dynamic pruning
  37. Hybrid pruning
  38. Unstructured pruning
  39. Semi-Structured Pruning
  40. Structured pruning

    Layerwise structured pruning subtypes (depth dimension):
  41. Depthwise structural pruning (overview)
  42. Static layer pruning
  43. Layer pruning
  44. Dynamic layer pruning
  45. Layer skipping
  46. Layer approximation
  47. Shallow decoder architecture
  48. Layer reordering
  49. Layer Importance

    Early exiting (dynamic layerwise pruning): Pruning all the layers from the point of exit:
  50. Early exit (overview)
  51. — Confidence-based exit policy
  52. — Patience-based exit policy
  53. — Entropy-based exit policy
  54. — Learned exit points or exit policies
  55. Early exit KV cache fixes
  56. Early exit knowledge distillation
  57. Early exit speculative decoding
  58. Early exit in training
  59. Layer freezing

    Width-wise structured pruning subtypes:
  60. Widthwise structural pruning (overview)
  61. Attention head pruning
  62. Slimmable networks (width pruning)
  63. FFN pruning
  64. Channel pruning
  65. Filter pruning

    Length-wise structured pruning subtypes:
  66. Lengthwise structural pruning (longitudinal/input/end-to-end):
  67. Token pruning (input pruning)
  68. Dynamic token pruning
  69. Prompt compression
  70. Context compression
  71. Token merging
  72. Token skipping
  73. Token dropping
  74. Zero padding removal
  75. Token reduction
  76. Token compression
  77. Input text compression

    Model dimension embedding pruning subtypes:
  78. Embedding-dimension pruning
  79. Embedding pruning
  80. Embedding matrix compression (embedding pruning)
  81. Embedding low-rank matrix factorization
  82. Unembedding matrix (output embeddings)

    Hybrid multi-dimensional pruning:
  83. Multi-dimensional pruning
  84. Dual pruning
  85. Triple pruning
  86. Quadruple pruning
  87. 3D CNN model pruning
  88. Pyramid inference

    Transformer component pruning:
  89. Normalization pruning
  90. Positional embeddings pruning
  91. Softmax pruning
  92. Skip connection pruning (residual connection removal)

    Unstructured pruning subtypes:
  93. Unstructured pruning (overview)
  94. Magnitude pruning
  95. Movement pruning
  96. — Gradual pruning

    Quantization theory and major subtypes:
  97. Post-Training Quantization (PTQ)
  98. Quantization-Aware Training (QAT)
  99. Activation Quantization
  100. Outlier-aware quantization (outlier management)
  101. Dequantization

    Quantization overall algorithms:
  102. Uniform quantization
  103. Non-Uniform quantization
  104. Symmetric quantization
  105. Asymmetric quantization
  106. GPTQ: Gradient PTQ
  107. AQLM: Activation-Quantization Low-Bit Method
  108. SpQR: Sparse Quantized Representations

    Integer quantization subtypes:
  109. Integer quantization (overview)
  110. Integer-only arithmetic quantization
  111. Fixed-point quantization (integer)
  112. Low-bit integer quantization (overview)
  113. Binary quantization
  114. Ternary quantization
  115. 2-bit quantization (INT2)
  116. 3-bit quantization (INT3)
  117. 4-bit quantization (INT4)
  118. 5-bit quantization (INT5)
  119. 6-bit quantization (INT6)
  120. 7-bit quantization (INT7)
  121. 8-bit quantization (INT8)
  122. 9-bit quantization (INT9)
  123. 10-bit quantization (INT10)
  124. 11-bit quantization (INT11)
  125. 12-bit quantization (INT12)
  126. 16-bit INT16 quantization
  127. 32-bit INT32 quantization
  128. — W4A4 quantization
  129. — W4A4KV4 quantization

    Floating-point quantization subtypes:
  130. Floating-point quantization
  131. FP4 quantization
  132. FP6 quantization
  133. FP8 quantization
  134. FP16 quantization
  135. FP32 quantization

    Quantization error mitigation and metrics:
  136. Quantization errors
  137. Outlier mitigation methods
  138. — Mean-Squared Error (MSE)
  139. — SNR degradation

    Outlier mitigation in quantization:
  140. AWQ: Activation‑Aware Weight Quantization

    Other uncommon quantization subtypes:
  141. Logarithmic power-of-two quantization (bitshift quantization)
  142. Double bitshift power-of-two quantization
  143. Division quantization
  144. Cluster-based quantization (Weight clustering)
  145. Hashing-based weight clustering
  146. Dyadic quantization
  147. Fake quantization
  148. Simulated quantization
  149. Stochastic quantization (probabilistic)

    Mixed-precision quantization subtypes:
  150. Mixed-precision quantization

    Granularity-level quantization subtypes:
  151. Granular quantization (overview)
  152. Layerwise Quantization
  153. Blockwise Quantization
  154. — K-quantization
  155. Vector quantization

    Knowledge distillation subtypes:
  156. Knowledge Distillation (overview)
  157. Ensemble Distillation
  158. Unnatural instructions (data sets)
  159. Dataset Distillation
  160. Black Box Distillation
  161. White Box Distillation

    Parameter/weight sharing subtypes:
  162. Parameter/Weight sharing (overview)
  163. Activation sharing
  164. Layer fusion
  165. Clustering (Weights)
  166. Attention head fusion
  167. FFN fusion (sharing parameters)
  168. KV cache layer fusion (depthwise)
  169. KV cache head fusion (widthwise)

    Activation function optimizations:
  170. Activation function optimizations (overview)
  171. Activation function approximation
  172. Integer-only activation functions
  173. Fused activation functions (kernel fusion)
  174. Fused RELU
  175. Fused GELU
  176. Fused SwiGLU
  177. Activation alternatives/replacements
  178. Activation function pruning/removal (bilinear layers)
  179. Activation function reordering

    Normalization optimization types:
  180. Normalization algorithm optimizations (overview)
  181. Approximate normalization
  182. Norm reordering (pre-norm/post-norm)
  183. Integer-only normalization
  184. Normalization alternatives/replacements
  185. Fused normalization (e.g. "fused LayerNorm" in kernel fusion)

    Softmax optimization types:
  186. Softmax optimizations (overview)
  187. Softmax pruning
  188. Approximate Softmax
  189. Softmax alternatives/replacements
  190. Integer-only Softmax
  191. Fused Softmax
  192. — Software emulation of exponentiation (in Softmax, FA-4)
  193. — Polynomial approximation of exponentiatials (in Softmax, FA-4)

    Feed-Forward Network (FFN) optimization types:
  194. FFN optimizations (overview)
  195. FFN pruning
  196. FFN approximation
  197. Fused add-bias
  198. Bias vector pruning
  199. FFN sparsity
  200. FFN alternatives/replacements
  201. Integer-only FFN
  202. FFN fusion (shared parameters)
  203. Inter-FFN fusion (merging two FFNs)
  204. Intra-FFN fusion (with piecewise linear approximations) (merging two linear projections in one FFN)
  205. — Bias vector addition optimizations
  206. — Bias vector pruning (no bias!)
  207. — FFN matrix merging (similar to "intra-FFN fusion")
  208. — Bulging FFN (per-layer FFN size increases)

    MatMul/GEMM optimization types:
  209. MatMul/GEMM kernel optimizations (overview)
  210. Faster matrix multiplication (e.g. Winograd, Strassen)
  211. Approximate matrix multiplication
  212. Transpose cache
  213. Fused multiply-add (FMA)
  214. Fused transpose
  215. Vector dot product optimization
  216. Sparse MatMul/GEMM
  217. — Tiled MatMul
  218. — Triangular MatMul optimizations (causal masking in attention)
  219. — Tiled skipping

    Positional Encoding optimizations:
  220. Positional encoding optimization (overview)
  221. RoPE (Rotary Positional Encoding)
  222. Pruning positional encoding (removal/NoPE)
  223. — Positional encoding approximation
  224. — Integer-only positional encoding
  225. Partial RoPE (p-RoPE)
  226. — RoPE rescaling
  227. — Attention with Linear Biases (ALiBi)
  228. — Relative Attention Biases (RAB)

    NAS subtypes:
  229. Neural Architecture Search (NAS)
  230. Dynamic NAS
  231. Embedding Size Optimization (embeddings NAS)

    Platform-specific optimization subtypes:
  232. On-device inference (native phone and PC AI)
  233. AI Phones
  234. AI PCs (desktops/laptops)
  235. Edge device inference (IoT/mobile/PC)
  236. Hybrid cloud-on-device inference

    Decoding algorithm subtypes:
  237. Decoding algorithms (overview)
  238. Non-autoregressive decoding
  239. Greedy decoding
  240. Top-k decoding
  241. Top-p decoding
  242. Min-P Sampling
  243. Flash decoding
  244. Beam search decoding
  245. Edit decoding
  246. Contrastive decoding
  247. — Approximate top-k algorithms
  248. — Bidirectional decoding
  249. Constrained decoding

    Parallel Decoding algorithms:
  250. Parallel decoding
  251. Blockwise parallel decoding
  252. n-gram parallel decoding
  253. Lookahead decoding
  254. Medusa decoding
  255. Consensus decoding
  256. — Mutually-guided decoding
  257. — Multi-token generation
  258. — Eagle decoding

    Speculative decoding subtypes:
  259. Speculative decoding (overview)
  260. Generalized speculative decoding
  261. Aggressive decoding
  262. Lookup decoding
  263. Retrieval lookup decoding
  264. Prompt lookup decoding
  265. — Multi-query prompt lookup decoding (across entire LLM history)
  266. Self speculative decoding
  267. Tree speculative decoding
  268. Superposed decoding
  269. Hierarchical speculative decoding
  270. Heuristic speculative decoding
  271. Multi-token speculative decoding
  272. Sequential speculative decoding
  273. Eagle speculative decoding
  274. — Redrafting

    Parameter Efficient Fine-Tuning (PEFT) subtypes:
  275. PEFT (overview)
  276. LoRA
  277. Multi-LoRA inference
  278. QLoRa (Quantized Low-Rank Adapters)
  279. LoRA inference optimizations (load/unload)
  280. Prompt Tuning (Extended Vocabulary PEFT)
  281. Prefix Tuning

    Mixture-of-Experts (MoE):
  282. Mixture of Experts (MoE)
  283. MoE-specific compute optimizations
  284. Hybrid MoE (dense FFN)
  285. Shared experts
  286. — MoE routing optimizations
  287. — MoE gating optimizations

    Tool Integration Optimizations: LLMs using tools has gone mainstream, and there is also newer research on speeding it up:
  288. Tool optimizations
  289. — Tool execution pipelining (overlap with prefill or decode)
  290. — Speculative tool execution
  291. — Tool token reduction
  292. — Concise tool output
  293. — Disaggregated tool execution
  294. — Multi-tool parallel execution

    Ensemble multi-LLM subtypes:
  295. Ensemble inference (overview of multi-model AI engines)
  296. Model selection algorithms
  297. Big-little architectures
  298. Cascades
  299. Collaborative inference
  300. Consensus decoding
  301. — Swarm ensemble architectures
  302. — Committee ensemble architectures
  303. — Ensemble averaging
  304. Easy-hard queries
  305. Submodels (Many-Models-in-One)
  306. Distributed Inference

    Orchestration, Deployment and Serving:
  307. Cloud inference servers
  308. Orchestration frameworks
  309. Scheduling optimizations
  310. Serving
  311. Load balancing
  312. Batching
  313. Static Batching
  314. Dynamic Batching
  315. Continuous batching
  316. Deployment
  317. Serverless
  318. Networking optimizations
  319. In-flight batching

    Attention optimization subtypes:
  320. Attention optimizations (overview)
  321. Multi-Head Attention (MHA)
  322. Group Query Attention (GQA)
  323. Multi-Query Attention (MQA)
  324. Sparse attention
  325. Local attention
  326. Memory-efficient attention algorithms
  327. Flash Attention
  328. Paged Attention
  329. Linear attention
  330. Cross attention
  331. Tree attention
  332. Sliding window attention
  333. Approximate attention heads
  334. Attention alternatives/replacements
  335. Fused MHA
  336. Low-rank matrix attention
  337. Medusa attention
  338. Block attention
  339. Cross attention
  340. Fused head attention
  341. Hybrid local-global attention
  342. FFT attention
  343. Additive attention
  344. Multiplicative attention
  345. Graph attention
  346. Attention sink
  347. Attention steering
  348. Bilinear attention
  349. Attention-free methods
  350. Star attention
  351. Ring attention
  352. — Flex attention
  353. — Razor attention
  354. — Contiguous QKV tensor
  355. — Relative Attention Bias (RAB)
  356. Lightning attention
  357. Multihead Latent Attention (MLA (DeepSeek)
  358. — FFT attention
  359. — Round attention
  360. — Delta attention
  361. — Gated attention
  362. — KIVI attention
  363. — K=V (KV compute sharing)
  364. — Bulging attention (per-layer attention module size increases)

    Sparse Attention variants:
  365. — Top-k Token Selection Sparse Attention (general category)
  366. — MiniMax Sparse Attention (MSA)
  367. — SubQuadratic Sparse Attention (SSA)
  368. — DeepSeek Sparse Attention (DSA)
  369. — Native Sparse Attention (NSA)
  370. — Dynamic Hierarchical Sparse Attention (DHSA)
  371. — Adaptive‑Scalable Entmax (ASEntmax)
  372. — Heavily Compressed Attention (HCA) (DeepSeek v4)
  373. — Compressed Sparse Attention (CSA) (DeepSeek v4)

    Attention compute optimizations:
  374. Chunked attention
  375. QKV computation optimizations
  376. Mixture-of-Heads (MOH) Attention (MoE+MHA)
  377. Mixture-of-Attention (MoA) (MoE attention)

    Long context optimizations (attention):
  378. Long context models
  379. Length generalization
  380. Quadratic attention complexity
  381. Long RAG
  382. Infinite context models
  383. — Context extension (e.g., extending RoPE/YaRN)

    Caching optimizations:
  384. Caching (overview)
  385. Inference Cache (text-to-text)
  386. Inference cache (global KV caching)
  387. Prompt caching
  388. Input Similarity-Based Caching (frame skipping in video)
  389. Semantic caching (text-to-text)
  390. Semantic KV caching
  391. Vector database caching
  392. Chatbot caching
  393. Vector Caching (Vector hashing)
  394. Caching vector dot products
  395. Caching general theory

    KV cache optimizations:
  396. KV Caching (overview)
  397. KV cache global (multi-query KV caching)
  398. KV cache reuse
  399. Global semantic KV caching (difficult!)
  400. Context cache (global KV caching)
  401. Prefix KV Caching
  402. KV cache recomputation with early exit
  403. Session KV cache (multi-turn KV caching)
  404. Substring/fused/concatenated KV cache (Lengthwise-fused KV caching)
  405. — Paged KV caching (related to paged attention)
  406. — KV cache offloading (to CPU)
  407. — KV sharding

    KV cache memory size reduction:
  408. KV cache compression
  409. KV cache quantization
  410. KV cache sparsity
  411. KV cache token pruning
  412. — Salient token-based KV cache token pruning
  413. KV cache eviction policies
  414. KV cache layer fusion
  415. KV cache layer pruning
  416. KV Cache low-rank matrix factorization
  417. — Cyclic KV cache (Rolling buffer KV cache or circular KV cache)
  418. — KV cache token merging
  419. — KV head fusion
  420. — KV head pruning
  421. — KV mixed-precision quantization
  422. — KV context compression
  423. — KV block pruning
  424. — SnapKV
  425. — TurboQuant (3-bit KV cache compression)
  426. — OSCAR (2-bit KV cache compression)

    Non-Multiplication AI Models:
  427. Zero-Multiplication Models (overview)
  428. Binary quantization
  429. Ternary quantization
  430. 2-bit quantization (INT2)
  431. Adder networks
  432. Bitshift-add networks
  433. Bitshift power-of-2 quantization (logarithmic quantization)
  434. Double bitshift quantization
  435. Add-as-integer networks
  436. Logarithmic Models
  437. Bitwise neural networks
  438. Diff-squared networks
  439. Log-sum-exp (LSE) networks
  440. Max-Plus networks
  441. Min-Max-Plus networks
  442. Morphological networks
  443. Trigonometric approximate inference
  444. Weightless Neural Networks (WNNs)
  445. XNOR networks
  446. Hadamard elementwise matrix multiplication models
  447. Other addition-related zero-multiplication networks
  448. Table lookups replace multiplication
  449. Other multiplication-free neural networks

    Advanced Number System optimizations:
  450. Advanced Number Systems (overview)
  451. Posit number system (PNS)
  452. Residue number system (RNS)
  453. Dyadic numbers
  454. Double-base number system (DBNS)
  455. Dynamic number systems
  456. Hybrid number systems
  457. Tropical algebra (max-plus)
  458. MiniMax algebra
  459. Multi-dimensional logarithmic number system (MDLNS)
  460. Multiple-Base Number System (MBNS)
  461. — Semi-Logarithmic Number System (SLNS)
  462. — Lattice algebra
  463. Algebraic integer number system

    Logarithmic Number System optimizations:
  464. Logarithmic number system (LNS) (overview)
  465. End-to-end LNS logarithmic model
  466. LNS addition and subtraction
  467. LNS in AI models
  468. LNS Hardware Acceleration
  469. LNS mathematical and algorithmic theory
  470. LNS algebra
  471. LNS extensions

    Prefill phase optimizations:
  472. Prefill optimizations (overview)
  473. Chunked prefill
  474. Disaggregated prefill scheduling (Phase splitting)
  475. Deep prefill, shallow decoder architecture
  476. Mini-prefill recomputation
  477. Prefill first-layer precomputation
  478. Prefill last-layer FFN skipping
  479. Prefill first-token optimizations
  480. Layerwise Pipelined Prefill-Decoding
  481. Shallow prefill

    Parallel Programming Optimization Techniques:
  482. Parallelization techniques (overview)
  483. Hardware acceleration
  484. Hardware-software co-design
  485. Vectorization
  486. Pipelining (pipeline parallelism)
  487. Overlapping (new)
  488. Overlapping communications and computation (new)
  489. Overlapping rematerialization (new)
  490. Overlapping memory access & computation (new)
  491. Offloading
  492. Partitioning
  493. Dataflow optimizations
  494. — Sharding
  495. — Overlapping
  496. Data parallelism
  497. Query parallelism
  498. Tensor parallelism
  499. Model parallelism
  500. — Prefetching
  501. — Speculative execution
  502. Sequence Parallelism
  503. Skeleton-of-Thought (Query Parallelism)

    Hardware Optimizations:
  504. Hardware Acceleration (overview)
  505. Software accelerations
  506. Hardware-software co-design
  507. GPU
  508. GPU software platforms
  509. Multi-GPU
  510. CPU Execution
  511. Single Instruction Multiple Data (SIMD)
  512. AVX (AVX/AVX-2/AVX-512)
  513. — ARM NEON
  514. Neural Processing Unit (NPU)
  515. — Overclocking CPU
  516. — Overclocking GPU
  517. Assembly language

    RAG Architecture Optimizations:
  518. RAG architectures (overview)
  519. RAG cache
  520. RAG optimizations
  521. — RAG retriever datastore indexing
  522. Advanced RAG
  523. — Speculative RAG
  524. Reranker in RAG
  525. — Chunk-specific global KV caching
  526. — Chunk-specific prefix KV caching
  527. RAG Knowledge Graph
  528. RAG Ontologies/Taxonomies
  529. RAG fusion
  530. Mini-RAG (single-document RAG)

    Sparsity Optimizations:
  531. Sparsification techniques (overview)
  532. Activation Sparsity
  533. Dynamic Sparsity
  534. Block sparsity
  535. Vector sparsity
  536. Tensor sparsity
  537. Sparse matrix kernels
  538. Outlier-aware sparsification
  539. — N:M sparsity
  540. — 2:4 sparsity (supported in NVIDIA "Sparse Tensor Cores")

    Memory Utilization Optimizations:
  541. Memory optimization techniques (overview)
  542. Parameter sharing
  543. Model compression
  544. Low-bit integer quantization
  545. Binary quantization
  546. Ternary quantization
  547. Layer fusion
  548. Recomputation: trading time for space
  549. Memory-bound versus CPU-bound
  550. Data locality optimization
  551. Compute-in-Memory (CIM) architectures (also called PIM)
  552. — Memory cache management algorithms
  553. Kernel operator fusion
  554. — Flash Inference (FlashInfer)
  555. — Checkpointing
  556. Offloading
  557. SSD storage

    Numerical representation subtypes:
  558. Floating-point representations (overview)
  559. Floating Point Bit Tricks
  560. Block floating-point arithmetic
  561. Fixed point number system (FXP) optimizations
  562. Floating point number system (FLP) optimizations
  563. Foating point bitwise arithmetic
  564. FTZ/DAZ floating point CPU settings

    Kernel optimizations:
  565. Kernel optimizations (overview)
  566. Kernel operator fusion (merging, aka "kernel fusion" or "fusion")
  567. — Fused epilogues (post-MatMul fusion: fused MatMul then activation/normalization)
  568. — Fused prologues (pre-MatMul fusion: fused activation/normalization then MatMul)
  569. Kernel fission (splitting one kernel apart)
  570. Kernel tiling
  571. — Operator reordering
  572. Graph operator fusion (Deep learning compilers)
  573. Kernel synthesis
  574. — Whole-layer fused kernels (fused attention with FFN/GLU)

    Infill / Fill-in-Middle (FIM) optimizations:
  575. Infill harness optimizations
  576. Infill prefix reordering
  577. Infill suffix KV correction

    Computation optimizations:
  578. Advanced AI Mathematics
  579. Approximate activation functions
  580. Caching / memoization
  581. Computation reuse
  582. Precomputation
  583. Source code precomputation
  584. Conditional computation
  585. Approximations
  586. Integer-only arithmetic quantization
  587. Weight precomputations
  588. Zero-skipping
  589. Low-Level Zero Skipping
  590. High-Level Zero Skipping
  591. Negative skipping
  592. Approximate caching
  593. End-to-End integer inference
  594. Padding usage
  595. Incremental inference (new)
  596. BF16x9 emulation of FP32 computations (on Blackwell GPU)
  597. FP64 arithmetic emulation (using 8-bit/16-bit/32-bit computations)
  598. Thread block clusters (Blackwell/Rubin)

    Arithmetic optimizations:
  599. Integer operations
  600. Addition optimizations
  601. Bitwise operation tricks
  602. Approximate addition
  603. Multiplication algorithms
  604. Approximate division
  605. Approximate multiplication
  606. Bitwise operator inference
  607. Bitserial operations
  608. Division optimizations
  609. Logarithmic approximate multiplication
  610. Integer Dot Product
  611. Vector dot product optimization

    Advanced matrix algebra optimizations:
  612. Matrix Algebra (overview)
  613. Approximate matrix multiplication
  614. Butterfly matrices
  615. Monarch matrices
  616. Sparse matrices (sparsification)

    Low-rank matrix optimizations:
  617. Low-rank matrix factorization (overview)
  618. — Tensor decomposition
  619. — Tucker decomposition
  620. Embedding low-rank matrix factorization
  621. KV Cache low-rank matrix factorization

    Transformer architectural optimizations:
  622. Transformer architectures (overview)
  623. Transformer low-level optimizations (overview)
  624. — Adaptive Inference (dynamic inference)
  625. Integer-only Transformers
  626. Approximate Transformers
  627. Decoder-Only Architectures
  628. Encoder-Only Architectures
  629. Encoder-Decoder Architectures

    Transformers and LLMs:
  630. Open source models
  631. Inference frameworks
  632. Open source frameworks

    Next-Generation Transformer architectures:
  633. Next-generation architectures (overview)
  634. Hybrid Transformer architectures
  635. Newer Transformer architectures
  636. BERT (encoder)
  637. — State Space Models (SSMs)
  638. Mamba
  639. RWKV
  640. Knowledge graph AI architectures
  641. Compound AI architectures
  642. Large Concept Model (LCM)

    General Classes of Optimization Techniques:
  643. Dynamic inference (adaptive inference)
  644. Skipping
  645. Heuristics
  646. Probabilistic optimizations
  647. Approximate computing
  648. Code optimizations
  649. Deep learning compilers
  650. Incremental algorithms
  651. Fuzzy logic
  652. Inference budget (with adaptive inference)

    Loop Optimizations:
  653. Loop optimizations (overview)
  654. Inference loop optimizations
  655. Loop fusion (merging loops)
  656. Loop unrolling
  657. Loop perforation
  658. Loop reordering
  659. Loop tiling
  660. Loop reversal
  661. Loop fission (splitting a loop)
  662. — Loop interleave
  663. Loop interchange
  664. Loop coalescing
  665. Loop-invariant code motion ("hoisting")
  666. Loop distribution
  667. Pointer arithmetic
  668. Loop peeling (unrolling first iterations)
  669. Loop splittingLoop sentinel
  670. Loop collapsing
  671. Loop normalization
  672. Loop strip mining (Loop sectioning)
  673. Loop skewing
  674. Loop spreading

    Low-Level Coding Efficiency:
  675. Code optimizations (overview)
  676. Constant folding
  677. Common subexpression elimination
  678. Algebraic identities
  679. Strength reduction
  680. Type consistency
  681. Reciprocal multiplication
  682. References vs pointers
  683. Compile-time optimizations
  684. Pointer arithmetic
  685. Algorithm-level optimizations
  686. Lazy evaluation
  687. Memory reduction heuristics

    Data Structures for AI optimization:
  688. Hashing
  689. Perfect hashing
  690. Look-up tables (LUTs)
  691. Bloom filters
  692. — Trees
  693. — Tries
  694. Bloom filters
  695. Bitserial operations
  696. Permutation arrays
  697. — Radix trees (compressed tries) used in Radix Attention for prefix KV caches.

    Vector Data Structures:
  698. Parallel data structures
  699. Bit vectors
  700. Vector hashing
  701. Locality-Sensitive Hashing (LSH)
  702. Vector dot product caching
  703. — Bit signatures (vector algorithm)
  704. — K-means clustering (vector algorithm)
  705. — Hyper-Cube (vector algorithm)

    Convolution Optimizations in CNNs:
  706. Convolution optimizations (overview)
  707. Grouped convolutions
  708. Depth-wise separable convolutions

    Tokenization and Vocabulary Optimizations:
  709. Tokenization (overview)
  710. Tokenizer and model inference latency
  711. Semantic tokenization
  712. Tokenization for Machine Vision
  713. Tokenization of non-English languages
  714. Vocabulary optimizations:
  715. Vocabulary size
  716. Lexical shortlisting
  717. Vocabulary trimming
  718. Vocabulary expansion
  719. Dynamic vocabulary pruning

    Overall summaries of AI optimizations:
  720. Deslugging AI engines
  721. Accuracy-degrading optimizations
  722. Accuracy-retaining optimizations
  723. Uncommon inference optimizations

Not Enough?

More inference optimization resources:

Free AI and C++ Books

Generative AI programming books:

  1. The Sweetest Lesson: Your Brain Versus AI, November 2025: full text online, free PDF available
  2. RAG Optimization: Accurate and Efficient LLM Applications, June 2025: full text online, free PDF available
  3. Generative AI Applications: Planning, Design and Implementation, November 2024: full text online, free PDF available
  4. Generative AI in C++ (Spuler, March 2024): full text online, free PDF available, table of contents, bonus materials, reference lists, source code

CUDA C++ GPU Programming Books:

  1. CUDA C++ Optimization: Coding Faster GPU Kernels, July 2024: full text online, bonus materials, free PDF available
  2. CUDA C++ Debugging: Safer GPU Kernel Programming, July 2024: full text online, free PDF available

Modern C++ Programming Books

  1. C++ AVX Optimization: CPU SIMD Vectorization, 2025: full text online, free PDF available
  2. C++ Ultra-Low Latency: Multithreading and Low-Level Optimizations, 2025: full text online, free PDF available
  3. Advanced C++ Memory Techniques: Efficiency and Safety, 2025: full text online, free PDF available
  4. Efficient C++ Multithreading: Modern Concurrency Optimization, 2025: free PDF available
  5. Efficient Modern C++ Data Structures: Container and Algorithm Optimizations, 2025: free PDF available
  6. C++ Low Latency: Multithreading and Hotpath Optimizations, 2025: free PDF available
  7. Safe C++: Fixing Memory Safety Issues, Oct 2024: full text online, free PDF available

More AI Research Topics

Read more about: