arXiv Science⌕ Search

arXiv subjects

Hanzhi Xun

Publications and source records attributed to Hanzhi Xun.

3 recordsLinked to original sources

Scaling Engram Inference with Tiered CXL Memory and Cross-Block Execution

Engram replaces part of knowledge retrieval in large language models with sparse lookup, reserving more Transformer blocks for compositional reasoning. However, scaling its embeddings poses two challenges: balancing memory capacity, cost, and access latency across Engram blocks, and hiding hidden-state-dependent Gate and Conv execution while limiting hidden-state differences. We present FlexEngram, a decode-focused framework with three mechanisms. First, block-wise disaggregated placement uses HBM for backbone state, host DRAM for Embedding outputs, CXL-DRAM for early Engram blocks' embeddings, and CXL-PCM for the rest. Sharing, batched reads, and reusable pinned buffers reduce delivery costs. Second, dependency-aware heterogeneous execution uses earlier hidden states to overlap Gate and Conv with backbone computation through CPU, GPU, or ASIC acceleration. The target block adds the resulting delta to its hidden state, while CUDA fusion reduces residual GPU overhead. Third, an adaptive scheduler predicts the minimum CPU-accelerated lookahead distance from Gate-Conv and transfer costs and observed block times. GPU and ASIC acceleration use one-block lookahead. On Qwen3-4B and Llama-3.1-8B-Instruct, FlexEngram improves average decode throughput by 3.15% over VanillaEngram and 3.23% over PoolingEngram. The scheduler achieves a 100% match between predicted and measured minimum lookahead distances across multiple workloads. Eight Engrams outperform two-module VanillaEngram in throughput. Across the three paths, each added Engram incurs 0.24% mean throughput loss, an 83.46% smaller decline than VanillaEngram, supporting larger conditional memory with minimal overhead.

cs.AR↗

C2P-Cache: Scalable GPU L1 Cache Sharing via Concurrent Candidate Pruning

Modern GPUs rely on private per-SM L1 caches and a shared L2 cache, but this organization obscures cross-SM reuse: an L1 miss is typically forwarded to L2 even when the requested line already resides in a peer L1 cache, leading to redundant L2 access. Prior GPU L1-sharing designs attempt to recover such reuse through exact or broad remote-hit searches, which become increasingly difficult to scale and can interfere with the critical L1 miss path under high concurrency. %miss handling as more caches participate and more misses arrive concurrently. We observe that eliminating redundant L2 accesses does not require exact, chip-wide knowledge of private L1 contents. Instead, it requires only sufficient visibility to sharply narrow down a small set of candidate caches, leaving exact confirmation to a much smaller number of L1s. Based on this insight, we propose C2P-Cache, a scalable GPU L1-sharing mechanism that transforms remote-hit discovery from a chip-wide exact search problem into a lightweight filtering-and-confirmation process. C2P-Cache maintains compact Bloom-filter-based snapshots of private L1 tags, performs parallel chip-wide candidate filtering, and selectively probes only a small number of likely peer caches. To sustain high concurrency, C2P-Cache organizes filtering as bit-sliced matching over a banked and replicated snapshot matrix, enabling efficient, parallel processing of many concurrent misses without interfering with normal L1 accesses. Across a wide range of GPU workloads, C2P-Cache improves instructions per cycle (IPC) by up to 49.7\% and by 23.5\% on average for applications with high remote-L1 reuse and strong sensitivity to L2 latency, demonstrating that lightweight, scalable filtering can effectively unlock cross-SM reuse with modest overhead.

cs.AR↗

PdNeuRAM: forming-free, multi-bit Pd/HfO2 ReRAM for energy-efficient neuromorphic computing

Memristor technology shows great promise for energy-efficient computing, yet it grapples with challenges like resistance drift and inherent variability. For filamentary Resistive RAM (ReRAM), one of the most investigated types of memristive devices, the expensive electroforming step required to create conductive pathways results in increased power and area overheads and reduced endurance. In this study, we present novel HfO2-based forming-free ReRAM devices, PdNeuRAM, that operate at low voltages, support multi-bit functionality, and display reduced variability. Through a deep understanding and comprehensive material characterization, we discover the key process that allows this unique behavior: a Pd-O-Hf configuration that capitalizes on Pd innate affinity for integrating into HfO2. This structure actively facilitates charge redistribution at room temperature, effectively eliminating the need for electroforming. Moreover, the fabricated ReRAM device provides tunable resistance states for dense memory and reduces programming and reading energy by 43% and 73%, respectively, using spiking neural networks (SNN). This study reveals novel mechanistic insights and delineates a strategic roadmap for the realization of power-efficient and cost-effective ReRAM devices.

cond-mat.mtrl-sci↗