首页 > AI前沿 > Right Domain, Wrong Code: Benchmarking LLMs on Multilingual Hierarchical Code Assignment

Right Domain, Wrong Code: Benchmarking LLMs on Multilingual Hierarchical Code Assignment

arXiv自然语言 2026-11-29 07:31 7 阅读 查看原文
arXiv:2611.39164 (cs)

Title:Right Domain, Wrong Code: Benchmarking LLMs on Multilingual Hierarchical Code Assignment

Authors:Junjie Li, Jun Fang
View PDF HTML (experimental)
Abstract:Can large language models reproduce the fine-grained distinctions of an established coding scheme? We introduce ManifestoBench, a multilingual benchmark derived from the Comparative Manifesto Project (CMP), with 150,000 code-stratified, human-coded quasi-sentences from 513 election manifestos in 48 countries, 32 document languages, and 56 codes nested in seven policy domains. We evaluate eight API models across four families. Four cost-efficient models achieve 21.1-34.3% exact-code accuracy and 38.4-57.0% domain accuracy. On a paired 30,000-instance subset, four stronger models achieve 30.9-48.4% exact-code accuracy and 53.1-65.4% domain accuracy. For the four cost-efficient models, predicting the domain before the code improves exact accuracy by 0.8-8.6 percentage points; supplying the gold domain and restricting the candidate set yields 50.2-55.4% exact accuracy. Reasoning gains vary by model. A training-screened ManifestoBERTa reference reaches 51.9% on a separate paired subset. Taken together, these results show that broad-domain recognition can mask substantial error in the final code. This distinction is especially consequential when the label space is fixed by an external institution: the model must reproduce the scheme as it stands. ManifestoBench therefore releases hierarchy-aware metrics, paired diagnostic conditions, prompts, and reproducible evaluation code.
Comments:
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2611.39164 [cs.CL]
  (or arXiv:2611.39164v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2611.39164

Submission history

From: Junjie Li [view email]
[v1] Sat, 28 Nov 2026 23:31:24 UTC (61 KB)
Full-text links:

Access Paper:

  • View PDF
  • HTML (experimental)
  • TeX Source

Additional Features

Current browse context:

cs.CL
< prev   |   next >
Change to browse by:
cs

References & Citations

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.