理解代理硬件验证中推理时间标记分配与覆盖限制
Understanding Inference-Time Token Allocation and Coverage Limits in Agentic Hardware Verification
AI总结:
本文研究了代理硬件验证中推理时间标记分配与覆盖限制,通过两个层级的代理框架,分析覆盖孔径并改进效率,展示领域专业化如何提升覆盖效率。
摘要:
覆盖闭合是硬件验证中最耗时的阶段,而基于大语言模型(LLM)的编码代理提供了一种有前途的自动化刺激生成方法。然而,先前的LLM方法并未系统分析哪些覆盖孔径难以闭合或推理时间计算如何分配。本文通过一个两层代理框架,包括基础Codex代理和增强的领域专用LangGraph系统,提出了一种覆盖孔径的分类方法,揭示了纯LLM驱动方法的根本限制。通过跟踪六个类别中的标记使用情况,发现领域专业化将标记分配转向覆盖导向的推理并提高了效率。在多个设计中,增强系统实现了95-99%的覆盖率,同时使用4-13倍更少的标记,并在2-4倍更短时间内达到覆盖目标。
英文摘要:
Coverage closure is the most time-consuming phase of hardware verification, and recent large language model (LLM)-based coding agents offer a promising approach to automated stimulus generation. However, prior LLM-based flows do not systematically analyze which coverage holes remain difficult to close or how inference-time computation is allocated during agentic verification. As a result, the efficiency limits and failure modes of LLM-based coverage closure remain poorly understood, particularly for large designs. We present an empirical study using a two-tier agentic framework comprising a base Codex agent and an enhanced domain-specialized LangGraph system. Our framework enables a taxonomy of coverage holes: methodology-bound ceilings (integration tied-off hardware, infeasible boundaries, dead code) and reasoning frontiers (protocol sequencing, multi-module pipeline warm-up, narrow timing conditions), exposing fundamental limits of purely LLM-driven approaches. We further instrument the system to track token usage across six categories, including system prompt, design comprehension, stimulus generation, coverage feedback, error recovery, and agentic overhead. We show that domain specialization shifts token allocation toward coverage-directed reasoning and improves efficiency. Across designs, the enhanced system achieves comparable or higher coverage (95-99%) while using 4-13x fewer tokens and converging to coverage targets 2-4x faster than a general-purpose baseline. Our results characterize the limits of LLM-based coverage closure, inform benchmark design and human escalation strategies, and guide profile-driven agent design for hardware verification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。