Search arXiv⌕ Search

arXiv subjects

Vishesh Prasad

Publications and source records attributed to Vishesh Prasad.

2 recordsLinked to original sources

Imagine Before You Answer: Inference-Time Planning for Multi-Turn Dialogue

RLHF-trained language models are typically optimized during training for the quality of individual responses and deployed with fixed parameters, without explicitly optimizing for how each response shapes subsequent user behavior. Yet dialogue is inherently sequential: a response that appears preferable in isolation, such as a confident answer to an ambiguous request, may lead to a worse conversational outcome than a seemingly less helpful response, such as a clarifying question. We propose imagined-conversation planning, an inference-time method that couples a preference oracle, an LLM-based user simulator, and a conversation-level value function. For each candidate response, the model imagines how the conversation would unfold over $H$ assistant-user exchanges, evaluates the resulting trajectories using turn-level preference rewards, a terminal conversation score, or their combination, and selects the candidate with the highest estimated objective, inspired by the principles of model predictive control. We use a preference reward defined relative to a fixed reference policy to avoid the degeneracy of comparing a policy against its own samples. We also discuss gradient-based local policy adaptation as an extension and examine the challenges of differentiating through discrete rollouts. We evaluate the resulting conversations on PRISM and ColBench, using multiple LLM-based evaluators to compare the three planning objectives against direct sampling and Best-of-$K$ selection. Our preliminary results highlight the potential of conversational lookahead to improve response selection and suggest that the effectiveness of inference-time planning depends on the choice of planning objective.

cs.CL↗

Mathematical Derivation Graphs: A Relation Extraction Task in STEM Manuscripts

Recent advances in natural language processing (NLP), particularly with the emergence of large language models (LLMs), have significantly enhanced the field of textual analysis. However, while these developments have yielded substantial progress in analyzing natural language text, applying analysis to mathematical equations and their relationships within texts has produced mixed results. This paper takes the initial steps in expanding the problem of relation extraction towards understanding the dependency relationships between mathematical expressions in STEM articles. The authors construct the Mathematical Derivation Graphs Dataset (MDGD), sourced from a random sampling of the arXiv corpus, containing an analysis of $107$ published STEM manuscripts with over $2000$ manually labeled inter-equation dependency relationships, resulting in a new object referred to as a derivation graph that summarizes the mathematical content of the manuscript. The authors exhaustively evaluate analytical and machine learning (ML) based models to assess their capability to identify and extract the derivation relationships for each article and compare the results with the ground truth. The authors show that the best tested LLMs achieve $F_1$ scores of $\sim45\%-52\%$, and attempt to improve their performance by combining them with analytic algorithms and other methods.

cs.CL↗