Skip to content
AI News HubLIVE
Original source2 min read

BlockLock: Reproducible LLM Inference with Fixed Batch Geometry

Summary

BlockLock enables bitwise reproducible LLM inference by fixing the numerical path geometry of protected requests while keeping shared batched prefill, achieving significant latency reduction and throughput improvement without custom kernels.

SourcearXiv AIAuthor: Xiuyuan Qi, Pedro Reviriego, Javier Conde, Shanshan Liu
BlockLock: Reproducible LLM Inference with Fixed Batch Geometry
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 4 Nov 2026]

Title:BlockLock: Reproducible LLM Inference with Fixed Batch Geometry

View a PDF of the paper titled BlockLock: Reproducible LLM Inference with Fixed Batch Geometry, by Xiuyuan Qi and 3 other authors

View PDF HTML (experimental)

Abstract:Reproducible LLM inference requires that a request produces the same output regardless of the other requests in the batch. Existing solutions pay for this in different ways: batch-invariant kernels constrain every operator, and isolating prefill with fixed-shape decode ({our CoRun-style baseline}) gives up shared prefill compute and pads decode. We present BlockLock, which keeps shared batched prefill and pins only the numerical path of the protected request: it fixes the geometry that the request sees, with {two modes: BlockLock-Rows uses fixed-width rows and retains batched decode of all requests; BlockLock-Pack uses terminal-anchored packing with an isolated dummy segment, then extracts the protected request's KV state for target-only decode. Under a stated per-deployment contract, both modes preserve the target's output bitwise when its companions change.} Across five {dense} models (Qwen3-8B/14B, Llama-3.1-8B-Instruct, and Gemma-3-4B/12B-IT) and three single-GPU deployments (NVIDIA A6000, A100, and H100), we evaluate our approach on both tinyBenchmarks and BFCL{; we also include initial tensor-parallel experiments on two NVIDIA A6000 GPUs. Both modes preserve target sequences and Top20-logit bits in the reported tests.} At equal delivered work, {BlockLock-Rows} reduces latency by 53.5--55.0\% and improves throughput by 115.2--122.2\% relative to vLLM Batch-Invariant; compared with batch-invariant kernels, it needs no custom kernel implementations and constrains only the protected requests.

Subjects:

Artificial Intelligence (cs.AI); Computation and Language (cs.CL)

Cite as: arXiv:2611.06977 [cs.AI]

(or arXiv:2611.06977v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2611.06977

arXiv-issued DOI via DataCite

Submission history

From: Xiuyuan Qi [view email] [v1] Wed, 4 Nov 2026 13:40:05 UTC (2,005 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled BlockLock: Reproducible LLM Inference with Fixed Batch Geometry, by Xiuyuan Qi and 3 other authors

View PDF

HTML (experimental)

TeX Source

view license

Additional Features

Audio Summary

Current browse context:

cs.AI

new | recent | 2026-11

Change to browse by:

cs cs.CL

References & Citations

SciX

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • BlockLock preserves shared batched prefill and pins only the protected request's geometry, ensuring output invariance to batch composition.
  • Two modes: BlockLock-Rows retains batched decode of all requests; BlockLock-Pack uses terminal-anchored packing with an isolated dummy segment.
  • Both modes maintain target sequence and Top20-logit bits across five dense models and three GPU deployments.
  • BlockLock-Rows reduces latency by 53.5-55.0% and improves throughput by 115.2-122.2% over vLLM Batch-Invariant, without custom kernels.

Highlights and analysis are generated automatically and may contain errors. Check the original source.

BlockLock: Reproducible LLM Inference with Fixed Batch Geometry | AI News Hub