信息网络安全 ›› 2026, Vol. 26 ›› Issue (10): 1636-1648.doi: 10.3969/j.issn.1671-1122.2026.10.009

• 学术研究 • 上一篇    下一篇

面向模型推理的细粒度隔离机密计算框架研究

周川文玺1, 周万雷2, 谭毓安1, 任孟夏1()   

  1. 1 北京理工大学网络空间安全学院, 北京 100081
    2 澳门城市大学数据科学学院, 澳门 999078
  • 收稿日期:2026-06-27 出版日期:2026-10-10 发布日期:2026-11-06
  • 通讯作者: 任孟夏 E-mail:mengxiaren@bit.edu.cn
  • 作者简介:周川文玺(2005—),女,四川,硕士研究生,主要研究方向为机密计算、密码学|周万雷(1964—),男,黑龙江,教授,博士,主要研究方向为隐私计算、智能计算|谭毓安(1972—),男,重庆,教授,博士,主要研究方向为网络安全、系统安全|任孟夏(1994—),女,新疆,博士,主要研究方向为系统安全、智能安全
  • 基金资助:
    国家自然科学基金(U2336201);北京市科委国际(港澳台)联合开发项目(Z251100007125019)

Research on confidential computing framework with fine-grained isolation for model inference

Zhou Chuanwenxi1, Zhou Wanlei2, Tan Yu’an1, Ren Mengxia1()   

  1. 1 School of Cyberspace Science and Technology, Beijing Institute of Technology, Beijing 100081, China
    2 Faculty of Data Science, City University of Macau, Macau 999078, China
  • Received:2026-06-27 Online:2026-10-10 Published:2026-11-06
  • Contact: Ren Mengxia E-mail:mengxiaren@bit.edu.cn

摘要:

机密计算为模型推理提供了安全隔离执行环境,但以整个虚拟机为基本隔离单位的设计,在多租户、多服务场景下存在横向渗透问题。一旦虚拟机内部某一组件被攻破,其他模块也将面临安全风险。针对上述问题,文章提出一个面向模型推理的细粒度隔离机密计算框架。该框架基于AMD SEV-SNP构建底层可信环境,在机密虚拟机内部建立硬件级安全边界,并结合NestedSGX隔离机制实现虚拟机内部的细粒度隔离。同时,文章研究基于应用划分来构建多飞地细粒度隔离框架。通过多飞地应用的评估实验,文章测试了该框架在不同场景下的安全收益和性能开销。在安全收益方面,多飞地细粒度隔离框架可以明显减小应用代码的可信计算基,故障对应用的影响大幅减小。在性能方面,在大数据量跨域传输场景中,额外开销在16%以内。该研究为虚拟机级机密环境中构建细粒度可信执行框架提供了可行路径,并归纳了具有实践意义的多飞地划分策略。

关键词: 机密计算, 模型推理, AMD SEV-SNP, 可信执行环境

Abstract:

Confidential Computing provides a securely isolated execution environment for model inference, but it uses the entire VM as the basic isolation unit, resulting in vulnerability to lateral movement in multi-tenant and multi-service environments. A compromised VM component can expose other modules to security risks. To address this, we proposed a fine-grained confidential computing framework for model inference. It leveraged AMD SEV-SNP to establish a trusted environment, implemented hardware-level security boundaries within confidential VMs, and integrated the NestedSGX mechanism to achieve intra-VM fine-grained isolation. Additionally, we explored a multi-enclave fine-grained isolation framework based on application partitioning. Through evaluation on multi-enclave applications, we tested the framework’s security benefits and performance overhead in different scenarios. In terms of security benefits, the multi-enclave fine-grained isolation framework can substantially reduce the trusted computing base and minimize the impact of failures on applications. In terms of performance, the overhead is within 16% for large-scale cross-domain transfers. This work provides a practical approach for building fine-grained trusted execution frameworks in VM-level confidential environments and derives actionable strategies for multi-enclave partitioning.

Key words: confidential computing, model inference, AMD SEV-SNP, trusted execution environment

中图分类号: