TL;DR
CHASE is an application-driven architecture exploration framework designed to co-optimize hardware topology and software mapping for large-scale Cross-Layer Heterogeneous Systems (XHS). By decoupling hardware evolution from workload mapping and enforcing real-world physical constraints, CHASE breaks the traditional "topology-mapping deadlock" to discover highly customized cluster architectures, achieving up to $6.20\times$ speedups for sparse computing and $2.12\times$ for LLM inference.
What Problem Does This Paper Address?
Modern AI and high-performance computing (HPC) infrastructures no longer run uniform workloads. Instead, they run diverse portfolios: a single pipeline might cycle through dense tensor operations (like LLM inference), sparse matrix math (like graph analytics), and communication-heavy collective steps.
To support these mixed pipelines, engineers build Cross-Layer Heterogeneous Systems (XHS) that span four layers: package, node, rack, and cluster. However, designing an optimal XHS introduces a nasty catch-22 known as the topology-mapping deadlock:
- To fairly evaluate a hardware candidate, you need an optimal software mapping (how tensors are partitioned, scheduled, and routed).
- To generate that software mapping, you must already know the exact hardware topology, link bandwidths, and contention domains.
Because a flat, joint search over both spaces is computationally intractable, industry defaults to rigid, vendor-defined "SuperPOD" templates. These one-size-fits-all solutions often overprovision compute and strand expensive memory or network resources.
Methods
The authors present CHASE, a framework that co-designs hardware and software by utilizing a decoupled, two-level optimization loop grounded in real-world physical constraints and empirical calibration.
The framework operates in four distinct stages:
- Stage I: Workload Abstraction: Front-end compilers translate target applications into hardware-independent Directed Acyclic Graphs (DAGs), preserving algorithmic behaviors like FLOPs and data dependencies.
- Stage II: Hardware Modeling & Filtering: CHASE models the design space as a 4-layer hierarchy of typed graphs (Package, Node, Rack, Cluster). Crucially, a Physical Constraint Verifier uses strict predicates to immediately reject syntactically valid but physically impossible designs (e.g., those violating rack power caps, budget limits, or switch radix boundaries) before wasting simulation cycles.
- Stage III: Decoupled Two-Level Optimization:
- Inner Loop (Mapper): Takes a hardware candidate from the outer loop and uses fast list-scheduling heuristics (an optimized PEFT-LC algorithm) to lower the hardware-independent DAG into a topology-aware event trace. An event-driven simulator then evaluates this trace.
- Outer Loop (Optimizer): A Graph Neural Network (GNN)-based Reinforcement Learning agent (TG-RL) ingests bottleneck telemetry from the simulator to propose the next physically feasible hardware graph edit.
- Stage IV: Real-System Calibration: To ensure the simulator orders architectures correctly, its timing models are calibrated against real commercial platforms using weighted least-squares regression.
Datasets
CHASE was evaluated using two distinct workload suites:
- Sparse Computation Suite: Includes configurations from the High-Performance Conjugate-Gradient (HPCG) benchmark and real-world sparse direct solver traces (the Trojan Horse dataset, featuring
apache2,CoupCons3D, andecology1). - LLM Inference Suite: Covers representative decoder-only and Mixture-of-Experts (MoE) models, specifically Qwen3.5, Llama3.1, GPT-3, Gemma, and Mixtral, all instantiated with a 2048 request length.
Key Insights and Ideas
- Criticality-Aware Heterogeneity for Sparse Workloads: Rather than building a cluster out of uniform, top-tier GPUs, CHASE discovered that sparse workloads thrive on asymmetric pods. It concentrates expensive, high-bandwidth hosts (like NVIDIA H200s) strictly on dependency-critical "frontier" operations (e.g.,
getrfpanel factorizations) while absorbing parallel update work with cheaper, lower-tier hosts (like L40S or H100 PCIe). - Scale-Up Islands for LLMs: For dense LLM inference, CHASE avoids PCIe-attached or CPU-only hosts entirely because they break tensor-parallel communication. Instead, it favors regular 8-GPU "scale-up islands" connected via high-bandwidth NVSwitches. This restricts heavy collective traffic (like allreduce and allgather) inside the node, turning the scale-out cluster network into a simple pipeline substrate.
- More GPUs $\neq$ Better Performance: Blindly maximizing GPU counts can hurt LLM performance. Over-provisioning forces overly fine tensor parallelism ($TP$), which fragments operators and amplifies communication overhead. For example, shifting Llama3.1 from a baseline $TP=64$ down to an optimized $TP=8, PP=5$ configuration on fewer GPUs actually improved runtime by $1.20\times$.
Key Results
- Mapper & Simulator Fidelity: The inner mapper achieves schedules within 6.06% of the exhaustive global optimum while reducing mapping time by 60.5% relative to standard PEFT. The simulator keeps compute errors under 7.5% and achieved a 5.8% mean error when projecting onto an entirely unseen, held-out L20 GPU platform.
- Search Efficiency: The TG-RL optimizer consistently converges to near-global optima within 64 iterations, vastly outperforming Random, Greedy, and Simulated Annealing baselines.
- End-to-End Case Studies: Compared to state-of-the-art baselines under identical cost and power budgets:
- The optimized sparse computing architecture achieved a $6.20\times$ geomean speedup over an El Capitan-like baseline.
- The optimized LLM architecture achieved a $2.12\times$ geomean speedup over an NVL72-like baseline.
Limitations and Future Work
While CHASE marks a major step forward for cluster-scale DSE, some limitations remain:
- Static Trace Reliance: The framework relies on trace-driven execution graphs. It does not fully capture dynamic runtime non-determinism, such as network jitter or dynamic power throttling.
- Coarse-Grained Hardware Blocks: The hardware catalog uses predefined, discrete components (e.g., specific commercial GPU profiles). It does not yet support arbitrary, fine-grained ASIC logic customization within the same loop.
- Focus on Inference/Solvers: The current evaluation focuses heavily on inference and iterative solvers; extending CHASE to handle the massive, multi-phase state spaces of LLM training remains an open avenue for future work.
Summary updated