Solving NP-Complete Problems via Language Models: A Case Study with BERT

2025

Полный текст Открытый доступ: Gold Метаданные (CSL-JSON)
DOI 10.1016/j.procs.2025.10.229
Достоверность данных 70 средняя
Как считается эта оценка

Складывается из проверяемых признаков самой записи: есть ли у статьи DOI, сколько независимых источников подтвердили её данные, заполнены ли обязательные поля и насколько свежо последнее подтверждение. Снижают оценку расхождения между источниками и отсутствие идентификатора. Значение от 80 означает, что запись опубликована без дополнительной проверки; от 60 до 79 — что она опубликована с пониженной достоверностью и ручная проверка желательна. Запись, выверенную редактором вручную, пересчёт не опускает ниже 90. Это оценка наших данных о статье, а не оценка самой статьи.

Аннотация

NP-complete issues provide a considerable challenge in computational complexity owing to their extensive solution spaces and the absence of fast strategies for obtaining precise solutions. Concurrently, extensive language models like as BERT have exhibited robust proficiency in pattern recognition, sequence modeling, and reasoning with structured data. This work examines the viability of utilizing BERT to approximate solutions for NP-Complete problems by recontextualizing them as sequence prediction tasks. Encoding techniques are devised to encode instances of the Boolean Satisfiability Problem (SAT) and the Traveling Salesman Problem (TSP) as token sequences compatible with BERT processing. Experiments performed on benchmark datasets entail fine-tuning BERT to forecast variable assignments for the SAT and city tours for the TSP. Results demonstrate that BERT can provide viable, and frequently near-optimal, solutions for small to moderate problem sizes, providing considerable time benefits over traditional solvers. Nonetheless, challenges persist concerning scalability due to restrictions on sequence length and computational resources, with issues related to the interpretability of model outputs and the lack of theoretical assurances for solution quality. This research enhances the emerging convergence of machine learning and computational complexity, demonstrating how natural language processing techniques may provide innovative solutions to challenges traditionally deemed intractable within conventional computing frameworks.