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

*Weida Liang, Kenji Kawaguchi*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152715) · [Open on the map](../papers.html#p152715)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Personalized Memory Systems](../pgroup/155.md) · Type: new method · Keywords: Bayesian test-time inference, similarity axis selection, weak interactive feedback, information gain, task-aligned similarity

## Summary
BASIS is a training-free Bayesian framework that infers task-aligned similarity axes from weak interactive feedback to improve test-time decisions.

## Explained to a 5-year-old
When a computer tries to pick the best answer, it looks at how similar things are. Sometimes it compares words, sometimes meanings, sometimes how things are written, or how they sound. But it doesn't know which way to compare for each question. BASIS lets the computer ask little questions and learn which way of comparing is right. Then it can pick better answers more often.

## Explained to a 5-year-old, longer
Computers often need to choose the best answer from many options. To do this, they compare how similar each option is to what they want. Similarity can be about words, about what the words mean, about how the text looks, or about the style of writing. Usually the computer uses the same way of comparing for every question. But sometimes the right way to compare changes. BASIS gives the computer a way to ask small questions and figure out which kind of comparison matters for each situation. It keeps track of what it thinks is the best option and which kind of similarity is important. By learning from these small hints, the computer can focus on the right comparison and make better choices. This helps when picking examples for reasoning, fixing answers, or dealing with tricky distractors. The method works without needing a lot of training data, just a few simple feedbacks. It can be used in many places where computers need to decide quickly and accurately. Overall, BASIS makes computers smarter at picking the right answer by understanding when to look at different kinds of similarity.

## For a technical reader
The system uses Bayesian inference to model uncertainty over which similarity dimension (lexical, semantic, structural, or stylistic) is most relevant for each test-time decision. It updates its beliefs from simple feedback signals like scores or pairwise preferences and selects the next query to maximize expected information gain. This allows the model to dynamically adapt its comparison strategy without any additional training, improving retrieval, reranking, and revision tasks.

## Problem
When systems compare candidates for tasks, similarity can be measured along multiple axes (lexical, semantic, structural, stylistic), but only one axis is relevant for a given instance. Existing methods either fix an axis or use a static mixture, which can be suboptimal when the relevant axis changes.

## Method
The approach treats weak feedback as evidence about a latent similarity axis, maintaining a posterior over candidate targets and axes, updating it from scalar scores or preferences, and selecting future probes by expected information gain.

## Results
The approach achieves consistent improvements over stronger rerankers, static mixtures, and compute-matched best-of-N search across concept recovery, exemplar selection, response refinement, and adversarial distractor tasks, with larger gains when the relevant similarity axis shifts.

## Contributions
It introduces a Bayesian framework for inferring task-aligned similarity axes from weak interactive feedback, shows that fixed-axis and fixed-mixture strategies can be suboptimal under axis shift, and demonstrates superior performance on multiple test-time decision tasks.

## Limitations and assumptions
The gains are moderate when all methods share the same backbone, candidate pools, and feedback signals, and the approach depends on the availability of weak interactive feedback.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152715)
