atlas

Research map / Large language models / Language, safety and interpretability

Cross-Dialect Generalization Without Retraining: Benchmarks and Evaluation of Schema-Derived Constrained Decoding for MLIR

NeurIPS 2026 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Releases four NL-to-MLIR benchmarks across three dialects and shows that a training-free, ODS-derived three-layer constrained decoding stack lets SmolLM2-1.7B match or beat 15B-34B code LMs on linalg verify-valid rate, while not winning on arith+func.

Problem

Small language models rarely produce valid MLIR from natural language because MLIR is scarce in code pretraining corpora, and maintaining a fine-tuned model per extensible MLIR dialect does not scale.

Approach

Derive a three-layer constraint stack mechanically from each dialect's ODS TableGen records (CFG over op signatures, type-domain splits from a type lattice, and an SSA-scope validator with five-retry rejection sampling) and apply it at inference time to a small LM, with no fine-tuning, so the same derivation ports across dialects.</edit_text>

Key results

Surprising findings

Limitations

Experimental setup

Datasets: MLIR test corpus (filtered subsamples as prompt fillers) ODS TableGen records from LLVM, IREE, StableHLO

Benchmarks: MLIR-Spec-150 Linalg-Spec-30 StableHLO-Spec-30 StableHLO-Held-Out-200 StableHLO-Out-Of-Grammar-25 MLIR-Functional-Reference-30

Metrics: verify-valid rate output-match rate parse-valid rate seconds per generation

Baselines: CodeLlama-34B Granite-Code-34B StarCoder2-15B Granite-Code-8B-fp16

Builds on: Outlines Synchromesh Grammar-Aligned Decoding Type-Constrained Code Generation

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy