Team member(s): Jerome Eid, Luis Sebastian Wulf, Bhavini Manot and Sneha Shenoy
What if we designed with what a demolition site leaves behind? We always design first and order material second. For our final assignment in AI Theory – MAAI(01) at IAAC, we propose a six-step workflow that starts from the pile instead: Scan, Describe, Group, Assess, Match and Check. It chains eight algorithms, and every number below comes from a simulation we built ourselves.

The workflow in one line
Scan the pile, describe each piece, group the stock into families, assess what is still good, match pieces to a design, and check that it stands. People decide at Assess and at Check.
01 · The problem
A warehouse we throw away
When a building is demolished, its beams, slabs and stone leave as waste, and new material is ordered for the next one. The alternative is to start from what the site gives us and let the design follow. The idea has a name: form follows availability [2]. Construction and demolition waste is about 40% of all waste in the EU, according to the Joint Research Centre [1].

02 · State of the art
It works once. Not yet as a workflow.
Three projects show that building from what is on site can work, each in a different way.
- ETH Zurich, HEAP. An autonomous excavator maps the site, detects stones and rubble, and builds a dry-stone wall 65 m long and 6 m high [3]. Its perception is trained on real and simulated data [3]. An earlier 3 m test wall of 40 stones, averaging 760 kg, showed that material properties are unknown at the start and errors propagate [3b].
- AA Design & Make, Hooke Park. The Wood Chip Barn used tree forks: 25 were harvested and 3D-scanned, and 20 were used, arranged by a script [4]. Completed in 2016, it was demolished in 2023 after its exposed timber footings degraded [4].
- MIT Digital Structures. Discarded tree forks were matched to the nodes of a design with the Hungarian algorithm [5].



Drawings: Group 4, after the projects. Left to right: ETH HEAP, AA Hooke Park, MIT Digital Structures.
Each project worked with one kind of material and one kind of structure. None started from a mixed pile that nobody has graded. There is no repeatable workflow for mixed stock.
03 · Our thesis
Matching is solved. The unknown stock is not.
Matching pieces to a design is a classic problem with a fast classic algorithm, and MIT used it for tree forks [5]. What is unsolved is everything before and after that step: a demolition pile is mixed, ungraded and unmeasured. We need to turn a messy pile into pieces we can trust, and let the design adapt to them.
04 · Our test site
What’s in here?
Think of a pile of toy bricks: no instructions, no labels, sort before you build. A demolition site is the same problem, only 60 × 60 m, with thousands of beams, slabs and stones and no drawings. We follow one test component, #17, through the whole workflow.

05 · The framework
Six steps, one loop
Steps 1 to 4 build a list of pieces we can trust. Steps 5 and 6 adapt the design to that list and check it. Steps 5 and 6 are also our two debates, where the algorithm choice is most contested.

The workflow is a loop, not a line. We only see the top of a pile at first, so we dismantle, rescan and go again if confidence falls below 0.6 or the check fails.

01 · Scan
Find the pieces
DBSCAN · PointNet as backup
Which points belong to one piece?
02 · Describe
Measure each shape
PCA
What shape is each piece?
03 · Group
Sort into families
Fuzzy C-means · vs K-means
Which family does each piece belong to?
04 · Assess
Judge condition
CNN with uncertainty
Is the piece still good?
05 · Match
Fit pieces to a design
Hungarian · genetic algorithm
Which piece goes where, and can the design move?
06 · Check
Prove it stands
FEM · GNN for irregular stones
Will it stand?
Step 01 · Scan
Find every piece in the point cloud
A scan gives millions of points and no objects. DBSCAN groups points that sit close together and needs no training data, which is why we start with it. In our synthetic scan it turned 64,200 points into 24 pieces, using a 30 cm distance that we set for this scan. Its weak spot is touching pieces, which merge: two became one in our run. PointNet can split touching pieces, but it needs labelled scans of rubble, and those do not yet exist.

Step 02 · Describe
Turn each shape into three numbers
PCA reduces each piece to three numbers that describe its shape: a slab is flat, a beam is long and thin, a block is compact. It sees shape, not size, so we keep the real length alongside. We chose it over a neural network because it needs no training and every value can be explained.

Step 03 · Group
Sort the stock into families
K-means gives each piece exactly one family. Fuzzy C-means gives each piece a share of every family, for example 60% slab and 40% shard. A piece that is half slab and half beam is real on a demolition site, so we choose fuzzy and send low-certainty pieces to a person.

Step 04 · Assess
Is this piece still good?
A convolutional neural network (CNN) learns from labelled photos to read material, grade, cracks and rot. Each grade comes with a confidence, and below 0.6 a person checks the piece. The limit is physical: a photo sees the surface, not the strength inside. The AI sorts, and a test still certifies.

Step 05 · Match
Which beam goes where?
To test the logic we built an illustrative scenario: a 12 m Pratt roof truss with 25 members, and 38 scanned beams, of which 27 are usable after grading. The rules: one beam per member, cut to length, and the chords need grade C24. The Hungarian algorithm finds the cheapest assignment, where the cost is the offcut. It matches all 25 members, but the fixed truss leaves 36.5 m of offcut, 42% of the length used, because it was drawn without knowing the stock.

Debate 01: who adapts, the design or the stock?
So we let the design move. We ran one matching for each combination of panel count and truss depth. Changing the truss from 6 panels at 1.5 m deep to 4 panels at 2.1 m cut the offcut from 36.5 m to 7.8 m.


A caveat we want to be clear about: with only two parameters, a plain grid search is enough. A genetic algorithm earns its cost when the design has twenty or more parameters. Reinforcement learning suits placement while the stock is revealed, as in HEAP, but needs large simulated training and is hard to explain to an engineer who signs the drawing.
Step 06 · Check
Will it stand? Physics versus a learned guess
Finite element analysis (FEM) solves the physics and is certifiable. For our beam truss, a simple bar model solved the forces in 0.26 ms, with 6 kN/m on the top chord and pin joints, and no self-weight or buckling check. For irregular stones, FEM costs far more, and a graph neural network (GNN) could screen options, with pieces as nodes and contacts as edges. A GNN is a learned guess that can be wrong outside its training data, and we have not trained one. So: a bar model for beams, FEM on the finalists, and never ship on a guess.

Why these methods
And not the alternatives
Instead of PointNet
We chose DBSCAN
PointNet needs labelled rubble scans that do not exist yet.
Instead of K-means
We chose fuzzy C-means
Real pieces sit between families, and K-means hides the doubt.
Instead of RL for everything
Hungarian plus a search
Large simulated training, and hard to explain to the engineer who signs.
Instead of FEM for every option
Bar model, then FEM
FEM is certifiable but too slow to screen thousands of options.
Instead of a GNN for everything
GNN only for irregular stones
A learned guess should never be the last word.
Limits
What the algorithms won’t solve
- Certification. Codes have no grade for a used slab, and a photo cannot replace a load test.
- Data. Few labelled scans of rubble exist. We would generate synthetic rubble, as HEAP does with simulated data [3], and add a small labelled set from one real dismantling project.
- Logistics. Careful dismantling costs time and labour that crushing does not. We have no cost figures and make no claim that reuse is cheaper.
- Liability. If a learned model chose the piece, who signs the drawing?
We also did not measure our own workflow. We would track four numbers: reuse rate, embodied carbon against a new-build baseline, design drift from the original brief, and the share of pieces flagged for a person. A higher reuse rate means more design drift and more human checks.
Who decides
Advice only, people decide
The workflow screens options and builds a trusted list of pieces. An engineer still tests, certifies and signs. An open question we would like to debate: should the design adapt to the stock, or should we only reuse what already fits the design?
Team: Jerome Eid, Luis Sebastian Wulf, Bhavini Manot, Sneha Shenoy
Course: AI Theory – MAAI(01), Ana Cocho-Bermejo
Programme: IAAC Master in AI for Architecture and the Built Environment, 2026/27
Sources
- [1] European Commission, Joint Research Centre. Construction and demolition waste, report JRC130992.
- [2] Brütting, J., Senatore, G. and Fivet, C. (2019). Form follows availability: designing structures through reuse. Proceedings of the IASS Symposium “Form and Force”, 7 October 2019. EPFL Infoscience.
- [3] Johns, R. L. et al. (2023). A framework for robotic excavation and dry stone construction using on-site materials. Science Robotics 8(84), eabp9758. doi 10.1126/scirobotics.abp9758. ETH Zurich news release, November 2023.
- [3b] Johns, R. L. et al. (2020). Autonomous dry stone: on-site planning and assembly of stone walls with a robotic excavator. Construction Robotics. doi 10.1007/s41693-020-00037-6.
- [4] AA Design & Make. Wood Chip Barn, Hooke Park (designandmake.aaschool.ac.uk). AA Hooke Park project page.
- [5] Stauffer, N. (2022). Using nature’s structures in wooden buildings. MIT News, 9 March 2022. Desai, I. (2020). Designing structures with tree forks. M.Eng. thesis, MIT (advisor C. Mueller).
Image credits: all diagrams were generated by Group 4 from synthetic data with Python (NumPy, SciPy, scikit-learn and Matplotlib). The numbers are illustrative and are not real site data.