QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query Processing
In this paper, we propose QCATS, a query context-aware transformer slicing framework that enables efficient sparse inference inside database systems.
ProofPaper ↗
Key points
- 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.
- 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.
- 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.
Sources (1)
- [1]QCATS: Query Context-Aware Transformer Slicing for Efficient Predictive Query ProcessingarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 7, 11:52 AM
In this paper, we propose QCATS, a query context-aware transformer slicing framework that enables efficient sparse inference inside database systems.
In-database predictive query processing increasingly applies Transformer-based models within relational pipelines.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 7, 2026Iris-3B: Going Beyond the Latent with Pixel-Space Diffusion Training, Conversion and Fine-Tuning
- Oct 6, 2026huggingface/transformers v5.19.0: Release v5.19.0
- Sep 30, 2026Cloudflare/clef-flash
- Sep 29, 2026microsoft/AesCode-32B
- Sep 22, 2026vllm-project/vllm v0.30.0
- Aug 26, 2026vllm-project/vllm v0.28.0