Papers
Topics
Authors
Recent
Search
2000 character limit reached

Parallel Box Decoding (PBD)

Updated 4 July 2026
  • Parallel Box Decoding (PBD) is a decoding strategy that replaces sequential token decisions with block-structured, parallel units, reducing latency and enhancing throughput.
  • It employs domain-specific block designs—using atomic geometric units in vision-language tasks and candidate clusters in MIMO detection—to ensure structural coherence and hardware efficiency.
  • Empirical evaluations reveal that PBD methods achieve significant speed improvements and competitive accuracy, effectively balancing throughput and performance across various applications.

Parallel Box Decoding (PBD) is a domain-specific term used in several strands of recent arXiv literature for decoding schemes that replace fine-grained sequential decisions with larger, box-structured or block-structured units that can be processed in parallel. In vision-language grounding, PBD denotes decoding bounding boxes and points as atomic geometric units rather than as serialized coordinate tokens, as introduced by "LocateAnything: Fast and High-Quality Vision-Language Grounding with Parallel Box Decoding" (Wang et al., 26 May 2026). In MIMO detection, the same acronym denotes a hardware-friendly realization of Box Decoding that searches fixed candidate boxes around a zero-forcing estimate and applies deterministic, sort-free pruning (Yang et al., 29 Nov 2025). Related formulations appear in "Blockwise Parallel Decoding for Deep Autoregressive Models" (Stern et al., 2018) and in "ℓp\ell_p-Box Decoding of LDPC Codes" (Wu et al., 2017). A plausible unifying interpretation is that these methods all seek to shorten the critical sequential path by aligning the decoding unit with the underlying structure of the problem.

1. Terminological scope and major usages

In the cited literature, PBD is not a single canonical algorithm. It denotes distinct methods in vision-language modeling, wireless detection, sequence generation, and coding theory.

Domain Meaning of PBD Representative paper
Vision-language grounding and detection Parallel Box Decoding of atomic geometric blocks (Wang et al., 26 May 2026)
MIMO detection Parallel Box Decoding as a parallel realization of Box Decoding with sort-free pruning (Yang et al., 29 Nov 2025)
Autoregressive generation Blockwise parallel decoding of future tokens with longest-prefix validation (Stern et al., 2018)
LDPC decoding ℓp\ell_p-box decoding with distributed ADMM updates (Wu et al., 2017)

The diversity of usage matters because the term can otherwise be mistaken for a single technique transferable without modification across domains. In practice, each formulation defines its own decoding unit, factorization, and hardware or algorithmic objective. In vision-language grounding, the atomic unit is a box or point. In MIMO detection, it is a small QAM candidate box centered at a ZF-derived reference. In autoregressive generation, it is a block of future tokens. In LDPC decoding, the “box” is part of an exact continuous reformulation of binary constraints.

2. Geometric PBD in vision-language grounding

In LocateAnything, PBD is introduced to address a specific mismatch in vision-LLMs that formulate grounding and detection as a coordinate-token generation problem (Wang et al., 26 May 2026). Standard systems serialize 2D2\text{D} geometry into 1D1\text{D} text tokens, such as textual digits like “1024” emitted as “1”, “0”, “2”, “4”, or coordinate tokens emitted as x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_2. The reported limitations are geometric incoherence, because the four coordinates of a box are decoded largely independently; a sequential bottleneck, because token-by-token decoding increases latency and reduces throughput; and the inadequacy of structure-agnostic multi-token prediction, because arbitrary token grouping is misaligned with box geometry and can induce spurious dependencies.

PBD replaces this token-level view with block-aligned decoding. Geometric elements—bounding boxes and points—are treated as atomic units, and the full set of coordinates is predicted in a single parallel step. A block bb is a fixed-length unit with L=6L=6 that includes structural tokens such as ⟨box⟩\langle box\rangle and ⟨/box⟩\langle/box\rangle together with the four quantized coordinates. Unoccupied positions are padded with ⟨null⟩\langle null\rangle for uniform tensor shapes. The paper attributes intra-box geometric coherence to bidirectional attention across tokens within the same block and to box-aligned supervision, in which blocks are defined per box rather than as arbitrary token chunks.

The formulation distinguishes several functional block types: semantic block, box block, negative block, and end block. The semantic block carries identity or text semantics and may spill across multiple blocks. The box block contains the four discretized coordinates. The negative block provides an explicit “no object” signal to reduce hallucinations. The end block marks generation termination.

LocateAnything uses corner coordinates for boxes. Let ℓp\ell_p0. Coordinates are normalized to ℓp\ell_p1 and discretized into tokens, with the illustrative discretization

ℓp\ell_p2

where ℓp\ell_p3 are image width and height. Standard token-by-token decoding factorizes as

ℓp\ell_p4

where ℓp\ell_p5 is the image and ℓp\ell_p6 is the text query. PBD instead factorizes at block level:

ℓp\ell_p7

where ℓp\ell_p8 are visual tokens and ℓp\ell_p9 is the text query. Within an active block, masked positions are predicted simultaneously, and the intra-block attention is bidirectional. If the block size equals 2D2\text{D}0, the PBD formulation reduces to standard NTP.

3. Architecture, supervision, and large-scale data in LocateAnything

LocateAnything is implemented as a native-resolution VLM with a Moon-ViT vision encoder, a Qwen2.5 LLM language decoder, and an MLP projector bridging visual tokens 2D2\text{D}1 to the language decoder (Wang et al., 26 May 2026). Coordinates are discretized to 2D2\text{D}2 tokens and organized into fixed-length blocks with structural tokens. Boxes and points are therefore represented as atomic units via box or point blocks. The decoding pattern is non-autoregressive within a block and semi-autoregressive across blocks: block-causal attention preserves stable inter-block dependencies, reduces duplicates and misses, and maintains KV cache compatibility.

The training objective is a dual formulation over the same ground truth:

2D2\text{D}3

Both terms are cross-entropy losses over discrete token predictions in the NTP and block-wise MTP streams. The paper also emphasizes design-level constraints rather than regression losses: structural tokens constrain syntax and box structure; the attention mask enforces causal inter-block dependence and bidirectional intra-box coherence; and negative block supervision teaches abstention when a query has no target. It explicitly does not report using box regression losses such as 2D2\text{D}4, Smooth 2D2\text{D}5, IoU, GIoU, or DIoU, and it does not use Hungarian or bipartite matching. Nor does it use DETR-style set prediction. Instead, a deterministic box ordering policy is used, with X–Y corner order reported as best in ablation.

A second pillar of the method is LocateAnything-Data, curated by a scalable data engine. The dataset statistics are 2D2\text{D}6M unique images, 2D2\text{D}7M natural-language queries, and 2D2\text{D}8M annotated bounding boxes. The task mixture by queries is reported as general object detection 2D2\text{D}9, GUI grounding 1D1\text{D}0, referring comprehension 1D1\text{D}1, text localization 1D1\text{D}2, document/scene layout 1D1\text{D}3, and point-based localization 1D1\text{D}4. For labeled detection datasets such as OpenImages and Objects365, category labels are used to prompt Qwen3-VL and synthesize rich queries, while Molmo predicts candidate points and points inside corresponding ground-truth boxes are retained as reliable supervision. For unlabeled images such as Unsplash and SA-1B, Qwen3-VL generates diverse queries directly; either Molmo is prompted for points followed by SAM 3 to produce boxes, or Rex-Omni predicts boxes directly; final post-verification by Qwen3-VL filters inconsistent boxes. Negative samples are explicitly constructed across domains, with the example of 1D1\text{D}5M negatives in Detection.

4. Inference modes, complexity, and empirical frontier in LocateAnything

LocateAnything reports three inference modes: Slow Mode, which uses NTP token-by-token for maximum stability; Fast Mode, which uses MTP PBD to predict full boxes or points per block in one parallel step; and Hybrid Mode, which defaults to PBD and falls back to NTP if format irregularity or spatial ambiguity is detected (Wang et al., 26 May 2026). The ambiguity trigger is defined by two simultaneous conditions: top-1 coordinate token probability 1D1\text{D}6, and the max–min range among top-5 coordinate tokens 1D1\text{D}7 in 1D1\text{D}8 space. During an MTP step, the current block uses bidirectional intra-block attention; after prediction, only committed tokens are retained in the KV cache, while mask tokens and duplicated anchors are evicted. The reported decoding setup uses BF16 precision, block size 1D1\text{D}9, nucleus sampling with temperature x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_20, top-x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_21 x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_22, and repetition penalty x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_23.

The complexity claim is explicit. If each box requires x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_24 tokens in NTP, autoregressive decoding takes x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_25 sequential steps, and throughput degrades linearly with the number of boxes. PBD reduces per-box steps to x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_26 by predicting all masked positions in a single block step. As target boxes grow from x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_27 to x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_28, NTP latency increases sharply, whereas PBD generation time increases slightly, and throughput rises from x1→y1→x2→y2x_1 \rightarrow y_1 \rightarrow x_2 \rightarrow y_29 BPS to bb0 BPS.

The single-H100, batch-size-bb1 throughput numbers place LocateAnything on a distinct speed–accuracy frontier. LocateAnything-3B Hybrid is reported at bb2 BPS, Rex-Omni-3B at bb3 BPS, and Qwen3-VL-8B at bb4–bb5 BPS. In ablation, Fast Mode reaches up to bb6 BPS, while Hybrid keeps most of the speed gain and preserves accuracy. On detection, the reported LVIS F1 mean is bb7 for LocateAnything-3B versus bb8 for Rex-Omni-3B, and LVIS F1@IoUbb9 is L=6L=60 versus L=6L=61. On COCO, F1 mean is L=6L=62 versus L=6L=63, and F1@IoUL=6L=64 is L=6L=65 versus L=6L=66. On dense detection, Dense200 F1 mean is L=6L=67 versus L=6L=68, and VisDrone F1 mean is L=6L=69 versus ⟨box⟩\langle box\rangle0. On document layout and OCR, DocLayNet F1 mean is ⟨box⟩\langle box\rangle1 versus ⟨box⟩\langle box\rangle2, M6Doc F1 mean is ⟨box⟩\langle box\rangle3 versus ⟨box⟩\langle box\rangle4, and TotalText F1 mean is ⟨box⟩\langle box\rangle5 versus ⟨box⟩\langle box\rangle6. On GUI grounding, ScreenSpot-Pro average is ⟨box⟩\langle box\rangle7. On referring expression comprehension, HumanRef F1 mean is ⟨box⟩\langle box\rangle8, and RefCOCOg test F1 mean is ⟨box⟩\langle box\rangle9. On pointing tasks, COCO F1@Point is ⟨/box⟩\langle/box\rangle0, LVIS ⟨/box⟩\langle/box\rangle1, Dense200 ⟨/box⟩\langle/box\rangle2, and RefCOCOg test ⟨/box⟩\langle/box\rangle3.

The ablations clarify what is specific to PBD rather than to coordinate quantization alone. In coordinate representation, NTP Textual gives F1 ⟨/box⟩\langle/box\rangle4 at ⟨/box⟩\langle/box\rangle5 BPS, NTP Quantized gives F1 ⟨/box⟩\langle/box\rangle6 at ⟨/box⟩\langle/box\rangle7 BPS, PBD Slow gives F1 ⟨/box⟩\langle/box\rangle8 at ⟨/box⟩\langle/box\rangle9 BPS, PBD Fast gives F1 ⟨null⟩\langle null\rangle0 at ⟨null⟩\langle null\rangle1 BPS, and PBD Hybrid gives F1 ⟨null⟩\langle null\rangle2 at ⟨null⟩\langle null\rangle3 BPS. Structure-agnostic MTP methods identified as SDLM/Block Diffusion show lower F1, reported as ⟨null⟩\langle null\rangle4, with throughput ⟨null⟩\langle null\rangle5 BPS. Joint training improves Slow Mode F1 from ⟨null⟩\langle null\rangle6 to ⟨null⟩\langle null\rangle7, and on Qwen3-VL-4B the Hybrid re-instantiation improves COCO F1 from ⟨null⟩\langle null\rangle8 to ⟨null⟩\langle null\rangle9 while throughput increases from ℓp\ell_p00 to ℓp\ell_p01 BPS.

5. PBD in MIMO detection

In "Box Decoding with Low-Complexity Sort-free Candidate Pruning for MIMO Detection", PBD refers to a hardware-friendly realization of Box Decoding that exploits fixed-size, ZF-centered candidate boxes and deterministic, sort-free pruning rules to process candidate clusters concurrently (Yang et al., 29 Nov 2025). The system model is

ℓp\ell_p02

with ℓp\ell_p03, ℓp\ell_p04, and ℓp\ell_p05. After QR decomposition ℓp\ell_p06, the transformed observation is

ℓp\ell_p07

The partial Euclidean distance recursion is

ℓp\ell_p08

The defining idea is that Box Decoding forms a fixed-size “box” of constellation points around a ZF-centered reference ℓp\ell_p09, with grid spacing ℓp\ell_p10, and that pruning inside each box can be done without global sorting. For a candidate ℓp\ell_p11 in the layer-ℓp\ell_p12 box cluster, the PED increment simplifies to

ℓp\ell_p13

Because ℓp\ell_p14, ℓp\ell_p15, and ℓp\ell_p16 are shared within a cluster, local displacement determines ordering. The paper then introduces three deterministic pruning devices: a QAM-grid symmetry rule, a relative displacement rule around the ZF-centered reference, and sort-free local ordering with early rejection bounds. Metric 1 chooses the local minimum using a few sign checks, while Metric 2 fully orders the four nearest neighbors without computing full squared distances.

These local rules define three pruning strategies. Single-Step Candidate Pruning (SCP) selects exactly one child per parent box cluster and realizes maximal parallelism. Iterative Candidate Pruning (ICP) treats each box cluster as a pre-ordered source list and uses a small multiway merge to pick the ℓp\ell_p17 globally best children across clusters. Hybrid SICPℓp\ell_p18 applies ICP only in the first ℓp\ell_p19 layers and then reverts to SCP. The hardware mapping is explicitly pipeline-oriented: QR preprocessing and observation transform, per-layer concurrent processing of surviving parents, local pruning units, PED updates only for survivors, and lightweight buffering of ℓp\ell_p20 and small queues.

The paper’s complexity results are stated in terms of visited nodes per layer. With fixed ℓp\ell_p21, K-best has ℓp\ell_p22, DKB has ℓp\ell_p23, ICP has ℓp\ell_p24, and SCP has ℓp\ell_p25. For ℓp\ell_p26, the totals reported are: for ℓp\ell_p27 MIMO, SCP ℓp\ell_p28, ICP ℓp\ell_p29, DKB ℓp\ell_p30; for ℓp\ell_p31, SCP ℓp\ell_p32, ICP ℓp\ell_p33, DKB ℓp\ell_p34. The paper summarizes these as about ℓp\ell_p35 reduction for Box-SCP relative to DKB and about ℓp\ell_p36 reduction for Box-ICP, with savings independent of ℓp\ell_p37. The BER trade-off is also explicit: for ℓp\ell_p38 MIMO at BER ℓp\ell_p39, Box-SCP incurs approximately ℓp\ell_p40 dB, ℓp\ell_p41 dB, and ℓp\ell_p42 dB SNR losses at 4-QAM, 16-QAM, and 64-QAM; Box-SICPℓp\ell_p43 closes most of the gap and approaches K-best. For ℓp\ell_p44 MIMO, the corresponding Box-SCP losses are approximately ℓp\ell_p45 dB, ℓp\ell_p46 dB, and ℓp\ell_p47 dB, while one ICP layer improves by approximately ℓp\ell_p48 dB, ℓp\ell_p49 dB, and ℓp\ell_p50 dB.

6. Blockwise parallel decoding as a precursor in autoregressive generation

"Blockwise Parallel Decoding for Deep Autoregressive Models" studies a different setting but provides a closely related template: propose multiple future outputs in parallel, then validate the longest consistent prefix (Stern et al., 2018). For an input ℓp\ell_p51 and output ℓp\ell_p52, the standard autoregressive model is

ℓp\ell_p53

Greedy decoding commits one token per iteration. The proposed scheme chooses a block size ℓp\ell_p54, predicts ℓp\ell_p55 in parallel, and then verifies the largest ℓp\ell_p56 such that each proposed token matches the greedy choice of the base scoring model conditioned on the already accepted prefix.

Under exact-match validation, the output is guaranteed to be identical to greedy decoding. The expected accepted prefix length ℓp\ell_p57 determines the iteration reduction, with

ℓp\ell_p58

and the expected number of decoding iterations approximately ℓp\ell_p59. With a combined scoring and proposal head, the model-call speedup is approximately ℓp\ell_p60. The measured results show up to approximately ℓp\ell_p61 wall-clock speedup in machine translation and approximately ℓp\ell_p62 in image super-resolution. On WMT14 En–De, the fine-tuned and distilled setting with ℓp\ell_p63 reports BLEU ℓp\ell_p64 with wall-clock speedup approximately ℓp\ell_p65, versus distilled greedy BLEU ℓp\ell_p66. On CelebA image super-resolution, the best setting reports wall-clock speedup approximately ℓp\ell_p67 at ℓp\ell_p68, with human evaluation indicating comparable or slightly preferred output quality.

The relation to later PBD terminology is conceptual rather than literal. The parallel unit in this work is a future token block, not a geometric box or a QAM candidate box. Nevertheless, it formalizes a recurring pattern: exploit hardware-parallel scoring inside a block, retain a causal interface between committed blocks, and use a verification or backoff rule to preserve stability.

7. ℓp\ell_p69-box LDPC decoding and broader distinctions

In "ℓp\ell_p70-Box Decoding of LDPC Codes", the term “box decoding” refers to an exact continuous surrogate for binary constraints, combined with a distributed ADMM realization that updates variable nodes and check nodes in parallel (Wu et al., 2017). For an LDPC code with parity-check matrix ℓp\ell_p71, the decoder minimizes ℓp\ell_p72 subject to code constraints. The key reformulation replaces ℓp\ell_p73 with

ℓp\ell_p74

For ℓp\ell_p75, this intersection equals ℓp\ell_p76. The practical method uses ℓp\ell_p77, because projection onto the ℓp\ell_p78 sphere is closed-form.

The ADMM splitting introduces an auxiliary ℓp\ell_p79 for the sphere constraint and ℓp\ell_p80 copies for local parity-polytope constraints. The updates then decouple naturally: variable-node updates are componentwise and depend only on local check neighborhoods; check-node updates project independently onto the parity polytope; and the ℓp\ell_p81-update is a single Euclidean projection onto the sphere

ℓp\ell_p82

with ℓp\ell_p83 and ℓp\ell_p84. The paper describes this as parameter-free at the modeling level because it eliminates the penalty weight ℓp\ell_p85 used in penalized LP decoding. Reported runtime on CPU is ℓp\ell_p86 s at SNR ℓp\ell_p87 dB and ℓp\ell_p88 s at SNR ℓp\ell_p89 dB for ℓp\ell_p90-box ADMM, versus BP at ℓp\ell_p91 s and ℓp\ell_p92 s and penalized ℓp\ell_p93-ADMM at ℓp\ell_p94 s and ℓp\ell_p95 s. The reported WER behavior shows lower WER than BP and penalized ADMM, especially as SNR increases and error floors become prominent.

Across these literatures, one recurring misconception is to equate PBD with generic parallel decoding. The papers do not support that simplification. In LocateAnything, structure-agnostic MTP is explicitly reported as insufficient because arbitrary token grouping is misaligned with box geometry. In MIMO detection, the defining property is not merely parallelism but sort-free, comparator-based local pruning around ZF-centered candidate boxes. In blockwise autoregressive decoding, correctness under exact validation comes from longest-prefix verification against the base model. In LDPC decoding, the “box” is a constraint set rather than a generated object. PBD is therefore better understood as a family of structurally aligned parallel decoding strategies rather than as a single algorithmic primitive.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Parallel Box Decoding (PBD).