Hugging Face Blog

Pruning LLMs Like a Physicist: Block Removal as an Ising Optimization Problem

arXiv AI
Jun 18

LLM Compression by Block Removal with Constrained Binary Optimization

arXiv:2602. 00161v2 Announce Type: replace-cross Abstract: In this paper, we formulate the compression of large language models (LLMs) by optimally deleting transformer blocks (``block removal'') as a constrained binary optimization (CBO) problem that can be mapped to a physical system (Ising glass), whose energies are a strong proxy for downstream model performance.

By David Jansen, Roman Rausch, Ali Hashemi, David Montero, Rom\'an Or\'us
arXiv Machine Learning
Nov 11

Tree-Ising: Repairing Language Models with Bit-Level Ising Edits

Tree‑Ising is a method that repairs language models by casting weight edits as a sparse discrete optimization problem over the model’s BF16 weights. It decomposes the objective into independent QUBO (Ising) problems, solved on a GPU via simulated annealing or quantum‑inspired simulated bifurcation, achieving higher accuracy on math benchmarks than prior agent‑based edits while modifying fewer weights and requiring minimal forward passes. The approach demonstrates significant performance gains on Qwen3.5‑0.8B and Qwen3.5‑2B, and even runs a small subproblem on an IBM Heron quantum processor.

By Hadi Salloum, Ammar Ali
arXiv AI
Oct 31

DecompGym: Benchmarking LLM Agents on Designing Decomposition Algorithms

DecompGym is a benchmark that tests large language model agents on designing Benders decomposition and column generation algorithms. The benchmark contains 81 instances across nine problem families, requiring agents to produce solvers that run within 60 seconds, pass a method audit by an LLM judge, and achieve an objective within 1% of the optimal value. Evaluation of 12 GPT, Claude, and Gemini models shows that while some models solve all instances on the first try, many fail due to missing or suboptimal solutions, and reflection-based debugging improves success rates compared to simple regeneration.

By Sikai Cheng, Tinghan Ye, Arnaud Deza, Xiaonan Qi, Miao Li, Litong Liu, Changkun Guan
arXiv Machine Learning
Jun 24

A Fast and Effective Method for Euclidean Anticlustering: The Assignment-Based-Anticlustering Algorithm

arXiv:2601. 06351v2 Announce Type: replace Abstract: Anticlustering is an NP-hard combinatorial optimization problem that consists of partitioning a set of objects into equal-sized groups called anticlusters such that the objects in the same anticluster are as dissimilar as possible and thereby representative of the entire set of objects.

By Philipp Baumann, Olivier Goldschmidt, Dorit S. Hochbaum, Jason Yang
Towards Data Science
Jul 31

How Benders Decomposition Works Part I: Optimality Cuts

A friendly introduction to one of the most powerfull optimization techniques using the uncapacitated facility location problem The post How Benders Decomposition Works Part I: Optimality Cuts appeared first on Towards Data Science .

By Luis Fernando Pérez Armas