[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-huawei-npus-get-4-bit-attention-without-a-retraining-tax":10,"sections":34},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":29,"feedback":33,"feedback_at":22,"cost_usd":33,"total_tokens":33},3934,"huawei-npus-get-4-bit-attention-without-a-retraining-tax","Huawei NPUs Get 4-bit Attention Without a Retraining Tax","A new training-free method squeezes FlashAttention down to 4-bit integers on Ascend hardware, cutting accuracy loss on standard benchmarks by more than half.","Researchers have found a way to run the attention mechanism inside large language models at 4-bit precision on Huawei's Ascend NPUs — no retraining required.\n\nThe technique, called HiFA4, targets FlashAttention's two core matrix multiplications and executes them as 4-bit HIF4 Cube operations while keeping the softmax state in 16-bit floating point. It bundles two fixes. Smooth-QK redistributes quantization error between the query and key matrices after rotary positional encoding, avoiding per-tile computation at inference time. P-Reordering fuses the softmax normalizer directly into the second matrix multiply, which the authors show eliminates a systematic probability-mass loss they measured across 3.6 million attention tiles in a Qwen3-8B trace. On Qwen3-8B, HiFA4 recovered 37.5% of the accuracy gap introduced by naive 4-bit quantization and cut the rate of predictions that disagreed with full-precision output from 16.3% to 8.2%. On Gemma2-9B, the method stayed within 0.7 percentage points of BF16 baseline. A scheduling analysis projects a 35.4% latency reduction over BF16 by fusing the normalizer into the matrix multiply, though the authors note on-hardware validation remains future work.\n\nMost quantization research targets Nvidia silicon, so a rigorous method benchmarked specifically against Ascend hardware fills a gap that matters as non-Nvidia AI infrastructure becomes harder to ignore. The accuracy-recovery numbers are meaningful: halving disagreement with full-precision output is the difference between a quantized model that is usable and one that is not.\n\nThe projected latency gains are the headline number here, but they come with an asterisk — \"preliminary scheduling analysis\" and \"future work\" are phrases that should temper enthusiasm until the actual hardware numbers arrive.","[\"ai\",\"hardware\",\"llm\",\"quantization\"]","2026-07-07T04:00:00.000Z","2026-07-07T12:35:23.906Z","2026-09-20T19:28:46.467Z","published",null,[],"ai",[24,26,27,28],"hardware","llm","quantization",[30],{"name":31,"url":32},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2607.04302",0,{"sections":35},[36,40,45,50,55,60,64,69,74,79,84,89,94,99],{"name":37,"slug":24,"count":38,"latest_published_at":39},"AI",7165,"2026-11-16T14:00:00.000Z",{"name":41,"slug":42,"count":43,"latest_published_at":44},"Security","security",1141,"2026-11-15T17:15:13.000Z",{"name":46,"slug":47,"count":48,"latest_published_at":49},"Deals","deals",682,"2026-11-16T14:45:47.000Z",{"name":51,"slug":52,"count":53,"latest_published_at":54},"Policy","policy",631,"2026-11-16T09:43:00.000Z",{"name":56,"slug":57,"count":58,"latest_published_at":59},"Consumer Tech","consumer-tech",384,"2026-11-16T14:33:02.000Z",{"name":61,"slug":26,"count":62,"latest_published_at":63},"Hardware",347,"2026-11-16T13:28:40.000Z",{"name":65,"slug":66,"count":67,"latest_published_at":68},"Science","science",236,"2026-11-14T20:54:14.000Z",{"name":70,"slug":71,"count":72,"latest_published_at":73},"Software","software",179,"2026-11-16T10:35:16.000Z",{"name":75,"slug":76,"count":77,"latest_published_at":78},"Startups","startups",162,"2026-11-13T17:32:35.000Z",{"name":80,"slug":81,"count":82,"latest_published_at":83},"General","general",131,"2026-11-16T11:14:41.000Z",{"name":85,"slug":86,"count":87,"latest_published_at":88},"Dev Tools","dev-tools",127,"2026-11-11T19:00:44.000Z",{"name":90,"slug":91,"count":92,"latest_published_at":93},"Gaming","gaming",113,"2026-11-16T11:47:03.000Z",{"name":95,"slug":96,"count":97,"latest_published_at":98},"Reviews","reviews",38,"2026-10-20T12:00:00.000Z",{"name":100,"slug":101,"count":102,"latest_published_at":103},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]