Margin-Based Algorithms for Information Filtering