Skip to main content

GPU-based indexing and retrieval pipeline for LoRAs

Project description

CARLoS: Retrieval via Concise Assessment Representation of LoRAs at Scale

Authors: Shahar Sarfaty, Adi Haviv, Uri Y. Hacohen, Niva Elkin-Koren, Roi Livni, Amit H. Bermano

arXiv Website


🚧 Code Release Status

The code for this project is currently being organized and cleaned up. We are planning to release the source code and data soon.

Please Star ⭐ and Watch 👁️ this repository to receive a notification when the code is released.


Abstract

The rapid proliferation of generative components, such as LoRAs, has created a vast but unstructured ecosystem. Existing discovery methods depend on unreliable user descriptions or biased popularity metrics, hindering usability. We present CARLoS, a large-scale framework for characterizing LoRAs without requiring additional metadata. Analyzing over 650 LoRAs, we employ them in image generation over a variety of prompts and seeds, as a credible way to assess their behavior. Using CLIP embeddings and their difference to a base-model generation, we concisely define a three-part representation: Directions, defining semantic shift; Strength, quantifying the significance of the effect; and Consistency, quantifying how stable the effect is. Using these representations, we develop an efficient retrieval framework that semantically matches textual queries to relevant LoRAs while filtering overly strong or unstable ones, outperforming textual baselines in automated and human evaluations. While retrieval is our primary focus, the same representation also supports analyses linking Strength and Consistency to legal notions of substantiality and volition, key considerations in copyright, positioning CARLoS as a practical system with broader relevance for LoRA analysis.

Citation

If you find our work helpful, please cite it as:

@misc{sarfaty2025carlosretrievalconciseassessment,
      title={CARLoS: Retrieval via Concise Assessment Representation of LoRAs at Scale}, 
      author={Shahar Sarfaty and Adi Haviv and Uri Hacohen and Niva Elkin-Koren and Roi Livni and Amit H. Bermano},
      year={2025},
      eprint={2512.08826},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2512.08826}, 
    }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

carlos-0.0.2.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

carlos-0.0.2-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file carlos-0.0.2.tar.gz.

File metadata

  • Download URL: carlos-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.16

File hashes

Hashes for carlos-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5adaaf03ddd6f2e6d65b79c0da6c5e9368ba45d7ba2de98f83f18263bb183b11
MD5 647a7cda650152de6e44756c5000774c
BLAKE2b-256 ccc99d125b0883c90b3879769dbbdcffc9e407ec2887e9fb19a21e9287ab5a21

See more details on using hashes here.

File details

Details for the file carlos-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: carlos-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.16

File hashes

Hashes for carlos-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 03bb541266484684020bb58e14337f14c0bf4ef34709d8eec35f56f2980e690f
MD5 f5ffbc262543c37dc022756d7a087817
BLAKE2b-256 0d46a219dcbc02b2a98cc148fafa92ba6e16f5097553c84096d65fb10e92a259

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page