Inferensys

Glossary

Type-II Codebook

A high-resolution 5G NR codebook structure that provides detailed spatial and frequency granularity for multi-user MIMO precoding by linearly combining multiple orthogonal beams.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
HIGH-RESOLUTION SPATIAL PRECODING

What is Type-II Codebook?

A 5G NR codebook structure providing detailed spatial and frequency granularity for multi-user MIMO precoding by linearly combining multiple beams.

A Type-II Codebook is a high-resolution precoding framework in 5G New Radio (NR) that constructs a precoding matrix indicator (PMI) by linearly combining multiple orthogonal beams. Unlike the beam-selection approach of a Type-I codebook, the Type-II structure applies amplitude and phase coefficients to a set of L beams per layer, enabling the user equipment (UE) to report a highly accurate approximation of the dominant eigenvectors of the channel. This granular spatial representation is critical for multi-user MIMO (MU-MIMO) performance.

The codebook operates in the spatial-frequency domain, where the combining coefficients are further compressed using a basis of frequency-domain (FD) vectors to manage reporting overhead. The UE selects a subset of non-zero coefficients and reports their quantized amplitudes and phases, along with the selected beam indices. This enhanced Type-II port selection or angular-delay representation allows the gNB to construct a refined precoder that nullifies inter-user interference with high precision, maximizing spectral efficiency for multiple simultaneous users.

HIGH-RESOLUTION SPATIAL PRECODING

Core Characteristics of Type-II Codebooks

The Type-II codebook, defined in 3GPP Release 15 and enhanced in Release 16, provides a sophisticated framework for multi-user MIMO by combining multiple beams with amplitude and phase weighting across sub-bands.

01

Grid of Beams (GoB) Foundation

Type-II codebooks extend the Grid of Beams concept by selecting a set of L orthogonal beams from a Discrete Fourier Transform (DFT) basis. Unlike Type-I, which selects a single beam, Type-II linearly combines 2 to 4 beams per layer. The base station oversamples a 2D DFT grid to create a dense set of candidate beams, ensuring high spatial resolution for precise beamforming in both azimuth and elevation domains.

02

Frequency-Domain Granularity

A defining feature is the reporting of sub-band amplitude and phase coefficients. The wideband amplitude is quantized with higher resolution, while sub-band coefficients capture frequency-selective fading:

  • Wideband (WB) amplitude: Reported for each beam across the entire bandwidth part.
  • Sub-band (SB) amplitude and phase: Reported per sub-band to track frequency selectivity.
  • Differential encoding: Sub-band phase is encoded relative to the wideband phase to reduce feedback overhead.
03

Port Selection Enhancement (R16)

3GPP Release 16 introduced the port selection codebook variant for Frequency Division Duplex (FDD) systems without channel reciprocity. Instead of selecting DFT beams, the user equipment selects CSI-RS ports from a beamformed reference signal. This approach leverages angle-of-arrival reciprocity and reduces the codebook search complexity while maintaining the linear combination structure of amplitude and phase weighting across sub-bands.

04

Overhead and Compression Trade-offs

Type-II codebooks achieve high precision at the cost of significant uplink feedback overhead. A typical configuration with L=4 beams, 2 layers, and 13 sub-bands can generate thousands of bits per report. Mitigation strategies include:

  • Frequency-domain compression using Discrete Fourier Transform (DFT) basis in R16 enhanced Type-II
  • Tap-based time-domain compression exploiting channel sparsity
  • Machine learning autoencoders replacing explicit coefficient quantization
05

Multi-User MIMO Performance

The high spatial granularity of Type-II codebooks directly translates to multi-user MIMO (MU-MIMO) gains. By accurately reporting the channel eigenstructure, the base station can compute near-optimal Zero-Forcing (ZF) or Minimum Mean Square Error (MMSE) precoders. This enables:

  • Serving up to 12 layers simultaneously in massive MIMO
  • Inter-user interference suppression through precise null steering
  • Spectral efficiency improvements of 30-50% over Type-I codebooks in dense urban deployments
06

Quantization and Codebook Resolution

The 3GPP standard defines specific quantization resolutions for Type-II coefficients:

  • Wideband amplitude: 3-bit quantization with non-uniform step sizes
  • Sub-band amplitude: 1-bit (on/off) per sub-band
  • Sub-band phase: Quadrature Phase Shift Keying (QPSK) or 8-PSK This hierarchical quantization prioritizes the most impactful coefficients while constraining total feedback payload. The strongest coefficient per layer is normalized to unity to serve as a phase reference.
5G NR CSI FEEDBACK STRUCTURES

Type-I vs. Type-II Codebook Comparison

Comparative analysis of spatial and frequency granularity, beam selection mechanisms, and feedback overhead between Type-I and Type-II codebook structures defined in 3GPP TS 38.214 for multi-user MIMO precoding.

FeatureType-I Single-PanelType-I Multi-PanelType-II

Primary Use Case

Single-user MIMO

Single-user MIMO with panel diversity

Multi-user MIMO

Beam Selection

Single wideband beam

Single wideband beam per panel

Linear combination of L=2-4 orthogonal beams

Frequency Granularity

Wideband only

Wideband only

Sub-band (2-13 sub-bands)

Phase Quantization

QPSK (2-bit)

QPSK (2-bit)

QPSK or 8-PSK (3-bit)

Amplitude Reporting

Non-Zero Coefficient Limit

1

1 per panel

K0 = ceil(β × 2LM) with β ∈ {1/4, 1/2, 3/4, 1}

Typical PMI Overhead

Low (< 10 bits)

Moderate (10-20 bits)

High (50-150 bits)

Spatial Rank Support

1-8 layers

1-8 layers

1-4 layers

TYPE-II CODEBOOK DEEP DIVE

Frequently Asked Questions

Explore the technical nuances of the 5G NR Type-II codebook, a cornerstone of high-resolution multi-user MIMO precoding. These answers address the most common engineering questions regarding its structure, performance, and implementation.

A Type-II codebook is a high-resolution 5G NR precoding framework that provides detailed spatial and frequency granularity for Multi-User MIMO (MU-MIMO) by linearly combining multiple orthogonal beams. Unlike the Type-I codebook, which selects a single beam for wideband precoding with low overhead, Type-II constructs a precoding vector by combining L orthogonal Discrete Fourier Transform (DFT) beams with both amplitude and phase weighting. This allows Type-II to represent complex, frequency-selective channels with much higher accuracy. The fundamental trade-off is precision versus uplink control overhead: Type-II achieves significantly higher spectral efficiency by enabling finer spatial multiplexing but requires substantially more feedback bits to report the complex combination coefficients for each sub-band.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.