Training · Retrieval

ChipNeMo (LLMs for Chip Design)

First page
ChipNeMo (LLMs for Chip Design)
Paper summary

NVIDIA's ChipNeMo applies domain-adapted LLMs to industrial chip design workflows.

Ask this paper

Key points
01

Domain adaptation pipeline: Applies continued pretraining on chip-design corpora, SFT, and domain-specific RLHF to adapt general LLMs to semiconductor design language.

02

Three applications: Evaluates assistant chatbot for engineers, EDA (electronic design automation) tool invocation, and bug summarization - three real internal chip-design pain points.

03

Significant adaptation gains: Domain adaptation dramatically outperforms general-purpose LLMs across tasks despite using smaller model sizes.

04

Adapted RAG: Using a domain-adapted LLM as the generator in RAG further improves answer quality compared to using a general-purpose LLM with the same retrieval stack.

Abstract

ChipNeMo aims to explore the applications of large language models (LLMs) for industrial chip design. Instead of directly deploying off-the-shelf commercial or open-source LLMs, we instead adopt the following domain adaptation techniques: domain-adaptive tokenization, domain-adaptive continued pretraining, model alignment with domain-specific instructions, and domain-adapted retrieval models. We evaluate these methods on three selected LLM applications for chip design: an engineering assistant chatbot, EDA script generation, and bug summarization and analysis. Our evaluations demonstrate that domain-adaptive pretraining of language models, can lead to superior performance in domain related downstream tasks compared to their base LLaMA2 counterparts, without degradations in generic capabilities. In particular, our largest model, ChipNeMo-70B, outperforms the highly capable GPT-4 on two of our use cases, namely engineering assistant chatbot and EDA scripts generation, while exhibiting competitive performance on bug summarization and analysis. These results underscore the potential of domain-specific customization for enhancing the effectiveness of large language models in specialized applications.

Every Monday
Get next week’s papers.
Subscribe on Substack