What is PAI-Rec
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:
-
Guided activation and permission setup
Complete the service activation and initialization for dependent products, and then manage permissions for relevant users.
-
Highly transparent white-box design
Provides extensive source code to help users understand the details of recommendation algorithms and flexibly customize code for specific business needs.
The source code includes data feature engineering and sample processing, scripts for calling recall and ranking models, the TensorFlow and PyTorch versions of EasyRec recall and ranking models, and the PAI-Rec engine business code.
-
Streamlined recommendation algorithm customization
Simply configure user, item, and behavior tables in Recommendation Solution Customization (refer to the data table format for the E-commerce Recommendation Scenario, and for first-time users, see the Best practices for customizing recommendation algorithms in PAI-Rec documentation). After completing recall, feature configuration, and ranking configuration, use the one-click data backfill feature to perform initial data backfilling and model training. This simplifies the process of building a recommendation system for the first time.
-
Comprehensive engine and experiment management
Provides a management console for the engine configuration and experiment platform, enabling users to manage recall configuration, fine-grained ranking configuration, and engine parameters.
-
Granular metrics monitoring and reporting
Offers consoles for experiment metric management and experiment metric reports. Users can customize metrics and track experiment performance daily or hourly for precise, timely feedback on recommendation effectiveness.
-
Offline-online feature consistency mechanism
Provides tools for consistency checks between offline and online features, preventing experimental bias from data inconsistencies.
-
Intelligent data diagnostics and analysis
Offers intelligent data diagnosis to help developers understand their data and select appropriate features and time windows for feature engineering.
-
Intuitive recommendation result observation tools
Provides recommendation diagnostics tools to help users visualize recommendation results and recall data.
-
Powerful feature management support
Integrates with the Feature Store management tool to manage offline, online, sequential, and real-time features, improving development efficiency.
-
Comprehensive technical support
Provides product and technical support to help users get started with 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 |
|
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. |
|
|
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. |
|
|
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 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.