FFN Optimization

  • Last Updated 9 August, 2026
  • by David Spuler, Ph.D.

FFN Optimization: Book Excerpts and Blog Articles

Free online book excerpts with full text chapters online and free PDF downloads, and the Aussie AI blog, including related articles:

  • Mixture-of-Attention (MoA) is the application of the Mixture-of-Experts (MoE) optimization to the attention modules in LLM layers. Traditionally, MoE has been used to optimize the Feed-Forward-Network (FFN) in LLMs, and this has become a mainstream optimization of frontier model architectures. However, although attention is less compute-bound than FFNs, the same ideas can be applied to make the QKV attention module more efficient.... more about Mixture-of-Attention (MoA) »
  • MoE speculative decoding is the use of "spec dec" in Mixture-of-Expert (MoE) models. Both MoE and speculative decoding are major methods of LLM inference optimization, and their combination can be doubly powerful. There are certain aspects of the spec dec algorithm that can be further optimized in the special case of running an MoE model.... more about MoE speculative decoding »
  • FFN fusion is either the merging of two whole FFN components (FFN merging) or the kernel fusion of the three sub-components within one FFN block (intra-FFN kernel fusion), which attempts to fuse the two matrix multiplications and one activation function. There are, in fact, a number of sub-methods of FFN fusion to consider ... more about FFN fusion »
  • FFN Pruning: The Feed-Forward Network (FFN) is a fundamental architectural component of the Transformer. The FFN has a good reputation as a hard worker, always doing lots of computations. And yet, there are unkind people in this world who want to throw them away.FFN optimization techniques include ... more about FFN Pruning »
  • David Spuler, Ph.D., March 31st, 2026, FFN Fusion with Tiled Pipelined RELU, Aussie AI Blog, https://www.aussieai.com/blog/ffn-tiled-pipelined-relu
  • David Spuler, Ph.D., LLM Attention and FFN Optimization are Opposites March 22nd, 2026, Aussie AI Blog, https://www.aussieai.com/blog/attention-ffn-llm-optimize
  • David Spuler, Ph.D., September 29, 2025, Promising LLM Inference Optimization Research, Aussie AI Blog, https://www.aussieai.com/blog/promising-llm-inference-optimization
  • David Spuler, Ph.D., Feb 6th, 2026 (updated), 500+ LLM Inference Optimization Techniques, Aussie AI Blog, https://www.aussieai.com/blog/llm-inference-optimization
  • David Spuler, Ph.D., April 18th, 2026 What is Prefill? Aussie AI Blog, https://www.aussieai.com/blog/what-is-prefill
  • David Spuler, May 31st, 2026, Chapter 21. FFN Optimizations, in book LLM Inference Optimization: State-of-the-Art Research, Table of Contents: https://www.aussieai.com/book/llm-inference-optimization https://www.amazon.com/dp/B0H3FKR39T

Research on FFN Optimization

Research papers include:

More AI Research Topics

Read more about: