[KongchangAI]
PaperGramDelta 框架

GramDelta

An incremental constrained decoding framework for append-only runtime grammar updates. By incrementally propagating grammar differences and using compilation-free factorized projection, it avoids reparsing the committed prefix and reduces the latency of dynamically grammar-constrained decoding.

Timeline (last 90 days)

Nov 25

The paper proposes GramDelta, an incremental constrained decoding framework for append-only runtime grammar updates.

Unverified50%
Nov 25

The core idea of GramDelta is to avoid prefix replay: it maintains the parse state over the committed prefix and, when new grammar rules are added, propagates only the changes along the historical dependency graph.

Unverified50%
Nov 25

GramDelta adopts a compilation-free factorized projection that maps the updated parse state to an exact next-token mask, avoiding recompiling the mask cache on every update.

Unverified50%
Nov 25

While guaranteeing the same results as full rebuilding, GramDelta makes the update cost proportional to the impact scope of the actual grammar change rather than linearly proportional to the prefix length.

Unverified50%
Nov 25

When there are no grammar updates, the additional overhead introduced by GramDelta is negligible.

Unverified50%
Nov 25

Under continuous runtime grammar evolution, GramDelta reduces the median latency of first-appearing grammar updates by 10.7–11.5 times relative to the strongest rebuilding baseline.

Unverified50%
Nov 25

GramDelta reduces the additional TPOT overhead relative to unconstrained decoding by 53.1–81.9%.

Unverified50%
Nov 25

The paper's experiments cover four model configurations, but no specific model names or parameter scales are mentioned.

Unverified50%
Nov 25

The paper does not discuss GramDelta's performance under very large grammars or extreme update frequencies.

Unverified50%
Nov 25

The GramDelta framework is not yet open-sourced.

Unverified50%

1 more timeline events

All Facts (11)

Unverified

The paper proposes GramDelta, an incremental constrained decoding framework for append-only runtime grammar updates.

50%
Unverified

The core idea of GramDelta is to avoid prefix replay: it maintains the parse state over the committed prefix and, when new grammar rules are added, propagates only the changes along the historical dependency graph.

50%
Unverified

GramDelta adopts a compilation-free factorized projection that maps the updated parse state to an exact next-token mask, avoiding recompiling the mask cache on every update.

50%
Unverified

While guaranteeing the same results as full rebuilding, GramDelta makes the update cost proportional to the impact scope of the actual grammar change rather than linearly proportional to the prefix length.

50%
Unverified

When there are no grammar updates, the additional overhead introduced by GramDelta is negligible.

50%
Unverified

Under continuous runtime grammar evolution, GramDelta reduces the median latency of first-appearing grammar updates by 10.7–11.5 times relative to the strongest rebuilding baseline.

50%
Unverified

GramDelta reduces the additional TPOT overhead relative to unconstrained decoding by 53.1–81.9%.

50%
Unverified

The paper's experiments cover four model configurations, but no specific model names or parameter scales are mentioned.

50%
Unverified

The paper does not discuss GramDelta's performance under very large grammars or extreme update frequencies.

50%
Unverified

The GramDelta framework is not yet open-sourced.

50%
Unverified

In the future, such incremental techniques are expected to become a standard component of structured decoding engines.

50%

Source Articles