Technical Solutions for Meal Combo Recommendation in Food Delivery
Meituan Waimai tackles long ordering decisions and low merchant combo creation by deploying an offline‑real‑time hybrid system that generates high‑quality meal combos using graph‑label induction, encoder‑decoder, and attention models, reinforced with quality classification and constraint pruning, boosting combo coverage and user experience.
This article presents the technical solutions for meal‑combo recommendation used by Meituan Waimai. It first outlines the background: users face long decision times when ordering food, and merchants have weak ability and willingness to create combos, leading to low coverage of combo‑related applications.
The business goal is to generate high‑quality candidate combos for food merchants to feed downstream services such as "Today’s Combo Recommendation" and "Discount‑Tool Combo". Challenges include diverse business scenarios, non‑standard food items varying across merchants, and difficulty in evaluating combo quality.
To address these, an offline‑real‑time hybrid framework is proposed. Offline methods pre‑compute combo candidates using rule‑based and model‑based approaches, while real‑time methods generate combos on‑the‑fly for scenarios with strict constraints.
Combo Modeling: Three models are described:
Graph‑label induction model: builds a food knowledge graph from menus, recipes, and descriptions, then derives combo templates via high‑frequency order aggregation and template generalization.
Encoder‑Decoder model: treats combo generation as a sequence‑to‑sequence task. An LSTM‑based encoder extracts semantic features of dishes (name, tags, price, sales), and a Pointer Network decoder selects items from the merchant’s candidate list, using beam search for diversity.
Attention‑based model: replaces the sequential LSTM encoder with hierarchical multi‑head attention to capture unordered menu items and long‑range dependencies, and incorporates user preferences and price constraints in the decoder.
Model optimization includes teacher‑forcing training on historical orders, reinforcement learning with Monte‑Carlo sampled combos and quality rewards, and constraint‑aware pruning (e.g., price limits).
Quality Assessment: A combo quality classification model predicts four ordered grades (poor → good) using dish representations, global‑attention, and auxiliary features. The model is trained with a pair‑hinge loss and enhanced by a pre‑training task that masks a dish in a real combo and asks a Transformer to reconstruct it.
The system has been deployed in multiple Meituan Waimai products, significantly improving combo coverage and user experience. Future work aims to enrich the food knowledge graph with multimodal data and to explore scenario‑aware combos (e.g., weather‑driven, festival‑specific).
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Meituan Technology Team
Over 10,000 engineers powering China’s leading lifestyle services e‑commerce platform. Supporting hundreds of millions of consumers, millions of merchants across 2,000+ industries. This is the public channel for the tech teams behind Meituan, Dianping, Meituan Waimai, Meituan Select, and related services.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
