Skip to main content
QUICK REVIEW

[Paper Review] Compact Random Feature Maps

Roszilah Hamid, Ying Xiao|arXiv (Cornell University)|Dec 17, 2013
Advanced Image and Video Retrieval TechniquesComputer Science21 references23 citations
TL;DR

This paper proposes Compact Random Feature Maps (CRAFTMaps), a method that improves polynomial kernel approximation by first projecting data into a high-dimensional space using random features, then compactly down-projecting to a lower-dimensional space to eliminate rank deficiency and enhance learning efficiency. CRAFTMaps achieve superior kernel reconstruction and classification accuracy with reduced feature space size, outperforming prior methods on MNIST, USPS, COIL100, and PENDIGITS datasets, including a 0.91% test error on MNIST 8M with optimized parameters.

ABSTRACT

Kernel approximation using randomized feature maps has recently gained a lot of interest. In this work, we identify that previous approaches for polynomial kernel approximation create maps that are rank deficient, and therefore do not utilize the capacity of the projected feature space effectively. To address this challenge, we propose compact random feature maps (CRAFTMaps) to approximate polynomial kernels more concisely and accurately. We prove the error bounds of CRAFTMaps demonstrating their superior kernel reconstruction performance compared to the previous approximation schemes. We show how structured random matrices can be used to efficiently generate CRAFTMaps, and present a single-pass algorithm using CRAFTMaps to learn non-linear multi-class classifiers. We present experiments on multiple standard data-sets with performance competitive with state-of-the-art results.

Motivation & Objective

  • To address the inefficiency of existing random feature maps in polynomial kernel approximation, which suffer from rank deficiency and underutilized feature space capacity.
  • To develop a method that captures the information content of high-dimensional random feature maps more concisely, reducing dimensionality without sacrificing kernel approximation accuracy.
  • To enable efficient, single-pass learning of non-linear multi-class classifiers using compact feature representations, especially in streaming or large-scale settings.
  • To leverage structured random matrices (e.g., Hadamard) to accelerate both up-projection and down-projection steps in the feature mapping pipeline.
  • To demonstrate that CRAFTMaps outperform state-of-the-art random feature map methods in both kernel reconstruction and downstream classification tasks.

Proposed method

  • CRAFTMaps use a two-stage process: first, data is non-linearly projected into a high-dimensional space ℝᴰ using standard random feature maps to minimize kernel approximation error.
  • Then, the projected vectors are linearly down-projected to a lower-dimensional space ℝᴱ (E < D) via a structured random matrix to compactly represent the essential structure of the feature space.
  • The down-projection matrix is designed to preserve inner products approximately, ensuring the resulting feature map maintains accurate kernel approximation properties.
  • Structured random matrices such as the Hadamard transform are used to reduce the computational cost of matrix multiplications from O(n³) to O(n² log n).
  • A novel modification is introduced to adapt structured random projections for the up-projection phase, which was previously not feasible with standard approaches.
  • CRAFTMaps are integrated into a single-pass Hessian-based learning framework using Error-Correcting Output Codes (ECOC) for efficient multi-class classification.

Experimental results

Research questions

  • RQ1Can a two-stage random feature mapping process—up-projection followed by down-projection—achieve better kernel approximation than direct random feature maps?
  • RQ2Does the down-projection step reduce rank deficiency and improve the effective use of the feature space in learning tasks?
  • RQ3Can structured random matrices be effectively applied to both up- and down-projection steps to accelerate computation while preserving approximation quality?
  • RQ4Does the compact representation of CRAFTMaps lead to faster and more accurate classification, especially in large-scale or streaming settings?
  • RQ5How does the performance of CRAFTMaps compare to state-of-the-art random feature map methods in terms of test error and computational efficiency?

Key findings

  • CRAFTMaps achieved a test classification error of 1.12% on the original MNIST dataset using E = 2¹³ and D = 2¹⁵, outperforming both standard random feature maps and tensor sketching.
  • On MNIST 8M, CRAFTMaps achieved a test error of 0.91% using E = 2¹⁶ and D = 2¹⁹ with a 7th-order polynomial kernel, demonstrating scalability to large datasets.
  • The method showed significant computational advantages: CRAFTMaps reduced compute time per unit data compared to standard random feature maps and tensor sketching, especially as feature space size increased.
  • Figure 7 shows that CRAFTMaps outperform baseline methods in compute efficiency, particularly when Hessian computation dominates, due to the compactness of the feature space.
  • Empirical results on MNIST, USPS, COIL100, and PENDIGITS confirm that CRAFTMaps consistently reduce test error compared to Kar & Karnick (2012) and Pham & Pagh (2013) methods across multiple feature space sizes and polynomial degrees.
  • Theoretical error bounds confirm that CRAFTMaps provide better kernel reconstruction than previous approximation schemes, especially in high-degree polynomial kernels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.