GuidedSampling: Steering LLMs Towards Diverse Candidate Solutions at Inference-Time

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Handa, Divij, Parmar, Mihir, RRV, Aswin, Uddin, Md Nayem, Palangi, Hamid, Baral, Chitta
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911447205806080
author Handa, Divij
Parmar, Mihir
RRV, Aswin
Uddin, Md Nayem
Palangi, Hamid
Baral, Chitta
author_facet Handa, Divij
Parmar, Mihir
RRV, Aswin
Uddin, Md Nayem
Palangi, Hamid
Baral, Chitta
contents Repeated Sampling (RS) is a simple inference-time algorithm that has been shown to improve model performance on complex tasks. Although it is an effective way of scaling inference time, it often struggles to generate diverse solution candidates, frequently relying on the same underlying approach to solve the problem and thus producing redundant samples. To address this limitation, we propose a new inference algorithm, GuidedSampling, which decouples the exploration and generation phases during inference, increasing diversity of generated candidate solutions. The exploration phase identifies multiple concepts that can be utilized to solve the problem, while the generation phase applies a specific concept to provide final solution candidates. We first define the theoretical bounds of GuidedSampling and then empirically demonstrate that it improves the performance of base model at pass@50 by on an average ~21.6% across various benchmarks compared to RS. Furthermore, models trained on trajectories of GuidedSampling exhibit substantial performance improvements at pass@5 by on an average ~9.7%, compared to models trained on traditional RS. Additionally, models trained with GuidedSampling increases the average number of concepts per instance (1.67 -> 3.03), yielding a diverse set of candidates than traditional RS.
format Preprint
id arxiv_https___arxiv_org_abs_2510_03777
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GuidedSampling: Steering LLMs Towards Diverse Candidate Solutions at Inference-Time
Handa, Divij
Parmar, Mihir
RRV, Aswin
Uddin, Md Nayem
Palangi, Hamid
Baral, Chitta
Artificial Intelligence
Machine Learning
Repeated Sampling (RS) is a simple inference-time algorithm that has been shown to improve model performance on complex tasks. Although it is an effective way of scaling inference time, it often struggles to generate diverse solution candidates, frequently relying on the same underlying approach to solve the problem and thus producing redundant samples. To address this limitation, we propose a new inference algorithm, GuidedSampling, which decouples the exploration and generation phases during inference, increasing diversity of generated candidate solutions. The exploration phase identifies multiple concepts that can be utilized to solve the problem, while the generation phase applies a specific concept to provide final solution candidates. We first define the theoretical bounds of GuidedSampling and then empirically demonstrate that it improves the performance of base model at pass@50 by on an average ~21.6% across various benchmarks compared to RS. Furthermore, models trained on trajectories of GuidedSampling exhibit substantial performance improvements at pass@5 by on an average ~9.7%, compared to models trained on traditional RS. Additionally, models trained with GuidedSampling increases the average number of concepts per instance (1.67 -> 3.03), yielding a diverse set of candidates than traditional RS.
title GuidedSampling: Steering LLMs Towards Diverse Candidate Solutions at Inference-Time
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2510.03777