Fooling around with encrypted reasoning blobs
blog.cryptographyengineering.com
Fooling around with encrypted reasoning blobs
1–10 of 36 posts
Re: Fooling around with encrypted reasoning blobs
#2Re: Fooling around with encrypted reasoning blobs
#3Re: Fooling around with encrypted reasoning blobs
#4I always wondered how these large AI companies managed access for millions of simultaneous users without having to allocate a dedicated LLM instance for each user. Pushing the complete state down to the user after every call makes perfect sense. The LLM itself stays memoryless and ready to respond to an arbitrary prompt. Very nice.
Re: Fooling around with encrypted reasoning blobs
#5Very interesting. The state management is the really insightful find here. I always wondered how these large AI companies managed access for millions of simultaneous users without having to allocate a dedicated LLM instance for each user. Pushing the complete state down to the user after every call makes perfect sense. The LLM itself stays memoryless and ready to respond to an arbitrary prompt. Very nice.
It's an old trick that everyone designing protocols should know, since there are lots of applications beyond AI companies.
[1]: As in, pg's lisp: https://arclanguage.github.io/ref/srv.html#:~:text=The%20pre...
Re: Fooling around with encrypted reasoning blobs
#6Re: Fooling around with encrypted reasoning blobs
#7Re: Fooling around with encrypted reasoning blobs
#8One possible use for the "replay across accounts": if you can get a reasoning block that jailbreaks the model, you could share that block without sharing how you did it , and others can immediately take advantage of it too.
Re: Fooling around with encrypted reasoning blobs
#9Very interesting. The state management is the really insightful find here. I always wondered how these large AI companies managed access for millions of simultaneous users without having to allocate a dedicated LLM instance for each user. Pushing the complete state down to the user after every call makes perfect sense. The LLM itself stays memoryless and ready to respond to an arbitrary prompt. Very nice.
>An 82 GB footprint in DDR3 on a 2016 Xeon. About 25 GB of weights and 56 GB of KV cache at the full 262K context. The KV cache is larger than the model.
262k tokens is not much at all. with ~5 characters per token, that's only 1.3 MB of plaintext.