What is the simplest way to remove objects from a group inside of an Animation Nodes Node tree?
There is a node called Object Group Operations. It can link/unlink objects from Object Groups. By using this in a loop you can link them all to the group.

There is no node to remove all objects from a group.