[Paper Review] How Vulnerable Are Edge LLMs?
The paper shows that quantization on edge-deployed LLMs does not prevent query-based knowledge extraction and introduces CLIQ, a clustered instruction querying framework that improves extraction efficiency under limited query budgets, demonstrated on quantized Qwen models.
Large language models (LLMs) are increasingly deployed on edge devices under strict computation and quantization constraints, yet their security implications remain unclear. We study query-based knowledge extraction from quantized edge-deployed LLMs under realistic query budgets and show that, although quantization introduces noise, it does not remove the underlying semantic knowledge, allowing substantial behavioral recovery through carefully designed queries. To systematically analyze this risk, we propose extbf{CLIQ} ( extbf{Cl}ustered extbf{I}nstruction extbf{Q}uerying), a structured query construction framework that improves semantic coverage while reducing redundancy. Experiments on quantized Qwen models (INT8/INT4) demonstrate that CLIQ consistently outperforms original queries across BERTScore, BLEU, and ROUGE, enabling more efficient extraction under limited budgets. These results indicate that quantization alone does not provide effective protection against query-based extraction, highlighting a previously underexplored security risk in edge-deployed LLMs.
Motivation & Objective
- Assess whether quantized edge-deployed LLMs leak behavioral knowledge under realistic query budgets.
- Develop a structured querying framework to maximize semantic coverage and minimize redundancy.
- Demonstrate the efficacy of cluster-based instruction queries (CLIQ) for efficient extraction using limited queries.
- Evaluate extraction efficiency across quantization levels and model sizes.
- Provide insights into security implications and safeguards for on-device LLM deployments.
Proposed method
- Propose CLIQ (Clustered Instruction Querying) to organize candidate instruction queries into semantic clusters.
- Cluster queries using sentence embeddings and MiniBatchKMeans to create semantic regions.
- Generate cluster-aware representative queries via cluster-conditioned prompting of a strong LLM.
- Train a student model on query-response pairs to quantify information leakage and model behavior reproduction.
- Compare CLIQ to Original Queries under fixed query budgets (e.g., 1000 queries) across INT8/INT4 quantized teachers and students.
- Use evaluation metrics including BERTScore, BLEU, and ROUGE to assess extraction quality.

Experimental results
Research questions
- RQ1Can quantized edge LLMs preserve semantic knowledge that can be extracted through limited, query-based interaction?
- RQ2Does structured query construction improve extraction efficiency under edge deployment constraints compared to naive querying?
- RQ3How do different quantization levels (INT8 vs INT4) affect the learnability of edge-model behavior through queries?
- RQ4What is the impact of cluster-aware querying on reconstruction quality and sample efficiency?
Key findings
- CLIQ consistently outperforms original query strategies across BERT-F1, BLEU, and ROUGE metrics under the same query budget.
- A 1.7B INT8 quantized student distilled with CLIQ matches or exceeds performance of larger teachers, illustrating efficient knowledge transfer with structured queries.
- Quantization introduces marginal degradation in teacher performance, but structured querying remains effective for extracting behavior.
- Under fixed budgets (e.g., 500 queries), CLIQ achieves higher BERT-F1, BLEU, and ROUGE-L compared to Original Queries, with faster gains and earlier saturation.
- Extraction efficiency with CLIQ shows rapid improvements as queries increase from 100 to 300, then diminishing returns beyond that, indicating high sample efficiency.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.