Most of us set the mobile to auto-update apps while the mobile is in wifi, this is why we see this restarting problem while the mobile is connected to wifi.
Now, to determine which app is causing the problem, just observe the mobile while it updates apps and find out during updation of which app...