# Joint Consistency: A Unified Test-Time Aggregation Framework via Energy Minimization

*Yunzhen Yao, Hongye Wang, Yahong Wang, Michael Gastpar, Jiang Bo, Lie He*

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

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Test-Time Scaling and Optimization](../pgroup/317.md) · Type: new method · Keywords: test-time aggregation, energy minimization, pairwise interactions, LLM-as-a-judge, reasoning benchmarks

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Test-Time Methods

## Summary
Joint Consistency is a unified test-time aggregation framework that formulates aggregation as a constrained Ising-type energy minimization problem, subsuming existing voting and weighted aggregation methods.

## Explained to a 5-year-old
When we want to answer a tricky question, we can think of many different ways to solve it. Each way gives us a guess for the answer. Sometimes one guess is better than another, but we also want to see if guesses agree. We look at pairs of guesses and see if they match each other. If two guesses match, we give them a little extra help. This helps us get more trustworthy results than just picking the most popular guess.

## Explained to a 5-year-old, longer
When we want to answer a tricky question, we can think of many different ways to solve it. Each way gives us a guess for the answer. Sometimes one guess is better than another, but we also want to see if guesses agree. We look at pairs of guesses and see if they match each other. If two guesses match, we give them a little extra help. If they disagree, we might think they are less reliable. By using all these matches and disagreements, we can pick the best answer. This method works like solving a puzzle where we try to make everything consistent. It can be used for math problems, where we want the answer to be the same no matter how we solve it. It can also be used for writing code, where we want the program to behave the same in different situations. The idea is simple: more agreement between guesses usually means a better answer. This helps us get more trustworthy results than just picking the most popular guess.

## For a technical reader
The paper presents a framework that combines multiple candidate solutions by evaluating how they agree with each other. It models this combination as an energy minimization problem where each candidate contributes a score and pairwise comparisons add constraints. An interaction matrix is built using LLM judges to capture these comparisons efficiently. An approximation technique makes the approach scalable to large numbers of candidates and real-world tasks. Experiments show the method consistently improves accuracy over simple voting or weighted averaging on math and code benchmarks.

## Problem
Test-time aggregation aims to combine multiple reasoning traces into a final answer, but existing methods rely on isolated evaluation signals or answer frequencies and neglect comparative interactions among candidates.

## Method
The approach formulates aggregation as a constrained Ising-type energy minimization problem, where independent evaluation signals serve as external fields and pairwise comparisons act as interactions. An interaction matrix is constructed using LLM-as-a-judge comparisons, and an efficient approximation strategy enables large-scale application. This framework subsumes existing voting and weighted aggregation as special cases.

## Results
The approach consistently outperforms existing baselines across tasks, judge models, trace budgets, and trace-generation settings on math and code reasoning benchmarks.

## Contributions
It introduces a unified test-time aggregation framework based on constrained Ising-type energy minimization that incorporates pairwise interactions, subsumes prior voting and weighted aggregation methods, and provides an efficient approximation for large-scale use.

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/152018)
