Collective self-defense and collective security both aim to maintain international order, but differ in their approaches. Collective self-defense involves states committing to defend any member that is attacked, based on a formal treaty. It reflects realist theories of states ensuring survival through their own strength and alliances. Collective security involves all states cooperating to provide security against any state that challenges the existing order through force. It is based more on idealist theories of the possibility of peaceful international cooperation. The key differences are that collective security has a broader and less defined scope than self-defense and does not require an actual attack to trigger action.