Maximal Marginal Relevance (MMR) is a ranking algorithm used in information retrieval and search systems to select a subset of items that are both highly relevant to a query and maximally diverse from one another. It formalizes the trade-off between relevance and novelty by iteratively choosing the document that maximizes a weighted combination of its similarity to the query and its dissimilarity to documents already selected. This process directly combats redundancy, ensuring the final result set covers distinct aspects of the information need.
