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.1.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.1-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: carlos-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 176bf27f18678a4b758e7285085375bb82e31a831efd9db4ad558cc859c9e856
MD5 9903e647df1f9f7ddd0a737d4bbc5b72
BLAKE2b-256 812dab5a3314bfb7edd3e7ceb5be3c9a748722ddfcdf9c85f0584145784aca35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: carlos-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 323f78f770282529511aa58846716d822ea55669c82c319b5d325415be4492fb
MD5 7fab90a6286de1968ebeb91e6fd868c9
BLAKE2b-256 14dc4e9e86a35b2d29d7338b5d47fca027365a19f386c2d26698b26a04ace715

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