MIT GIFT helps AI turn 2D designs into CAD models
Researchers from MIT and elsewhere developed GIFT, a system that teaches vision-language models to convert 2D designs into executable CAD programs. It learns from a model’s near-misses, improves accuracy, and used only about 20 percent as much computation as several competing techniques.
Turning a 2D concept into a reliable 3D CAD model is a critical step in engineering. Researchers from MIT and elsewhere have developed a system called GIFT that helps vision-language models do that job with better accuracy and less computation.
The work focuses on rapid prototyping, where engineers may use AI-generated designs for components such as airplane or automobile parts, then move those ideas into CAD software for simulation, crash testing, or durability testing. The goal is not just to make a shape, but to generate CAD code that can run correctly and represent the intended geometry.
Why image-to-CAD generation is difficult
Vision-language models can take a 2D image with descriptive text and produce Python code for CAD software. If the code works, it can generate a 3D model of a physical object. That makes the approach attractive for engineering teams looking to move faster from concept to prototype.
But the source problem is demanding. A model can produce CAD code that looks close to right while still failing to execute or failing to match the intended shape. In engineering, near-correct geometry is not enough, because the rest of the analysis depends on the 3D model being accurate.
The researchers found that a major bottleneck is the lack of diverse, high-quality CAD datasets for training. Without enough useful examples, existing models may generate simple shapes that are not adequate for practical design work.
What GIFT changes
GIFT stands for Geometric Inference Feedback Tuning. It is a data augmentation system, but it does not rely on the usual method of randomly changing existing samples by altering visual features such as color, size, or shape.
Instead, GIFT studies the model it is meant to improve. It tests the model, identifies where it succeeds and where it struggles, and then creates new training data aimed at those weaknesses. That makes the data both model-aware and task-aware.
The system asks a vision-language model to solve a CAD generation problem multiple times in parallel. It then checks the correctness of those attempts. When an answer is close but not fully correct, GIFT adjusts it into a successful solution and saves both useful near-misses and correct solutions into a new dataset.
This matters because the most valuable cases are not the problems a model always gets right or always gets wrong. The useful learning signal comes from the in-between cases, where the model can sometimes solve the problem but still makes specific mistakes. Those cases show the system what the model needs to learn next.
Learning without manual correction
A key feature of GIFT is that it does not require human intervention to fix the model’s mistakes. The system turns failed or partial attempts into better data automatically, then uses that data to teach the model how to avoid similar errors.
The researchers built GIFT around inference-time scaling. In the source article, this is described as a way for a static model that has already been trained to produce better outputs without the high computational costs of retraining the entire model.
That also gives users control over the compute budget. Engineers can decide how much computation they want to spend, based on time and cost constraints, while still using the model’s own attempts to improve future CAD generation.
Lead author Giorgio Giannone, a research affiliate in the Design Computation and Digital Engineering (DeCoDE) Lab at MIT and a principal research scientist on the AI Innovation Team at Red Hat, described the aim as letting engineers point the framework at an underperforming CAD model, set a compute budget, and allow the system to turn mistakes into training data.
What the results showed
GIFT outperformed several competing techniques. According to the source article, it generated CAD programs that were more accurate while using only about 20 percent as much computation. The CAD models generated by vision-language models using GIFT were also better aligned with the shapes of ground-truth models.
For rapid prototyping, that combination is important. Better CAD generation can reduce the friction between an early design idea and a model that can be tested in software. Lower computation can also make the workflow easier to fit into real engineering constraints.
The work was presented at the International Conference on Machine Learning. The paper includes Giorgio Giannone; Anna Claire Doris, a mechanical engineering graduate student at MIT; Amin Heyrani Nobari, an MIT postdoc; Kai Xu of RedHat; and co-senior authors Akash Srivastava, director of Core AI at IBM and a principal investigator at the MIT-IBM Computing Research Lab; and Faez Ahmed, associate professor of mechanical engineering at MIT, leader of the DeCoDE Lab, and a principal investigator at the MIT-IBM Computing Research Lab.
Where the research goes next
The current work starts with geometry. That choice follows directly from the engineering requirement: if the 3D shape is wrong, other evaluations will not be reliable.
The researchers want to expand GIFT so it can teach models to generate CAD programs that improve the performance and manufacturability of 3D models. They also want to apply the system to larger models and more diverse CAD generation tasks.
The broader implication is clear from the source: AI-assisted CAD generation becomes more useful when models can learn from their own errors instead of waiting for more human-made data. For engineers, that could make image-to-CAD tools more practical for everyday design and rapid prototyping workflows.
Read next