KARMA: Knowledge-Action Regularized Multimodal Alignment for Personalized Search at Taobao
Organizations: Taobao & Tmall Group of Alibaba, Hangzhou, China
Abstract
Large Language Models (LLMs) are equipped with profound semantic knowledge, making them a natural choice for injecting semantic generalization into personalized search systems. However, in practice we find that directly fine-tuning LLMs on industrial personalized tasks (e.g. next item prediction) often yields suboptimal results. We attribute this bottleneck to a critical Knowledge--Action Gap: the inherent conflict between preserving pre-trained semantic knowledge and aligning with specific personalized actions by discriminative objectives. Empirically, action-only training objectives induce Semantic Collapse, such as attention "sinks". This degradation severely cripples the LLM's generalization, failing to bring improvements to personalized search systems. We propose KARMA (Knowledge--Action Regularized Multimodal Alignment), a unified framework that treats semantic reconstruction as a train-only regularizer. KARMA optimizes a next-interest embedding for retrieval (Action) while enforcing semantic decodability (Knowledge) through two complementary objectives: (i) history-conditioned semantic generation, which anchors optimization to the LLM's native next-token distribution, and (ii) embedding-conditioned semantic reconstruction, which constrains the interest embedding to remain semantically recoverable. On Taobao search system, KARMA mitigates semantic collapse (attention-sink analysis) and improves both action metrics and semantic fidelity. In ablations, semantic decodability yields up to +22.5 HR@200. With KARMA, we achieve +0.25 CTR AUC in ranking, +1.86 HR in pre-ranking and +2.51 HR in recalling. Deployed online with low inference overhead at ranking & pre-ranking stage, KARMA drives +0.9% increase in GMV.
Figures & tables
| Variant | gAUC | HR@200 | HR@1000 | JS@50 |
| Text-only decodability | ||||
| + Task 1: History Text generation ( ) | +0.43 | +4.81 | +3.46 | -0.87 |
| + Task 2: Text reconstruction ( ) | +0.43 | +19.19 | +19.31 | +2.65 |
| KARMA: Task 1 + Task 2 | +0.97 | +22.57 | +21.19 | +2.26 |
| Multimodal extension (incremental over the best text-only KARMA) | ||||
| + Visual semantic reconstruction | +1.38 | +10.83 | +8.41 | +0.40 |
| Embedding Generator | gAUC | HR@200 | HR@1000 | JS@50 |
| AR + MSE | +0.63 | +4.21 | +1.70 | +0.85 |
| AR + DDPM ( Ho et al., 2020 ) | +0.17 | +0.80 | -1.01 | +0.37 |
| AR + EDM ( Karras et al., 2022 ) | -0.12 | -2.95 | -3.30 | -0.33 |
| AR + Flow-Matching ( Lipman et al., 2022 ) | +0.02 | -0.83 | -2.68 | +0.26 |
Information Retrieval
Information Retrieval studies how to find, rank, and organize relevant information in large collections of data.
See all 471 papers