الملخص

In-database predictive query processing increasingly applies Transformer-based models within relational pipelines. However, existing in-database inference typically exposes only tuple-level model inputs to the inference runtime, leaving relational predicates and metadata statistics invisible to neural execution planning. In this paper, we propose QCATS, a query context-aware transformer slicing framework that enables efficient sparse inference inside database systems. QCATS executes at query granularity: instead of routing individual tokens or tuples during inference, it uses query predicates and metadata statistics to pre-select context-aligned FFN slices before model execution. The framework comprises offline expert construction and lightweight query-level routing that dynamically selects experts during execution. QCATS further introduces system optimizations, including asynchronous CPU-GPU pipelines and routing-aware batching. Experiments on four predictive-query workloads with BERT-base and Qwen-0.6B show that QCATS achieves up to 4.42x latency reduction while preserving prediction accuracy comparable to dense baselines.

الكلمات المفتاحية

الموضوع

بيانات النشر

المجلة
غير متاح
وصول مفتوح
وصول مفتوح أخضر

اقتبس هذه المقالة

APA 7

Li, Y., Xie, Z., Chen, K., & Shou, L. (2026). QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing. https://omanscience.com/ar/articles/qcats-query-context-aware-transformer-slicing-for-efficient-predictive-query-processing

MLA 9

Li, Yueying, et al. "QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing." https://omanscience.com/ar/articles/qcats-query-context-aware-transformer-slicing-for-efficient-predictive-query-processing.

شيكاغو (المؤلف–التاريخ)

Li, Yueying, Zhongle Xie, Ke Chen, and Lidan Shou. 2026. "QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing." https://omanscience.com/ar/articles/qcats-query-context-aware-transformer-slicing-for-efficient-predictive-query-processing.

هارفارد

Li, Y., Xie, Z., Chen, K. and Shou, L. (2026) 'QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing', Available at: https://omanscience.com/ar/articles/qcats-query-context-aware-transformer-slicing-for-efficient-predictive-query-processing.

فانكوفر

Li Y, Xie Z, Chen K, Shou L. QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing. https://omanscience.com/ar/articles/qcats-query-context-aware-transformer-slicing-for-efficient-predictive-query-processing

IEEE

Y. Li, Z. Xie, K. Chen, and L. Shou, "QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing," https://omanscience.com/ar/articles/qcats-query-context-aware-transformer-slicing-for-efficient-predictive-query-processing.