PreferredAI/cornac

A Comparative Framework for Multimodal Recommender Systems

What it solves

Cornac addresses the challenge of building and comparing multimodal recommender systems. It simplifies the process of integrating auxiliary data—such as item descriptions, images, or social network connections—into recommendation models, making it easier for researchers and developers to experiment with and evaluate new algorithms.

How it works

Cornac provides a unified framework where you can load datasets, initialize various recommendation models, and define evaluation metrics in a few lines of Python code. It is designed to be highly compatible with major machine learning libraries like TensorFlow and PyTorch. Beyond training, the framework supports model deployment via a built-in Flask-based web service and allows for efficient retrieval using Approximate Nearest Neighbor (ANN) search integration.

Who it’s for

It is designed for researchers and machine learning engineers who need a reliable, reproducible environment to benchmark recommendation algorithms. It is particularly useful for those working with complex, multimodal data who want to move quickly from experimentation to deployment.

Highlights

  • Recommended by ACM RecSys 2023 for evaluation and reproducibility.
  • Supports a wide range of state-of-the-art models, including collaborative filtering, content-based, and next-item recommendation algorithms.
  • Includes built-in support for A/B testing via the Cornac-AB extension.
  • Integrates with high-performance ANN search libraries like Faiss, Annoy, and ScaNN for scalable production deployment.

Related

  • Project
  • Project
  • Project
  • Project
  • Project