APG: Adaptive Parameter Generation Network for Click-Through Rate Prediction

Bencheng Yan, Pengjie Wang, Kai Zhang, Feng Li, Hongbo Deng, Jian Xu, Bo Zheng

Introduction

Click-Through Rate (CTR) prediction is a cornerstone of modern online advertising and recommendation systems. Traditionally, state-of-the-art models rely on a static set of weights ($\Theta$) to process all input instances. However, this "one-size-fits-all" approach is fundamentally limited. User behavior is highly diverse; for instance, the interaction patterns of a "cold user" (new to the platform) differ significantly from those of an "active user." A static model often settles for a "middle ground" parameter set, which can lead to suboptimal performance on long-tail instances.

The Adaptive Parameter Generation (APG) network addresses this by dynamically generating instance-specific weights on-the-fly. While the concept of dynamic weights is powerful, generating them for every request in high-traffic environments like Alibaba's search engine is typically computationally prohibitive. APG overcomes this through a combination of low-rank decomposition and efficient parameter sharing.

The APG Framework

APG is designed as a universal module that can be integrated into existing deep CTR architectures such as Wide & Deep, DeepFM, or DCN. Its efficiency stems from several core innovations:

1. Low-Rank Parameterization

Instead of generating a full $N \times M$ weight matrix $W_i$ for each instance, APG generates a much smaller $K \times K$ "specific" matrix $S_i$ (where $K \ll N, M$). This small matrix is then projected into the target space using two shared matrices, $U$ and $V$, such that $W_i = U S_i V$. This approach leverages the insight that weight matrices in deep models often reside on a low intrinsic dimension.

2. Decomposed Feed-Forwarding

To avoid the $O(NM)$ cost of reconstructing the large $W_i$ matrix, APG computes the layer output sequentially: $y = \sigma(U(S_i(V x_i)))$. This trick reduces computational complexity from $O(NM)$ to $O(NK + K^2 + MK)$, making real-time instance-specific weights feasible for web-scale deployment.

Decomposed feed-forwarding allows for efficient computation by avoiding the reconstruction of full weight matrices.

3. Parameter Sharing and Over-Parameterization

The matrices $U$ and $V$ are shared across all instances to capture common behavioral patterns, while $S_i$ captures individual nuances. During training, $U$ and $V$ are further decomposed (e.g., $U = U^l U^r$) to increase model capacity—a technique known as over-parameterization. These are collapsed back into single matrices at inference time, providing a performance boost without added latency.

The evolution of the APG module from a basic static model to a low-rank, over-parameterized version.

Key Results and Industrial Impact

The researchers evaluated APG on both public datasets (Amazon, MovieLens, IAAC) and IndusData, a massive internal Alibaba dataset with 4 billion instances and 100 million users.

  • Accuracy Gains: APG consistently improved AUC across all baselines, with gains ranging from +0.24% to +0.91%. In the context of CTR, even a 0.1% AUC improvement is considered highly significant.
  • Efficiency: Compared to standard deep CTR models of equivalent scale, APG reduced memory consumption by 96.6% and training time by 38.7%.
  • Real-World Deployment: Deployed within Alibaba's sponsored search system, APG delivered a 3% CTR gain and a 1% Revenue Per Mille (RPM) gain, demonstrating its scalability and effectiveness in production.
  • Long-Tail Performance: Analysis showed that APG is particularly effective at characterizing "cold users," who are often poorly served by static models due to their unique behavior distributions.

Conclusion

APG represents a significant step forward in CTR prediction by making instance-specific parameter generation practical for web-scale applications. By leveraging low-rank decomposition and decomposed feed-forwarding, it captures complex user-item interactions with minimal overhead. Future research may focus on automatically learning the optimal conditions for parameter generation and further streamlining implementation across various deep learning frameworks.

Summary updated

BibTeX
@inproceedings{yan2022apg,
  author = {Bencheng Yan and Pengjie Wang and Kai Zhang and Feng Li and Hongbo Deng and Jian Xu and Bo Zheng},
  title = {{APG: Adaptive Parameter Generation Network for Click-Through Rate Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=Sw_zDFDTr4},
}
Figure