Tree-Ising aims to fix problematic reasoning loops in language models with fewer edits than a previously described agent-driven method. The technique frames repair as a discrete optimization problem over a model’s BF16 weights and, according to the paper, uses neither gradients nor LLM tokens.
The researchers derive an objective from forward-pass statistics: it is intended to weaken a loop direction, strengthen a concluding direction, and preserve outputs on productive tokens. Allowed edits are sign flips and exponent shifts subject to shared storage constraints. The objective is decomposed into independent QUBO problems for individual output rows, then solved on a GPU using simulated annealing or quantum-inspired simulated bifurcation.
On Qwen3.5-0.8B, Tree-Ising scored 54.6% on MATH-500, compared with 51.7% for the agent’s repair and 7.9% for the base model. Both solvers outperformed the agent edit on the five math benchmarks examined; the paper reports statistically significant gains on MATH-500 and GSM8K after correcting for multiple comparisons. In the described Qwen3.5-2B experiment, greedy GSM8K accuracy rose from 21.6% to 69.4%.
The method changed 13% to 17% fewer weights and reduced BF16 bit flips by a factor of 2.2 to 2.3, according to the paper. An eight-variable QAOA experiment on an IBM Heron processor is presented as a proof of concept, not as a repair of the full model. The original source provides further details on the method and evaluations: Tree-Ising on Hugging Face Papers.