{
  "id": "2026/1487",
  "url": "https://opencryptology.org/2026/1487",
  "original_url": "https://eprint.iacr.org/2026/1487",
  "title": "LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison Function",
  "authors": [
    "Chenkai Zeng",
    "Qi Feng",
    "Debiao He",
    "Min Luo"
  ],
  "affiliations": null,
  "abstract": "Recently, Shark (S\\&P'25) considered the problem of actively two-party secure machine learning inference using an authenticated distributed comparison function (DCF). This is the state-of-the-art work in this setting. On the other hand, Grotto (CCS'23) built a variant DCF with the key size half that of classic DCF. Unfortunately, as Shark states, \\textit{it is not known how to extend Grotto to the malicious setting}. In this paper, we present the first actively secure Grotto-style DCF scheme. Our authenticated DCF is deliberately designed on the correlated GGM tree and maintains the key-size advantage of semi-honest Grotto. We further implement an actively secure ML inference framework, named LightShark, which supports efficient primitives (e.g., ReLU, spline, and truncation) and ML models (e.g., VGG-16, GPT, BERT). Compared with Shark, our LightShark outperforms by $1.49 \\times \\sim 2.69\\times$ and reduces communication costs by $66.7\\%$ for Bert-base inference. Surprisingly, for larger LLM models, the experimental evaluation demonstrates that our framework works vastly well.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison Function” by Chenkai Zeng, Qi Feng, Debiao He, Min Luo, Cryptology ePrint Archive, Paper 2026/1487, https://eprint.iacr.org/2026/1487. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2026-07-21T02:02:25Z",
    "updated": "2026-07-21T02:02:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1487.pdf",
    "sha256": "35e9a63bc74f2bc6707e4ba358abc4d1d15b323bb1a8c7a41fc9e4b8e6cf8304",
    "size": 1393166,
    "source": "wayback",
    "source_date": "2026-08-28T22:17:05Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1487/versions/20260828T221705Z.pdf",
      "captured_at": "2026-08-28T22:17:05Z",
      "label": "copy captured 2026-08-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260828221705id_/https://eprint.iacr.org/2026/1487.pdf",
      "size": 1393166,
      "sha256": "35e9a63bc74f2bc6707e4ba358abc4d1d15b323bb1a8c7a41fc9e4b8e6cf8304",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260828221705id_/https://eprint.iacr.org/2026/1487.pdf",
      "captured_at": "2026-08-28T22:17:05Z",
      "size": 1328927
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1487,\n      author = {Chenkai Zeng and Qi Feng and Debiao He and Min Luo},\n      title = {LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison Function},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1487},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1487}\n}"
}
