TL;DR
The Professional Knowledge Utilization System (PKUS) enables the secure, controllable integration of proprietary data into LLMs by running compact knowledge adapters inside hardware-isolated Trusted Execution Environments (TEEs) while keeping the massive base model on fast, untrusted GPUs. This split-execution architecture allows data providers to license, audit, or instantly revoke their intellectual property without sacrificing LLM performance, delivering up to an 11.9× speedup over traditional secure execution baselines.
What Problem Does This Paper Address?
As public web data hits diminishing returns, the next generation of LLM improvements relies heavily on specialized "professional knowledge"—such as legal precedents, financial reasoning logic, and corporate playbooks. However, a severe imbalance in the income-risk profile makes data providers highly reluctant to share their valuable assets.
Once proprietary data is trained into a monolithic model, it becomes permanently fused with the backbone. Providers lose all lifecycle control, receive little to no downstream revenue share, and bear massive legal and financial liability if the model later leaks sensitive records or violates copyrights.
Existing privacy-preserving methods fall short. Cryptographic approaches like Homomorphic Encryption (HE) and Multi-Party Computation (MPC) introduce prohibitive computational overhead for token-by-token autoregressive decoding. Meanwhile, running an entire billion-parameter LLM inside a secure CPU-based TEE destroys inference throughput, and current GPU TEEs lack the fine-grained, multi-tenant isolation required to manage and revoke access for individual data providers.
Methods
PKUS introduces a split-execution framework that treats professional knowledge as a first-class, separable artifact. It keeps the large, non-sensitive LLM backbone on an untrusted GPU while executing compact, provider-specific adapters exclusively inside attested CPU TEE enclaves.
The system consists of four key components:
- EdgePrune: A provider-side training technique that compresses LoRA adapters by iteratively deactivating and pruning less important weights based on magnitude. This minimizes the memory footprint and the amount of data transferred across the TEE boundary.
- AegisProto: A hardware-rooted lifecycle protocol that handles remote attestation, establishes end-to-end encrypted channels between providers and enclaves, enforces dynamic client access policies, and guarantees provable, secure erasure upon revocation.
- AlignAgg: A structure-aligned aggregation mechanism that allows a client to safely combine knowledge from multiple providers simultaneously. Instead of merging weights, it averages the low-rank activation deltas computed independently within each enclave.
- SwiftSched: A specialized runtime scheduler designed to mitigate cross-boundary latency. It implements pipeline parallelism to overlap GPU decoding with enclave computation, batches multiple adapter site requests into single messages, and uses a work-stealing strategy to balance multi-enclave workloads.
Datasets
The authors evaluated PKUS using two backbone models (GPT-2 Large and Llama-3.2-1B) across three public benchmarks, with each dataset treated as the proprietary knowledge of a distinct data provider hosted in its own enclave:
- SST-2: Stanford Sentiment Treebank for sentiment classification.
- MNLI: Multi-Genre Natural Language Inference for sentence-pair classification.
- SQuAD 1.0: Stanford Question Answering Dataset for extractive QA.
Key Insights and Ideas
- Separation over Monoliths: Instead of attempting the impractical task of protecting an entire monolithic LLM, PKUS demonstrates that isolating only the compact parameter updates (adapters) achieves the same security guarantees with a fraction of the trusted compute overhead.
- The Pipelining Necessity: A naive split-execution approach actually runs slower than pure CPU execution because frequent cross-boundary context switches stall the GPU. Pipelining the GPU's forward pass with enclave delta computation is mandatory for real-world viability.
- Delta-Level Multi-Tenancy: Aggregating activation deltas rather than model weights allows multiple data providers to participate in a single inference session without cross-contamination, preserving absolute cryptographic isolation and instant revocability.
Key Results
- Utility Preservation: Across all tasks, PKUS closely matches the accuracy and F1 scores of full fine-tuning and plain LoRA (typically within 0.3 to 1.0 percentage points). It even outperforms full fine-tuning on certain tasks because low-rank adapters act as an implicit regularizer against overfitting.
- Significant Speedups: PKUS achieves an 8.1× to 11.9× speedup over CPU-only TEE execution and naive pipelined baselines.
- Cryptographic Comparison: While state-of-the-art cryptographic frameworks (BumbleBee and THOR) suffer from slowdowns ranging from 226× to 1,143× compared to insecure GPU execution, PKUS keeps the overhead manageable, introducing only a 1.6× to 1.7× slowdown while maintaining robust hardware-enforced isolation.
Limitations and Future Work
- Hardware Constraints: The system currently relies on CPU-based TEEs to host the adapters. If a provider's adapter grows exceptionally large, CPU compute limitations could become a bottleneck despite EdgePrune's compression.
- Next-Gen GPU TEEs: The authors note that current GPU TEEs expose a single, coarse-grained trusted domain. A promising future direction is adapting PKUS to next-generation confidential computing GPUs (like NVIDIA H100/B200) once they support dynamic, multi-tenant enclave partitioning.
- Advanced Aggregation: AlignAgg currently uses simple averaging to combine multi-provider outputs. Future work could explore sophisticated gating or routing mechanisms to handle highly conflicting or specialized domain adapters more effectively.
Summary updated