Papers › RepEval: Effective Text Evaluation with LLM Representation

RepEval: Effective Text Evaluation with LLM Representation

30 Apr 2024arXiv:2404.19563archive 2025-07-28

Shuqian Sheng, Yi Xu, Tianhang Zhang, Zanwei Shen, Luoyi Fu, Jiaxin Ding, Lei Zhou, Xiaoying Gan, Xinbing Wang, Chenghu Zhou

The era of Large Language Models (LLMs) raises new demands for automatic evaluation metrics, which should be adaptable to various application scenarios while maintaining low cost and effectiveness. Traditional metrics for automatic text evaluation are often tailored to specific scenarios, while LLM-based evaluation metrics are costly, requiring fine-tuning or rely heavily on the generation capabilities of LLMs. Besides, previous LLM-based metrics ignore the fact that, within the space of LLM representations, there exist direction vectors that indicate the estimation of text quality. To this end, we introduce RepEval, a metric that leverages the projection of LLM representations for evaluation. Through simple prompt modifications, RepEval can easily transition to various tasks, requiring only minimal sample pairs for direction vector construction. Results on fourteen datasets across two evaluation tasks demonstrate the high effectiveness of our method, which exhibits a higher correlation with human judgments than previous methods, even in complex evaluation scenarios involving pair-wise selection under nuanced aspects. Our work underscores the richness of information regarding text quality embedded within LLM representations, offering insights for the development of new metrics.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.19563")

Code

Syntology Ran 18 of 27 code samples harvested from 4 repositories linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 13 ran with no contract checked.

By repository: found in paper text by Syntology: 27 samples from 4 repositories, 18 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

susisheng/repeval officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 18 ran; 2 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · our draft was wrong
13ran
9unverified

Licence: 3 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

swish shikib/usr/transformers/modeling_openai.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0f786c407fb1ee4c · report
add_question maszhongming/UniEval/utils.py found in paper text by Syntology ran MIT (permissive) · 1a5cb15d63f16098 · report
angle_defn shikib/usr/transformers/modeling_ctrl.py found in paper text by Syntology ran Apache-2.0 (permissive) · 671a619bed5669a3 · report
calculate_correlation maszhongming/UniEval/reproduce/correlation.py found in paper text by Syntology ran MIT (permissive) · 31b107371370f1bf · report
convert_to_json maszhongming/UniEval/utils.py found in paper text by Syntology ran MIT (permissive) · 40a6d254f3b50b99 · report
gelu shikib/usr/transformers/modeling_gpt2.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 8d23fbe2b99b840b · report
gelu shikib/usr/transformers/modeling_bert.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · 211753ba29188d4e · report
gelu shikib/usr/transformers/modeling_distilbert.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 69c6d14de8190cfb · report
gelu_new shikib/usr/transformers/modeling_bert.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · 77601724cad03f95 · report
get_unique_value maszhongming/UniEval/reproduce/correlation.py found in paper text by Syntology ran MIT (permissive) · 729c770d517b1bc6 · report
load_data maszhongming/UniEval/pseudo_data_summ.py found in paper text by Syntology ran MIT (permissive) · cdc21dc661030083 · report
load_json maszhongming/UniEval/reproduce/data_utils.py found in paper text by Syntology ran MIT (permissive) · 79ec7dfe27ceef16 · report
load_output maszhongming/UniEval/billboard/evaluate.py found in paper text by Syntology ran MIT (permissive) · 154c40d3e5f52366 · report
load_src maszhongming/UniEval/billboard/evaluate.py found in paper text by Syntology ran MIT (permissive) · 7f6c2b0cc66bbc7c · report
load_tf_weights_in_bert shikib/usr/transformers/modeling_bert.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 0c145728a35789fa · report
positional_encoding shikib/usr/transformers/modeling_ctrl.py found in paper text by Syntology ran Apache-2.0 (permissive) · 59ac77747a12b1cb · report
scaled_dot_product_attention shikib/usr/transformers/modeling_ctrl.py found in paper text by Syntology ran Apache-2.0 (permissive) · 57ebc1447d921c46 · report
tile shikib/usr/transformers/modeling_beam_search.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · a878dc3112f9ce9e · report
BARTScorer neulab/BARTScore/bart_score.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3186cad3f4fa28a4 · report
GPT3Model jinlanfu/GPTScore/score_d2t.py found in paper text by Syntology unverified no licence file found · pointer only · 388a367eded0b858 · report
Scorer jinlanfu/GPTScore/score_d2t.py found in paper text by Syntology unverified no licence file found · pointer only · 70093442b3ee191f · report
disfluency_transformation maszhongming/UniEval/pseudo_data_summ.py found in paper text by Syntology unverified MIT (permissive) · 666cfad4555e9faa · report
gpt3score jinlanfu/GPTScore/score_d2t.py found in paper text by Syntology unverified no licence file found · pointer only · 6b02658358cb6a62 · report
incoherence_transformation maszhongming/UniEval/pseudo_data_summ.py found in paper text by Syntology unverified MIT (permissive) · bb6e70aa3a9fcf4e · report
load_ref maszhongming/UniEval/billboard/evaluate.py found in paper text by Syntology unverified MIT (permissive) · dbd9587f7a986fc3 · report
load_tf_weights_in_gpt2 shikib/usr/transformers/modeling_gpt2.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 654e91efc679fe84 · report
load_tf_weights_in_openai_gpt shikib/usr/transformers/modeling_openai.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 42ee168c3ae12e60 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutGPT-4Label SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections