Papers for

ai hardware 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.

Agentic co-design speeds AI chip and software optimization jointly

Learning to Formulate: Agentic Hardware-Software Co-Design of AI Infrastructure through Progressive Optimization and Verification

Abstract: AI infrastructure, the chips and software that train and serve AI models, is designed in layers. Layers make the system manageable, but they also fix which choices an optimizer can consider. Gains that need the chip and its software to change together are excluded before optimization begins: the formulation leaves them out. Language-model agents make it possible to revisit these boundaries, but an agent's proposal cannot show by itself that a design is correct or optimal. We present Formulaic, a flow that divides the work. The agent writes the formulation, a mathematical solver optimizes within it, and verification and measurement check its assumptions and results. The agent refines the problem step by step, from the computation graph toward the chip. Each step is a template: a family of programs with the conditions under which they are correct. Wall relaxation searches the chip by pricing the hardware limits that bind the software. This paper takes a first step, through separate studies rather than one end-to-end run. On NVIDIA GB10, templates the agent wrote run complete Qwen3-8B layers $1.075\times$ faster than SGLang. In a simulated Ventus GPU study, joint design cuts the worst-scenario cycles of Qwen2.5-0.5B to 0.428 of the reference, against 0.934 for software alone. On a five-step GEMM refinement chain, reusing proofs makes checking $2.51\times$ faster.

Thu 29 OctHardware ArchitectureArtificial IntelligenceDistributed, Parallel, and Cluster Computing
The gist
Designing the hardware and software for AI systems usually happens in separate layers, which limits how much they can improve together. The authors create a process called Formulaic where an AI agent writes the design problem, a solver optimizes it, and then verification steps check correctness. This method lets the agent refine the problem step-by-step, improving both chip and software together. Their tests show faster performance on real and simulated GPUs compared to existing approaches.
Open → 2610.39380v1

Transformers improve position embedding by adjusting layer usage

Where Position Matters: Profiling-Guided Layer-Wise RoPE Allocation in Transformers

Abstract: Rotary Position Embedding (RoPE) typically uses uniform coverage across Transformer layers despite heterogeneous positional requirements. Phase-off interventions reveal non-uniform, model-specific rotary-phase dependence, while coverage interventions relate it to coverage-upgrade benefits. We propose profiling-guided layer-wise RoPE allocation, assigning high/low coverage under a fixed budget using early coverage-benefit profiles. The framework supports fixed-width query/key representations and physical rotary-dimension allocation in Multi-head Latent Attention (MLA). Normalized-depth mapping transfers profiles within model families, enabling small-model measurements to guide larger-model allocations before pretraining. A brief analysis relates selection and transfer to score calibration and inter-layer interactions. From-scratch experiments demonstrate validation-loss improvements over available budget-matched baselines, while analytical resource accounting identifies favorable quality--storage--compute trade-offs for physical MLA. These results connect positional demand to transferable, efficient architecture design.

Thu 29 OctMachine LearningArtificial Intelligence
The gist
Transformers use position information to understand the order of words, but they usually treat all their layers the same when applying this information. The authors found that different layers actually need different amounts of position info. They developed a way to measure and assign how much position data each layer should get, improving performance without using more resources. This method works across different model sizes and shows better results when training from scratch.
Open → 2610.39223v1

Efficient quantization training speeds up large language model pretraining

Efficient Quantization Training with Stochastic Rounding via Structured Subspace Randomness

Abstract: Low-precision training often relies on stochastic rounding (SR) to keep quantized gradients unbiased and prevent small updates from rounding to zero. Standard SR draws an independent random threshold for every gradient element. However, accelerators generate random numbers on vector units whose throughput lags far behind their matrix units. Drawing one threshold per element saturates the vector unit and can make INT8 training with SR slower than BF16 training. Sharing random thresholds across tensor elements removes this cost but forces those elements to round in the same direction and shifts their rounding errors by a common offset. We find that this offset degrades training primarily through the activation gradient, which propagates the error backward into earlier layers. Because earlier layers cannot cancel an incoming offset using their own local rounding errors, the offset must be removed at the layer where it originates. We propose Structured Subspace Stochastic Rounding (S3R), which quantizes each upstream gradient once for both the activation and weight gradient matrix multiplications and shares a single threshold per token across the hidden dimension. Its error correction, S3R-EC, subtracts the structured mean rounding error from the activation and weight gradients while leaving the optimizer unchanged. In LLM pre-training experiments, uncorrected threshold sharing degrades convergence, whereas S3R-EC eliminates this degradation and matches the validation loss of independent SR. Furthermore, S3R-EC accelerates full INT8 training steps of dense LLMs on TPU v5p by 1.24x to 1.32x over BF16 and by 1.11x over independent SR.

Tue 27 OctMachine Learning
The gist
Training AI models often needs very precise calculations, but when using lower-precision numbers, small updates can be lost, hurting learning. The authors found that sharing random rounding decisions across many parts of the calculation can make training faster but also introduces errors in a way that breaks learning, especially in early steps. They designed a method called S3R that shares randomness more carefully, along with a correction that fixes those errors without changing the training process. This method matches the accuracy of older methods but runs faster, particularly on specialized chips called TPUs.
Open → 2610.36587v1

Weight quantization reduces multipliers and memory in neural network dot products

Decode Late, Multiply Once: Rethinking the Dot Product for Quantized Weights

Abstract: Large neural networks are increasingly deployed with 1-4 bit weights and 16- or 32-bit activations, yet their dot products still use one multiplier per element. We show that a length-n dot product with k-bit weight codes can be computed with n+2^k additions and at most 2^k decodes and 2^k multiplications. Each weight code is used directly as an address offset that selects one of 2^k accumulators; each activation is added into the selected accumulator; and the accumulated sums are decoded and multiplied only once, at the end, in a fused decode-and-multiply step. The decoded weight vector is never formed. The refactoring is exact for integer arithmetic, works with integer or floating-point operands and with arbitrary, including nonlinear, decoders, and extends to group-wise scales and to matrix and tensor products. The multiplier count falls by n/2^k, while total arithmetic energy improves by a smaller, bounded factor that we quantify with a cost model. We describe a scatter-accumulate processing element (SA-PE) that replaces the MAC unit in a weight-stationary systolic array, with a load/stream/reduce/drain schedule in which a small, time-shareable multiplier runs only 2^k times per tile. Because decoded weights are not stored, local weight memory shrinks by up to w_d/k for w_d-bit decoded weights. An RTL implementation synthesized for FPGA and compared with a matched MAC array shows that an unshared SA-PE is larger than a MAC PE, and that the saving appears when the reduction multiplier is shared across PEs. Software models confirm exact integer equivalence and floating-point error no worse than the conventional pipeline. We do not claim the underlying identity is new, and we discuss related work on weight sharing and lookup-based kernels.

Thu 22 OctMachine LearningHardware Architecture
The gist
Large neural networks often use very small numbers for weights but still do a lot of multiplication for every number in the network. The authors show a way to add up these numbers by grouping activations based on their weight value and only multiplying once at the end. This reduces how many multiplications and the amount of memory needed to store weights without losing any accuracy in integer math. Their method works with different number types and can be used for bigger matrix calculations too. They tested this approach on real hardware to show how it compares to traditional methods.
Open → 2610.31913v1

Interflow speeds up private edge ai by pipelining randomness generation

Interflow: Breaking the Offline-Online Barrier for Private AI at the Edge

Abstract: Privacy-preserving machine learning (PPML) offers a promising path toward bringing powerful AI services to the edge without exposing sensitive user data. However, its practical deployment remains constrained by the high communication, computation, and data-movement costs of secure multi-party computation (MPC), particularly during nonlinear inference. Existing MPC systems typically decouple input-independent correlated randomness generation from online execution, creating substantial memory pressure to buffer single-use cryptographic data. Moreover, limited storage can force a stop-and-refill execution pattern that repeatedly stalls the pipeline to replenish these buffers, bringing randomness generation back onto the critical path. We propose Interflow, an algorithm-hardware co-design that rethinks this separation by batch-wise processing and pipelining correlated-randomness generation with online execution: while the current batch consumes pre-generated randomness to execute secure nonlinear operations, correlation generation proceeds concurrently for the next batch. By leveraging interleaved execution, efficient data movement, and hardware acceleration, the design transforms preprocessing from a serialized, storage-intensive offline phase into a continuously overlapped pipeline that generates correlated randomness closer to the point of consumption, reducing memory footprint and data movement overhead. Implemented on the Zynq UltraScale+ ZCU102, Interflow improves nonlinear evaluation throughput by up to 1.55x for CNN operators and 1.48x for transformer operators. It achieves up to 1.26x speedup for ResNet-50 and up to 1.21x speedup for BERT-base, and reduces memory footprint by up to 37%, compared with baseline frameworks.

Tue 20 OctHardware ArchitectureCryptography and Security
The gist
Running private AI on devices like phones is hard because it needs special secret data that takes up a lot of space and slows things down. The authors found a way to make this secret data while the AI is working, instead of making it all beforehand and storing it. This new method uses hardware and smart scheduling to make AI run faster and use less memory without risking privacy. It works especially well for popular AI models like ResNet and BERT.
Open → 2610.27431v1

Framework finds best way to run AI models on flexible accelerators

qGAMMA: A Framework for Optimal DNN Mapping on Multi-Precision Accelerators

Abstract: This work describes qGAMMA, a flexible framework for exploring and optimizing the mapping of mixed-precision Deep Neural Network (DNN) models onto general-purpose spatial accelerators that support a range of fixed- and floating-point precisions. qGAMMA navigates the design space using a domain-specific genetic algorithm and an analytical performance model based on hardware synthesis results. The framework identifies the optimal mapping and accelerator configuration that minimizes target metrics. Extensive evaluations across DNN workloads show that qGAMMA offers valuable insights for designing mixed-precision applications, enabling better trade-offs between performance, energy efficiency, and resource utilization.

Fri 16 OctHardware ArchitectureArtificial Intelligence
The gist
Running AI models efficiently can be tricky because they use different types of numbers. The authors created qGAMMA, a tool that helps figure out the best way to run these models on special computer chips that handle many number types. It uses smart searching and knowledge about the hardware to find the fastest and most efficient setup. This helps balance speed, energy use, and hardware limits when running AI.
Open → 2610.23222v1

VTen boosts verification speed and cuts code for hardware accelerators

vTen: Tensor-Centric Verification Framework for Domain-Specific Accelerators

Abstract: The semantic gap between tensor-centric software models and signal-level hardware testbenches creates significant productivity bottlenecks in verifying Domain-Specific Accelerators (DSAs). Existing frameworks like Cocotb suffer from prohibitive synchronization overheads due to fine-grained interactions. To address this, we propose vTen, a data-centric framework that strictly decouples verification intent from execution mechanics. By leveraging a declarative DSL and kernel-granular batching, vTen minimizes host-simulator interaction frequency. Evaluation on a production-scale 3D U-Net accelerator demonstrates that vTen achieves a 2x performance improvement in simulation latency and a 60.3% reduction in code complexity compared to Cocotb.

Tue 6 OctDistributed, Parallel, and Cluster ComputingHardware Architecture
The gist
Verifying specialized computer chips called Domain-Specific Accelerators (DSAs) is usually slow and complicated because software tests and hardware checks don’t communicate efficiently. The authors introduce vTen, a new framework that separates what the tests should do from how they run, using a simple language and grouping operations together. This approach reduces the time spent waiting for communication by half and makes the test code much simpler. They tested vTen on a real 3D U-Net accelerator and found both faster verification and cleaner code.
Open → 2610.08372v1

Muon method guarantees training loss convergence for neural networks

Training-Loss Guarantees for Muon with Finite-Step Newton--Schulz Orthogonalization

Abstract: Existing convergence analyses of Muon either assume exact orthogonalization or analyze classical Newton--Schulz polynomials, and guarantee only stationarity, so it is unresolved what Muon's five tuned Newton--Schulz steps preserve and whether that suffices to reach a prescribed neural-network training loss. We establish a finite-time training guarantee that accounts for both momentum accumulation before orthogonalization and the tuned finite-step update. For full-batch training of a sufficiently wide two-layer ReLU network with fixed random output weights and a positive-definite limiting neural tangent kernel, we prove that Muon reaches any target empirical squared loss $\varepsilon>0$ with high probability over initialization. For every momentum parameter $μ\in[0,1)$, a target-dependent constant learning rate proportional to $(1-μ)\sqrt{\varepsilon}$ yields a hitting-time bound of $O((1-μ)^{-1}\varepsilon^{-1/2})$, with other problem parameters fixed. The sufficient width is independent of both target accuracy and momentum. The analysis shows that the tuned Newton--Schulz map preserves alignment with the momentum buffer while bounding the update's spectral norm. Control of gradient variation near initialization transfers this alignment to the current gradient, ensuring descent until the target is reached without requiring exact orthogonalization. Numerical experiments support these mechanisms at widths below the sufficient theoretical threshold: gradient-update alignment remains above the analytical reference, and all 30 runs across six widths and five student initializations on a fixed teacher-student dataset reach the target loss while maintaining kernel positivity.

Fri 2 OctMachine LearningArtificial Intelligence
The gist
Training neural networks well often relies on complex math steps to keep things stable and effective. This paper shows that the Muon method, which uses five special math steps for orthogonalization, can reliably reach a preset training accuracy. The authors prove this for a certain type of neural network and clarify how Muon maintains important mathematical properties without needing perfect calculations. Their experiments confirm Muon’s good performance even in smaller networks than theory suggests.
Open → 2610.03306v1

Wider networks enable simple layer-wise training to match full backpropagation

Increasing Width Allows Greedy Layer-wise Training to Rival End-to-End Backpropagation in Self-Supervised Learning

Abstract: End-to-end backpropagation has been the dominant mode of training in deep learning, allowing for the coordination of parameter updates across layers of a neural network. Prior studies have explored alternative -- and, in some cases, simpler -- training mechanisms, showing that they can sometimes achieve performance similar to backpropagation. However, the architectural conditions under which locally optimized networks, which avoid end-to-end backpropagation of error, can learn representations comparable to those learned through end-to-end training remain unclear. We aim to answer this question in the context of self-supervised learning, an important framework for large-scale pretraining in artificial intelligence. Here, we investigate how network width and depth affect the efficacy of greedy layer-wise and end-to-end self-supervised training in convolutional networks. We find that in wider networks, the benefits of end-to-end backpropagation over greedy layer-wise training shrink: in relatively shallow and very wide networks, we even observed higher performance in models trained with greedy layer-wise training. Subsequent analysis of the representations formed by these networks shows that very wide greedy-trained networks exhibit more favorable representational geometry than do networks trained end-to-end with backpropagation. This work shows that width can compensate for restricted credit assignment and identifies differences in representational geometry as a potential mechanism for their improved performance.

Wed 30 SeptMachine LearningArtificial IntelligenceComputer Vision and Pattern Recognition
The gist
Training deep neural networks usually involves adjusting all layers together, which can be complex. The authors studied a simpler training method that updates each layer one at a time without full coordination. They found that when networks are made wider (with more units per layer), this simpler method can perform just as well as the usual complex way. They also discovered that wider networks trained this way create better internal features for understanding data. This suggests making networks wider can help simpler training methods compete with traditional ones.
Open → 2610.00753v1

AI translates GPU code directly improving performance over traditional compilers

AI as a Compiler: Compiling Triton kernels without the Triton compiler

Abstract: Compiler backends are expensive to build and maintain as programming models, workloads, and accelerators evolve. We investigate whether large language models can replace the conventional optimizing and lowering pipeline, a process that we call AI lowering. We study AI lowering from Triton to NVIDIA PTX: an LLM agent translates Triton kernels directly into PTX. We build an environment that evaluates candidate PTX, and an agentic harness in which an LLM translates Triton kernels into PTX. Across twelve common kernels on Ada, Hopper, and Blackwell GPUs and ten kernels from recent ML papers, AI lowering achieves 0.83x-3.34x the performance of autotuned Triton. The largest gains come from transformations that Triton's lowering pipeline does not perform, such as decoding packed binary weights directly into Tensor Core operands (3.34x on BitDelta), assigning each thread a complete softmax row in tensor memory (1.37x on FlashAttention), and reusing overlapping convolution windows (up to 2.23x). These results rely on a robust evaluation harness with comprehensive verification support. We build on Volta, an existing PTX verifier, and substantially extend it to support modern GPU architectures by introducing support for Blackwell's tcgen05 Tensor Core interface. This requires modeling three architectural features: managed tensor memory, descriptor-based operand layouts, and asynchronous execution coordinated through commits, waits, memory barriers, and proxy fences. We discuss the challenges involved in formalizing them, as well as the current limitations. Our results suggest an emerging future in which AI compilers replace custom-written intermediate representations and checkers, reducing the time and engineering effort required to bring up software for new general-purpose and custom chips.

Tue 29 SeptArtificial Intelligence
The gist
Writing software to run efficiently on new computer chips is very difficult. This paper shows that large AI models can act like translators, turning high-level GPU code into the low-level instructions that GPUs understand, without needing traditional compilers. The authors demonstrate that this AI-driven process can sometimes produce faster code than the usual method. Their approach also handles complex modern GPU features and checks the code's correctness. This suggests AI might one day reduce the effort needed to make software for new hardware.
Open → 2609.36800v1

Attention bottleneck explains one third power law in language model training

Emergent One-Third Scaling Law as Attention Tries to Concentrate

Abstract: The neural scaling law relating longer training to better performance through a power law is central to today's large language models (LLMs), yet its origin remains debated. One recent proposal is that power laws can emerge from the strong non-linearity of a single softmax head learning peaked distributions. What happens with multiple softmax functions, as in LLMs, is unclear. Here, we show through toy models that any softmax learning peaked distributions, regardless of its position in the model, can develop logit magnitudes that grow in a power law with exponent $1/3$, becoming a training bottleneck whose loss contribution decays as a power law with the same exponent $1/3$. The overall loss therefore obeys $1/3$ scaling whenever at least one softmax learns peaked distributions. We confirm that many softmax functions in LLMs learn peaked distributions and that LLM loss scaling matches this $1/3$ prediction. Moreover, logit growth dynamics reveal that attention heads, rather than the language modeling head, are the bottleneck likely driving the $1/3$ loss scaling in LLMs. Attention trying to concentrate on specific information, which is the heart of Transformers, may therefore also be the heart of the neural scaling law of training.

Sat 26 SeptMachine LearningArtificial Intelligence
The gist
Training large language models usually gets better with more training, following a certain power law, but why was unclear. The authors show that when parts of the model called softmax heads focus sharply on specific information, their internal numbers grow following a power law with exponent 1/3. This growth creates a bottleneck that slows learning and makes the model's loss decrease follow the one-third power law. They find many of these softmax parts in language models behave this way, especially attention heads, suggesting the core method of attention may explain the observed training behavior.
Open → 2609.32100v1

Mixed precision quantization improves large language model accuracy

Beyond Scalar Sensitivity: Activation-Aware Mixed-Precision LLM Quantization with Cross-Layer Refinement

Abstract: Mixed-precision weight quantization is commonly formulated as a Multiple-Choice Knapsack Problem (MCKP), yet existing solvers rely on scalar sensitivity proxies that collapse each weight matrix's Hessian into a single number and treat every module independently. We prove that even the optimal scalar proxy incurs multiplicative distortion up to $\sqrt{κ(\mathbf{A})κ(\mathbf{B})}$ relative to the full activation-aware quadratic, where $κ(\mathbf{A})$ and $κ(\mathbf{B})$ denote the condition numbers of the input- and output-side Hessian factors. This bound varies from $10^1$ to $10^{13}$ for typical LLM modules, making inter-module sensitivity ranking unreliable. To address these limitations, we propose Cross-layer Activation-aware Sensitivity Allocation (CASA), a two-phase method. In Stage 1, the scalar proxy is replaced by an activation-aware metric derived from the Kronecker-factored Hessian, reducing the MCKP to a form whose continuous relaxation admits a closed-form solution. In Stage 2, a cross-layer-aware local search evaluates bit-width updates using the end-to-end model loss. Experiments on multiple LLMs across different bit budgets show that CASA achieves lower perplexity than the latest scalar-proxy baselines, especially at ultra-low bit-widths ($<3$ bits per weight). Moreover, the performance gain in zero-shot accuracy tracks the per-model average condition-number over modules, confirming the distortion bound as a practical indicator of scalar-proxy failure.

Tue 22 SeptMachine Learning
The gist
Large language models (LLMs) need to shrink their data size by reducing precision in how their numbers are stored. Previous methods used simple guesses for how sensitive different parts of the model are to this reduction, but these guesses can be very off, leading to worse results. The authors showed the math behind this problem and created a new method that looks at how the model’s parts actually activate together and checks how changes affect overall performance. Their approach lets models keep much more accuracy, especially when using very low precision.
Open → 2609.25916v1