Nvidia Wants Better LLMs to Help Design Future Hardware
Terminator Nvidia By What The Future Newsroom · July 8, 2024 · 4 min read

Nvidia Wants Better LLMs to Help Design Future Hardware

Nvidia and its partners have announced a competition focused on improving hardware design with large language models. The effort centers on building a higher-quality open-source Verilog dataset because current models such as GPT-4 still struggle to create practical hardware designs without human intervention.

Nvidia is pushing for a new step in AI-assisted hardware design: better training data for large language models. The company and its partners have announced a competition meant to improve how LLMs generate hardware code, with a focus on Verilog.

“The story mildly points toward more powerful AI systems being used in consequential hardware design, though it remains a research/data competition rather than an immediate danger.”Why it scores Terminator

The core idea is straightforward. If models are going to help design future chips, they need more high-quality examples of hardware-specific code during training.

Why Hardware Code Is Still Hard for LLMs

According to Nvidia, current large language models such as GPT-4 still have trouble generating practical hardware designs without human intervention. The source identifies a specific reason: these models do not have enough hardware-specific code in their training data.

That matters because hardware design is not just another coding task. Verilog code describes how hardware should behave, so errors can be more consequential than mistakes in ordinary software generation. The competition is built around the idea that better data can make LLM-based hardware code generation more useful.

The stated target is ambitious. The competition aims to create a comprehensive, high-quality open-source dataset of Verilog code for training LLMs. On the competition website, the goal is described as an "ImageNet-like revolution in LLM-based hardware code generation," a reference to the kind of dataset-driven progress Nvidia and its partners want to encourage.

The Dataset Is the Main Prize

The competition is not framed around a single finished chip design. Instead, it focuses on the data pipeline that could make future AI hardware design systems stronger.

Participants will work with Verilog examples and the existing MG Verilog dataset. The first phase asks them to collect or generate Verilog code examples that can expand that dataset, with an emphasis on scalable methods.

The second phase shifts from volume to quality. Participants will receive the complete dataset, including all samples submitted during phase one. They will then work on data cleansing and label generation, again with an emphasis on automated methods.

That structure reflects a practical issue in AI development. More data is helpful only if it can improve model behavior. The competition therefore separates the work of expanding the dataset from the work of making that dataset cleaner, better labeled, and more useful for training.

How Nvidia Will Judge Progress

Submissions will be judged by the improvement their data brings to a fine-tuned CodeLlama 7B-Instruct model. This gives the competition a concrete evaluation target: the data must help the model perform better after fine-tuning.

Nvidia will also provide contestants with a starter kit. That kit includes a base dataset, sample data, and code to fine-tune the LLM.

Based on the source, the competition has several key components:

  • A focus on Verilog code for hardware design.
  • An open-source dataset goal.
  • Two phases: dataset expansion, then dataset improvement.
  • Automated methods for collection, cleansing, and label generation.
  • Evaluation through a fine-tuned CodeLlama 7B-Instruct model.

The emphasis on automation is important. If the goal is to make LLMs more capable in hardware code generation, the surrounding data process also needs to scale. Manual curation alone would limit how far such an approach could go.

The Bigger Loop Nvidia Wants

Nvidia researcher Jim Fan says Nvidia is "very interested" in automating the design process for its next-generation GPUs. The company’s view, as described in the source, is that better GPUs can produce more intelligence per unit of training time.

That could then improve coding by LLMs, which could ultimately help design even more advanced GPUs. In other words, Nvidia is aiming at a feedback loop between hardware and models: stronger chips help train stronger models, and stronger models may help create stronger chips.

"Some day, we can take a vacation and NVIDIA will still keep shipping new chips. Time to kickstart a self-bootstrapping, exponential loop that iterates over both hardware and models,"

Fan writes.

The competition is an early piece of that broader idea. It does not claim that LLMs can already replace human hardware designers. In fact, the source states the opposite: current models still struggle to produce practical hardware designs without human intervention.

But the direction is clear. Nvidia and its partners are trying to improve the foundation that would let LLMs become more capable hardware design assistants.

What Happens Next

Registration for the competition must be completed by the end of July at the latest. The results will be presented at the International Conference on Computer-Aided Design at the end of October.

For now, the most important takeaway is not that AI-generated hardware design has arrived in finished form. It is that Nvidia is treating the training-data problem as a central barrier.

If the competition succeeds on its own terms, the result would be a stronger open-source Verilog dataset and better evidence about which kinds of data improve LLM hardware code generation. That would give researchers and developers a clearer starting point for the next stage of AI-assisted chip design.

← Back to the wire

Read next