Skip to content

Fill in the Blanks: Non-Autoregressive Schema-Parallel Key Information Extraction with CTC Decoding

Shaked Perek, Avihu Dekel, Ben Wiesel, Sivan Harary, Eli Schwartz

cs.CV

Abstract

Vision-language models (VLMs) extract structured data from documents by generating the requested JSON one token at a time, so their sequential steps grow with the length of the answer. Yet in key information extraction (KIE) the schema already fixes the answer's structure: keys, nesting and lists are known before decoding, and only the values are unknown. We exploit this with a non-autoregressive extractor that writes the structure from the schema, sizes every list with a count pass, and predicts all values in parallel, in a fixed number of passes that does not grow with the document. Each value is decoded with connectionist temporal classification (CTC) in its own block of slots, so its length never has to be predicted, and a value that is still open after its block gets a larger token budget. Zero-shot on VAREX, CORD and FUNSD, our 4B extractor is 3.5×\times faster than the diffusion-VLM competition on average (up to 5.6×\times) and more accurate, with 4--6 forward passes per document where block diffusion needs 12--74. The same extractor also drafts for speculative decoding with its own autoregressive base: it runs 8.3×\times faster than autoregressive decoding (up to 10.4×\times) within 0.4 points of its accuracy, and 3.3×\times faster than speculative diffusion decoding while 13.0 points more accurate. We release the model and code.

Create a lesson