AI term
Schema-constrained decoding
What is Schema-constrained decoding?
Generation method that restricts possible output tokens so responses follow a required structure
In other languages
- 한국어스키마 제한 디코딩
- 모델 출력이 미리 정한 데이터 구조와 형식을 따르도록 생성 과정을 제한하는 기법이다
- 日本語スキーマ制約デコーディング
- 生成時に出力形式の規則を課し、指定された構造に合わないトークンを選べないようにする手法
Related Terms
- Constrained DecodingA technique that restricts a language model to select only tokens conforming to specific grammar or format rules when predicting the next word.
- Speculative decodingA text generation technique where a small, fast model proposes candidate tokens first, and a larger model verifies them, improving generation speed.
- Parallel DecodingA text generation method that produces multiple tokens in a single step, reducing latency.
- Decoder-onlyA neural network design that generates or processes sequences using only a decoder component.
- Fill-in-the-MiddleCode-generation prompting method where a model predicts missing code between surrounding prefix and suffix context
- Nucleus samplingA decoding method that restricts the model's choice of next tokens to the smallest possible set whose cumulative probability exceeds a predefined threshold (top-p).
- LatticeStructured representation that can encode multiple possible sequences or alternatives in language processing
- Error-correcting output codesA method for handling many-class classification by encoding class labels as codewords and decoding model outputs to a class.