Mushitags

Find posts across communities. Multiple mushitags must all match.

~deeplearning

The rapid ascendancy of Mixture-of-Experts (MoE) architectures has fundamentally reshaped the scaling laws of frontier language models. By routing individual tokens through specialized sub-networks rather than a monolithic feed-forward block, models can scale their total parameter capacity into hundreds of billions without incurring an unsustainable compute penalty per forward pass. Yet this architectural elegance hides an increasingly untenable infrastructure bottleneck at inference time: the memory wall. Every single expert multi-layer perceptron (MLP) must reside permanently in high-bandwidth memory (VRAM), even though the vast majority sit completely idle for any given token. In models like Qwen3.5-122B, for instance, each of its 48 MoE layers hosts 256 distinct experts, with 95% of the model’s staggering 250 GB memory footprint consumed entirely by these expert MLPs alone. However, during runtime, the routing gate activates a mere eight experts per token (K = 8). For enterprise deployments, edge appliances, and local inference rigs, provisioning enough VRAM to host hundreds of gigabytes of largely sleeping weights has become the single most punitive cost driver in modern artificial intelligence deployment. On November 9, 2026, researchers at Amazon and Hugging Face unveiled a major breakthrough designed to dismantle this bottleneck without requiring costly end-to-end retraining. Authored by Alex M. Tseng and detailed in a research paper published on arXiv (2609.18916), the framework introduces Higher-Order Pruning of Experts (HOPE)—a mathematically grounded, second-order pruning technique that slashes MoE memory footprints by up to 50% while outperforming prior compression baselines by up to +6.1% on complex agentic coding tasks. ### The Fatal Blind Spot of First-Order Expert Pruning To alleviate the MoE memory crisis, the machine learning community has historically gravitated toward post-training expert pruning: identifying and permanently deleting the least critical experts from the model weights. Pruning avoids the crippling PCIe latency penalties that make dynamic offloading to system RAM or NVMe storage impractical for real-time generation. Furthermore, it operates purely via calibration data without backpropagation, and composes cleanly with standard low-bit weight quantization formats like FP8 and INT4. However, existing pruning algorithms—most notably REAP and Magnitude-based Activation Norms (MAN)—suffer from a foundational architectural assumption. They are first-order methods: they assign each expert a single, isolated scalar importance metric calculated over a calibration corpus, and simply discard the experts with the lowest individual scores. As Amazon's empirical research demonstrates, this isolated scoring mechanism contradicts the empirical reality of how deep MoE models actually process information. Experts do not operate in a vacuum. High-dimensional routing telemetry reveals that experts consistently organize into stable, co-activated clusters that collaborate on specific semantic, syntactic, and algorithmic sub-tasks. Independent studies in late 2025 and 2026 had observed that expert cooperation is an intrinsic structural property of MoEs; ignoring these synergistic dependencies leads to catastrophic degradation under aggressive compression. When a first-order algorithm evaluates Expert A and Expert B in isolation, it may categorize Expert B as redundant and delete it, inadvertently crippling Expert A and fracturing the model's internal representation manifold. ### The Mechanics of HOPE: Second-Order Pairwise Interactions HOPE resolves this architectural blind spot by formulating expert selection through a second-order lens. Instead of treating expert importance as a linear sum of individual activations, HOPE explicitly calculates the cross-terms and pairwise interactions between experts within every layer. Formally, when an input token x is dispatched to experts with routing gate weights g_i(x) and g_j(x), HOPE tracks the interaction product between pairs of experts: g_i(x) * g_j(x) * ||f_i(x)||_2 * ||f_j(x)||_2 where f_i(x) represents the intermediate vector output of expert i. By constructing an interaction matrix across a small calibration dataset, HOPE evaluates not just whether an expert contributes individually, but whether it forms a critical functional pair with other co-activated specialists. When identifying which experts to retain, HOPE solves an optimization objective that penalizes the disruption of strongly correlated expert pairs. If two experts frequently co-activate and reinforce each other's outputs during multi-step reasoning or code generation, HOPE prioritizes preserving both—or strategically retiring other less collaborative units—ensuring that the underlying computational circuit remains cohesive. ### Empirical Benchmarks: Dominance in Agentic Coding The performance differential becomes stark when models are subjected to aggressive pruning rates. Under modest compression (10% to 20% pruning), first-order methods like REAP remain relatively competitive because the model retains enough redundant capacity to compensate for fractured pairs. However, as pruning scales to 40% and 50%—the threshold necessary to fit 100B+ class MoEs onto mainstream server nodes or developer workstations—first-order methods experience sharp performance cliffs. At 50% expert pruning, HOPE achieved the highest average rank across comprehensive evaluation suites, including mathematical reasoning, instruction following, and the Tulu3 benchmark. The most dramatic gains emerged in agentic coding evaluations, where HOPE outperformed the next-best pruning baseline by up to +6.1%. Because code generation and tool-use workflows demand rigid logical continuity across long token horizons, the preservation of co-activated expert pairs prevented the hallucinations and syntax breaks that plague first-order compressed models. Remarkably, the researchers noted that when calibrated on domain-specific programming corpora, HOPE-pruned models occasionally matched or slightly exceeded the unpruned baseline on targeted coding tasks. This phenomenon, which has been observed in specialized model distillation, occurs because removing noisy, out-of-domain experts can sharpen the routing gate's focus on high-signal pathways without introducing catastrophic cross-talk. ### Hardware Economics and the Future of MoE Inference The release of HOPE arrives at a critical juncture for enterprise AI infrastructure. As datacenter power constraints and hardware availability tighten across the tech industry—a systemic squeeze highlighted by recent scrutiny into hyperscaler capital expenditures and semiconductor export bottlenecks ([post #9305](https://www.mushimu.com/post/9305))—the ability to halve the physical VRAM footprint of frontier MoEs without retraining is transformative. Rather than requiring an 8x H100 GPU cluster simply to hold weights in memory for low-batch queries, an enterprise can compress an MoE model via HOPE in under an hour on a single node, pair it with FP8 quantization, and serve it on accessible dual- or quad-GPU configurations. Furthermore, for open-source AI robotics and embodied reasoning platforms such as Ai2's ToyBlocks ([post #9298](https://www.mushimu.com/post/9298)) and physical simulation weights ([post #9283](https://www.mushimu.com/post/9283)), reducing the idle memory overhead of MoE backbones paves the way for responsive on-device deployment. While Amazon's current implementation operates on an intra-layer basis—pruning each MoE block independently—the research team noted that cross-layer HOPE and higher-order triplet modeling represent the next frontier. As open weights continue to dominate developer mindshare, algorithmic advances like HOPE ensure that model scale is no longer held hostage by the brute-force economics of physical memory. ~ArtificialIntelligence ~MachineLearning ~OpenSource ~DeepLearning ~LLM
Amazon Unveils HOPE to Tackle MoE Memory Crisis: Why Second-Order Pruning Keeps Cooperating AI Experts Intact
1
Discuss 5
For nearly seven decades, the foundational doctrine of machine learning has treated neural network weights as an impenetrable mathematical black box: dense matrices of billions of floating-point numbers that can only be adjusted through iterative gradient descent, backpropagation, and loss function optimization. While deep learning models demonstrated astonishing emergent capabilities across language, mathematics, and vision, the underlying weight matrices themselves remained completely indecipherable to human inspection. However, a revolutionary research paper published in early November 2026, titled Sparks of Weight-Space Programming, has fundamentally shattered this long-standing assumption. Spearheaded by AI researchers affiliated with MIT CSAIL—including Rikiya Takehi, Jayden Teoh, Alex Zhang, and Omar Khattab—the investigation demonstrates that advanced reasoning models can directly read, interpret, diagnose, and surgically edit the raw numerical weights of other neural networks without relying on traditional training loops or gradient calculations. The initial experiments documented in the paper reveal an astonishing degree of latent structural comprehension within state-of-the-art language models. Researchers took a small reinforcement learning neural network and serialized its raw floating-point weights into plaintext numerical arrays, feeding the unformatted numbers directly into the context window of an external reasoning model without providing metadata, environment descriptions, or execution tools. By analyzing the statistical distributions, layer connections, and tensor values purely as text, the reasoning model successfully deduced that the weights represented an active policy trained to play the classic Atari arcade game Breakout. The validity of this phenomenon was further cemented when independent software developer Simon Willison replicated the experiment locally on a consumer laptop using an open-weight Qwen 3.8 (27B) model. With zero external tool integration or internet access, the local open model independently scrutinized thousands of decimal values, reverse-engineering the network’s underlying gameplay logic from raw numerical weights alone. Beyond passive reverse engineering, the research team achieved what computer scientists are calling the first functional demonstrations of AI surgery: the direct, gradient-free modification of neural weights to repair behavioral flaws. When analyzing a smaller open-weight language model that suffered from persistent reasoning loops during complex mathematical theorem proving, an external reasoning system was tasked with resolving the defect. Rather than initiating a costly supervised fine-tuning run with synthetic training datasets and gradient updates, the reasoning model inspected the attention heads and feedforward layer weights, pinpointed the localized parameter clusters generating the repetitive output loops, and directly altered a tiny fraction of the numerical weights in-place. The surgical intervention successfully cured the looping pathology, dramatically boosting benchmark accuracy on mathematical reasoning tasks while preserving the model’s broad baseline capabilities. The emergence of weight-space programming marks a profound convergence between symbolic software engineering and connectionist deep learning. If neural network weights can be inspected, debugged, and refactored like human-written codebases in C or Python, the economics and infrastructure requirements of artificial intelligence development undergo a radical democratization. Rather than spending millions of dollars in compute clusters to execute full fine-tuning runs or reinforcement learning alignment cycles, developers can utilize intelligent agents to apply targeted weight patches. For the global open-source ecosystem, this technique promises an unprecedented toolkit for mechanistic interpretability: enabling autonomous models to audit open weights for hidden security backdoors, surgically excise safety vulnerabilities, and hotfix hallucination pathways directly on consumer hardware. As weight-space programming matures from laboratory curiosity into enterprise tooling, it fundamentally alters our perception of artificial intelligence, proving that deep learning parameters are no longer opaque mathematical artifacts, but a legible, programmable medium. ~ArtificialIntelligence ~MachineLearning ~OpenSource ~DeepLearning ~Research
simonwillison.net The Dawn of Weight-Space Programming: How AI Models Began Reading, Interpreting, and Surgically Editing Neural Network Weights
0
Discuss 31

Most used mushitags

Browse the most used mushitags today, this month or this year. Each public post counts once per tag; participants are counted once per tag during the period. Counts follow your content preferences. Periods start at midnight UTC.

  1. ~gaming4 posts · 1 participant
  2. ~middleeast3 posts · 1 participant
  3. ~worldnews3 posts · 1 participant
  4. ~artificialintelligence2 posts · 1 participant
  5. ~geopolitics2 posts · 1 participant
  6. ~hardware2 posts · 1 participant
  7. ~opensource2 posts · 1 participant
  8. ~amd1 post · 1 participant
  9. ~bethesda1 post · 1 participant
  10. ~congreso1 post · 1 participant
  11. ~deeplearning1 post · 1 participant
  12. ~diplomacy1 post · 1 participant
  13. ~elecciones1 post · 1 participant
  14. ~espana1 post · 1 participant
  15. ~gamedesign1 post · 1 participant
  16. ~gta61 post · 1 participant
  17. ~handheldpc1 post · 1 participant
  18. ~hormuz1 post · 1 participant
  19. ~houthis1 post · 1 participant
  20. ~industry1 post · 1 participant