Papers for

hardware accelerator designers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

LinQuant improves low-precision inference for linear recurrence models

LinQuant: Functional Invariances for Low-Precision Linear Recurrences

Abstract: Linear recurrences are emerging as practical alternatives to softmax attention in large language models, appearing in both standalone and hybrid architectures. However, despite their rapid emergence, low-precision inference remains much less developed for these models than for softmax attention. During prefill, chunkwise-parallel algorithms cast much of the recurrence as dense matrix multiplications, suggesting a natural path to low-precision execution. Simply quantizing these operations in their native form, however, can be fragile. In this work, we identify functional invariances that preserve the full-precision computation while making the operands more amenable to quantization. Building on this observation, we introduce LinQuant, a framework for low-precision recurrent prefill based on seven such invariances, including rotations, diagonal rescalings, and alternative placements of recurrent decay and write factors. We derive when these transformations remain valid across common recurrence families spanning linear, gated, and delta-rule updates, and show that they provide complementary degrees of freedom for improving low-precision accuracy. Finally, we translate this framework to production by augmenting SSDi8, an existing low-precision prefill pipeline for Mamba-2, with the applicable invariances. LinQuant improves perplexity at matched latency on Mamba-2 1.3B, 2.7B, and 8B and Nemotron-H 8B, demonstrating the practical utility of invariance-based quantization for recurrent models.

Thu 29 OctMachine Learning
The gist
Large language models often use special math operations called linear recurrences to handle sequences of information efficiently. But running these operations quickly on low-precision (less detailed) hardware is tricky and can lead to mistakes. The authors studied properties of these operations that don’t change their results, called invariances, and used them to adjust the math so it works better with low-precision computing. They created LinQuant, a method that applies these tweaks to improve accuracy without slowing things down, tested successfully on several big language models. This helps make language AI faster and more efficient on hardware with limited precision.
Open → 2610.39418v1

Spatialpc reduces delay in local credit propagation over large models

SpatialPC: Deep Computation with Sublinear Local Credit Propagation

Abstract: On a chain of $N$ states, any local learning rule with bounded communication range needs $Θ(N)$ rounds before the loss can influence the earliest parameters, and this latency is usually attributed to depth. We show that it is a property of the communication geometry rather than of depth. For $N=m^d$ states placed at constant density in $d$ dimensions, a light-cone argument gives an $Ω(N^{1/d})$ lower bound on the number of bounded-range rounds that any local algorithm needs before its gradient estimates can be sign-correct at every parameter. We construct a unit-range, degree-$2d$ directed acyclic graph that contains a Hamiltonian computation of length $N-1$ and in which every state lies within directed distance $d(m-1)=Θ(N^{1/d})$ of the output, matching the lower bound. In the realizable-circuit model, depth and credit depth are therefore independent parameters: represented depth $Θ(N)$ and causal credit latency $Θ(N^{1/d})$ coexist, with a separation of order $N^{1-1/d}$. SpatialPC realizes this separation within predictive coding. Credit is propagated by adjoint prediction dynamics (APD), a local update whose $K$-round state on a settled acyclic graph is the truncated reverse-path sum $a^K=\sum_{k<K}(J^\top)^k b$, with error exactly $(J^\top)^K a^\star$. Graph geometry fixes when credit can first arrive at a state; the Jacobian-weighted path tail fixes how many further rounds accurate credit requires. A sparse two-dimensional Moore compiler retains the $N-1$ backbone with $\tfrac32N-2$ unit-range edges and has measured worst-node reachability $\sqrt N+2$ up to $N=65{,}536$, where a 65,535-edge backbone is reached in 258 local hops. With $T=2\sqrt N$ rounds, SpatialPC keeps finite-round task gradients aligned with settled gradients (cosine $0.93$ on MNIST and $0.97$ on Fashion-MNIST at $N=256$) and reaches $97.6\%$ and $88.1\%$ test accuracy after 20 epochs.

Mon 26 OctMachine Learning
The gist
When training very large computational models, it usually takes a long time for learning signals to reach the earliest parts of the system. The authors show that this delay depends more on how the parts are connected rather than just how deep the model is. They design a method called SpatialPC that arranges computations in multiple dimensions to greatly shorten this waiting time, allowing faster and more accurate learning updates. Their approach preserves accuracy on common image tasks while using fewer communication steps.
Open → 2610.36139v1

Parallel processing cuts inner product latency and boosts energy efficiency

PARIS: Parallel Arithmetic Reduction and Integrated Selection for MSDF Inner Products

Abstract: Existing most-significant-digit-first (MSDF) accelerators serialize input-term processing, causing inner-product latency to increase with fan-in. This paper presents PARIS, an MSDF architecture that eliminates input-term serialization through parallel bit-plane reduction and shared carry-save residual selection. For $B$-bit operands, PARIS processes $B^2$ bit-position pairs, independent of fan-in within the supported tile, while generating exact MSDF outputs. Synthesized in 45\,nm at 100\,MHz, the 784-lane INT8 core occupies 0.008701\,mm$^2$ and completes an inner product in 88 cycles. Evaluation on two MNIST multilayer perceptrons demonstrates arithmetic-workload speedups of 240.44$\times$ and 180.47$\times$ over a matched reused-MSDF implementation, reducing arithmetic energy by 98.89\% and 98.58\%, respectively. A synthesized 16-engine accelerator occupies 0.90273\,mm$^2$ and meets the 100\,MHz timing constraint. Assuming immediate weight availability, it delivers a projected throughput of 24.33\,GOPS and an estimated energy efficiency of 1,581.14\,GOPS/W at unchanged mapped power. Bias-aware ReLU detection further reduces modeled arithmetic cycles by 5.52\% and 4.86\%. A separate 256-engine RTL implementation completes Model A in 259 cycles, demonstrating output-parallel scalability.

Fri 23 OctHardware Architecture
The gist
Calculating inner products, a basic operation in neural networks, usually takes longer as more inputs are added because of serial processing. The authors developed a new hardware design called PARIS that processes many bits in parallel, speeding up these calculations without losing accuracy. Their design runs much faster and uses far less energy compared to previous methods when tested on digit recognition tasks. This approach can scale to larger systems and further reduce processing time by detecting certain patterns early.
Open → 2610.32410v1

TranSAGE boosts transformer model speed and energy use with spatial pipelines

TranSAGE: Automating Spatial Accelerator Generation for Large-Scale Transformer Models

Abstract: Large-scale Transformers have achieved remarkable success across NLP, computer vision, and robotics, but their growing computational and memory demands challenge efficient inference. Spatial accelerators offer advantages in on-chip bandwidth and energy efficiency, yet designing them for large models remains costly and time-consuming. Existing accelerator generators typically focus on single-operation support, overlooking the benefits of multi-operation pipelining, which limits throughput and energy efficiency. We propose TranSAGE, a compiler-based framework that jointly optimizes scheduling for large-scale Transformers under multi-operation pipelining and generates corresponding accelerator implementations. Our approach integrates a design space exploration (DSE) engine with multi-operation dataflow optimization and a dynamic programming-based graph partitioning algorithm to efficiently identify pipeline-friendly operation clusters and their optimal dataflow parameters. We further design spatial architecture primitives and lowering passes to automatically generate efficient RTL implementations. Evaluations on four representative LLMs demonstrate that TranSAGE achieves up to 2.41x higher throughput and 13.04x higher energy efficiency than commercial GPU/NPU baselines. Compared with state-of-the-art accelerator generators, TranSAGE achieves up to 11.33x higher throughput and 6.07x higher energy efficiency. Our code is available at https://github.com/sjtu-zhao-lab/TranSAGE.

Fri 23 OctHardware Architecture
The gist
Large Transformer models are powerful but need a lot of computing power and memory, making them hard to run efficiently. The authors created TranSAGE, a system that automatically designs special hardware to run these models faster and use less energy by cleverly organizing multiple operations to work in a pipeline. TranSAGE uses smart algorithms to find the best way to split and schedule the model's tasks, then generates hardware designs automatically. Tests show TranSAGE can speed up processing and save energy much better than existing GPUs and similar tools.
Open → 2610.32279v1

Gpu and Npu share language model work for faster inference

HAWK: Heterogeneity-Aware KV Cache Transfer for Efficient GPU-NPU Phase-Disaggregated LLM Inference

Abstract: Large language model (LLM) inference exhibits distinct computational characteristics across its two phases: prefill is compute-intensive, whereas decode is more memory-bound. As a result, AI accelerators achieve varying levels of efficiency across the two phases. GPUs are well suited to prefill, but are often underutilized during decode. By contrast, NPUs can utilize their compute resources more effectively during decode. Motivated by this observation, we explore a heterogeneous architecture that integrates GPUs and NPUs, mapping prefill to GPUs and decode to NPUs to achieve high performance and efficiency. However, realizing such heterogeneous integration is challenging because LLM phase disaggregation requires KV cache transfer from prefill to decode (that is, from GPUs to NPUs), which is complicated by differences in inter-device communication mechanisms and KV cache tensor layouts. To address this, we propose HAWK, a transfer mechanism that enables rapid KV cache transfer across heterogeneous devices. HAWK establishes a remote direct memory access (RDMA) path for direct cross-device transfers while handling inter-device tensor layout discrepancies as part of the transfer process. In particular, HAWK allocates tensor-layout-aware RDMA buffers on the NPU side to match the target tensor layout. Leveraging these buffers, HAWK orchestrates data transfer from a conventional contiguous GPU RDMA buffer to the corresponding NPU buffers, allowing transferred tensors to be consumed directly without additional data rearrangement while maintaining transfer efficiency. We implement and evaluate HAWK on a system built with commercially available GPUs and NPUs, demonstrating performance within 7.88% of a GPU-only system under the same SLO constraints while achieving up to 1.26$\times$ higher power efficiency and 1.72$\times$ higher cost efficiency.

Wed 21 OctHardware ArchitectureDistributed, Parallel, and Cluster Computing
The gist
Large language models have two parts when they work: one part needs a lot of computing power (prefill), and the other mostly needs memory (decode). GPUs are great at the first part but waste power during the second, while NPUs are better at the second part. The authors created HAWK, a method that helps move data quickly and efficiently from GPUs to NPUs, even though these devices handle data differently. This makes the combined system almost as fast as just GPUs alone but uses less power and cost.
Open → 2610.29873v1

Integer-based method improves scaling decisions in MXFP4 dot product computation

Deciding Scale Placement in MXFP4 Dot Products with Integer Arithmetic

Abstract: The Open Compute Project's microscaling (MX) family includes MXFP4, which stores 32 four-bit elements with a shared power-of-two scale. When lowering a dot-product reduction, a compiler can apply these scales before the reduction, or defer scaling until afterwards. Although equivalent over real numbers, these formulations can produce different IEEE binary32 results through overflow or underflow, with equivalence also depending on the reduction tree. We study the legality of compiler rewrites in either direction by deriving conditions under which the two formulations are bitwise equivalent. To decide rewrite legality, we construct an integer state machine that exploits the finite element alphabet and shared power-of-two scales, modeling overflow, NaN, and subnormal rounding. We prove its faithfulness under bounded scale codes and integer coefficients, yielding an exact encoding of the equivalence query in quantifier-free linear integer arithmetic (QF_LIA). For MXFP4, we derive a closed-form sufficient upper bound on the sum of scale exponents for any fixed binary reduction tree within the supported coefficient range. This bound depends on the size of the largest proper subtree. For four tree shapes at block lengths $k\in\{2,3,4,8,16,32\}$ and two shapes at $k=64$, SMT finds counterexamples when this upper bound is increased by one exponent step. Against the standard direct encoding in quantifier-free floating-point arithmetic (QF_FP), on matched queries cvc5 proves the integer version in seconds but reaches a configured one-CPU-hour limit on the floating-point proof even at $k=2$. The implementation was cross-checked using an independent floating-point encoding, exhaustive and stratified binary32 execution, and GPU replay of counterexamples. An MLIR lowering prototype demonstrates selection between the two formulations using the certified conditions as static or runtime guards.

Wed 21 OctLogic in Computer ScienceHardware ArchitectureProgramming Languages
The gist
When computers calculate sums of products with tiny numbers stored in a special compressed format called MXFP4, the order of multiplying by a scale factor can change the tiny errors and overflows in the result. The authors found exact mathematical conditions that guarantee when two ways of scaling produce exactly the same answer, using only integer math to model floating-point rounding errors. They created a method that quickly checks these conditions and proved it works for a wide range of cases. This helps compilers safely pick the best way to do these calculations, avoiding hidden errors and saving time.
Open → 2610.29445v1

PlaneZip compresses training activation data to reduce GPU memory overhead

PlaneZip: Lossless Bit-Plane Compression of Training Activations Offloaded over PCIe

Abstract: Training under a device-memory budget relies on tensor rematerialization: an evicted activation is either swapped to host memory or dropped and recomputed. Because GPU compute has outgrown PCIe bandwidth, cost-model planners such as MegTaiChi, which charge a swap its full transfer time, almost never swap, and swaps that fill idle link time carry only a small fraction of the saved activations. Saved activations, however, are homogeneously typed arrays with bit-level redundancy beyond zeros, which lightweight bit-plane compressors can remove at line rate. We present PlaneZip, which compresses swapped tensors on the copy path and plans around the compression. Its codec picks, for every 128-byte block, the smallest of zero-value, delta bit-plane, bit-plane, and a new zero-masked bit-plane encoding. A per-tensor predictor reuses the ratio of the previous iteration, and the planner budgets link time in compressed transfer times. On activations captured from five models trained on real data, the codec compresses BF16 activations by 1.71x and FP32 activations by 1.39x (geometric means), against 1.18x and 1.20x for zero-value compression. In trace-driven simulation of a PCIe 3.0 consumer GPU and a PCIe 4.0 datacenter GPU at half the activation memory, PlaneZip cuts the rematerialization overhead by 47% and 31% relative to a bandwidth-aware planner without compression, and by 73% and 54% relative to MegTaiChi's cost model, with an estimated engine area of 0.036 square millimeters.

Sun 18 OctDistributed, Parallel, and Cluster Computing
The gist
Training advanced AI models uses a lot of memory on GPUs, which can slow things down when data moves between the GPU and computer memory. The authors developed PlaneZip, a method that shrinks the size of the data moved to the computer memory without losing any information. This helps speed up training by reducing delays caused by slower data transfers. PlaneZip chooses the best way to compress small pieces of data and adjusts the process based on past results to use bandwidth more efficiently.
Open → 2610.25033v1

Extending hardware-friendly multi-threshold activations beyond simple cases

Compiling Multi-Threshold Operators for Quantized Non-Monotonic and Fine-Granular Activations in Custom-Tailored DNN Accelerators

Abstract: Aggressive quantization of neural networks can expose activation functions as bottlenecks for efficient hardware acceleration. Implementing quantized activations as multi-threshold operations has been shown to be a promising optimization, allowing for efficient hardware implementation of few-bit activations. However, current implementations are limited to monotonically increasing functions, quantization schemes with one-dimensional (per-channel) granularity and a small set of predefined activation-quantizer combinations. We formalize the multi-threshold representation to extend it to non-monotonic functions and fine-granular parameters, i.e., multi-dimensional thresholds. For automated conversion of quantized function compositions into threshold representation, we propose a systematic approach via algebraic rules integrated into the ONNX-based compiler infrastructure. We experimentally validate our solution on a selection of monotonic and non-monotonic functions by extending the binary search based multi-threshold operator that is integrated into the FINN framework for end-to-end synthesis of custom-tailored FPGA accelerators. The cost of hardware support for non-monotonicity and fine-granularity is characterized in comparison to an alternative approach utilizing existing operators via graph-level decomposition. We compare our method to prior work as well as the approach taken by the hls4ml framework. As an outlook, we demonstrate the prospects of using the multi-threshold representation during the training of a neural network as a form of quantization aware training.

Thu 15 OctHardware ArchitectureMachine Learning
The gist
Quantizing neural networks helps run them faster on hardware but makes some calculations, like activation functions, harder to do efficiently. The authors found a way to represent more complex activation functions — including those that don’t just go up steadily and that have detailed per-part settings — using multi-threshold operations. They built tools to automatically convert these functions into this form, making it easier to implement them on specialized hardware like FPGAs. Their work also compares hardware costs and suggests this method could help during training neural networks with quantization in mind.
Open → 2610.21825v1

Parallel besselkan improves network stability and reduces parameters

Hybrid Parallel Bessel KAN Model: a Kolmogorov Arnold Network: integrated framework for developing a novel architecture to reconstruct the fused-basis approach via a parameter free quadratic interaction

Abstract: The Kolmogorov-Arnold Network (KAN) challenges traditional MLPs by placing learnable activation functions on network edges. However, scaling KANs to spatial data exposes limitations in default B-Splines. While hybrid architectures mix multiple basis families on a single edge to resolve this, monolithic superposition causes geometric overlap, parameter explosion, and severe numerical ill-conditioning ($κ(G) \approx 10^{16}$).To overcome this, we propose Parallel BesselKAN, which isolates B-Spline and low-order Bessel branches into parallel processing pipelines integrated via a parameter-free quadratic interaction. This decoupled architecture acts as an efficient internal ensemble, bypassing monolithic stability bottlenecks. It compresses the parameter footprint by $35\%$ while achieving $97.99\%$ accuracy on MNIST. Although standard MLPs retain a hardware speed advantage for pure vision tasks, Parallel BesselKAN provides a robust, parameter-efficient framework stabilizing mixed-basis networks and paving the way for scalable spatial adaptations like Convolutional KANs.

Tue 13 OctMachine Learning
The gist
Traditional neural networks use fixed activation functions, but the Kolmogorov-Arnold Network (KAN) lets these functions learn as part of the model. However, combining different basis functions in one place causes instability and too many parameters. The authors designed Parallel BesselKAN, which separates different function types into parallel paths and merges them without extra parameters. This approach cuts down on parameters while keeping high accuracy and improves network stability for image tasks.
Open → 2610.17779v1

Deep networks learn efficiently with 4 bit predictive coding

Error-Based Bidirectional Predictive Coding Enables Deep, 4-Bit Predictive Coding Networks

Abstract: Predictive coding networks (PCNs) promise properties not offered by backpropagation-trained networks: learning from purely local information, a single network that both discriminates and generates, and flexible inference by energy minimization. However, their iterative inference is expensive, making hardware acceleration desirable, and a useful, efficient accelerator needs both depth and aggressive quantization. Canonical state-based PC delivers neither: its inference signal decays exponentially with depth, so deep models fail to train, and low precision makes it worse. We show that pairing two recent methods carries the full PCN property set into the deep, 4-bit regime: bidirectional PC (bPC), which unifies discrimination and generation, and the error-based reparameterization (ePC), which optimizes prediction errors rather than states during inference. Error optimization delivers the output signal to every layer in a single backward pass, removing the signal decay; one additional element, global-norm clipping of the error gradients, stabilizes the error dynamics at depth. The resulting ePC+bPC model trains stably up to at least eight layers and retains its full-precision accuracy and clean class-conditional generation under W4A4E4 quantization-aware training, across FP4 and three posit formats. On six-layer networks, where state-based bPC collapses to chance, ePC+bPC classifies more than 50 accuracy points above it after one epoch of training, with class-conditional generations 5-9x better in RMSE. 4-bit quantization is nearly free: full-precision and 4-bit accuracies differ by at most ~5 points, and by under two in the best-performing formats. We characterize the two failure modes the method overcomes, bounded signal decay in state-based PC and error divergence in unregularized error optimization, and discuss implications for a 4-bit-native PCN accelerator.

Sun 11 OctMachine Learning
The gist
Training very deep predictive coding networks can be very slow and inaccurate because the signals weaken as they pass through layers, especially when using low precision numbers. The authors show that by combining two recent techniques—using errors rather than states for inference, and bidirectional predictive coding—they can keep signals strong and stable even in deep networks with very low (4-bit) precision. Their approach lets the network learn as well as full precision models and produce high-quality outputs while using less computational resources. This could help build hardware that runs such networks faster and more efficiently.
Open → 2610.15933v1

Improving edge AI reliability with smart DNN partitioning under faults

RAPID-DNN: Reliability-Aware Partitioning for Robust DNN Inference Deployment on Edge AI

Abstract: Deep neural networks (DNNs) deployed on heterogeneous edge accelerators are increasingly exposed to runtime hardware faults. Tight power and resource budgets push these platforms toward aggressive voltage scaling and limit the use of hardware fault mitigation, while process variation, thermal stress, and device aging raise fault rates further. The resulting transient bit level corruptions propagate through inference and can sharply reduce prediction accuracy. Existing DNN partitioning frameworks optimize latency and energy under fault free assumptions, so their deployment strategies often fail to sustain reliable inference in realistic operating conditions. This paper presents RAPID DNN, a reliability aware partitioning framework that adds runtime reliability as a third optimization objective alongside latency and energy. RAPID DNN first characterizes layer wise reliability through systematic fault injection in the weight and activation domains to identify vulnerability critical layers. The resulting sensitivity profile guides a three objective NSGA II optimizer that jointly minimizes inference latency, energy consumption, and expected fault induced accuracy degradation. We evaluate RAPID DNN on AlexNet, SqueezeNet, ResNet18, VGG16, and MobileNetV2 using heterogeneous Eyeriss and SIMBA accelerator profiles. Across fault models and injection probabilities, it consistently improves inference robustness over the fault agnostic baseline. Under the representative mixed random fault configuration, RAPID DNN raises average Top 1 accuracy by 9.81 percentage points and reduces average expected fault induced accuracy degradation by 36.86%, at a cost of 2.38% average latency overhead and 3.34% average energy overhead. These results show that treating reliability as a partitioning objective enables robust DNN deployment on heterogeneous edge accelerators under runtime hardware faults.

Thu 8 OctEmerging Technologies
The gist
Edge AI devices run deep neural networks but often face hardware faults that can scramble data and reduce accuracy. The authors created RAPID DNN, a system that carefully splits DNN tasks to balance speed, energy use, and fault tolerance. It figures out which parts of the network are most sensitive to errors and optimizes deployment accordingly, improving accuracy even when hardware errors happen. Tests on popular neural networks and edge AI hardware models show notable accuracy improvements with only small extra delay and energy costs.
Open → 2610.12111v1

MSDF method cuts brain tumor scan energy consumption during AI processing

DEX: Digit-Level Early Exit for Energy-Efficient MSDF Neural Network Inference

Abstract: U-Net inference for brain-tumor segmentation requires billions of multiply-accumulate operations, motivating hardware that can reduce computation dynamically rather than relying only on fixed precision or static model compression. Most-significant-digit-first (MSDF) arithmetic exposes the leading digits of a result during computation, enabling output-dependent decisions before the full value is generated. This paper presents an MSDF accelerator for quantized U-Net segmentation with a two-stage grouped processing element supporting signed INT8 operands and in-stream bias accumulation. Four runtime mechanisms operate directly on the output digit stream: exact early negative detection (END) in ReLU layers, exact sign-only decision making in the segmentation head, calibrated low-order-digit skipping, and calibrated pruning. The two approximate mechanisms are selected offline under an accuracy constraint, while execution requires only lightweight control and does not modify the stored weights. On a residual U-Net trained with nnU-Net for BraTS, the proposed mechanisms reduce digit cycles by 38.38\% while achieving a mean Dice score of 80.58\% on 73 held-out cases, compared with 81.20\% for the floating-point model; the exact mechanisms alone reduce cycles by 18.79\% without altering the quantized output. Synthesized in 45~nm, the processing element operates at 500~MHz, occupies 0.858~mm$^2$, and consumes 0.726~mJ per $192\times192$ patch under switching-activity-annotated power analysis. A projected eight-output accelerator with shared activation delivery achieves 16.6~ms latency and 1.67~mJ per patch.

Thu 8 OctHardware ArchitectureArtificial IntelligenceMachine Learning
The gist
Processing brain tumor images with AI requires a lot of energy and computing work. The authors designed a special chip that looks at parts of the calculation step-by-step from the most important digits first, allowing it to stop early when confident, saving energy. Their chip uses this to reduce work by over a third with only a small drop in accuracy compared to full precision methods. This helps make brain tumor image analysis faster and more energy-efficient without changing the AI model's stored data.
Open → 2610.11748v1

Sparse segment reduction speeds up ternary matrix operations in large language models

SSR: Sparse Segment Reduction for Ternary GEMM Acceleration

Abstract: Large Language Models (LLMs) require substantial computational resources, limiting their deployment on resource-constrained hardware. Ternary LLMs mitigate these demands through weight quantization via ternary values, achieving significant compression often with 50-90% sparsity. However, existing approaches have limitations: methods optimized for ternary weights, such as BitNet, redundant segment reduction (RSR), and its improved version RSR++, do not exploit sparsity structures, while conventional sparse formats neglect ternary characteristics, foregoing dual optimization opportunities. In this paper, we introduce Sparse Segment Reduction (SSR), a ternary matrix multiplication method designed to accelerate the inference of ternary LLMs and general Ternary Weight Networks (TWNs). SSR has a dedicated optimized ternary data format and an algorithm that systematically exploits sparsity patterns through computation trees that scale with the sparsity. SSR provides theoretical gains with asymptotically faster inference than RSR++ for sparsity above 50%, while practical evaluations reveal performance improvements across all sparsity levels. Evaluation results show that SSR achieves 2.1-11.3x speedup over RSR++ on ternary GEMM with 45-95% sparsity. Furthermore, SSR achieves 3.5-6.3x end-to-end speedup and 4.9% of memory saving over RSR++ on the Llama-3 1B model inference.

Tue 6 OctMachine Learning
The gist
Large language models need a lot of computing power, which makes them hard to run on smaller devices. The paper introduces a method called Sparse Segment Reduction (SSR) that speeds up calculations for models using ternary weights (weights limited to three values), taking advantage of the fact that many of these weights are zeros (sparse). By designing a special data format and algorithm, SSR can perform these operations faster than previous methods, especially when sparsity is high. This leads to significant speedups and memory savings during language model inference.
Open → 2610.08403v1

Fpga design speeds up sparse matrix multiplication in longformer attention

A Pipelined FPGA Architecture for Banded Sparse Matrix Dense Matrix Multiplication in Longformer

Abstract: Sparse attention mechanisms have become increasingly important for transformer models processing long input sequences due to their lower computational and memory complexity compared to full self-attention. Longformer achieves this through a sliding-window attention mechanism that produces a structured banded sparse attention matrix. However, existing sparse transformer accelerators primarily target attention generation or unstructured sparsity, leaving sparse matrix--dense matrix multiplication (SpMM) for structured sparse attention largely unexplored. This paper presents a pipelined FPGA architecture for accelerating banded SpMM in Longformer. The proposed design exploits the predictable sparsity pattern of Longformer's attention matrix through a custom row-wise storage scheme with implicit indexing, eliminating the overhead of conventional sparse matrix formats while enabling regular memory accesses. The architecture employs parallel processing elements, pipelined adder trees, and a dual-path computation strategy to maximize throughput and hardware utilization. Implemented in Verilog and evaluated on an RFSoC platform using Vivado 2024.2, the accelerator sustains one complete dot-product result per clock cycle after an initial latency of 11 cycles while maintaining power consumption below 2.9 W. Operating at 100 MHz, the design achieves over 100 million dot-product outputs per second, demonstrating the effectiveness of directly exploiting structured sparsity for sparse transformer acceleration.

Mon 5 OctHardware Architecture
The gist
Longformer is a version of a popular AI model that pays attention to only a small, nearby part of a long input instead of everything, which saves computing power. This creates a special kind of pattern in the data called a banded sparse matrix. The authors made a new hardware design for FPGAs that takes advantage of this pattern to do the math faster and more efficiently. Their design works smoothly and uses little power, achieving very high speeds without extra overhead.
Open → 2610.07301v1

Verification is hard for narrow deep neural networks with relu activation

Fractal Gadgets for Neural Networks: The Complexity of the Narrow Regime

Abstract: We study the verification problem for deep narrow ReLU neural networks: given a network of bounded width computing a piecewise-affine map on [0,1], does some input satisfy a prescribed output constraint? Classical NP-hardness proofs for ReLU verification use one neuron per Boolean variable and say nothing about networks of small constant width, while width-1 networks are easy to verify. We show that verification of ReLU networks is NP-complete at width 4 for arbitrary inputs in [0,1]. When inputs are restricted to a natural discrete encoding set, NP-completeness already holds at width 3. Together with polynomial-time decidability at width 1, this leaves open only width 2 on the encoding set, and widths 2 and 3 on [0,1]. The technical core is a fractal preprocessing gadget: a width-2 ReLU subnetwork whose iterate vanishes precisely near a finite Cantor-like subset of [0,1] with 2^n points. It reduces verification of a continuous function on [0,1] to verification on 2^n discrete points without increasing the width, and is the missing ingredient for width-bounded hardness reductions. The same construction yields further results at width 3 on the encoding set: the universal problem is coNP-complete, counting zeros is #P-complete, a majority variant is PP-complete, and approximating the minimum output within a constant gap inherited from Max-3Sat is NP-hard. The NP, coNP and inapproximability results lift to all of [0,1] at width 4; lifting counting and majority, and lifting at width 3, remain open.

Mon 5 OctComputational Complexity
The gist
Checking whether a small-width deep neural network with ReLU activation meets a specific output condition is computationally difficult. The authors prove that this verification problem is NP-complete starting at width 4 for continuous inputs in [0,1], and at width 3 for certain discrete inputs. They introduce a fractal gadget that transforms verification over a continuous range into verification over exponentially many discrete points without increasing network width. This work narrows down the exact complexity landscape for verifying deep narrow ReLU networks.
Open → 2610.06092v1

StagQ improves multi-precision weight compression for large language models

StagQ: Constraint-Driven Multi-Precision Weight Quantization for LLMs

Abstract: Serving a large language model (LLM) across a fleet of deployments requires several weight-precision operating points. Multi-precision formats serve them all from one stream whose prefixes are valid lower-precision codes, instead of storing multiple copies. We present StagQ, a multi-precision weight format whose main stream is a 2-bit group-wise affine base followed by a configurable number of 1-bit refinement planes on a dyadic step schedule. Every supported precision is a readable prefix, decoded by an affine map derived from metadata shared across all precisions, with no per-weight lookup. A sparse side record, filled both before and after the grid is fitted, holds out the few weights the grid serves worst. We report two configurations of the encoder. At two bits the cheaper one leads the strongest multi-precision baseline on Llama-3.1-8B, Phi-4, and OLMo-2-7B by 3.1 to 7.0 MMLU points, at a slightly lower logical rate. At three bits it leads on Llama-3.1-8B, leads on Phi-4 at a higher rate, and ties on OLMo-2-7B. At four bits it ties on all three, at a higher rate. In a batch-one matrix-vector product on an NVIDIA A100 GPU, timed on synthetic weights, our kernel is faster than the two baseline kernels in most shape-precision cases.

Mon 5 OctMachine LearningComputation and Language
The gist
Running large language models often requires different levels of detail when storing the model's weights, which can be inefficient when using multiple copies. The authors present StagQ, a new way to store these weights that can be read at different precisions from a single data stream, reducing storage needs. Their method uses a base representation with extra layers to refine precision and includes a small extra record for weights that are hard to represent. They tested StagQ on several language models and found it performs better and faster than existing methods in many cases.
Open → 2610.05977v1

ZTA-Q platform enables accurate low-precision CNN inference on RISC-V

ZTA-Q: an Open-source RISC-V Platform for Accurate Quantized CNN Inference

Abstract: Low-precision inference is widely adopted in edge AI to reduce computational cost and memory footprint. However, existing open-source accelerator platforms provide limited end-to-end support for CNNs following the standard TensorFlow Lite integer inference scheme. This paper presents ZTA-Q, an open-source RISC-V-based platform that enables accurate deployment of TensorFlow Lite INT8 models. In addition to extending operator support, ZTA-Q provides a configurable post-processing datapath for studying how circuit-level approximations, including reduced multiplier precision, shared shift scaling, and simplified rounding, affect model accuracy. The proposed system is implemented on a Digilent Arty A7-100T FPGA and operates at 83.3 MHz. Evaluations on representative CNN models show that with LUT, register, and DSP overheads of 26.3%, 12.6%, and 150%, respectively, ZTA-Q limits the degradation in both top-1 and top-5 accuracy to within 0.25 percentage points.

Thu 1 OctHardware Architecture
The gist
Running AI models on small devices needs them to use less memory and simpler math, which can make them less accurate. The authors built ZTA-Q, a free RISC-V-based system that runs popular low-precision AI models while keeping the results nearly as accurate as usual. They also designed ways to test how simpler hardware math affects accuracy. Tests running on a real FPGA chip showed the system only slightly lowered accuracy but used extra hardware resources.
Open → 2610.01867v1

Logic gate networks overcome redundancy to improve accuracy and scale

Overcoming Kernel Redundancy for Scaling Logic Gate Networks

Abstract: Differentiable logic gate networks, which operate using only logic gates, have recently attracted attention as an efficient alternative to conventional neural networks. However, despite their efficiency, the scaling behavior of logic gate networks remains underexplored. By contrast, scaling model capacity is a central design principle in deep neural networks and typically leads to improved performance. This discrepancy raises a key question: Can similar scaling benefits also be achieved in logic gate networks? In this work, we focus on width as a primary scaling axis and conduct a systematic analysis of its behavior in logic gate networks. We observe that naive width scaling often introduces redundancy among logic kernels, limiting the effective use of additional kernels and leading to performance saturation. To address this limitation, we propose a dynamic logic kernel framework that reorganizes kernel utilization by promoting specialization across kernel groups. This enables the network to better utilize increased width via input-dependent kernel routing, while ensuring that both routing and computation are implemented entirely with gate-level Boolean operations at inference time. We further find that kernel redundancy is most pronounced at the first gate level, motivating an early-stage dynamic logic kernel strategy that concentrates adaptation at this level. Experimental results demonstrate that our approach improves kernel utilization and increases kernel diversity, leading to higher accuracy with improved parameter efficiency.

Thu 1 OctComputer Vision and Pattern Recognition
The gist
Logic gate networks are an alternative to neural networks that use only logic gates to do their calculations. The authors found that when these networks get wider (have more kernels), they often don’t get better because many kernels end up being redundant or similar. To fix this, the authors designed a way to keep kernels specialized and routed based on input, especially focusing on the first gate layer. This method uses only logic gates even at inference time and results in networks that use their kernels more effectively and achieve better accuracy.
Open → 2610.01069v1

Certified fast matrix multiplication ensures stable language model outputs

Beyond Accuracy: Prefix-Invariant Realizations of Low-Precision Fast Matrix Multiplication

Abstract: Fast matrix multiplication saves multiplications through exact cancellation, but rounding sums that mix token rows can leave contributions from later tokens in earlier language model outputs. This threatens prefix invariance, which multiple-choice likelihood scoring relies on: a scored likelihood must depend only on its allowed prefix. On Qwen2.5-14B-Instruct, two fast FP8 realizations repaired to ordinary-looking accuracy still change the answers chosen by likelihood on 5.83% and 10.00% of 240 OpenBookQA items when only the text after the allowed prefix is replaced with the bf16 model's own greedy continuation. Both row-local controls, the bf16 model and a deployed FP8 matrix multiplication kernel, change none. Accuracy thus does not certify prefix invariance, and the stability criteria we analyze cannot tell realizations apart: across all 512 sign variants of two-level Strassen they stay constant while teacher-forced perplexities span a 772.4$\times$ range on the same model. We therefore construct certified realizations of two-level Strassen on bounded integer codes that quantize token rows independently, then mix and cancel exactly before rescaling, using 49 block multiplications instead of 64. Our certificate guarantees bitwise equality to a prescribed row-local classical int8 operator at the same quantization specification, so every certified realization inherits its prefix invariance. Certification thus turns realization choice into a pure cost decision: which certified realization runs can no longer change a single scored likelihood.

Wed 30 SeptMachine Learning
The gist
The paper finds that some fast ways to multiply matrices in AI models can cause unpredictable changes in results, especially when predicting text step by step. The authors show that simply having good accuracy doesn’t guarantee stable outputs when using these fast methods. To fix this, they create a certified method that guarantees exact matches with a stable baseline, ensuring consistent and reliable language model outputs. This helps improve trust in AI predictions that build on earlier text without unexpected shifts.
Open → 2609.39816v1

Mixed precision flashattention boosts efficiency on dedicated chips

LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Accelerators

Abstract: While most attention logits can be computed in low precision without degrading numerical stability, current attention kernels fail to exploit this phenomenon. We introduce a novel hardware-algorithm co-design in the form of mixed-precision FlashAttention. Our method accumulates key-query products and evaluates their exponentials in 8-bit formats, then adaptively identifies sensitive sub-blocks and recomputes them in 16-bit formats. We propose the specifications for a dedicated accelerator capable of executing this pipeline efficiently. Simulated experiments with Qwen3 and Gemma 3 show that rerouting a selective minority of sub-blocks to high precision is sufficient to recover the baseline model performance.

Wed 30 SeptMachine Learning
The gist
Attention mechanisms in AI usually do calculations using numbers with the same precision. The authors found that many of these calculations can be done in lower precision without making the results worse. They created a method that mostly uses 8-bit numbers but switches to 16-bit numbers only for the tricky parts. They also designed a plan for hardware that can run this method efficiently. Tests show that this selective approach keeps the AI's accuracy while using less computing power.
Open → 2609.39361v1

Seed based weight compression improves security and efficiency in large language models

Security-Enhanced Seed-Based Weight Quantization for Large Language Models

Abstract: Large language models (LLMs) incur substantial storage, memory-bandwidth and energy costs, motivating compact weight representations. Existing seed-based compression methods reconstruct weights from compact pseudo-random representations but do not explicitly account for the non-uniform sensitivity of model weights. We introduce Seed-Q, a security-enhanced sensitivity-aware seed-based weight compression framework that uses lightweight Linear Feedback Shift Register (LFSR)-based weight generation with non-uniform bit allocation. Our approach assigns larger representation budgets to sensitive weights while aggressively compressing less sensitive regions. Importantly, this non-uniform allocation requires no side-information: the decoder deterministically reconstructs the bit-allocation schedule, with no rung depending on the decoded weights, eliminating the need to store per-block metadata or use calibration data while preserving the baseline coding rate. Experiments across diverse LLMs show that Seed-Q matches 4-bit perplexity of SeedLM with fewer bits, while at the same 4 bits/weight it reduces both perplexity degradation and zero-shot accuracy loss relative to SeedLM. We also show that Seed-Q simultaneously achieves high security against bit-flip attacks on model parameters, as bit corruption affects multiple reconstructed weights, greatly amplifying its impact and making it easier to detect. We further implement Seed-Q in an ASIC-based accelerator and demonstrate modest hardware overhead compared to prior seed-based approaches.

Tue 29 SeptCryptography and SecurityArtificial IntelligenceMachine Learning
The gist
Large language models need a lot of storage and energy, so finding ways to shrink them is important. The authors propose Seed-Q, a method that better compresses model data by paying more attention to important parts of the model. This method also makes it easier to spot if someone tampers with the model’s data. They show their approach works well across different models and can be used with special hardware.
Open → 2609.38477v1

Analog in-memory computing enables scalable training for deep models

Making Analog Training Scale: Co-Designing Mapping, Optimizer, and Converters

Abstract: Analog in-memory computing (AIMC) offers an alternative for model training by executing matrix operations directly where weights are stored. However, scaling AIMC to train modern deep models remains an open challenge due to severe hardware non-idealities, including physical weights with finite dynamic range and write granularity, analog-digital converters with finite resolution, and noisy and asymmetric updates. Guided by the insight that gradient accumulation is sensitive to precision and rounding errors, we adopt a mixed-precision training paradigm: executing forward and backward matrix multiplications in the analog domain while computing weight gradients in the digital domain. To enable scalable training, we present a holistic system-algorithm co-design that co-optimizes weight mapping to ensure well-conditioned physical and logical weight profiles, couples a preconditioned optimizer with threshold-triggered open-loop pulsing to stabilize training trajectories, and aligns converter dynamic ranges to suppress quantization errors. Evaluated via hardware-calibrated architectural simulations calibrated with electrochemical RAM measurements, our framework scales Transformer training up to $123\text{M}$ parameters with validation loss scaling as $L\propto N^{-0.231}$, where $N$ is the parameter count, comparable to $L\propto N^{-0.238}$ for digital training.

Tue 29 SeptMachine LearningHardware Architecture
The gist
Training large deep learning models requires many calculations involving lots of numbers. The authors studied a hardware approach called analog in-memory computing, which does these calculations directly where the data is stored, potentially making training faster and more efficient. They found that this approach has challenges like noise and limited precision, so they designed a combined hardware and software system that balances analog and digital operations carefully. Their method can train models with millions of parameters with accuracy similar to standard digital training.
Open → 2609.36584v1

Spiking neural networks can compute faster and more accurately with delay tuning

Latency and accuracy tradeoffs in Spiking Neural Networks

Abstract: Spiking neural networks are attractive for low-power speech command recognition, yet their latency has received far less attention than their energy efficiency, and their multi-timestep execution is widely assumed to make them slower than quantized neural networks. This paper challenges the assumption that more local timesteps necessarily imply higher network latency. By overlapping computation across adjacent layers at the timestep level, SNNs may complete execution in less time than comparable bit-serial QNNs. However, this overlap relies on spikes firing on incomplete inputs, and a spike once generated cannot be withdrawn, so its error persists and reduces accuracy. Waiting for more input before firing would seem to improve accuracy at the cost of reduced overlap. Yet we find and prove that this intuition fails at some layers, where even a small increase in waiting can change spike timing and downstream computation, making the network both slower and less accurate. We therefore propose a Pipeline Delay Search method which selects each layer's delay by balancing task-level accuracy gains against added network latency. We then adapt the selected configurations through spike-based quantization-aware training and bounded tuning of firing thresholds and initial membrane potentials. Together, these steps form Falcon, a framework for Fine-grained Analysis of Latency and Controlled firing which systematically analyzes and optimizes SNN latency under a spatial analog compute-in-memory mapping with shared digital engines. We evaluate Falcon on GSCV2 and SSC, achieving competitive accuracies of 96.31 and 83.02 at modeled network-core latencies of 119.64 and 124.00us, respectively. Together, our analysis and results show that SNNs can compute more yet finish faster, and wait longer yet predict worse, highlighting why Falcon matters for both latency and accuracy.

Mon 28 SeptMachine Learning
The gist
Spiking neural networks (SNNs) are good at recognizing speech with low power, but people thought they were slower than other types of networks. The authors show that SNNs can actually finish faster by overlapping calculations across layers, but this can cause errors if spikes fire too soon. Surprisingly, waiting longer to fire doesn’t always help and can sometimes make things slower and less accurate. To solve this, the authors created Falcon, a method that finds the best balance between speed and accuracy by adjusting when each layer fires spikes.
Open → 2609.35260v1

Task aware approach improves decisions in logic gate network discretization

Task-Aware Discretization of Differentiable Logic Gate Networks

Abstract: Differentiable logic gate networks (DLGNs) enable gradient-based training of highly efficient Boolean networks by relaxing discrete logic gates during training and discretizing them for inference. Standard approaches make this discretization decision locally, typically through argmax selection and confidence- or entropy-based convergence criteria. We show that local discretization can be task-suboptimal even for globally optimal relaxed solutions, with high gate confidence providing no general guarantee, and derive bounds relating task-aware gate selection to tractable interventions in the relaxed network. Motivated by these results, we study first-order downstream task information for progressive discretization and characterize when this local approximation is reliable. Experiments on convolutional DLGNs reveal a strong locality dependence: first-order scores become unreliable when directly optimized over nonlocal interventions, but accurately assess local argmax decisions for progressive freezing.

Sun 27 SeptMachine LearningLogic in Computer Science
The gist
Many artificial intelligence models use logic gates to make decisions, and training these models often involves smoothing out these gates to allow gradual learning. The authors found that deciding when and how to make these gates fully discrete (finalizing their behavior) based only on local confidence can lead to worse overall performance. They developed a new way to include information about the whole task when making these decisions, improving how the model freezes its logic gates. Their experiments with image-related neural networks showed that considering nearby gates one at a time works well, but trying to optimize many gates together is less reliable.
Open → 2609.33747v1

Justquant improves 4 bit activation quantization without complex operations

JustQuant: You Don't Need Smoothing, SVD, or Rotation for 4-Bit Activation Quantization

Abstract: Recent generative models have become increasingly powerful, but their inference cost continues to grow. Model quantization offers a promising way to compress these models and accelerate inference. However, at 4 bits, activation quantization is substantially more challenging than weight quantization. Recent post-training quantization (PTQ) and quantization-aware training (QAT) methods have made progress in 4-bit activation quantization by introducing smoothing, SVD branches, rotations, mixed precision, or advanced formats such as NVFP4. These additional operators and data types impose demanding requirements on inference engines and hardware, limiting the broad adoption of low-precision models. Can quantization be achieved using only plain low-bit operators? To answer this question, we propose JustQuant, a simple yet effective framework that moves the complexity of low-bit quantization from deployment-time operators into the training process. We first revisit model quantization from the perspective of knowledge distillation and show that a key reason existing PTQ and QAT methods fail is that they typically exploit supervision at only a single level. We then introduce Theseus QAD, a quantization-aware distillation method that progressively applies multi-level supervision, analogous to the gradual replacement process in the Ship of Theseus. Extensive experiments on DiT and diffusion large language models show two distinct regimes. For smaller models, Theseus QAD can serve as a lightweight warm-up stage that substantially improves subsequent QAT with plain operators, while naive QAD may collapse in the same setting. For larger models, Theseus QAD provides a stronger distillation training path than ordinary QAD. Across both regimes, JustQuant improves low-bit quantization quality while avoiding the complex operators required by many existing PTQ methods.

Sun 27 SeptArtificial Intelligence
The gist
Large generative AI models are powerful but require a lot of computing power. Reducing the precision of these models can speed them up but is tricky, especially for certain internal data called activations at 4-bit precision. The authors show that existing methods rely on complicated steps that make running these models harder on hardware. They propose JustQuant, a simpler approach that shifts complexity to the training phase instead of the running phase, using a new training technique called Theseus QAD. This approach improves model accuracy while avoiding difficult operations during use.
Open → 2609.33601v1

Transformers pretrained using low precision softmax approximations in attention

Pretraining Transformers with Quantized Softmax in Attention

Abstract: Low-precision Transformer systems increasingly quantize attention matrix multiplications, while softmax often remains at higher precision. During pretraining, an approximate softmax changes the gradients that train the model as well as its forward computation. We study this interaction with K-interval attention, which approximates the exponential using K+1 grid values. We vary per-row grid calibration, interpolation versus hard rounding, and the placement of a straight-through surrogate relative to normalization. We derive the corresponding backward rules, including calibration derivatives, and compare these choices in pretraining experiments matched on model, data, and optimizer. Detaching the row extrema leaves the forward computation unchanged but produces a delayed increase in validation loss. With hard rounding at K=4, min-max calibration and a pre-normalization surrogate incur a large loss gap; changing either choice substantially reduces it. At 124M parameters and 2.5B training tokens, fixed-window calibration with a post-normalization surrogate yields a validation loss gap of +0.019 nats relative to softmax at K=4, and with a pre-normalization surrogate yields +0.004 nats at K=16.

Sun 27 SeptMachine Learning
The gist
Transformers use a softmax function in their attention mechanism, usually computed with high precision, which can slow down training and increase resource use. The authors explore a low-precision method called K-interval attention that approximates this softmax using a limited set of values, impacting both how the model learns and makes predictions. They test different ways to calibrate and compute this approximation during training, finding setups that minimize accuracy loss. Their results show that quantizing softmax at certain levels can nearly match the performance of full softmax while reducing precision.
Open → 2609.33591v1

Local learning methods face limits compared to backpropagation in deep networks

The Price of Locality: Why Forward-Forward Underperforms Backpropagation?

Abstract: The Forward-Forward Algorithm (FFA) replaces backpropagation (BP) with layer-wise local contrastive objectives, eliminating the backward pass and the need to retain intermediate activations, yet suffers a persistent performance gap with BP that worsens with depth. This paper diagnoses two structural failure modes: an optimization floor arising from concurrent local updates; and a geometric collapse of layer representations driven by the local update mechanism. On the optimization side, we prove that the FFA loss satisfies the Polyak--Lojasiewicz inequality at each layer; however, simultaneous layer updates induce inter-layer representation-distribution drift, so each layer optimizes against a moving input distribution and incurs an error floor. On the representational side, the pairwise similarity kernel of layer representations contracts exponentially toward rank one as depth increases, collapsing the diversity of per-layer error signals. This collapse bounds FFA's effective learning capacity, which measures the diversity of gradient information across layers, independently of depth, whereas BP's chain-rule signal preserves per-layer diversity, yielding a capacity that scales with depth.

Sun 27 SeptMachine Learning
The gist
Backpropagation is a common way to train deep learning models, but it requires information flowing backward through the network. The Forward-Forward Algorithm tries to avoid this by training layers separately using only local information, which simplifies training. The authors found that this method struggles because layers affect each other unpredictably and their internal representations lose diversity as the network gets deeper. This limits how well the model can learn compared to standard backpropagation, especially in deeper networks.
Open → 2609.33240v1

MorphAtt boosts efficiency of spiking vision transformers for edge devices

MorphAtt: A Neuromorphic Accelerator for Efficient Multi-Head Attention Processing in Spiking Vision Transformers

Abstract: Spiking Vision Transformers (SViTs) are developed as an energy-efficient alternative to conventional ViTs for computer vision tasks at the edge. However, huge parameter counts and complex multi-head self-attention (MHSA) operations make it challenging to achieve high energy efficiency in SViT inference, especially in tightly constrained applications. To maximize efficiency gains of SViT processing, we propose MorphAtt, a novel digital accelerator that expedites SViT inference through streamlined processing. Specifically, it processes MHSA operations using cascaded hardware modules: a Spiking Query-Key-Value generator (SpikeQKV), a low-complexity Spiking Multi-Head Self-Attention engine (SpikeAtten), and Reparameterization Convolution (RepConv) modules. To mitigate traffic congestion in on-chip memory accesses and data reuse, specialized inter-module buffers are integrated within the dataflow. Under synthesis using 32nm CMOS technology, MorphAtt achieves 792-1605 GOPS of throughput, while incurring ~39-55 mW of power consumption and 1.5 mm^2 of area, which lead to 20.3-29.1 TOPS/W of energy efficiency. These results also demonstrate that our MorphAtt offers better performance and efficiency trade-offs than state-of-the-art, thereby enabling highly energy-efficient vision-based AI systems at the edge.

Sun 27 SeptHardware ArchitectureMachine LearningNeural and Evolutionary Computing
The gist
Spiking Vision Transformers (SViTs) are a way to make computer vision more energy-efficient, especially for devices like phones or cameras that have limited power. However, the complex attention mechanisms they use require a lot of computation, making this efficiency hard to achieve. The authors introduce MorphAtt, a hardware accelerator designed to speed up and save energy when running these transformers by breaking down the complex process into simpler parts and optimizing memory use. Their tests show that MorphAtt runs fast while using very little power and space, making it suitable for energy-conscious AI applications at the edge.
Open → 2609.33207v1

Transformer model speeds up generation by changing matrix math

Change the Product, Keep the Parameters: Associative Algebra Layers for Transformers

Abstract: Fast matrix multiplication algorithms keep the product fixed and search for a cheaper way to evaluate it. We instead ask whether a Transformer's learned projections can use a different, cheaper product altogether. Building on an associative-algebra construction that replaces ordinary matrix multiplication with a sparser interaction table over the same weight blocks, we construct a family with quadratic arithmetic in the matrix dimension when the physical block size remains fixed, and derive finite-shape constraints for GPU execution. The construction is provably optimal for its bilinear rank by the Alder--Strassen bound and can be realized as row-typed rectangular projections compatible with causal masking and KV-cached decoding. We provide an empirical test of this approach by training two approximately 110M-parameter decoder-only Transformer LMs from the same recipe and 12.3B-token budget, differing only in their feed-forward layer: one uses ordinary dense matrix multiplication and the other uses the associative-algebra product. Across four prompt domains, the algebraic model achieves a 6.2--7.8\% increase in end-to-end generation throughput, while obtaining lower scores on all three reported downstream metrics. We treat these results as a feasibility and trainability check for the proposed approach at small scale, leaving further investigation to future work.

Sat 26 SeptMachine LearningPerformance
The gist
Transformers use math that multiplies big matrices to understand and generate text. The paper shows you can change the way this multiplication works to make processing faster without changing the number of parameters. The authors tested this new math in a language model training with the same size but found it was faster while producing slightly lower-quality results. This idea could lead to more efficient models if improved further.
Open → 2609.32814v1

Transformers need multiple heads to check ordered bit sequences

Transformer Heads Looking for Order

Abstract: In this note, we show that the problem of checking, whether a sequence of bits is ordered, is not doable by 1-head 1-layer transformers but is doable by a 2-head 1-layer transformer. Unlike similar previous results, our results assume the model where transformers have an output MLP.

Tue 22 SeptArtificial IntelligenceMachine Learning
The gist
This paper looks at how transformers, a type of AI model, can tell if a string of bits (1s and 0s) is in order. The researchers found that if the transformer has just one attention head and one layer, it can't do this task. But if it has two attention heads in one layer, it can correctly check for order. This finding relies on the transformer having an output MLP (multi-layer perceptron), which helps with processing.
Open → 2609.25588v1

MoE decoding speeds up with multi-engine dataflow on tensor accelerators

A Multi-Engine Dataflow for MoE Decoding on Scratchpad-Based Tensor Accelerators

Abstract: Mixture-of-Experts (MoE) decoding on scratchpad-based tensor accelerators (STA) is dominated by moving expert weights while the compute engines sit idle. This traffic is hard to hide, because the experts are known only after routing, and hard to shrink without losing quality or adding critical-path work. We present CARDAN, which represents each expert-weight matrix as a vector-quantized component plus a shared-basis low-rank component and co-designs this representation with a multi-engine decoding dataflow. The representation separates expert-common from expert-private work, so the dataflow overlaps DMA with computation on several engines. Across five MoE families on AWS Trainium3, CARDAN matches or improves BF16-teacher perplexity across all five models and speeds up batch-one decoding by 1.15-1.31x over AWS dense MoE megakernels, rising to 1.7x at batch size 16.

Thu 17 SeptHardware Architecture
The gist
Mixture-of-Experts (MoE) models use many separate 'experts' to process data, but when running on special hardware called tensor accelerators, moving expert information slows things down. The authors present CARDAN, a way to represent expert data so that some parts are shared and some are unique, allowing better use of multiple compute engines at the same time. This reduces waiting times and speeds up the decoding, meaning the model can generate results faster without losing accuracy. Tests on different MoE models show consistent speed improvements and maintained or better prediction quality.
Open → 2609.21137v1

Moe model experts get better balance in efficient quantization

Colla-Q: Toward Collaborative Experts in MoE Quantization via Minimax Precision Balancing

Abstract: In this paper, we present a Mixture-of-Experts (MoE) quantization method based on activation entropy. Although quantization reduces memory and computational costs, it can substantially degrade performance. In particular, performance decline is pronounced in quantized MoE models, where individual experts have a small number of parameters that are sensitive to low-bit representation. Considering that MoE operates as an ensemble model with collaborative contributions from routed experts, a significant performance decline of a particular expert due to quantization can harm model performance. Therefore, we propose Colla-Q, a bit-allocation framework to maintain balanced performance across experts through an activation-entropy-based bit-width allocation algorithm. This approach encourages each expert to operate collaboratively in the quantized model, thereby 1) improving the overall MoE performance and 2) reducing the dependence on the calibration dataset. Since uniformly adjusting each expert's performance facilitates robustness and stability of the MoE model, the proposed MoE quantization method can generalize more consistently across different calibration datasets. Our code is available at: https://github.com/mmai-laboratory/Colla_Q

Wed 16 SeptMachine LearningComputation and Language
The gist
Reducing memory and speed needs in large AI models often involves cutting down the precision of calculations, but this can hurt how well the models work. The paper’s authors found that this problem is worse for AI models called Mixture-of-Experts, where small parts called experts work together. If one expert suffers from low precision, the whole model’s performance drops. They created a method called Colla-Q that smartly gives different precision levels to experts based on their importance, so all parts work well together even with lower precision. This helps the AI be more reliable and less sensitive to changes in test conditions.
Open → 2609.18131v1

Online local training improves generative thermodynamic computers efficiency

Online local learning for generative thermodynamic computing

Abstract: Generative thermodynamic computers turn thermal noise into structured data through Langevin dynamics. We train these systems with a local update at each integration step. The reverse-path Onsager-Machlup objective yields a coupling gradient that is a symmetric sum of local residual-state correlations. We apply this gradient immediately rather than accumulating it over a full trajectory. In digital simulations using MNIST prototypes, online and trajectory-batch training reach similar validation losses on fixed noising paths. Models trained online release less heat on average in all five independently seeded pairs, with both models' parameters held fixed during sampling. Auxiliary classifier and nearest-prototype measures change modestly, while pairwise diversity decreases. The response to noise depends strongly on where the errors enter: independent zero-mean errors in the formed updates produce little heat change over a finite range of noise amplitudes, whereas residual offset and temporal correlation have much larger effects. Storing trained couplings requires substantially less precision than resolving deterministic updates during training. Together, these results establish a local online training method and show how update timing, noise structure, and precision affect generative thermodynamic computing.

Mon 14 SeptMachine Learning
The gist
Thermodynamic computers use heat noise to generate structured data, but training them can be complex. The authors show a new way to train these systems step-by-step instead of waiting until the whole process finishes, making training more efficient. They tested this on handwritten digit data and found their method uses less heat overall, even with some noise in updates. Their work also explains how different types of noise and precision affect these systems.
Open → 2609.15439v1

Photonic accelerator boosts encrypted computing speed fivefold

PHAT: PHotonic Accelerator for TFHE

Abstract: Fully Homomorphic Encryption (FHE) enables secure computation on encrypted data, making it a promising solution for privacy-preserving applications in the cloud. Among various FHE schemes, FHE over the Torus (TFHE) stands out due to its support for arbitrary operations. However, its high computation and communication overhead, particularly in the Fast Fourier Transform (FFT) operations required during bootstrapping, limits its practicality for real-world applications. Conventional electronic accelerators struggle to achieve sufficient throughput due to the limitations of technology scaling and the memory-wall problem. To address these challenges, we propose PHAT, a PHotonic Accelerator for TFHE leveraging Optically-addressed Phase-Change Memory (OPCM). OPCM-based processing-in-memory systems offer high computation and communication throughput, making them well-suited for accelerating FFT operations in TFHE. However, directly mapping FFT to OPCM presents challenges such as high-precision analog computation and the high latency and energy cost of programming OPCM cells. To overcome these challenges, we introduce a novel electro-photonic accelerator architecture optimized for TFHE, featuring OPCM-based FFT units, a twiddle-stationary dataflow tailored for OPCM, and a scheduling mechanism to maximize the utilization of the FFT units. PHAT delivers $2.14\times$--$5.10\times$ speedup across four real-world TFHE workloads against the state-of-the-art ASIC accelerator. Our approach significantly enhances the performance of TFHE applications, paving the way for practical and efficient homomorphic encryption in cloud computing.

Thu 10 SeptCryptography and SecurityHardware ArchitectureEmerging Technologies
The gist
Fully Homomorphic Encryption (FHE) lets people do calculations on data without seeing the data itself, which is great for privacy. A special type called TFHE can do many types of calculations but is very slow because it needs a lot of complex math called FFT. The authors built a new photonic (light-based) device called PHAT to make these calculations much faster by using special memory technology and tailored data handling. This new approach runs TFHE tasks more than twice as fast as the best existing hardware, making encrypted cloud computing more practical.
Open → 2609.11613v1

Quantization moves perform differently depending on model state and order

Contextual Utility of Quantization Moves in Extreme Low-Bit LLMs

Abstract: Post-training quantizers select finite code changes using reconstruction proxies or local loss approximations, but the utility of a quantization move depends on the state through which it is executed. We identify two sources of this contextual dependence. First, the displacement of the move matters: evaluating the gradient at the move midpoint captures curvature accumulated along the move that a current-state linearization omits. Across frozen two-bit moves from Llama-3.2 models, midpoint evaluation predicts the direction of exact endpoint loss changes substantially more accurately than current-state gradients. Second, moves interact: exhaustive lattices of legal quantized states are well approximated by quadratic pseudo-Boolean functions, yet their small pairwise components can determine Pareto fronts and cause different evaluation functionals to prefer opposite directions. These effects explain failures of reconstruction-optimal code re-selection and additive composition. Reading each move at its own midpoint repairs the local selection step and improves downstream accuracy and held-out perplexity, while larger supports require evaluating exact endpoints from the state actually reached. Exact-endpoint beam search finds sparse changes that dominate much larger one-shot updates, and repricing the same moves after intervening changes produces widespread sign reversals. These results show that quantization utility is contextual at the granularity of a few moves: reliable construction must evaluate finite changes along their own paths and compose them from the evolving quantized state.

Wed 9 SeptDatabases
The gist
When compressing huge language models to use fewer bits, the impact of each small change depends on the current state of the model and the order in which changes happen. The authors show that measuring the effect of a change at its midpoint better predicts how it will affect model quality than just looking at the starting point. They also found that moves interact in complex ways, meaning that checking changes in isolation can be misleading. Their methods improve the accuracy of tiny-bit models by carefully evaluating these changes along their actual paths.
Open → 2609.09867v1

Transformer softmax calculation sped up with new low-bit quantization method

EFQ-Softmax: Exp-Free Quantization for Softmax

Abstract: Low-bit attention accelerates Transformer inference by moving the $QK^\top$ and $PV$ matrix multiplications to FP8 or FP4 matrix engines. However, the softmax path often evaluates shifted-score exponentials in higher precision, forms a temporary probability block, and quantizes it before low-bit $PV$ multiplication. This exp-then-quantize path creates a mismatch between a high-precision probability producer and a low-bit matrix consumer. We propose EFQ-Softmax (Exp-Free Quantization for Softmax), a low-bit probability-generation method that directly maps shifted attention scores to block-scaled E2M1 operands. For each microscaling block, EFQ-Softmax selects an exponent-only scale from the local maximum, maps the shifted scores to a normalized residual domain, and generates nonnegative E2M1 probability codes using a single affine rule. The resulting operand is used consistently in both the $\widetilde{P}V$ numerator update and the $\widetilde{P}\mathbf{1}$ denominator update. The FlashAttention-style row-maximum update, historical rescaling, high-precision accumulation, and final normalization remain unchanged. We evaluate end-to-end quality on Qwen3-8B, Qwen3-VL-8B-Instruct, and WAN2.2-TI2V-5B, and separately measure kernel-level performance on the A5 vector unit. EFQ-Softmax improves the Qwen3-8B seven-task mean from 0.6749 with MXFP4 to 0.6773 and the Qwen3-VL nine-task mean from 0.7826 to 0.8000. On WAN2.2, it maintains temporal consistency and visual quality comparable to the FP16 and MXFP4 baselines under VBench. On the A5 vector unit, EFQ-Softmax reduces the vector-stage latency of the fused probability-generation kernel by 40.33% on average across sequence lengths from 16K to 128K. These results show that direct low-bit probability generation can replace the conventional exp-then-quantize path while preserving end-to-end model quality.

Wed 9 SeptMachine Learning
The gist
Transformer models use a step called softmax that usually needs higher precision math, which slows things down. The authors introduce EFQ-Softmax, which skips the complex exponential step and instead works directly with simpler low-bit numbers. This approach matches the precision across calculations better and makes the process faster without losing quality. They tested it on several language and vision models, finding small improvements in accuracy and a significant speed boost on specialized hardware.
Open → 2609.09721v1

Improving floating point quantization noise prediction in matrix multiplication

KBBQ: A Predictive Noise Law and the Limits of Spectrum Flattening in FP4 Quantization

Abstract: We develop a second-order theory of quantization noise in matrix multiplication in which the quantization format is characterized by the variance it assigns to each element. The constant variance profile of integer quantization recovers existing integer-noise theory, while the multiplicative profile of floating-point rounding reduces the data dependence to a scalar, the participation factor $κ$, yielding a closed-form signal-to-noise-ratio law. The resulting functional also admits a closed-form upper bound $κ^{*}$ that no function-preserving linear transform can exceed and that is attained by a recent state-of-the-art method. Building on this analysis, we introduce KBBQ (\textbf{K}appa-\textbf{B}raked \textbf{B}lockwise \textbf{Q}uantization), which parameterizes the extent to which a transform approaches this ceiling. At W4A4, across four base models and two FP4 formats, KBBQ outperforms the prior state of the art without additional deployment-time computation.

Tue 8 SeptMachine LearningArtificial Intelligence
The gist
When computers do many calculations with limited precision numbers, they introduce tiny errors called quantization noise. The authors created a new mathematical way to understand how this noise behaves in matrix multiplication when using different types of number formats. They derived a formula that predicts the noise's effect and found the best possible limit on how much noise could be reduced through certain transformations. Using this insight, they developed a new technique called KBBQ that better controls this noise in floating-point 4-bit formats, leading to more accurate results without slowing down the computation.
Open → 2609.08135v1