Sign inGet started
Paper · arXiv

Multi-Target Few-Shot Prompting with Diffusion Language Models

Few-shot prompting is useful when instructions and rewards are hard to specify. One such application is editing by example, where a demonstrated formatting change or API migration may need to be applied across multiple sites. However, such edits often depend on both left and right context, making generation with causal autoregressive models awkward. We therefore introduce multi-target few-shot prompting with diffusion language models, where examples guide the infilling of multiple masked regions within a shared canvas. To address the known challenge of reliably following demonstrations in few-shot prompting, we further leverage selective masking of the canvas to derive a likelihood-ratio ...

AuthorsAnton Xue, Alan Li, Rahul Saha
Primary categorycs.CL
Published15 October 2026
Last updated at source15 October 2026
cs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/3a98c829-a2fc-422d-8448-b76af5f58bdc" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 16 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.