Papers for

ai hardware architects

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.

Hardware software design reveals better formats for efficient llm inference

MX-Like Tensor Core for LLM Inference with NPU Integration via Hardware-Software Co-Design Exploration

Abstract: Block-scaled quantization formats such as OCP Microscaling (MX) and NVFP4 have been widely adopted as efficient data formats for LLM inference. However, the design space of these formats spanned by shared scale, weight, and activation format combinations has not been systematically explored, and the joint accuracy-silicon tradeoff across this space remains uncharacterized, leaving the true Pareto-optimal configurations for NPU-based edge LLM deployment an open question. To bridge this gap, we conduct a joint hardware-software (HW-SW) co-design exploration of the above underexplored MX-like design space with three innovations. 1) We define and systematically characterize the full 8-bit scale format family within the MX-like design space, jointly with asymmetric weight-activation precision, identifying configurations that outperform the MX and NVFP4-like (without per-tensor scaling, PTS) baselines. 2) We build a per-format specialized MAC datapath template that enables fair hardware cost evaluation across the space. 3) We develop an automated co-design flow, integrated into the open-source SNAX NPU platform, that enables joint HW-SW analysis across the design space. Overall, our co-design exploration reveals that scale format matters only under aggressive FP4 quantization, yielding a case-oriented design guideline for both scale format and asymmetric weight-activation precision. We further identify UE5M3 as a favorable accuracy-hardware tradeoff for the FP4 regime, reducing perplexity degradation by up to 25.3% relative to the NVFP4-like baseline, at a cost of only +0.06% area and +0.49% power overhead.

Mon 19 OctHardware Architecture
The gist
Running large language models (LLMs) on small devices is challenging because they require lots of computing power and memory. The authors studied different ways to simplify the numbers the models use (called quantization formats) to find combinations that balance accuracy and hardware cost better. They created a method to test these formats on a special processor and found certain formats that keep accuracy higher without much extra chip area or power. Their work helps guide future hardware and software designs for efficient on-device AI.
Open → 2610.26083v1

TileDRAM cuts 3D DRAM row conflicts and speeds up GPU workloads

TileDRAM: Compiler-Controlled Tile-to-DRAM Layouts for 3D DRAM GPGPUs

Abstract: Modern GPU compilers expose rich layout abstractions for mapping tensors to threads and on-chip resources, but compute-unit-local (CU-local) 3D DRAM architectures lack a corresponding abstraction for specifying how operand-tile data are arranged within the DRAM address space. Without such an abstraction, conventional placement under the existing DRAM address mapping can subject structured tile accesses to severe row-buffer conflicts. We present TileDRAM, a compiler-runtime toolchain that introduces tile-to-DRAM layouts as a compiler-visible abstraction for DRAM placement. TileDRAM extends the GPU Linear Layout abstraction from compute-side mapping targets to DRAM placement coordinates and selects layouts per tile access signature, using recurring tile-local access behavior as the specialization unit. Since row-buffer locality depends on ordered request history, TileDRAM evaluates candidate layouts through their row-buffer behavior under fixed DRAM address mappings. Accesses under the selected layouts are realized through ordinary address arithmetic, without new address-remapping hardware or ISA support. In full-trace replay on Accel-Sim/Ramulator2 across 108 mixture-of-experts (MoE) feed-forward network (FFN) cases, TileDRAM reduces the request-weighted row-conflict rate from 75.7% to 15.2% and achieves a 1.77x geomean speedup. Retargeting six traces to six 3D DRAM organizations yields a 2.20x geomean speedup under the same compiler abstraction. On an RTX 3090, address transformation adds 0.17% geomean overhead over identity.

Fri 16 OctHardware Architecture
The gist
Memory in certain GPUs sometimes causes slowdowns due to how data is arranged and accessed. The authors created TileDRAM, a tool that changes how small pieces of data (tiles) are placed in memory to reduce conflicts. This results in fewer delays and faster processing for specific AI tasks using 3D DRAM. TileDRAM achieves this without changing hardware, by using smarter software-managed layouts.
Open → 2610.23767v1

Video generation memory usage cut by predictive cache compression

TempoKV: Predictive KV Cache Quantization for Autoregressive Video Generation

Abstract: Autoregressive (AR) video diffusion models enable streaming generation of long videos but suffer from significant memory overhead due to the rapidly growing KV cache. Existing KV cache quantization methods are primarily designed for LLMs and transfer poorly to video models, where activations exhibit different statistics and strong spatiotemporal redundancy. We observe that the video KV cache is largely predictable over time, with a clear asymmetry. Keys are highly predictable from their temporal history, while values depend primarily on the current key and need a short history of preceding values. Based on these observations, we propose \textbf{\method}, a training-free predictive KV cache quantization framework for AR video generation. \method predicts keys and values according to their distinct dependencies and stores only the residuals at low precision. Both predictors are lightweight, calibrated once offline by linear regression on a small set of BF16 samples, and remain fixed across prompts and generation runs. Experiments on Self-Forcing, Causal Forcing, and LongCat-Video-13B show that \method consistently achieves higher generation quality than existing KV cache quantization methods at comparable or higher compression ratios, reaching up to $6.71\times$ KV cache compression with the best overall quality--efficiency tradeoff. Our code will be released on GitHub.

Sun 11 OctComputer Vision and Pattern Recognition
The gist
Generating long videos with autoregressive models demands a lot of memory due to large cached data. The authors noticed that parts of this cached data change in predictable ways over time, especially keys and values which behave differently. They created TempoKV, a method that predicts these parts and stores only small differences, reducing memory use without hurting video quality. Their tests show TempoKV compresses cache data much more effectively than older methods while keeping video quality high.
Open → 2610.15324v1

Nonlinear attention improves learning speed and depth gains in models

Emergent Inverse-Depth Scaling From Nonlinearity In Attention

Abstract: Scaling laws describe power-law improvements in model performance with dataset size and parameter count, yet their underlying mechanisms are not fully understood. To explain the parameter count scaling, existing theory posits power-law scaling with model depth. In linear-attention models, this scaling is tied to a power-law data spectrum: unable to selectively attend to relevant tokens, these models learn according to global spectral strength, with stronger directions learned before weaker ones. Large language models, however, can be strongly nonlinear. Here, we show that nonlinear attention yields inverse-depth decay of loss across all tested data spectra. Nonlinearity enables attention to focus selectively on relevant tokens, allowing strong and weak spectral directions to be learned in parallel. Similar focusing across layers motivates a connection to the central limit theorem: shared error across layers sets the loss plateau, while aggregation turns layer-specific differences into continued gains with depth. Our findings suggest that depth scaling may arise from nonlinearity in attention, which allows large language models to focus locally and may make the global covariance structure less relevant.

Thu 8 OctMachine LearningArtificial Intelligence
The gist
Large language models get better as they get bigger, but it’s unclear why. The authors show that a special kind of attention in these models, called nonlinear attention, helps the model focus on important pieces of information. This lets the model learn both easy and hard parts of data at the same time, improving learning speed across layers. This discovery connects deep model improvements to how attention works, rather than just looking at the whole data at once.
Open → 2610.11063v1

New method speeds up low-precision matrix math on GPUs by up to 83 times

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have

Abstract: Ozaki scheme II emulates FP64 matrix products with INT8 ones through residues modulo pairwise coprime moduli, and variants for FP8 and FP4 have followed. We treat these schemes as one family and pose the choice of a scheme as a combinatorial program that minimizes the number of low-precision GEMMs. Given, for each modulus, a finite set of ways to compute products modulo it from low-precision GEMMs, we find the choice of moduli and ways with the fewest GEMMs, for any format, accumulator and inner dimension, and derive lower bounds on the GEMM count over the whole family. Applied to the formats of current GPUs, the method gives the first FP6 schemes, an FP8 scheme with fewer GEMMs than any previous one, and an FP4 scheme that the bounds show needs the fewest GEMMs of any scheme in the family whose moduli lie in a stated range. Implemented on three Blackwell GPUs, the INT8, FP8 and FP4 schemes run faster than native FP64, up to 83x on B300.

Tue 29 SeptDistributed, Parallel, and Cluster Computing
The gist
Calculations using very precise numbers, like FP64, can be slow on graphics processors. The authors studied ways to do these calculations using simpler, smaller number types like INT8 or FP4, which GPUs handle faster. They developed a strategy to pick the best mix of these small number methods that use the fewest slower steps. Their approach found faster ways to do this math on current GPUs, running as much as 83 times faster than the usual precise method. This could help speed up programs that rely on big matrix calculations.
Open → 2609.37693v1

Probabilistic models run over 1000 times faster on new memory hardware

Bio-inspired Learning and Decision-Making with Probabilistic In-Memory Computing Hardware: Part 2

Abstract: This report extends our previous work (Part 1), which introduced an energy-based model for learning and decision-making under uncertainty. The model leverages stochastic Langevin dynamics to continuously evolve approximate probability distributions over neuron states and model weights. However, as noted in Part 1 and confirmed through GPU-based implementations, large-scale probabilistic energy-based models of this nature face significant scalability challenges due to excessive execution latency. This latency stems from a fundamental mismatch: massively parallel models with low arithmetic intensity (such as energy-based models) are being executed on processor architectures like GPUs that rely on high-bandwidth memory (HBM) interfaces. The HBM imposes brutally sequential execution constraints on inherently parallelizable models, creating the false impression that such models are unscalable. In reality, it is the GPU architecture itself, with its dependence on HBM interfaces, that is not a scalable processor architecture for this class of AI model. In this report, we demonstrate using a detailed transaction-level model (TLM) of a probabilistic analogue in-memory computing (AIMC) processor that the same energy-based model can execute well over 1000x faster than data-center-grade hardware by eliminating the HBM interface and performing computation directly within on-chip memory.

Thu 10 SeptHardware Architecture
The gist
Probabilistic energy-based models help with learning and decision-making but are very slow on traditional GPUs due to how they access memory. The authors show that the problem is not the models themselves but the GPU memory design, which forces slow processing. Their new approach uses analogue in-memory computing, which performs calculations directly where data is stored, bypassing slow memory steps. This new hardware design can run the same models more than 1000 times faster than current high-end data-center GPUs.
Open → 2609.11288v1