MIT researchers built a system that converts 2D design images into executable CAD programs. The work was presented at the International Conference on Machine Learning and comes from the MIT-IBM Computing Research Lab.

What It Does

The system, called GIFT (Geometric Inference Feedback Tuning), takes a 2D image and descriptive text as input. It outputs Python code that runs in CAD software to generate a 3D model. No human intervention is needed to correct mistakes.

The core idea: let a vision-language model (VLM) attempt CAD generation repeatedly, then capture its near-misses and corrections as training data. The model learns from its own errors.

"Generating CAD query code that is almost correct is not that hard, but generating code that is perfectly correct and can be executed is much more challenging for a standard VLM," says lead author Giorgio Giannone, a research affiliate in MIT's DeCoDE Lab and principal research scientist at Red Hat.

How It Works

GIFT asks the model to solve a CAD problem multiple times in parallel. It checks each attempt for correctness. Near-correct guesses get adjusted into working solutions. These fixed attempts become new training data targeting the model's specific weak spots.

The system focuses on what researchers call "in-between cases" where the model succeeds only about 50 percent of the time. These cases produce the most useful training signal. Easy wins and total failures teach less.

Users set a compute budget. GIFT runs within that constraint using inference-time scaling, which improves a static model's output without full retraining.

Results

GIFT outperformed competing techniques on accuracy while using about 20 percent as much computation. Generated CAD models aligned better with ground-truth shapes.

For Engineers

The practical appeal is speed. Engineers already use VLMs to produce new component designs for aircraft and automobiles. They then manually build 3D CAD models for simulation and testing. GIFT automates that conversion step.

Faez Ahmed, associate professor of mechanical engineering at MIT and leader of the DeCoDE Lab, frames the value directly: "Nearly every physical product around us, from airplanes to appliances, begins its life as a CAD model. Industry teams are eager for AI that can help speed-up the creation of these designs, but today's models often produce simple shapes inadequate for practice."

The Contrarian Note

GIFT still starts from geometry. If the 2D sketch is wrong, the 3D output will be wrong too. The system does not validate design intent or physical feasibility. It validates geometry against the image. An engineer who feeds it a bad concept gets a faithfully reproduced bad model.

The researchers acknowledge this. Future work will expand GIFT to teach models about performance and manufacturability, not just shape accuracy. Until then, the system accelerates a step in the pipeline without questioning the pipeline itself.