# Efficient bit labeling in factorization machines with annealing for traveling salesman problem

**Authors:** Shota Koshikawa, Aruto Hosaka, Tsuyoshi Yoshida

PMC · DOI: 10.1038/s41598-025-10064-4 · Scientific Reports · 2025-07-24

## TL;DR

This paper explores how different binary labeling methods affect solving the traveling salesman problem using factorization machines with annealing.

## Contribution

The study introduces Gray labeling, which improves convergence speed and reduces local minima in solving TSP.

## Key findings

- Gray labeling reduces the percentage of local minima compared to natural labeling.
- Gray labeling results in shorter traveling distances in TSP simulations.
- Binary labeling methods significantly influence the cost function shape and solution quality.

## Abstract

To efficiently determine an optimum parameter combination in a large-scale problem, it is essential to convert the parameters into available variables in actual machines. Specifically, quadratic unconstrained binary optimization problems are solved using machine learning, for example, factorization machines with annealing, which convert a raw parameter to binary variables. This study investigates the dependence of the convergence speed and accuracy on the binary labeling method, which can influence the cost function shape and thus the probability of being captured at a local minimum solution. By exemplifying the traveling salesman problem (TSP), we propose and evaluate Gray labeling, which correlates the Hamming distance in binary labels with the traveling distance. Through numerical simulation of the TSP at a limited number of iterations, the Gray labeling shows fewer local minima percentages and shorter traveling distances compared with natural labeling.

## Full-text entities

- **Diseases:** FM (MESH:D005171), TSP (MESH:D000076082)
- **Chemicals:** FMA (-)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12290087/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12290087/full.md

## References

10 references — full list in the complete paper: https://tomesphere.com/paper/PMC12290087/full.md

---
Source: https://tomesphere.com/paper/PMC12290087