cs.LGOct 13, 2026

Bayesian Test-Time Inference of Task-Aligned Similarity from Weak Interactive Feedback

Authors: Weida Liang, Kenji Kawaguchi

Organizations: National University of Singapore

Abstract

Language model systems repeatedly make test-time decisions by comparing similarity: they retrieve exemplars, rank candidates, and revise responses. Yet similarity is not unique: lexical, semantic, structural, and stylistic resemblance can point to different candidates, and the task-aligned notion can change across instances. We introduce BASIS (Bayesian Axis Selection via Interactive Signals), a training-free Bayesian method that uses weak test-time feedback to infer which criterion in a supplied, task-specific library governs the current decision. It maintains a joint posterior over candidate targets and criteria, updates it from scalar scores, pairwise preferences, or verifier outputs, and selects probes by expected information gain. In a finite noisy model, we characterize when the target-criterion pair is recoverable and show why fixed-criterion and fixed-mixture rules can fail under criterion shift. Across concept recovery, reasoning exemplar selection, and response refinement, BASIS improves six-probe concept-recovery Success@1 from 56.0% to 68.1%, reasoning accuracy from 72.3% to 73.1%, and refinement win rate from 61.4% to 63.8% over tuned static mixtures. It also exceeds compute-matched best-of-N selection on reasoning (72.1%) and refinement (61.2%). Gains are largest under criterion mismatch and with larger candidate pools, and matched controls indicate that adaptive criterion weighting explains much of the benefit, with joint target-criterion inference adding further value. BASIS selects only among supplied criteria and does not discover new ones.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ARBITER: Reasoning Trajectory Basins and Majority Vote Failures in Test-Time Sampling

    May 25, 2026Meng Cai, Lars Kulik, Farhana ChoudhurySelf-Consistency DecodingTest-Time Scaling

  2. Bayesian Fine-tuning Yields Language Models that are as Bayesian as their Beliefs Allow

    Sep 30, 2026Polina Tsvilodub, Andreas Waldis, Linlu Qiu +2Fine-TuningLLM Fine-Tuning

  3. On the Rejection Criterion for Proxy-based Test-time Alignment

    Apr 17, 2026Ayoub Hammal, Pierre Zweigenbaum, Caio CorroLLM AlignmentInference-Time Language Model Alignment