What is PAI-Rec

Updated at:

PAI-Rec (PAI stands for Platform for AI, Rec for Recommendation) provides end-to-end deep customization capabilities for enterprise developers to build, develop, iterate, and operate their own recommendation systems.

Overview

PAI-Rec is a recommendation system development platform from Alibaba Cloud that provides an end-to-end, deeply customizable solution for enterprise developers. It covers offline processing, online serving, real-time data streams, and engineering architecture, with functional modules for recall, ranking, filtering, and reranking. Built on Alibaba Cloud's Apsara big data architecture, PAI-Rec lets developers select components that fit their existing tech stacks and customize the code for their recommendation pipelines. The platform also provides tools for data diagnostics, recommendation result debugging, and engine release management. An A/B testing service and experiment reporting platform further enhance iteration efficiency.

Developers can start from tracking log analysis and customize algorithm code for feature engineering, engine configuration, experiment metrics, and statistics to quickly build and optimize their recommendation systems. The white-box model enhances development transparency and flexibility. Teams new to recommendation algorithms can use the custom algorithm models from Alibaba's algorithm team during initial onboarding to rapidly deploy a recommendation system while mastering model training and evaluation. In-depth optimization and expertise sharing are available through engagement with Alibaba Cloud engineers.

PAI-Rec also supports cold start, traffic control, and online learning for diverse business requirements.

Advantages

PAI-Rec offers the following advantages for building recommendation systems:

Dependent cloud products

PAI-Rec uses PAI-EasyRec to train recall and ranking models and the PAI-Rec engine, written in Go, to build the recommendation system. DataWorks handles code editing and scheduling for feature engineering, samples, and model training. FeatureDB/Hologres (What is Hologres) stores user features, item-to-item (i2i) related items, and vector libraries, while PAI-EAS (EAS overview) provides an elastically scalable scoring service. These products work together as follows:

Cloud product

Description

Platform for AI (PAI)

A machine learning and deep learning engineering platform for developers and enterprises. It provides end-to-end AI development services, including data annotation, model construction, training, deployment, and inference optimization.

EasyRec algorithm framework

Includes industry-leading deep learning models and supports multiple versions of TensorFlow (>=1.12, <=2.4, PAI-TF) and PyTorch. It covers the full recommendation pipeline, including recall, coarse-grained ranking, ranking, reranking, multi-objective optimization, and cold start. Developers can use EasyRec to accelerate iteration on their recommendation pipelines.

DataWorks

MaxCompute

These cloud native big data services work together to provide development tools and a stable data environment for recommendation system tasks such as feature processing, sample generation, profile management, model scheduling, and data updates.

Note

PAI-Rec currently supports only DataWorks and MaxCompute. To use other big data services, you must modify the engine code yourself. Contact your solution architect in advance to confirm the adaptation plan.

Hologres

Hologres is a one-stop, real-time data warehouse engine developed by Alibaba Cloud. It supports real-time ingestion, updates, processing, and analysis of massive data volumes. It is compatible with standard SQL (compatible with PostgreSQL) protocols and syntax, supports most PostgreSQL functions, and enables multi-dimensional analysis (OLAP) and ad hoc analysis on petabyte-scale data. It also provides high-concurrency, low-latency online serving, fine-grained workload isolation, and enterprise-grade security features. Hologres is deeply integrated with MaxCompute, Flink, and DataWorks to provide an enterprise-level, integrated stack for unified offline and online data warehousing.

Free trial

Enterprise users with a China account can apply for a one-month trial instance, limited to one application per user, in one of the following regions: China (Beijing), China (Shanghai), China (Hangzhou), or China (Shenzhen). Apply at: PAI-Rec free trial. If you do not plan to continue using the service, unsubscribe from the instance or disable auto-renewal.

Related documents