Abstractions-of-Thought: Intermediate Representations for LLM Reasoning in Hardware Design
Matthew DeLorenzo, Kevin Tieu, Prithwish Jana, Piyush Jha, Dileep Kalathil, Vijay Ganesh, Jeyavijayan Rajendran

TL;DR
The paper introduces Abstractions-of-Thought (AoT), a prompting framework that enhances LLMs' ability to generate accurate hardware descriptions from natural language by using intermediate representations and task-based abstractions.
Contribution
AoT is a novel, training-free prompting method that improves hardware design code generation by incorporating structured intermediate representations and task-specific abstractions.
Findings
AoT outperforms baseline prompting techniques on VerilogEval.
AoT reduces token usage by 1.8-5.2x compared to Tree-of-Thought.
AoT improves functional correctness in hardware code generation.
Abstract
Large language models (LLMs) have achieved impressive proficiency on logic and programming tasks, often rivaling expert-level performance. However, generating functionally correct hardware description language (HDL) code from natural language specifications remains challenging, primarily in data-scarce domains. Therefore, we present Abstractions-of-Thought (AoT) - a training-free, inference-only prompting framework to mitigate misinterpretations and reasoning pitfalls of LLMs through a series of task-based abstractions within the prompting procedure, assisting in the transition from high-level to low-level representations of hardware. Furthermore, AoT consists of the following stages: (1) an LLM-based classification of hardware design patterns, (2) a structured intermediate representation (IR) to separate functional decomposition from code syntax, and (3) a line-by-line pseudocode…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Semantic Web and Ontologies · Natural Language Processing Techniques
