Learning Action Selection Strategies in Complex Social Systems