Less Work, Secure Inference: Accelerating Two-Party LLMs on SPU via Public Context
Import ICLR 2027 submission UZknUETu5E: 3 notes
@openreview[bot] · 2026-11-22 21:15 UTC · a6de7ca47903
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,19 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "UZknUETu5E"+ }+ ],+ "title": "Less Work, Secure Inference: Accelerating Two-Party LLMs on SPU via Public Context",+ "authors": [],+ "abstract": "Secure two-party computation (2PC) protects private inputs and model parameters during LLM inference.\nIn SPU-based inference, decoding without key-value (KV) reuse recomputes historical states, while cache updates using secret write indices require secure comparisons and selections.\nInputs to secure inference need not be entirely confidential and may combine public context with private data.\nWe present \\mbox{\\textbf{\\name{}}}, a framework for efficient two-party LLM inference on SPU.\nIt moves public-context construction to plaintext computation on the server while securely processing private inputs and generated tokens.\nConnecting these computations requires preserving attention dependencies across public and private inputs.\n\\mbox{\\name{}} imports locally computed per-layer KV tensors as server-private inputs to 2PC and reuses them during inference, preserving full causal context.\nDuring generation, each party updates its cache shares locally at public positions determined by disclosed lengths and generation progress, avoiding secure comparisons and selections used to hide write positions.\nWe implement \\name{} on SPU for GPT-2, SmolLM2-135M, and SmolLM2-360M, and evaluate effectiveness, efficiency, component contributions, and robustness to input adaptation across six datasets.\n\\name{} achieves a $4.41\\times$ request-time speedup over Full2PC without KV reuse in the main GPT-2 configuration and matches native plaintext predictions on 95.45\\% of the 220 examples.",+ "year": 2027,+ "venue": "ICLR 2027 (under review)",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://potentialpaper.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
reviews/openreview/uzknuetu5e/forms.json added
+++ b/reviews/openreview/uzknuetu5e/forms.json@@ -0,0 +1,183 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "additional_comments_on_reviewer_discussion",+ "label": "Reviewer discussion",+ "type": "text"+ },+ {+ "key": "recommendation",+ "label": "Recommendation",+ "type": "choice"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "soundness",+ "presentation",+ "informativeness"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "soundness",+ "label": "Soundness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "presentation",+ "label": "Presentation",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "informativeness",+ "label": "Informativeness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "paper_summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "critical_strengths",+ "label": "Strengths",+ "type": "text"+ },+ {+ "key": "critical_weaknesses",+ "label": "Weaknesses",+ "type": "text"+ },+ {+ "key": "questions_for_authors",+ "label": "Questions for the authors",+ "type": "text"+ },+ {+ "key": "flag_for_ethics_review",+ "label": "Flag for ethics review",+ "type": "choice",+ "omitWhen": [+ "No",+ "No ethics review needed."+ ]+ },+ {+ "key": "details_of_ethics_concerns",+ "label": "Ethics concerns",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/uzknuetu5e/notes/0jmyvyf3a0.json added
+++ b/reviews/openreview/uzknuetu5e/notes/0jmyvyf3a0.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "0JmyVyF3A0",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer gu29",+ "content": {+ "paper_summary": "This paper proposes MOSAIC framework to accelerate two-party (client and server)\nsecure LLM inference on SPUs by leveraging public context. MOSAIC enables the server to precompute the KV cache for the public prefix in plaintext and integrates it into the 2PC process as secret shares. During the generation stage, both parties locally slice and update their cache shares based on public positions, thereby preserving full contextual attention while safeguarding the privacy of both the model weights and client privacy inputs.",+ "presentation": 1,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "This paper proposes MOSAIC where the server first computes the KV cache for the public inputs in plaintext, then converts it into secret shares and combines them with the private inputs to calculate attention. Such configuration ensures context integrity without exposing model weights.",+ "critical_weaknesses": "MOSAIC’s core operation enables server to send the entire multi-layer public KV cache \nin the form of secret share with client. This operation can cost large communication time.\nAuthor should evaluate end-to-end runtime efficiency of MOSAIC.\n \nMOSAIC requires the privacy input at end of the public input. In the case of privacy input in the middle of public inputs, authors provide solution to rewrite. However, it can eventually degrade the inference accuracy even in plaintext form.",+ "questions_for_authors": "In practical scenario, with the public context increasing to 512, how do the cross-attention overhead and the cost of transmitting large portions of the KV cache evolve?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 2+ },+ "createdAt": "2026-10-15T19:45:43.408Z",+ "modifiedAt": "2026-11-06T12:33:03.657Z",+ "url": "https://openreview.net/forum?id=UZknUETu5E¬eId=0JmyVyF3A0",+ "license": "CC-BY-4.0"+}
reviews/openreview/uzknuetu5e/notes/1vpwl7ayhp.json added
+++ b/reviews/openreview/uzknuetu5e/notes/1vpwl7ayhp.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "1vpwl7AyHP",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer RVwf",+ "content": {+ "paper_summary": "This work accelerates two-party secure LLM inference on SPU through MOSAIC, a framework which locally computes public context KV tensors and then integrates them into the secure computation protocol as private inputs. In MOSAIC, each party also updates their relevant shares of the KV cache with slicing and concatenation at public positions, avoiding expensive secure protocols. The experiments show significant speedups and reductions in communication cost.",+ "presentation": 3,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "1. I find the public position idea, and the idea of locally computing KV tensors and importing them as private inputs, to be quite compelling. The experimental results are also very strong, particularly the >4x speedup for GPT-2 and the 84% reduction in communication cost.",+ "critical_weaknesses": "1. My main concern with acceptance is that the >4x speedup number is against a fairly weak baseline (no KV caching). The authors do compare MOSAIC against Full2PC with KV caching, but they use different timing boundaries for these, so it is difficult to see how much MOSAIC really improves over the more realistic baseline. \n\n2. Some of the consistency results are not great, such as the 65% consistency with native plaintext for MOSAIC on CoLA, vs 90% on compatible plaintext. There is also a fairly large drop in MCC here. The authors should explain why this degradation happens and how to prevent it, as this is a large drop in inference quality.",+ "questions_for_authors": "1. Can the authors include a comparison of MOSAIC against Full2PC baseline with KV caching, with the same timing boundaries? I am willing to raise my score to accept if the benefits of MOSAIC persist here.\n\n2. Why does SmolLM2-360M have such low prediction consistency? Is it because of numerical instability?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-22T02:33:26.696Z",+ "modifiedAt": "2026-11-06T12:33:00.779Z",+ "url": "https://openreview.net/forum?id=UZknUETu5E¬eId=1vpwl7AyHP",+ "license": "CC-BY-4.0"+}
reviews/openreview/uzknuetu5e/notes/5uvhc0u68k.json added
+++ b/reviews/openreview/uzknuetu5e/notes/5uvhc0u68k.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "5uVhc0u68k",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer R1Ra",+ "content": {+ "paper_summary": "This paper presents MOSAIC, a two-party secure LLM inference framework on SPU. It computes public-prefix KV caches locally and imports them into secure computation. It also uses public cache indices to reduce secure update overhead. The authors report up to 4.41× speedup over Full2PC without KV reuse.",+ "presentation": 3,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "1.The paper addresses a practical efficiency problem in secure LLM inference. The proposed approach is reasonable and preserves causal attention dependencies under the stated assumptions.\n2.The implementation and evaluation are relatively comprehensive, including efficiency measurements, ablation studies, and numerical consistency analysis.",+ "critical_weaknesses": "Limited novelty and an insufficient baseline.\nThe main techniques rely on public-prefix computation, KV caching, and public-index updates, which are relatively straightforward or already well-established. More importantly, the reported 4.41× speedup is compared against Full2PC without KV caching. The authors' own ablation shows that KV caching alone provides a 2.87× speedup. Although a cached Full2PC result is provided, its timing boundaries differ from MOSAIC. Therefore, the actual contribution of public-context optimization remains unclear.\n\nLimited experimental validation and unresolved correctness issues.\nThe largest evaluated model has only 360M parameters, and the main efficiency experiments use GPT-2 on a single host. This limits the evidence for practical LLM inference. More concerningly, Appendix B.3 reports inconsistent predictions between caching configurations for SmolLM2-135M-Base, together with an incorrect RoPE configuration. These issues remain unresolved and weaken confidence in the implementation.",+ "questions_for_authors": "1.Can the authors provide a fair end-to-end comparison against Full2PC with KV caching and public-index updates, using identical timing boundaries? How much speedup comes specifically from public-prefix computation?\n2.What causes the prediction inconsistencies reported in Appendix B.3? Do these results remain valid after correcting the RoPE configuration?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 4+ },+ "createdAt": "2026-10-19T02:30:56.753Z",+ "modifiedAt": "2026-11-19T03:17:03.891Z",+ "url": "https://openreview.net/forum?id=UZknUETu5E¬eId=5uVhc0u68k",+ "license": "CC-BY-4.0"+}
reviews/openreview/uzknuetu5e/submission.json added
+++ b/reviews/openreview/uzknuetu5e/submission.json@@ -0,0 +1,17 @@+{+ "schema": "submission/1",+ "id": "UZknUETu5E",+ "venue": {+ "id": "ICLR.cc/2027/Conference",+ "name": "ICLR 2027",+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"+ },+ "number": 42065,+ "keywords": [+ "Privacy-preserving LLM inference",+ "Secure two-party computation",+ "KV caching"+ ],+ "url": "https://openreview.net/forum?id=UZknUETu5E",+ "license": "CC-BY-4.0"+}
versions/v_68w8yvj8.json added
+++ b/versions/v_68w8yvj8.json@@ -0,0 +1,21 @@+{+ "date": "2026-09-18",+ "kind": "submitted",+ "label": "ICLR 2027",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "number": 42065,+ "url": "https://openreview.net/forum?id=UZknUETu5E",+ "reviews": "openreview/uzknuetu5e",+ "evidence": [+ "https://openreview.net/forum?id=UZknUETu5E"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=UZknUETu5E",+ "evidence": [+ "https://openreview.net/forum?id=UZknUETu5E"+ ]+}