AI learns to simulate how trees grow and shape in response to their environments

DNA inspires the application of deep learning to long-standing computer graphics problem

A research team from Purdue University’s Department of Computer Science and Institute for Digital Forestry, with collaborator Sören Pirk at Kiel University in Germany, has discovered that artificial intelligence can simulate tree growth and shape.

The DNA molecule encodes both tree shape and environmental response in one tiny, subcellular package. In work inspired by DNA, Bedrich Benes, professor of computer science, and his associates developed novel AI models that compress the information required for encoding tree form into a megabyte-sized neural model.

After training, the AI models encode the local development of trees that can be used to generate complex tree models of several gigabytes of detailed geometry as an output.  

In two papers published in ACM Transactions on Graphics of the Association for Computing Machinery and IEEE Transactions on Visualizations and Computer Graphics, Benes and his co-authors describe how they created their tree-simulation AI models. “The AI models learn from large data sets to mimic the intrinsic discovered behavior,” Benes said.

Non-AI-based digital tree models are quite complicated, involving simulation algorithms that consider many mutually affecting nonlinear factors. Such models are needed in endeavors such as architecture and urban planning, as well as in the gaming and entertainment industries, to make designs more realistically appealing to their potential clients and audiences.

Growth simulations Novel Artificial intelligence-based methods generate tree models that adapt to changing environmental conditions. (Images courtesy of Bedrich Benes)

After working with AI models for nearly 10 years, Benes expected them to be able to significantly improve the existing methods for digital tree twins. The size of the models was surprising, however. “It's complex behavior, but it has been compressed to rather a small amount of data,” he said.

Co-authors of the ACM Transactions on Graphics paper were Jae Joong Lee and Bosheng Li, Purdue graduate students in computer science. Co-authors of the IEEE Transactions on Visualization and Computer Graphics paper were Li and Xiaochen Zhou, also a Purdue graduate student in computer science; Songlin Fei, the Dean’s Chair in Remote Sensing and director of the Institute for Digital Forestry; and Sören Pirk of Kiel University, Germany.

The researchers used deep learning, a branch of machine learning within AI, to generate growth models for maple, oak, pine, walnut and other tree species, both with and without leaves. Deep learning involves developing software that trains AI models to perform specified tasks through linked neural networks that attempt to mimic certain functionalities of the human brain.

AI tree modeling Researchers at Purdue University and Kiel University in Germany used artificial intelligence to generate these tree-growth simulations. See their papers in ACM Transactions on Graphics and in IEEE Transactions on Visualization and Computer Graphics for details. (Videos courtesy of Bedrich Benes)

“Although AI has become seemingly pervasive, thus far it has mostly proved highly successful in modeling 3D geometries unrelated to nature,” Benes said. These include endeavors related to computer-aided design and improving algorithms for digital manufacturing.

“Getting a 3D geometry vegetation model has been an open problem in computer graphics for decades,” stated Benes and his co-authors in their ACM Transactions paper. Although some approaches to simulating biological behaviors are improving, they noted, “simple methods that would quickly provide many 3D models of real trees are not readily available.”

Experts with biological expertise have traditionally developed tree-growth simulations. They understand how trees interact with environmental conditions. Understanding these complicated interactions depends upon characteristics bestowed upon the tree by its DNA. These include branching angles, which are much larger for pines than for oaks, for example. The environment, meanwhile, dictates other characteristics that can result in the same type of tree grown under two different conditions displaying completely different shapes.

“Decoupling the tree’s intrinsic properties and its environmental response is extremely complicated,” Benes said. “We looked at thousands of trees, and we thought, ‘Hey, let AI learn it.’ And maybe we can then learn the essence of tree form with AI.”

Scientists typically build models based on hypotheses and observations of nature. As models created by humans, they have reasoning behind them. The researchers’ models generalize behavior from several thousand trees’ worth of input data that became encoded within the AI. Then the researchers validate that the models behave the way the input data behave.

Bedrich Benes Bedrich Benes, professor of computer science

The AI tree models’ weakness is that they lack training data that describes real-world 3D tree geometry. “In our methods, we needed to generate the data. So our AI models are not simulating nature. They are simulating tree developmental algorithms,” Benes said. He aspires to reconstruct 3D geometry data from real trees inside a computer.

“You take your cellphone, take a picture of a tree, and you get a 3D geometry inside the computer. It could be rotated. Zoom in. Zoom out,” he said. “This is next. And it’s perfectly aligned with the mission of digital forestry.”

The Department of Computer Science is part of the Purdue Computes initiative.

Featured Stories

Zach Feiner holds a striped bass; Feiner holds a black crappie; Feiner holds his Outstanding Young Alumni Award plaque
Meet Zachary Feiner: 2025 Outstanding Young Alumni Award Winner

Zachary Feiner, who earned his PhD from FNR in 2015 and spent two additional years in West...

Read More
Purdue celebrates 75 year collaboration with UFV
Purdue and Viçosa celebrate 75 years of agricultural partnership

In 1951, Purdue University faculty members traveled more than 4,000 miles from West Lafayette,...

Read More
Gloria's view looking for elk in the south unit of Theodore Roosevelt National Park; two of the many prairie dogs at the park; Gloria welding for the first time.
FNR Field Report: Gloria Aichinger

Sophomore wildlife major Gloria Aichinger spent her summer as a seasonal laborer at Theodore...

Read More
A woman stands in a greenhouse, surrounded by greenery and natural light.
Catalyzing metabolite research for agriculture, ecosystems and industry

Concealed within the molecular machinery of petunia flowers are metabolic, genetic and cellular...

Read More
A spotted eagle ray; Morgan Hamilton snorkeling during a biodiversity survey in Turks and Caicos; Hamilton with a group of students from her study abroad cohort.
FNR Field Report: Morgan Hamilton

Senior aquatic sciences major Morgan Hamilton took her skills and interests on the road for a...

Read More
Presence of multiple ear rots and premature kernel sprouting (e.g., vivipary) on ears which were completely submerged in flood water in East-Central Indiana (right three ears) in comparison to ears in the same field that were not submerged (left three ears)
Risk & Mycotoxin Management in Indiana Corn

Risk & Mycotoxin Management in Indiana Corn

Read More