← Latest papers
💻 computer science

Jaguar: Fast Private CNN Inference with Power-of-Two Homomorphic Arithmetic

Jaguar is a private CNN inference system that leverages a power-of-two ciphertext ring to enable efficient scalar-polynomial convolution and exact local truncation, thereby eliminating protocol bottlenecks and achieving significantly lower latency and communication overhead compared to state-of-the-art hybrid HE/2PC solutions.

Original authors: Yewon Jeong, Nayoung Jung, Hyeri Roh, Woo-Seok Choi

Published 2026-06-11
📖 4 min read☕ Coffee break read

Original authors: Yewon Jeong, Nayoung Jung, Hyeri Roh, Woo-Seok Choi

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 want to ask a super-smart chef (the Server) to cook a complex meal for you using your secret family recipe (the Client's data). You don't want the chef to see your recipe, and the chef doesn't want to reveal their secret cooking techniques (the Model).

To solve this, you use a special "magic kitchen" where the ingredients are locked in unbreakable boxes (Encryption). The chef can cook with the boxes without ever opening them. This is called Private Inference.

However, there's a problem: The current magic kitchens are slow and clumsy. The chef spends 99% of the time just trying to figure out how to mix the ingredients inside the boxes, and they have to do extra, unnecessary steps to make sure the measurements are precise.

Enter Jaguar, a new system designed to fix these bottlenecks. Here is how it works, using simple analogies:

1. The Old Way: The "Prime Number" Trap

Most previous systems used a rule based on Prime Numbers (like 7, 13, 17) to do the math inside the locked boxes.

  • The Problem: Prime numbers are great for general math, but they are terrible for the specific type of "mixing" (convolution) needed for image recognition. It's like trying to cut a perfect square cake using a circular saw. You have to do a lot of extra cutting and sanding (modular reduction) to make the pieces fit, which slows everything down.
  • The Precision Mess: Also, when the chef mixed the ingredients, the measurements got too big (doubled precision). The chef had to cook with the big measurements, then stop, call a second person to chop them down to size (truncation), and then check if the food was good (ReLU). This was two separate, slow steps.

2. The Jaguar Solution: The "Power-of-Two" Switch

Jaguar makes one bold change: It switches the math rule from Prime Numbers to Powers of Two (like 2, 4, 8, 16, 32).

  • Why this helps: In the digital world, powers of two are like "perfectly fitting Lego bricks." You don't need to sand or cut anything. If you need to reduce a number, you just "mask" the extra bits off (like snapping off a Lego piece). This makes the math incredibly fast.

3. The Three Magic Tricks of Jaguar

A. The "Scalar-Polynomial" Kitchen (SPA-CONV)

  • Old Way: The chef had to multiply two giant, complex recipes together at once. This was heavy and slow.
  • Jaguar Way: Because the math is now based on powers of two, the chef doesn't need to multiply two giant recipes. Instead, they just take a single ingredient (a scalar), multiply it by a recipe, and slide it over. They do this many times and add the results.
  • The Result: It's like swapping a heavy industrial mixer for a simple, fast hand whisk. The paper claims this makes the "mixing" step 2 to 3 times faster than the previous best systems.

B. The "Pre-Trim" Trick (Exact Truncation)

  • Old Way: The chef cooked with oversized measurements, then had to stop and call a second person to trim the excess.
  • Jaguar Way: Because the math is based on powers of two, the chef can simply shift the decimal point (a "right shift") before checking if the food is good.
  • The Result: The trimming happens instantly, inside the box, with zero extra communication. The "chopping" step is completely eliminated. This saves a massive amount of time and data transfer.

C. The "Secret Tool" for the Chef (NTT-Assisted Decryption)

  • The Concern: You might worry, "If we stop using Prime Numbers, won't the chef get stuck when they finally need to open the box to see the result?"
  • The Fix: Jaguar allows the chef to use a special, temporary "Prime Number tool" only for the final step of opening the box. This tool is kept secret and local to the chef.
  • The Result: The chef gets the speed of the "Lego" math for 99% of the work, but still gets the precision of the "Prime" math for the final reveal.

The Final Scorecard

The researchers tested Jaguar on famous image-recognition models (like ResNet and MobileNet) and compared it to the current leaders (Cheetah and Rhombus).

  • Speed: Jaguar is 2 to 3.7 times faster at the end-to-end task.
  • Communication: It sends 1.1 to 1.7 times less data back and forth between the client and server.
  • Accuracy: It maintains the same high accuracy as the original models.

In short: Jaguar realized that the old rules of the "magic kitchen" were holding everyone back. By switching to a simpler, more digital-friendly math system (Powers of Two) and reorganizing the cooking steps, it made private, secure image recognition significantly faster and more efficient.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →