MutterCorp
MutterCorpNotice · Notícias
Programação·

I fuzzed four LLM structured-output engines without loading a model. The hard part was stopping my fuzzer from lying

I fuzzed four LLM structured-output engines without loading a model. The hard part was stopping my fuzzer from lying

The idea Structured-output engines (llguidance, outlines-core, XGrammar, llama.cpp's grammar sampler) turn a JSON Schema into a token mask that is applied at every decoding step. If the mask blocks a token that leads to valid JSON, the model can never write a valid document. If it allows a token that cannot lead to valid JSON, the model writes an invalid one. I wanted to test that mask directly, for $0, without any model weights. The tool is sieve-df, written in Rust: Code, data and every resul…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes