[KongchangAI]
ConceptGuided Generation / 约束生成 / 结构化生成

Guided Generation

A technique that constrains a language model's token outputs in real time during inference. Using finite-state machines or context-free grammars, it masks candidate tokens that violate structural constraints at the sampling level, ensuring that the generated output conforms to a specified schema.

Timeline (last 90 days)

Oct 12

Apple Foundation Models constrains model output at the framework level via guided generation to necessarily conform to a given type structure, whereas ExecuTorch has no corresponding capability and can only write the schema into the prompt.

Unverified50%
Oct 12

Guided generation is a technique that constrains model output tokens in real time during inference, typically implemented via finite state machines or context-free grammars, masking candidate tokens that do not satisfy structural constraints at the sampling layer.

Unverified50%

All Facts (2)

Source Articles