Representing LLMs in Prompt Semantic Task Space

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kashani, Idan, Mendelson, Avi, Nemcovsky, Yaniv
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914152497283072
author Kashani, Idan
Mendelson, Avi
Nemcovsky, Yaniv
author_facet Kashani, Idan
Mendelson, Avi
Nemcovsky, Yaniv
contents Large language models (LLMs) achieve impressive results over various tasks, and ever-expanding public repositories contain an abundance of pre-trained models. Therefore, identifying the best-performing LLM for a given task is a significant challenge. Previous works have suggested learning LLM representations to address this. However, these approaches present limited scalability and require costly retraining to encompass additional models and datasets. Moreover, the produced representation utilizes distinct spaces that cannot be easily interpreted. This work presents an efficient, training-free approach to representing LLMs as linear operators within the prompts' semantic task space, thus providing a highly interpretable representation of the models' application. Our method utilizes closed-form computation of geometrical properties and ensures exceptional scalability and real-time adaptability to dynamically expanding repositories. We demonstrate our approach on success prediction and model selection tasks, achieving competitive or state-of-the-art results with notable performance in out-of-sample scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2509_22506
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Representing LLMs in Prompt Semantic Task Space
Kashani, Idan
Mendelson, Avi
Nemcovsky, Yaniv
Computation and Language
Machine Learning
68T07, 68T50, 65F20
I.2.7; I.2.6; H.3.3
Large language models (LLMs) achieve impressive results over various tasks, and ever-expanding public repositories contain an abundance of pre-trained models. Therefore, identifying the best-performing LLM for a given task is a significant challenge. Previous works have suggested learning LLM representations to address this. However, these approaches present limited scalability and require costly retraining to encompass additional models and datasets. Moreover, the produced representation utilizes distinct spaces that cannot be easily interpreted. This work presents an efficient, training-free approach to representing LLMs as linear operators within the prompts' semantic task space, thus providing a highly interpretable representation of the models' application. Our method utilizes closed-form computation of geometrical properties and ensures exceptional scalability and real-time adaptability to dynamically expanding repositories. We demonstrate our approach on success prediction and model selection tasks, achieving competitive or state-of-the-art results with notable performance in out-of-sample scenarios.
title Representing LLMs in Prompt Semantic Task Space
topic Computation and Language
Machine Learning
68T07, 68T50, 65F20
I.2.7; I.2.6; H.3.3
url https://arxiv.org/abs/2509.22506