- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper addresses the inference efficiency bottleneck of Large Language Models (LLMs) when used for large-scale, offline user intent tagging in personalized recommendation systems. In such scenarios, prompts are extremely long (thousands of tokens) due to the insertion of historical user records (e.g., browsing history, app installations). While KV-cache prefix sharing can mitigate cost, the author observes that slight differences in the temporal order of user records (termed "record discordance") completely disrupt prefix matching from the beginning. To resolve this, the paper introduces PrefixShakeup, a proactive system that restructures datasets at the data preparation stage (DataOps) before inference (MLOps).
Strengths and weaknesses
Strengths
- S1. Solid Theoretical Grounding: Approximating the strict prefix hard threshold with an RBF kernel continuous relaxation and proving relaxed submodular upper bounds gives the greedy sorting strategies strong mathematical justification.
- S2. Comprehensive Evaluation: The system is implemented into vllm and evaluated under strict industrial constraints (SLO boundaries of minutes, limited HBM footprint). It shows robust generalization on real-world datasets (E-commerce, News, Finance) as well as varying hardware setups.
- S3. Strategic Shifts: Shifting the optimization boundary from runtime inference tuning (MLOps) back to the data preparation pipeline (DataOps) is highly practical and clever. Weakness:
- W1. The system's viability hinges strictly on the assumption that downstream tasks are "time-agnostic", meaning shuffling the chronological order of user historical interactions does not drastically harm the profiling accuracy.
- W2. As noted in Table 10, when scaling to prompts, the peak CPU memory consumption surges to 418.23 GB. Although it avoids utilizing expensive NPUs for preprocessing, this high RAM footprint demands a clearer explanation regarding its distributed scalability in massive industrial pipelines.
- W3. While the paper is targeted at LLM-Based Tagging, Proactive Prefix Re-forming seems to also work for other cases with structured input, such as LLM agents and RAG. It would be more helpful to discuss the application-specific divergence v.s. border general principles.
Questions
- Q1. For W2, Is it possible to use vector quantization or compression to relieve such an overhead?
- Minor Suggestion. I feel like Proactive Prefix Re-forming is a general strategy, but there are some NPU-specific techs mixed with general ones in the main body, such as in Section 3.3. It would be better to separate the general architectures from device-specific ones. A better organisation may introduce only strategic concepts in Section 3, and then put the device-specific things as implementation details or even into appendix.
Limitations
yes
Paper formatting concerns
N.A.
Final justification
I'd like to keep my scoresunchanged.
W1 Response: Instead of an assumption, the ``time‑agnostic'' refers to a categorization of offline LLM‑based tagging, in which inferring the user intent (i.e., tagging upon explicit record existence) is the main objective (one of the majority tasks, shown later; the other one dominated is the content understanding). Actually, the tagging upon sequential modeling is explored (like the generative recommendation (GR) in online recommender), but its proportion is relatively small in our production environment (also shown later).
Applicability
W2 Response: We have examined the manuscript upon the principle of "offline full / online incremental" separation.
1) Clarifying the Nature of Full Preprocessing (Non-Resident).
The 418.23 GB refers to the peak memory of the Offline Full Batch preprocessing. In actual production scheduling, this full-scale task is executed at a T+3 frequency (i.e., once every three days, or only when there is a major structural change to the prompt template or retrieval logic). Crucially:
2) Highlighting the Lightweight Nature of Incremental Updates (High-Frequency Daily Operations).
As stated in the paper, the frequent day-to-day operations are incremental updates—not full preprocessing. When processing a 10% user change (1 million users), the peak memory drops to approximately 4.5 GB. This is because incremental updates only load the Scache (lightweight, ~160 MB) and the changed portions, rather than the full prompts. We will add a new row labeled "Steady-state Memory" marked as < 5 GB.
3) Distributed Scaling Solution.
Even for full-scale tasks, they naturally support Horizontal Scaling. We adopt a Sharding strategy after clustering:
4) Additional Clarification on Scache (addressing potential confusion).
As we clarified in our response to Reviewer 2's W2, Scache does not store high-dimensional embeddings or raw prompts. It stores only lightweight index entries, totaling <200 MB for 10 million users.
W3 Response: We will add a new subsection "General Principles vs. Application Divergence" in the appendix.
1) General Principles.
Regardless of the application scenario, the core logic of PrefixShakeup remains consistent:
This principle is task-agnostic and can be applied to any structured-input workload.
2) Application Divergence.
We provide a comprehensive comparison table to illustrate the differences:
3) Cross-Scenario Adaptation Details.
We elaborate on the specific adaptations required for each scenario:
(a) RAG Systems:
(b) LLM Agents:
(c) Summarization / Time-series:
Q1 Response: We appreciate this forward-looking suggestion. However, as clarified in our response to Weakness 2, the 418 GB offline peak memory is not the system bottleneck we are concerned about, as it is transient and scalable. Nevertheless, regarding the "overhead" mentioned, we must distinguish between two different concepts:
1) Clarifying the misunderstanding regarding Scache (similarity cache).
In our design, Scache does not store high-dimensional embedding vectors or one-hot vectors at all. Instead, the system stores pairwise similarity scores computed using the RBF kernel function, along with their corresponding request position indices. For a dataset of size N=107:
The final memory of Scache is less than 200 MB, which is far from being a bottleneck.
2) Applicability of Vector Quantization (VQ).
We agree that if, in the future, we needed to extend Scache to full-scale high-dimensional embeddings (e.g., storing raw embedding vectors instead of using kernel functions), then Vector Quantization (VQ) or Product Quantization (PQ) would be effective means to reduce memory.
We will mention this as a direction for "future work" and commit to conducting preliminary simulation experiments.
Q2 Response: We commit to restructuring Section 3 by eliminating all NPU-specific descriptions to ensure generality: