用逻辑约束+优化代替大模型做系统架构设计,更准更可解释。
Assistants, Not Architects: The Role of LLMs in Networked Systems Design

- 将架构规则转为约束条件,结合SMT求解生成可行方案
- 比大模型少犯30%以上关键错误,发现其忽略的系统冲突
- 适合需要可解释性与可靠性的系统架构师
现代网络化系统架构设计需在硬件、系统和配置的组合空间中权衡性能、成本与部署性,面临复杂的跨层交互。传统依赖零散经验法则,而大语言模型虽能生成看似合理的配置,却常忽略关键约束、存在错误假设且固守熟悉模式。迭代验证因成本过高或不可行(尤其涉及硬件差异)而难以实施。为此,我们提出Kepler——一种轻量级架构推理框架,通过结构化专家规范与SMT优化结合,将系统、硬件、负载的关键属性(需求、不兼容性、定性权衡)编码为约束,自动合成满足目标的可行设计。该框架在抽象层级运行,捕捉经验法则而非细节行为,实现可计算推理并提供决策解释。实验表明,Kepler能发现大模型遗漏的交互关系,支持系统化、可解释的设计探索。
原文摘要 · Abstract (English)
Designing the architecture of modern networked systems requires navigating a large, combinatorial space of hardware, systems, and configuration choices with complex cross-layer interactions. Architects must balance competing objectives such as performance, cost, and deployability while satisfying compatibility and resource constraints, often relying on scattered rules-of-thumb drawn from benchmarks, papers, documentation, and expert experience. This raises a natural question: can large language models (LLMs) reliably perform this kind of architectural reasoning? We find that they cannot. While LLMs produce plausible configurations, they frequently miss critical constraints, encode incorrect assumptions, and exhibit ``stickiness'' to familiar patterns. A natural workaround--iterative validation via simulation or experimentation--is often prohibitively expensive at scale and, in many cases, infeasible, particularly when comparing hardware-dependent alternatives. Motivated by this gap, we present Kepler, a lightweight reasoning framework for architecture design that combines structured, expert-driven specifications with SMT-based optimization. Kepler encodes architecturally significant properties--requirements, incompatibilities, and qualitative trade-offs--about systems, hardware, and workloads as constraints, and synthesizes feasible designs that optimize user-defined objectives. It operates at an abstract level, capturing ``rules-of-thumb'' rather than detailed system behavior, enabling tractable reasoning while preserving key interactions, and provides explanations for its decisions. Through experiments and case studies, we show that Kepler uncovers interactions missed by LLMs and supports systematic, explainable design exploration.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。