liveBook · Manning

Exclusive feature bundling

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

Exclusive feature bundling is a feature-dimensionality-reduction technique that groups sparse, mutually exclusive features while preserving their nonzero information.

Exclusive feature bundling (EFB) reduces the column dimension of sparse, heavily one-hot-encoded or binary data by grouping features while retaining their nonzero values. LightGBM uses it to improve computational efficiency without compromising data integrity. section 5.5.2

Combining two sparse features

For features A and B, add B to A only at nonzero positions, using the maximum value in A to separate their encoded ranges. Values from each feature remain distinguishable, preserving the original feature order. section 5.5.2

EFB is useful because it:

  • Retains rare nonzero signals that ordinary feature discarding might remove. section 5.5.2
  • Avoids relying on weighted linear combinations that can destroy nonlinear relationships. section 5.5.2
  • Uses a greedy approximation because finding the optimal bundling is NP-hard. section 5.5.2

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Explains sparse encoding, two-feature bundling, and greedy approximation, but does not detail the complete algorithm.
Examples
Uses two sparse features, A and B, to demonstrate separated value ranges after bundling.
What it assumes
Assumes familiarity with sparse, one-hot-encoded or binary features and introduces bundling through a simple two-feature example.
What you can do after
Apply it via LightGBM to reduce sparse feature columns without discarding nonzero signals.
How it connects
Connects sparse features, one-hot encoding, dimensionality reduction, nonlinear relationships, and gradient boosting through LightGBM.

Also explained in

Compare how 2 books explain exclusive feature bundling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.