← English news
Priority 4/5

Optimizing Large Language Model Block Pruning Using the Physics-Based Ising Model

Multiverse Computing has introduced a new LLM pruning methodology that models transformer block removal as a constrained binary optimization problem, leveraging the Ising model from physics to capture block interactions.

Optimizing Large Language Model Block Pruning Using the Physics-Based Ising Model

Traditional methods for pruning large language models often evaluate the importance of individual transformer blocks independently, neglecting the intricate dependencies between them. The newly proposed approach from Multiverse Computing reformulates block removal by treating the retention or deletion of each block as a binary variable. By framing the network as a spin system from statistical physics, the method models block interactions through a coupling matrix derived from the Hessian of the model loss.

Primary source

Open Hugging Face Blog ↗

This article summarizes the source. Check the original for full details and conditions.

Comparison

AspectBefore / AlternativeAfter / This
Block evaluationIndependent scoring of each block in isolationCoupled scoring capturing interactions between different blocks
Optimization frameworkHeuristic sensitivity analysis or magnitude-based sortingQuadratic Unconstrained Binary Optimization (QUBO) solved via Ising solvers
Computation scalingLinear with respect to the number of model layersQuadratic due to the calculation of off-diagonal Hessian elements