arXiv:2611.04311cs.CRNov 2026

Manuscript Offprint

arXiv:2611.04311

Bilateral Protection for Private LoRA Inference with Intel TDX

Xiaodong Li, Mingyuan Ma, Dongbo Yan

Abstract

Cloud services using private low-rank adaptation (LoRA) must protect client inputs and outputs alongside owners' proprietary parameters and execute the approved adaptation. We design and implement a system for bilateral protection of private LoRA inference using Intel Trust Domain Extensions (TDX), connecting approved application identity to actual artifact consumption and adapter activation. The client and LoRA owner independently verify remote attestation, application identity, and binding to the actual Transport Layer Security (TLS) public key before releasing inputs and the weight-decryption key. A fixed read-only image and verified-byte consumption connect approved identities to inference objects, with all inference inside a trust domain. Experiments on real TDX hardware reject controlled application and boot-parameter modifications before secret release. Across 400 fixed dialogues, protected and native CPU inference in the same trust domain produce identical token sequences for all 400 pairs. Across 12 independent trust-domain boots, the steady-state service-to-native time ratio is 1.0094, with a 95% interval of [1.0064, 1.0126]. The system connects bilateral secret release, approved model use, and task-capability preservation, providing verifiable implementation and cost evidence for confidential inference with a public base and private adapter.

Keywords: confidential computing; Trust Domain Extensions; private LoRA; bilateral protection; remote attestation; model consumption integrity

1 Introduction

Low-rank adaptation (LoRA) converts a general-purpose language model into a task-specific model by freezing its base weights and training a small set of low-rank parameters [1]. In this service model, the public base model and private adapter are distinct assets: the former can be distributed openly, whereas the latter embodies task data, training investment, and proprietary capability. Clients may also submit sensitive business dialogues, structured requirements, or other inputs. Private LoRA cloud services therefore involve three parties: a cloud operator supplies computing resources, a model owner supplies the adapter, and a client supplies the input. Both asset owners need cloud computation while retaining control over their respective secrets.

Transport encryption protects data in transit, and artifact encryption protects externally stored weights. Inference, however, must use plaintext inputs and adapter parameters together. The service must therefore bring these assets into an execution environment accepted by both parties and return the output only to the requesting client. Trusted execution environments (TEEe) provide hardware isolation and remote attestation for this purpose. Prior work has advanced multi-tenant LoRA inference, bilateral protection in serverless computing, and confidential execution of entire large language models (LLMs) [2-4].

∗^{*}Corresponding author: maming_yuan@163.com.

A question spanning several system layers remains when these capabilities are deployed as a private LoRA service: does the environment attested and approved by both parties actually execute the approved model and adapter? A valid platform attestation identifies a trust domain and its state, but the claimed application identity must also be grounded in the measured boot chain. A correct artifact digest must correspond to the object consumed at runtime, and a loaded adapter must contribute to inference. These mechanisms must preserve adapted task capability and have clearly measured loading, steady-state, memory, and communication costs. The links together define the service; an isolated metric does not establish the behavior of the full execution path.

We address this question with a private LoRA inference service built on Intel Trust Domain Extensions (TDX). The client and model owner independently verify attestation and TLS public-key binding for the same service endpoint, then release their input and weight-decryption key under their own policies. The public base model, private adapter, tokenization, and autoregressive generation all execute inside a trust domain (TD). The design connects the identity chain of a fixed application image to actual artifact consumption, and evaluates the resulting behavior through functional ablations, task assessment, and cost comparisons within the same TD. The research thus establishes how both parties can verify and use a confidential service that actually runs the approved private adapter.

This requirement arises naturally when different entities provide computing capacity, domain models, and business data. The model owner seeks to expose a task capability while retaining control over parameters; the client seeks to use that capability while controlling the visibility of business data. Their shared object is an authorized computation. Separating a public base from a private update makes this relationship explicit: the base can be predeployed, the adapter can remain encrypted in storage, and business inputs arrive when the service is called. All three participate in generation only within the approved execution boundary. Protection must consequently span deployment, admission, loading, and invocation.

We study a fixed single-adapter service so that an approved identity corresponds to a definite execution configuration. Three connected questions organize the study: how each party verifies that the endpoint receiving its secrets runs the approved service; how the service turns approved artifacts into active adaptation; and how this path preserves task outputs with interpretable deployment costs. The controls separately vary application identity, consumption method, adapter state, and invocation mode, giving each experiment a specific system question.

The main contributions are as follows.

(1) We implement an Intel TDX service that provides bilateral protection for client data and private LoRA parameters in a three-party cloud setting, integrating independent attestation verification, channel-endpoint binding, secret release, and complete inference within the CPU TD.

(2) We connect application identity, model consumption, and adapter functionality as distinct verification targets. Mechanisms and strong controls under fixed read-only and mutable-path deployments identify the conditions in which verified-byte consumption provides additional protection.

(3) We establish mechanism, capability, and cost evidence on real TDX hardware: rejection of controlled tampering, protection against post-verification replacement, active LoRA contributions, token-identical native and protected outputs for all 400 dialogue pairs, and service-path costs across 12 independent TD boots.