Anderson localization with self-avoiding walk representation