P-Guide: Parameter-Efficient Prior Steering for Single-Pass CFG Inference

Xin Peng, Ang Gao
5/7/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Classifier-Free Guidance (CFG) is essential for high-fidelity conditional generation in flow matching, yet it imposes significant computational overhead by requiring dual forward passes at each sampling step. In this work, we address this bottleneck by introducing \textbf{P-Guide}, a framework that achieves high-quality guidance through a single inference pass by modulating only the initial latent state.

Show full abstract

We further show that, under a first-order approximation, P-Guide is equivalent to CFG in the sense that it steers generation from the prior space, without requiring explicit velocity field extrapolation during sampling. We consider both homoscedastic and \textbf{heteroscedastic} priors, and find that jointly modeling the mean and variance enables adaptive loss attenuation and improved robustness to data uncertainty. Extensive experiments demonstrate that P-Guide reduces inference latency by approximately 50\% while maintaining fidelity and prompt alignment competitive with standard dual-pass CFG baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{peng2026pguide,
  title  = {P-Guide: Parameter-Efficient Prior Steering for Single-Pass CFG Inference},
  author = {Xin Peng and Ang Gao},
  year   = {2026},
  eprint = {2605.06124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.06124v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.06124.svg)](https://codeofpaper.com/paper/2605.06124)

Discussion