Knowledge-based Question Answering (KBQA) System at Meituan: Design, Challenges, and Solutions

Meituan’s knowledge‑based question answering system tackles diverse, constraint‑rich, multi‑hop queries across pre‑sale, in‑sale and post‑sale scenarios by integrating fine‑grained query understanding, relation recognition, sub‑graph retrieval and answer ranking, employing optimized BERT models, pre‑training tasks, and domain‑specific enhancements to boost response speed, conversion rates, and benchmark performance, while acknowledging remaining challenges in long‑tail and complex queries.

Meituan Technology Team
Meituan Technology Team
Meituan Technology Team
Knowledge-based Question Answering (KBQA) System at Meituan: Design, Challenges, and Solutions

Knowledge-based Question Answering (KBQA) refers to answering natural‑language questions by understanding the query, retrieving and reasoning over a knowledge base. Meituan applies KBQA across pre‑sale, in‑sale, and post‑sale scenarios to automatically or recommend replies, improving merchant response efficiency.

The article presents Meituan’s practical experience, based on an EMNLP 2021 paper, covering overall system design, key challenges, and end‑to‑end QA exploration.

Background & Challenges : The platform serves diverse domains (hotels, tourism, food, etc.) with varied user intents, constraint‑rich queries, and multi‑hop questions. Challenges include handling numerous business scenarios, constraint extraction, and multi‑hop reasoning.

Solution Overview : The KBQA pipeline consists of four stages – Query Understanding, Relation Recognition, Sub‑graph Retrieval, and Answer Ranking. An architecture diagram (Fig. 1) shows the application layer, query understanding modules, and knowledge‑graph storage.

Query Understanding : Performs fine‑grained semantic parsing, including entity recognition & linking and dependency analysis. Optimizations such as knowledge injection for OOV words, nested entity handling, and context‑aware linking are applied.

Relation Recognition : Models the task as text matching between the query and candidate predicates, using both representation‑based (dual‑tower) and interaction‑based architectures. BERT is pruned (layer‑wise skipping), fine‑tuned on domain data, and enhanced with domain and syntactic features, achieving higher accuracy with lower latency.

Complex Question Handling : Addresses constraint questions by extracting constraint tokens via dependency parsing and performing key‑value matching; multi‑hop questions are solved by identifying hop count and traversing the graph accordingly. Opinion QA extracts sentiment‑type answers from user reviews, providing aggregated support counts and evidence snippets.

End‑to‑End Exploration : Introduces three pre‑training tasks – Relation Extraction, Relation Matching, and Relation Reasoning – to bridge the gap between textual pre‑training and graph‑structured reasoning, yielding notable performance gains (Fig. 17).

Applications : Deployed in hotel “Ask‑Me‑Anything”, ticket promotion, and merchant reply recommendation, the system has improved response speed and conversion rates. It achieved top rankings in the 2020 CCKS KBQA benchmark.

Summary & Outlook : While the current system handles head‑type queries well, long‑tail and more complex question types remain challenging. Future directions include unsupervised domain transfer, business‑knowledge injection, handling comparative and multi‑relation queries, and fully end‑to‑end KBQA solutions.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

NLPknowledge graphKBQAMeituanquestion answering
Meituan Technology Team
Written by

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.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.