Mutual Debiasing via Dual-Seed Comparison for Probabilistic Sampling in Large Language Models
Zihao Guo, Hongtao Lv, Chaoli Zhang, Laiguo Yin, Lei Liu, Yonghui Xu, Lizhen Cui
Abstract
Although Large Language Models (LLMs) demonstrate remarkable capabilities in reasoning and decision-making, high-fidelity probabilistic sampling remains a persistent challenge. When generating random variables, LLMs consistently exhibit systematic biases that warp the target probability distributions. Current approaches often rely on a single, self-generated seed, which inherits model-specific biases. To overcome this vulnerability, we introduce Dual-Seed Comparison (DSC), a transparent, tool-free protocol that utilizes two independent LLM-generated seeds to neutralize bias. DSC compares the character-level ordinal values of the two seeds to construct a bit sequence, converts and normalizes this sequence into a pseudo-uniform variate, and then maps the variate to the target distribution through the inverse cumulative distribution function (CDF). Empirical results show that DSC substantially outperforms existing methods across 96\% of evaluated settings. Beyond direct sampling, task-adapted variants based on the DSC comparison operator improve distributional control in MCQ generation and attribute-constrained text-to-image prompting.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- 28 pages, 4 figures, 13 tables
Related papers
VulnSafe: Measuring Vulnerability-Aware Relational Safety in Large Language Models
Shared title terminologycs.CLJiaming Luo, Jiacheng Ji, Haoan Jin et al.
Evaluating Large Language Models on conversational African American English: Feature classification and next-turn generation
Shared title terminologycs.CLRomeo De Timmerman, Thomas Demeester, Els Lefever
ASCENT: A Benchmark for Evaluating and Advancing Stepwise Diagnostic Reasoning in Large Language Models on Common Clinical Scenarios
Shared title terminologycs.CLYera Choi, Yeong Hwa Kim, Jaedeok Lee et al.
Evaluating Latent Knowledge Stability in Multimodal Large Language Models
Shared title terminologycs.CLChuancheng Shi, Shangze Li, Wenhua Wu et al.
Scoring What Matters: Exact Feedback Reduction for Language Model Comparison
Shared title terminologycs.CLHui Zhang, Haoda Yue, Bicheng Deng et al.
Exploring Multi-Player Social Games as Verifiable Training Grounds for Large Language Models
Shared title terminologycs.CLKeyu He, Michael Li, Jiarui Liu et al.