Private Embedding Lookup with Encrypted Compact Queries under Fully Homomorphic Encryption
This paper proposes Independent Vector Evaluation (IVE), a novel method for private embedding lookup under Fully Homomorphic Encryption that replaces costly one-hot vector generation with a linearly independent representation to achieve up to a 78.4x speedup in amortized lookup time.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a massive, secret library of books (the embedding table) stored on a giant server. Each book represents a specific word or idea, and inside each book is a unique "fingerprint" (an embedding vector) that helps a computer understand the meaning of that word.
Usually, when you want to ask the server a question, you send it a word. The server looks up that word in its library, grabs the fingerprint, and uses it to give you an answer.
The Privacy Problem:
You don't want the server to know which word you asked for. Maybe you're asking about a medical symptom, a financial secret, or something sensitive. If you just send the word, the server sees it. If you send a secret code, the server can't read it to find the right book.
The Old Way (The "One-Hot" Method):
In the past, to keep your question secret, you had to send a special encrypted list. Imagine this list has a slot for every single word in the library (millions of slots). You encrypt a "1" in the slot for your word and "0" everywhere else.
- The Problem: The server has to check every single slot to see which one is the "1." It's like the server has to walk down every aisle of a massive library, checking every single book, just to find the one you want. This takes a huge amount of time and computing power, making the whole process very slow.
The New Way (IVE - Independent Vector Evaluation):
This paper proposes a clever shortcut. Instead of sending a list with a "1" and millions of "0"s, the authors realized the server doesn't actually need that specific list. It just needs some unique code that points to the right book, as long as the server knows how to translate that code back into the right fingerprint.
Think of it like this:
- The Old Way: You send a map with a giant red "X" on one specific house and blank spaces everywhere else. The server has to scan the whole map to find the "X."
- The New Way (IVE): You send a simple set of coordinates (like "Turn left, then go 3 blocks"). The server knows a secret formula (a change of basis) that instantly turns those coordinates into the exact address of the house you want.
How it Works (The Magic Trick):
- The Secret Code: Instead of a "1 and 0s" list, the client sends a compact, encrypted number.
- The Math Magic: The server uses a mathematical tool called Discrete Cosine Transform (DCT). Think of this as a special translator. It takes your simple encrypted number and quickly turns it into a unique "fingerprint" code using simple math (powers of a number), rather than slow, heavy checking.
- The Translation: The server has a pre-computed "dictionary" (the change of basis matrix) that knows how to turn your new "fingerprint" code back into the exact same book fingerprint the old method would have found.
Why This Matters:
- Speed: The old method was like walking down every aisle. The new method is like using a GPS. The paper shows this makes the lookup up to 78 times faster.
- Efficiency: It saves a massive amount of computer energy. In tests, the time spent just "finding the book" dropped from taking up 99.6% of the total time to just 66.3%.
- Privacy: The server still learns nothing about your specific word, but it gets the answer much faster.
In a Nutshell:
The authors found a way to stop the server from doing a million tiny checks to find your secret word. Instead, they gave it a simple encrypted clue and a magic translation key. This lets the server find the right information almost instantly, keeping your secrets safe without making the computer wait forever.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.