potentialpaper

FusionAgent: Joint Search over Fusion Boundaries and Kernel Implementations for Whole-Model Inference

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:53 UTC · 167ae9620f6f ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "ZXNMZc6kkc"
- }
- ],
- "title": "FusionAgent: Joint Search over Fusion Boundaries and Kernel Implementations for Whole-Model Inference",
- "authors": [],
- "abstract": "Kernel fusion can reduce launch and data-movement overhead in model inference, but optimizing a\ncomplete model requires jointly deciding which operations to fuse and how to implement each fused\nregion. Larger regions expose more optimization opportunities but may increase resource pressure\nand reduce GPU parallelism; their implementation spaces are also difficult to explore under a\nlimited budget, particularly when LLM-generated decisions and code are unreliable. We present\nFusionAgent, an agentic system that addresses these challenges to optimize full-model inference.\nGraphAgent searches fusion boundaries over multiple phases, while KernelAgent implements the\nproposed regions; only verified, measured improvements rewrite the graph and expose larger regions\nfor subsequent phases. KernelAgent uses ECHO search to rank a diverse candidate pool from\nprofiles and search history, decompose plans into independently evaluated units, distinguish an\nineffective hypothesis from an inefficient implementation, and reuse experimental outcomes across\nrounds. Generated kernels are checked against reference values at their graph boundaries and\nvalidated again after model integration. Thus, LLMs make the semantic decisions, while\ndeterministic verification and hardware measurements control acceptance. FusionAgent automatically\nproduces optimized models that can be integrated with production inference engines while preserving\ndistributed tensor-parallel execution; we implement and evaluate this integration with SGLang.\nAcross GLM-4.7-358B and LLaDA2.2-Flash workloads on eight NVIDIA H20-3e GPUs, FusionAgent improves end-to-end execution by $1.54$–$1.89\\times$ over SGLang v0.5.8 and $1.18$–$1.50\\times$ over the more optimized SGLang v0.5.17. On the fused-region benchmarks, KernelAgent outperforms\ntorch.compile in every case and achieves the best latency on three out of four, with up to a\n$2.17\\times$ advantage over the strongest competing kernel agent.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "bf3ec31f-dd26-435c-8e27-9bbc4f286490"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "FusionAgent: Joint Search over Fusion Boundaries and Kernel Implementations for Whole-Model Inference",
+ "authors": [],
+ "abstract": "Kernel fusion can reduce launch and data-movement overhead in model inference, but optimizing a\ncomplete model requires jointly deciding which operations to fuse and how to implement each fused\nregion. Larger regions expose more optimization opportunities but may increase resource pressure\nand reduce GPU parallelism; their implementation spaces are also difficult to explore under a\nlimited budget, particularly when LLM-generated decisions and code are unreliable. We present\nFusionAgent, an agentic system that addresses these challenges to optimize full-model inference.\nGraphAgent searches fusion boundaries over multiple phases, while KernelAgent implements the\nproposed regions; only verified, measured improvements rewrite the graph and expose larger regions\nfor subsequent phases. KernelAgent uses ECHO search to rank a diverse candidate pool from\nprofiles and search history, decompose plans into independently evaluated units, distinguish an\nineffective hypothesis from an inefficient implementation, and reuse experimental outcomes across\nrounds. Generated kernels are checked against reference values at their graph boundaries and\nvalidated again after model integration. Thus, LLMs make the semantic decisions, while\ndeterministic verification and hardware measurements control acceptance. FusionAgent automatically\nproduces optimized models that can be integrated with production inference engines while preserving\ndistributed tensor-parallel execution; we implement and evaluate this integration with SGLang.\nAcross GLM-4.7-358B and LLaDA2.2-Flash workloads on eight NVIDIA H20-3e GPUs, FusionAgent improves end-to-end execution by $1.54$–$1.89\\times$ over SGLang v0.5.8 and $1.18$–$1.50\\times$ over the more optimized SGLang v0.5.17. On the fused-region benchmarks, KernelAgent outperforms\ntorch.compile in every case and achieves the best latency on three out of four, with up to a\n$2.17\\times$ advantage over the strongest competing kernel agent.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}