arXiv:2610.26199cs.LGOct 2026

Manuscript Offprint

arXiv:2610.26199

TaQFormer: A Treatment-as-Query Transformer with Data-Fusion for Multidimensional Treatment Modeling in Coupon Allocation

Jiahong Li, Zeqin Yang, Yu Xiang, Zhifan Jiang, Jingqi Ma, Enzheng Hua, Jixing Xu, Jun Wu, Fei Wang, Enyun Yu, Jiecheng Guo

Jiahong Li

Didi Chuxing

Beijing, China

caleblijiahong@didiglobal.com

Zhifan Jiang

Didi Chuxing

Beijing, China

zhifanjiang@didiglobal.com

Jixing Xu

Didi Chuxing

Beijing, China

stevenxujixing@didiglobal.com

Zeqin Yang

Didi Chuxing

Beijing, China

yangzeqin@didiglobal.com

Jingqi Ma

Didi Chuxing

Beijing, China

irismajingqi@didiglobal.com

Jun Wu

Didi Chuxing

Beijing, China

jackywujun@didiglobal.com

Yu Xiang

Didi Chuxing

Beijing, China

yuxiangxiang@didiglobal.com

Enzheng Hua

Didi Chuxing

Beijing, China

enzohua@didiglobal.com

Fei Wang

Didi Chuxing

Beijing, China

unsungwangfei@didiglobal.com

Enyun Yu

Didi Chuxing

Beijing, China

franklinyu@didiglobal.com

Abstract

We study coupon allocation on an online marketplace offering multiple service categories. Issuing coupons requires choosing a vector of category-specific discounts, accounting for both their direct effects and cross-category demand shifts. We present TaQFormer, a treatment-as-query Transformer for this multidimensional treatment setting. Each treatment coordinate is represented as a query token, allowing cross-attention to estimate the response to the full treatment vector. To combine large but policy-biased observational logs with a smaller stream of randomized controlled trial data, we use a two-stage pipeline: observational pretraining learns general outcome patterns, followed by LoRA fine-tuning on RCT data with a request-specific fusion gate. We evaluate the resulting system through the checks required for production, including offline uplift metrics, treatment-parallel serving, latency monitoring, and a 14-day online A/B test. At essentially the same subsidy cost rate, TaQFormer increases business value per user by 1.26% over the production baseline and significantly outperforms both the production baseline and the RCT-only model, while meeting the latency budget. It was subsequently rolled out to all marketplace traffic and has operated at full scale for several months as of October 2026. The deployment illustrates how multidimensional treatment modeling and observational pretraining, combined with adaptation using RCT data, can support effective joint discount decisions in production.

Keywords

Uplift modeling, joint coupon allocation, treatment-as-query, randomized adaptation, industrial deployment

Jiecheng Guo

Didi Chuxing

Beijing, China

jasonguo@didiglobal.com

References (18)