> I've never come across something like this before.
Have a look at Souper. I believe it's got slightly different approach, but the same idea / result. (https://github.com/google/souper)
Actually I'm a bit disappointed that none of the papers references it (did a quick text search only).