proomt

Search

Search posts, papers, and topics

All posts

Hugging FaceAntonio Tiene, Ali Hashemi, David Jansen, Roman Rausch8 min readadvanced

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

Summary

The authors cast transformer block removal as a constrained binary optimization problem equivalent to an Ising glass, using a Hessian‑derived energy as a proxy for downstream quality. Solving the resulting QUBO with classical or quantum‑inspired solvers yields up to 23 MMLU points improvement over prior block‑removal baselines at 50 % depth compression.

  • A second‑order Taylor expansion of loss yields a Hessian whose diagonal gives block importance and off‑diagonals capture pairwise couplings.
  • Low‑energy states of the resulting Ising Hamiltonian correlate strongly with high‑performing pruned models, allowing cheap evaluation of billions of configurations.
  • Exact brute‑force enumeration is feasible for modest block counts; for larger models, tabu search and other QUBO solvers find good low‑energy states in seconds.
  • The best pruned model is often an excited (non‑ground) state, demonstrating the value of exploring the low‑energy spectrum.

LLM engineers and infrastructure teams looking to reduce inference latency and memory without heavy retraining should care, as the technique offers a systematic, high‑performing way to depth‑prune large models.

8/10

Related reading

  1. A theoretical separation between quantum computers & LLMs

    The IBM research blog explains two new theoretical results that prove shallow constant‑depth quantum circuits can outperform decoder‑only transformers on a functional task (iterated index) and diffusion language models on a sampling task (parity‑sampling). The proofs give asymptotic separations but are not yet practical.

    IBM Researchibm.com6 min
  2. Decoy Direction Optimization: A Post-Hoc Defense Against LLM Abliteration

    Decoy Direction Optimization (DDO) is a post‑hoc weight‑editing defense for open‑weight LLMs that injects a high‑magnitude nonlinear decoy into MLP neurons, corrupting contrastive estimators used by Refusal Feature Ablation (RFA) attacks. The paper proves a spectral bound on the effect, evaluates DDO on six model families (including Llama‑3‑8B‑Instruct), and shows <10 % attack success rate (ASR)…

    Hugging Face Daily Papersarxiv.org1 minpaper
  3. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint

    Ternary Bonsai 2 27B is a new multimodal LLM based on Qwen3.8 27B, utilizing ternary weights for a 5.9GB model footprint. It achieves over 9x compression while retaining 98.2% of the full-precision model's aggregate benchmark performance across various tasks. This enables highly capable 27B-class models to run efficiently on local devices.

    Hacker News front pageprismml.com5 minreleaseHN579198lobste.rs12
  4. VC-Attention: Value Smoothing and Softmax Casting for Low-bit Attention

    VC-Attention introduces a training‑free low‑bit attention pipeline for diffusion transformers. It smooths value tensors via lightweight online clustering (V‑Smooth) and quantizes only the residual after subtracting block means, restoring the mean from the softmax row sum. It also replaces the FP32 softmax exponential with a fused FP8 cast (ExpCast‑FP8) that maps log‑scores directly to E4M3 probab…

    Hugging Face Daily Papersarxiv.org1 minpaper