2026-11-27 16:25 UTC

RoofLang reports agent-discovered inference designs with modeled gains on DeepSeek V4 Pro

state: expiredheat: mediumuncertainty: mediumrelevance: mediuminference-economics llm-serving inference-optimization ai-systems-designZiyue YangYuting JiangLei QuPeng Cheng

What is this?

RoofLang is a research DSL and analytical evaluation framework for exploring LLM inference-system architectures beyond the limits of an existing serving stack. In an arXiv preprint submitted 11 September 2026, Ziyue Yang and coauthors say it combines a general workload representation, verifiable architecture mutations and an implementation-independent evaluator. They report that an optimizer agent found architectures improving throughput and interactivity for DeepSeek V4 Pro on NVIDIA B300 by 6.23–50.1%.

Why it matters

RoofLang points to a potentially useful shift in inference optimization: an agent can explore system architectures using a workload model and implementation-independent evaluator, rather than being confined to what an existing serving stack can profile. The reported gains could matter for serving efficiency, but they are preprint results for DeepSeek V4 Pro on NVIDIA B300—not evidence of equivalent production or measured hardware speedups. The strongest cited example is described in a secondary search result as a simulated, communication-limited case.

Current assessment

In an arXiv preprint submitted 11 September 2026, Ziyue Yang, Yuting Jiang, Lei Qu and Peng Cheng present RoofLang, a DSL intended to support AI-driven inference-system architecture search through a general workload representation, verifiable mutations and an implementation-independent evaluator. The authors report that an optimizer agent found architectures improving throughput and interactivity for DeepSeek V4 Pro on NVIDIA B300 by 6.23–50.1%; the abstract also attributes large decode-throughput differences among DeepSeek V4-series and representative models partly to compact KV-cache designs. Search results for the paper’s HTML say the findings use a verification-constrained analytical model and note limitations to autonomy, modeling fidelity and scalability. A secondary result describing the paper gives a 50.1% example as simulated: a communication-limited 1M-context prefill case on 16 B300 GPUs, where moving selected experts reduces exposed routing communication at the cost of more expert-weight reads and HBM use. Treat the gains as modeled evaluation, not demonstrated hardware speedups. This is an early, technically consequential research direction for exploring serving designs beyond an existing software stack; practical impact depends on model accuracy, implementation and broader validation.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

09-10 14:00⭐ origin echo-reconstructedThe authors present RoofLang as a DSL providing a general workload representation, verifiable mutation space, and implementation-independent
Ziyue Yang, Yuting Jiang, Lei Qu, Peng Cheng on paper (echo) · attributed from hn.story.49704018
—
09-14 21:06first on hacker news · published · +103.1hRoofLang: Enabling AI-Driven Architecting of LLM Inference Systems
matt_d
—
09-14 21:06amplified on hacker news 👑hn.story.49704018
matt_d
peak 7 · 0 comments · 101% of case engagement
09-14 21:21our radar first saw it · +103.3hdiscovery anchor: hn.story.49704018—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnRoofLang: Enabling AI-Driven Architecting of LLM Inference Systems
Retrieved article excerpt

Open article · Retrieved 2026-09-14T21:22:04.438212+00:00

# Computer Science > Distributed, Parallel, and Cluster Computing

**arXiv:2609.12551** (cs)

[Submitted on 11 Sep 2026]

# Title:RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems

Authors:[Ziyue Yang](https://arxiv.org/search/cs?searchtype=author&query=Yang,+Z), [Yuting Jiang](https://arxiv.org/search/cs?searchtype=author&query=Jiang,+Y), [Lei Qu](https://arxiv.org/search/cs?searchtype=author&query=Qu,+L), [Peng Cheng](https://arxiv.org/search/cs?searchtype=author&query=Cheng,+P)

View a PDF of the paper titled RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems, by Ziyue Yang and 3 other authors

[View PDF](https://arxiv.org/pdf/2609.12551)
[HTML (experimental)](https://arxiv.org/html/2609.12551v1)
> Abstract:AI is beginning to make substantive contributions to LLM inference optimization. Existing AI optimizations are predominantly profiling-based. Profiling-bound feedback confines the search to the capabilities and performance of an existing software stack, preventing a fundamentally better architecture of LLM inference systems from being identified. To enable the AI-driven LLM inference system architecting loop, we argue that a general workload representation, a verifiable mutation space, and an implementation-independent evaluator are required. We present the RoofLang domain-specific language (DSL) that provides these features. In our evaluation, RoofLang reveals that DeepSeek V4-series models could achieve 3.5-39.5$\times$ higher peak decode throughput than other representative models. This gap is disproportionate to their total parameter counts and arises largely from compact KV-cache designs that support larger batches and reduce memory traffic. A persistent optimizer agent further discovered several new architectures that improved both throughput and interactivity of DeepSeek V4 Pro on NVIDIA B300 by 6.23-50.1%.

|  |  |
| --- | --- |
| Subjects: | Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI) |
| Cite as: | [arXiv:2609.12551](https://arxiv.org/abs/2609.12551) [cs.DC] |
|  | (or  [arXiv:2609.12551v1](https://arxiv.org/abs/2609.12551v1) [cs.DC] for this version) |
|  | <https://doi.org/10.48550/arXiv.2609.12551> Focus to learn more  arXiv-issued DOI via DataCite (pending registration) |

## Submission history

From: Ziyue Yang [[view email](https://arxiv.org/show-email/b2713765/2609.12551)]   
 **[v1]**
Fri, 11 Sep 2026 07:57:28 UTC (249 KB)

Full-text links:

## Access Paper:

View a PDF of the paper titled RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems, by Ziyue Yang and 3 other authors

- [View PDF](https://arxiv.org/pdf/2609.12551)
- [HTML (experimental)](https://arxiv.org/html/2609.12551v1)
- [TeX Source](https://arxiv.org/src/2609.12551)

[view license](http://arxiv.org/licenses/nonexclusive-distrib/1.0/ "Rights to this article")

### Current browse context:

cs.DC

[< prev](https://arxiv.org/prevnext?id=2609.12551&function=prev&context=cs.DC "previous in cs.DC (accesskey p)")
  |   
[next >](https://arxiv.org/prevnext?id=2609.12551&function=next&context=cs.DC "next in cs.DC (accesskey n)")

[new](https://arxiv.org/list/cs.DC/new)
 | 
[recent](https://arxiv.org/list/cs.DC/recent)
 | [2026-09](https://arxiv.org/list/cs.DC/2026-09)

Change to browse by:

[cs](https://arxiv.org/abs/2609.12551?context=cs)  
[cs.AI](https://arxiv.org/abs/2609.12551?context=cs.AI)

### References & Citations

- [NASA ADS](https://ui.adsabs.harvard.edu/abs/arXiv:2609.12551)
- [Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2609.12551)
- [Semantic Scholar](https://api.semanticscholar.org/arXiv:2609.12551)

export BibTeX citation
Loading...

## BibTeX formatted citation

×

loading...

Data provided by:

### Bookmark

[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2609.12551&description=RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems "Bookmark on BibSonomy")
[Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2609.12551&title=RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems "Bookmark on Reddit")



Bibliographic Tools

# Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer *([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))*

Connected Papers Toggle

Connected Papers *([What is Connected Papers?](https://www.connectedpapers.com/about))*

Litmaps Toggle

Litmaps *([What is Litmaps?](https://www.litmaps.co/))*

scite.ai Toggle

scite Smart Citations *([What are Smart Citations?](https://www.scite.ai/))*

Code, Data, Media

# Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv *([What is alphaXiv?](https://alphaxiv.org/))*

Links to Code Toggle

CatalyzeX Code Finder for Papers *([What is CatalyzeX?](https://www.catalyzex.com))*

DagsHub Toggle

DagsHub *([What is DagsHub?](https://dagshub.com/))*

GotitPub Toggle

Gotit.pub *([What is GotitPub?](http://gotit.pub/faq))*

Huggingface Toggle

Hugging Face *([What is Huggingface?](https://huggingface.co/huggingface))*

ScienceCast Toggle

ScienceCast *([What is ScienceCast?](https://sciencecast.org/welcome))*

Demos

# Demos

Replicate Toggle

Replicate *([What is Replicate?](https://replicate.com/docs/arxiv/about))*

Spaces Toggle

Hugging Face Spaces *([What is Spaces?](https://huggingface.co/docs/hub/spaces))*

Spaces Toggle

TXYZ.AI *([What is TXYZ.AI?](https://txyz.ai))*

Related Papers

# Recommenders and Search Tools

Link to Influence Flower

Influence Flower *([What are Influence Flowers?](https://influencemap.cmlab.dev/))*

Core recommender toggle

CORE Recommender *([What is CORE?](https://core.ac.uk/services/recommender))*

- Author
- Venue
- Institution
- Topic


About arXivLabs

# arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).

[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2609.12551) |
Disable MathJax ([What is MathJax?](https://info.arxiv.org/help/mathjax.html))
matt_d70
🟧 echo.paper ⭐The authors present RoofLang as a DSL providing a general workload representation, verifiable mutation space, and implementation-independentZiyue Yang, Yuting Jiang, Lei Qu, Peng Cheng——

Interpretation history

Decision trace