Model-Side Confidential Inference: Leveraging...
summary
Client-side AES encryption using AES-256-CBC and PyCryptodome sends Base64 payloads over TLS to a modified llama.cpp server that decrypts only inside model memory, runs inference, then re-encrypts responses; proof-of-concept uses a static shared key (workable locally) and demonstrates end-to-end confidentiality with per-request IVs and dual encryption. Performance notes: full homomorphic crypto is mentioned but ~5000x slower; no large benchmarks yet and production requires KMS/HSM and MCP integration.
AI-written summary · about
chapters (16)
- 0:00Introduction to confidential AI
- 3:29Presenting the speakers
- 4:10Model-side confidential inference concept
- 8:31Security gaps in AI pipelines
- 10:43Dual encryption approach
- 12:11Why OpenSSL for encryption
- 12:53Architecture overview
- 16:07Live encryption demo
- 18:37Future directions in encryption
- 21:30Deep dive into components
- 29:35Production deployment strategies
- 31:00Hardware security and TEE questions
- 33:08Preventing LLM misuse
- 37:01Context storage and performance
- 39:30Internal threat actor risks
- 40:34Q&A and closing remarks
