mlsanityData to 7 Oct 2026

Integrity of peer-to-peer distributed LLM inference under malicious nodes

arXiv 2607.19490 ↗First posted 21 Jul 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Peer-to-peer distributed inference executes a Large Language Model (LLM) on pooled consumer hardware by spreading its layers across many nodes. Every request passes through nodes that are owned and controlled by multiple independent parties. However, in this setting, any party can tamper with the output of its layers to corrupt the end result. Recomputing the forward pass on trusted hardware can catch this, but it introduces additional computational cost. The scientific literature includes several prior integrity-checking approaches, such as known-answer traps for image classifiers and cryptographic commitments. However, these solutions test only the exact correctness and do not account for the ordinary variation that may arise between benign nodes. In this paper, we propose a method that checks the output integrity by measuring the variation in the activations that each node passes to the next. A peer who wants to use the network selects a small set of secret canary inputs whose correct activations are known in advance and mixes them into regular traffic. Because the peers cannot tell a canary from a real query, any tampering node corrupts them as well. The deviation from the known reference then reveals malicious activity: benign nodes exhibit only minor variation from hardware-induced noise, whereas tampered nodes deviate far more. We treat the identification of malicious nodes as a probabilistic test that separates two drift distributions, without relying on a fixed threshold. We study 408 configurations with metrics and success criteria fixed before any experiment ran; the detector reaches AUROC 1.0, correctly ranking the malicious shard above every benign shard on every canary in every configuration.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 29 references that are in the map. First posted on arXiv 21 Jul 2026.

Builds on

23 of 29 references.

References · 23

  1. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  2. 2018Byzantine-Robust Distributed Learning: Towards Optimal Statistical Ratescited by 698
  3. 2023A Watermark for Large Language Modelscited by 667
  4. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  5. 2019Local Model Poisoning Attacks to Byzantine-Robust Federated Learningcited by 479
  6. 2020FLTrust: Byzantine-robust Federated Learning via Trust Bootstrappingcited by 330
  7. 2018The Hidden Vulnerability of Distributed Learning in Byzantiumcited by 324
  8. 2020Threats to Federated Learning: A Surveycited by 171
  9. 2019Bit-Flip Attack: Crushing Neural Network with Progressive Bit Searchcited by 106
  10. 2018Slalom: Fast, Verifiable and Private Execution of Neural Networks in Trusted Hardwarecited by 101
  11. 2021Proof-of-Learning: Definitions and Practicecited by 81
  12. 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficientcited by 58
11 more
  1. 2024Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flowcited by 54
  2. 2017SafetyNets: Verifiable Execution of Deep Neural Networks on an Untrusted Cloudcited by 50
  3. 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
  4. 2022Scaling up Trustless DNN Inference with Zero-Knowledge Proofscited by 30
  5. 2024Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applicationscited by 24
  6. 2024opML: Optimistic Machine Learning on Blockchaincited by 20
  7. 2025TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inferencecited by 16
  8. 2021Pipeline Parallelism for Inference on Heterogeneous Edge Computingcited by 13
  9. 2025Prompt Inference Attack on Distributed Large Language Model Inference Frameworkscited by 13
  10. 2022BlockDFL: A Blockchain-based Fully Decentralized Peer-to-Peer Federated Learning Frameworkcited by 11
  11. 2022Fusion: Efficient and Secure Inference Resilient to Malicious Serverscited by 2

Built on by

Not cited yet.