Local models for action selection