your idea is called adversarial networks, and it works quite well (<a href="http:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1406.2661" rel="nofollow">http:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1406.2661</a>) although it&#x27;s not useful every time.