Large language models (LLMs) are increasingly used throughout e-commerce workflows to generate content that informs purchasing decisions and supports customer interactions. Evaluating these systems requires accounting for user needs, product evidence, structural constraints, and business requirements that are not fully captured by general-purpose writing benchmarks. We introduce EcomWriteBench, a real-world benchmark containing 3,861 queries from 69 e-commerce writing tasks across 13 categories and five languages. Through task-level extraction, cross-task consolidation, and refinement guided by human feedback, EcomWriteBench constructs a shared pool of 37 abilities and identifies the subset applicable to each task. Ability-wise scoring enables us to compare state-of-the-art LLMs on EcomWriteBench and characterize their relative strengths and weaknesses across fine-grained e-commerce writing abilities. We further propose a preference-calibrated weight-learning framework that converts human pairwise preferences into interpretable scoring rubrics through global, category-level, and task-level aggregation weights. This framework provides a reusable approach for translating human preferences into automated evaluation by combining ability discovery, ability-wise scoring, and preference-calibrated aggregation, and can potentially be applied to a broad range of benchmarks beyond EcomWriteBench. On held-out queries, our scoring framework achieves 88.96% agreement with human preferences, compared with 78.54% for conventional LLM-as-a-judge scoring.
Figures & tables
Figure 1: Overview of EcomWriteBench. The framework combines benchmark construction from real-world retail tasks, iterative ability discovery, and scoring weights calibrated from human pairwise preferences. The illustrative evaluation example shows how these weights aggregate fine-grained ability scores to match human preference despite competing strengths across abilities.
Figure 2: Overview of the EcomWriteBench task and ability composition. Left: distribution of the 3,861 benchmark queries across 13 task categories and 69 individual tasks, where the inner ring shows category-level composition and the outer ring shows the corresponding tasks. Right: composition and task coverage of the 37-ability evaluation pool obtained through task-level extraction, cross-task consolidation, and refinement guided by human feedback. The abilities are grouped into six families for visualization, and each ability is annotated with the number of benchmark tasks in which it is used.
Figure 3: Category-level preference-calibrated rubric weights aggregated over the six ability families. Each row is normalized to sum to one. Darker cells indicate larger relative weights.
Method
Agreement ↑
Gain ↑
Conventional LLM-as-a-judge
0.7854
+10.42 pt
Uniform ability aggregation
0.8252
+6.44 pt
AutoMetrics
0.7406
+14.90 pt
MetaMetrics
0.7558
+13.38 pt
HD-Eval
0.8241
+6.55 pt
LLM-Rubric
0.8634
+2.62 pt
Table 1: Held-out agreement with human preferences on observed tasks, using five-fold cross-validation with queries held out within each task. Gain denotes the improvement of EcomWriteBench over each baseline in percentage points.
Table 5
Overall (0–10)
Ability-family score (0–10)
Model
Reasoning
Score
95% CI
Struct.
Fidelity
Logic
Content
Style
Safety
GPT-5.6-Sol
max
9.581
[9.499, 9.660]
9.64
9.70
9.33
9.30
9.33
9.84
Gemini-3.1-Pro †
high
9.577
[9.500, 9.653]
9.67
9.55
9.14
9.33
9.53
9.61
GLM-5.3
max
9.539
[9.454, 9.624]
9.24
9.47
9.25
9.56
9.55
9.70
Kimi-K3
max
9.535
[9.463, 9.608]
9.21
9.50
9.22
9.55
9.47
9.72
Claude-Opus-4.8
max
9.414
[9.327, 9.503]
9.05
9.31
9.04
9.38
9.48
9.72
Table 4: Overall EcomWriteBench performance and ability-family scores of the 15 model configurations included in the comparison. Both overall and family scores are reported on the 0–10 scale. Overall scores use the preference-calibrated rubric, whereas family scores are unweighted means of the corresponding raw ability evaluations. Bold indicates the best result among models not used as judges; † marks the three judge configurations. The 95% confidence intervals of the overall scores are obtained by resampling the 69 tasks with replacement 20,000 times.
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Token-length distribution of the 3,861 multilingual EcomWriteBench queries. The left panel shows the distribution up to 12K tokens and its cumulative proportion; the right panel shows the 70 longer queries. Approximate P50/P90/P95/P99 lengths are 2.6K/7.0K/8.6K/19.1K tokens.
Ability
Definition
Family
Length / Character-Count Constraint
The output satisfies all specified character- or sentence-count constraints, including bounds on individual fields when required. Character, sentence, and item counts are evaluated separately according to the task specification.
Structural & Format
Item-Count Cardinality
The number of discrete output elements, such as list items, array entries, or enumerated points, satisfies every specified minimum, maximum, or exact-count constraint, including constraints on nested collections.
Structural & Format
Uniform Partition / Quota Balance
When output items must be distributed across predefined groups according to a specified quota or ratio, each group receives the required share without missing, over-filled, or under-filled groups.
Structural & Format
JSON Well-Formedness
When JSON output is required, the response contains a single valid and directly parseable JSON value and follows the wrapper policy specified by the task. Extra prose, multiple concatenated values, or malformed JSON are violations. Required keys and value types are evaluated separately under Schema Key Completeness.
Structural & Format
Schema Key Completeness
The output contains all required keys with the specified names and value shapes, without missing mandatory fields or introducing unsupported ones. This ability evaluates schema completeness independently of JSON parseability and semantic correctness.
Structural & Format
Allowed-Set Membership
Values governed by an explicit allowed or forbidden set satisfy the corresponding membership constraint, including enums, whitelists, candidate sets, and denylists. Unsupported content without an explicitly defined set is evaluated under Evidence Grounding.
Figure 5: Fine-grained EcomWriteBench ability profiles of the 15 model configurations in Table 4 . Rows correspond to models, ordered by their overall EcomWriteBench scores, and columns correspond to the 37 abilities grouped into the six functional families defined in Section 3.2 . Each cell reports the mean raw ability score over applicable queries on the 0–10 scale, using three-judge means for LLM-scored abilities and deterministic scores for code-checked abilities. The final column in each family group reports its pooled family mean. Bold values denote the best result among models not used as judges in each column. † marks Gemini-3.1-Pro, Gemma-4-31B with reasoning, and Qwen3.6-35B-A3B with reasoning, which also serve as LLM judges and are shown as references.
Model
Reasoning
Overall
Chinese
English
German
French
Dutch
GPT-5.6-Sol
max
9.581
9.689 ± 0.073
9.638 ± 0.087
9.567 ± 0.091
9.516 ± 0.098
9.496 ± 0.106
Gemini-3.1-Pro †
high
9.577
9.683 ± 0.072
9.625 ± 0.087
9.572 ± 0.086
9.529 ± 0.091
9.475 ± 0.091
GLM-5.3
max
9.539
9.711 ± 0.067
9.630 ± 0.083
9.508 ± 0.113
9.455 ± 0.101
9.393 ± 0.106
Kimi-K3
max
9.535
9.621 ± 0.075
9.603 ± 0.082
9.497 ± 0.084
9.520 ± 0.079
9.436 ± 0.092
Claude-Opus-4.8
max
9.414
9.587 ± 0.073
9.478 ± 0.091
9.367 ± 0.108
9.359 ± 0.100
9.276 ± 0.113
Gemma-4-31B †
enabled
9.379
9.583 ± 0.078
9.421 ± 0.099
9.360 ± 0.112
9.292 ± 0.110
9.240 ± 0.126
Appendix
Table 6: Overall scores (0–10) by query language. Each language score is followed by the half-width of its 95% confidence interval, obtained by resampling the 69 tasks with replacement 20,000 times. Bold indicates the best result among models not used as judges; † marks the three judge configurations.
Figure 6: Full task-specific preference-calibrated rubric weights. Rows correspond to benchmark tasks and columns to the 37 abilities, grouped into six ability families. Task names are replaced with coarse public descriptions; repeated task types are numbered. Darker cells indicate larger normalized weights. Blank cells denote abilities that are not applicable to the corresponding task.
Category
Leading family
Share [95% CI]
Same family
Personalized discovery feed
Structural
0.396 [0.322, 0.451]
99%
Food delivery recommendations
Structural
0.421 [0.330, 0.509]
98%
Customer service assistance
Content
0.417 [0.283, 0.531]
96%
Product content authoring
Content
0.410 [0.244, 0.499]
93%
Repurchase and restock
Style
0.555 [0.133, 0.635]
84%
User reviews
Style
0.632 [0.000, 0.730]
51%
Appendix
Table 7: Stability of the leading ability family in category-level weights under resampling of queries.
Preference target
Objective
Agreement
Strict
L2
0.8515
Strict
L1
0.8519
Majority
L2
0.7523
Majority
L1
0.7508
Appendix
Table 8: Pairwise agreement of global aggregation weights under different preference targets and optimization objectives.
Pairs
Conventional
Uniform
Global
Category
Task
Majority set
0.6922
0.7271
0.7511
0.7628
0.7731
Appendix
Table 9: Agreement with the majority preference on held-out queries, using weights fitted on strict pairs only.
Method
Difference
Bradley–Terry
AutoMetrics †
0.7401
0.7406
MetaMetrics
0.7558
0.7532
HD-Eval †
0.8241
0.8237
LLM-Rubric
0.8634
0.8370
Appendix
Table 10: Held-out agreement of the reproduced methods under the two forms of supervision. † Cross-validated on the queries not used for preparation.
Source
Aggregator
Difference
Bradley–Terry
LLM-Rubric
Calibration network
0.8691
0.8447
MetaMetrics
XGBoost
0.8630
0.8646
MetaMetrics
Gaussian-process optimization
0.8606
0.8625
AutoMetrics
Partial least squares
0.8587
0.8644
HD-Eval
Linear regression
0.8537
0.8624
HD-Eval
Random forest
0.8573
0.8616
Appendix
Table 11: Held-out agreement when all aggregators use the three-judge ability scores as features. Each cell is the best configuration (per-task or shared, with or without pruning) under that form of supervision.
EcomWriteBench
LLM-Rubric
MetaMetrics
HD-Eval
AutoMetrics
Native supervision
Pairwise preferences
Per-annotator ratings
Scalar ratings or pairwise
Scalar ratings
Scalar ratings
Token log-probabilities
Not needed
Needed
Not needed
Not needed
Not needed
Features shared across tasks
Yes
No
Yes
No
No
Preparation for each task
Ability selection
1 LLM call
None
1,370 LLM calls
1,341 LLM calls
Learned aggregation
Non-negative weights
Neural network
Linear weights or trees
White-box model
Sparse linear model
Appendix
Table 12: Requirements and cross-task sharing of the compared methods.
Figure 7: Sensitivity of weight learning to the hierarchical shrinkage coefficients λ and μ and the ranking margin m . Panel (a) reports held-out pairwise agreement over the full 8×8λ – μ grid. Panels (b) and (c) vary one shrinkage coefficient while fixing the other at its selected value. Panel (d) varies the ranking margin m with an auxiliary coefficient-share cap ρ=0.5 . The value 106 is displayed as ∞ .
Retained queries
Pairs per task
Global
Independent
Hierarchical
Selected (λ,μ)
5%
11
0.8345
0.7845
0.8404
(3,3)
10%
21
0.8450
0.8041
0.8536
(1,1)
25%
52
0.8511
0.8400
0.8662
(3,1)
50%
105
0.8506
0.8599
0.8726
(1,0.3)
Appendix
Table 13: Held-out agreement when only a fraction of the training queries of each task is retained, averaged over three random subsamples. Independent fits each task without a parent; Hierarchical uses the selected sharing coefficients.
Judge pair
MAD
Within-1
Spearman
Weighted κ
Gemini–Gemma
0.75
86.9%
0.65
0.63
Qwen–Gemma
0.80
85.9%
0.53
0.56
Qwen–Gemini
1.08
82.1%
0.49
0.51
Appendix
Table 14: Pairwise agreement between ability-scoring judges. MAD denotes mean absolute difference, and Within-1 denotes the fraction of scores differing by at most one point.
Judge
Conventional
Uniform
Global
Category
Task
Gemini-3.1-Pro
0.7168
0.7546
0.7949
0.8134
0.8306
Qwen3.6-35B-A3B
0.6750
0.7329
0.7784
0.8010
0.8196
Gemma-4-31B
0.6523
0.7435
0.7789
0.7924
0.8058
Appendix
Table 15: Agreement with human preferences when the ability scores come from a single judge.
As LLM-based shopping agents enter production, existing benchmarks fail to capture how a shopper's requirements arrive: stated implicitly in the query, recorded in a profile, or revealed only when the right question is asked. Benchmarks that expose full intent upfront and grade only the final choice can neither pose this long-horizon challenge nor explain which requirement an agent missed. To address this gap, we introduce EComAgentBench, a benchmark of 662 tasks grounded in real Amazon products and reviews. Each task scatters these requirements across a visible query, a tool-gated profile, and scripted clarification; an agent must uncover hidden intent, verify candidates against attributes and review evidence, and commit to a single product within 100 tool calls. Moreover, typed, source-tagged rubrics grade every task, attributing each failure to a requirement and its source. Construction is automated yet reliable, with every answer fixed in code before any text is generated and every sample validated. Our evaluation of seven models reveals that even the strongest attains only 57.1% overall accuracy, and rubric satisfaction degrades from visible to hidden sources. Overall, we believe EComAgentBench will serve as a reproducible foundation for moving shopping agents from single-query search toward dependable assistance over long horizons.
Evaluating the writing capabilities of large language models (LLMs) remains a significant challenge due to the multidimensional nature of writing skills and the limitations of existing metrics. LLM's performance in thousand-words level and open-ended writing is inadequately assessed by traditional reference-based metrics or modern LLM-as-a-judge methods. We propose Tree-of-Writing (ToW), to resolve the implicit inconsistency often found when LLM-as-a-judge aggregates all sub-features in text evaluation. ToW incorporates a tree-structured workflow by explicitly modeling the aggregation weights of sub-features. We also present HowToBench, a large-scale Chinese writing benchmark encompassing 12 genres and 1302 instructions across three task categories: contextual completion, outline-guided writing, and open-ended generation. ToW successfully mitigates the biases, achieving a 0.93 Pearson correlation with human judgments. Furthermore, we detect that both overlap-based text generation metrics and popular LLM-as-a-judge practices are vulnerable to textual disturbances, while ToW is robust to them. We also uncover a negative correlation between input length and content-related scores in the Guide task, showcasing that it cannot be simply improved by input-side information piling.
Andrew Zhuoer Feng, Cunxiang Wang, Yu Luo +7
Department of Computer Science and Technology, Tsinghua University
Large language model agents are increasingly evaluated as autonomous tool users, yet most benchmarks focus on bounded tasks with immediate success criteria. Real-world deployments often require Long-Term Coherence, the capacity to preserve purposeful behavior across extended horizons while adapting decisions to accumulated evidence. Evaluating this capacity requires a persistent environment in which actions constrain future choices, feedback arrives at heterogeneous delays, and incoherent behavior produces measurable cumulative effects. Seller-side e-commerce provides a suitable setting for this evaluation through recurrent and interdependent decisions over Product Sourcing, Listing and Pricing Control, Cash-Flow Management, and Mixed-Latency Feedback Adaptation. We introduce MerchantBench, a 365-day order-level simulation grounded in 98,843 real e-commerce product records and equipped with 26 tools for agent interaction. MerchantBench couples promptly observable Upstream Supplier Events with delayed Downstream Order Outcomes, requiring agents to follow individual order lifecycles and revisit earlier decisions. We evaluate eight LLMs under two agent frameworks in 48 runs, each spanning 365 simulated days. Our results reveal a substantial gap between even the latest LLMs and human participants, with the best LLM configuration attaining only 27.3% of the mean final net assets achieved by human participants.
Qiming Shi, Yulong Tao, Linbo Jin +10
2State Key Lab of CAD&CG, Zhejiang University · 1Alibaba Group · School of Software and Microelectronics, Peking University +2