hinglish-relatedness-benchmark
收藏资源简介:
Hinglish相关性基准是一个实用、可复现、由AI生成的罗马化印地语-英语(Hinglish)语义相关性评估基准,旨在填补公开的罗马化Hinglish语义相关性基准的空白。数据集核心包含34个“秘密词”,覆盖自然、情感、抽象、物体、地点、食物、亲属关系7个领域。每个秘密词配有一套分层(近/中/远)的关联词,并标注了预期的相关性等级。数据以JSON文件形式组织,包括罗马化Hinglish版本、平行英语版本、跨语言翻译一致性配对,以及按领域分层的开发集/测试集划分。该基准主要用于评估模型在句子相似性任务上的性能,定义了两种核心指标:主要指标通过Spearman秩相关性评估语义排名质量,次要指标通过检查跨语言一致性评估翻译质量。基准提供了参考模型的性能基线,并强调内容由AI生成,经过自动化清洗,遵循CC-BY-4.0许可证。
Hinglish Relatedness Benchmark is a practical, reproducible AI-generated Romanized Hinglish-English semantic relatedness evaluation benchmark. This benchmark aims to fill the gap in publicly available Romanized Hinglish semantic relatedness benchmarks. The core of the dataset includes 34 "secret words", covering 7 domains: natural, emotional, abstract, object, location, food, and kinship. Each "secret word" is paired with a set of hierarchical (close/medium/distant) related words, with expected relevance levels annotated. Parallel English versions and cross-language (Hindi-English) translation consistency pairs are provided to evaluate the multilingual consistency of models. The data is organized in JSON files: `dim1_hien.json` (302 records) contains Romanized Hinglish secret words and their hierarchical related words; `dim1_en.json` (303 records) is the corresponding parallel English version; `dim2_pairs.json` (34 records) contains cross-language consistency evaluation pairs; `public_benchmark_split.json` provides domain-stratified development/test set splits (17 secret word sets, seed 42). Each entry in `dim1_*` includes fields such as secret word, related words, hierarchy level, expected relevance score, subtype, and notes. This benchmark is primarily used to evaluate model performance on sentence similarity tasks, defining two core metrics: The primary metric (dim1) evaluates semantic ranking quality by calculating the Spearman's rank correlation between the model's embedding rankings and the expected association hierarchy (close/medium/distant); The secondary metric (dim2) evaluates cross-language consistency by checking whether the correct English translation of the secret word falls within the expected relevance level. A performance baseline (dim1 Spearman correlation of 0.657) from the reference model (`gauravgandhi2411/hinglish-relatedness-sbert`) is provided. It should be particularly noted that the content of this benchmark is primarily AI-authored, rather than independently annotated by humans or experts. Its generation process is methodologically rigorous and transparent: close and medium-level related words are generated by AI programming assistants, while distant-level words are obtained via random sampling, and undergo two rounds of automated cleaning and review: string collision and semantic proximity. All obstructive collisions have been removed prior to benchmark release. The dataset is released under the CC-BY-4.0 license.
Hinglish Relatedness Benchmark 数据集详情
数据集概述
Hinglish Relatedness Benchmark 是一个 AI 生成 的罗马化印地语-英语(Latin-script Hindi-English)语义相关性基准测试集,包含 34 个保密词(secret words),覆盖 7 个领域(自然、情感、抽象、物体、地点、食物、亲属关系),每个词配有分层级的近/中/远关联词,并带有预期的相关性区间标注。同时提供平行的英语版本和跨语言翻译一致性配对。
注意:该数据集并非经过同行评审的金标准,而是 AI 主导生成的方法透明的小型基准测试集。
文件构成
| 文件 | 记录数 | 用途 |
|---|---|---|
dim1_hien.json |
302 | 主指标:罗马化印地语保密词 -> 近/中/远分层关联词,包含英语侧关联词及翻译标签 |
dim1_en.json |
303 | 与上述相同的 34 个保密词/层级的平行英语版本 |
dim2_pairs.json |
34 | 次指标:跨语言(印地语-英语保密词,英文翻译)一致性配对 |
public_benchmark_split.json |
— | 按领域分层的开发/测试集划分(17/17),种子=42,用于检查点选择 |
每个 dim1_* 记录包含:{secret, word, tier (near/mid/far), expected_bands, subtype, note}。
每个 dim2_pairs 记录包含:{hien_secret, en_gloss, domain}。
数据来源声明
- 近/中层级关联词:由 AI 编码助手(Claude, Anthropic)以代码形式手动编写,由项目所有者抽查(如同形冲突审计),未经独立人类语言学家逐词重新标注。
- 远层级填充词:通过哈希种子随机数生成器从项目自有词汇中机械采样,未经人工策划,其唯一特性是“不是近/中”。
- 安全审查和语义邻近审查:由 AI 编码助手子代理自动执行字符串冲突审查和语义邻近扫描(基于嵌入排序),修复了 17 个真实字符串冲突和 20 个语义近似问题。
请勿将该数据集描述为“人工标注”或“专家标注”。
归属
- 基础罗马化印地语词汇资源基于 AI4Bharat 的 Aksharantar 和 IndicCorp v2(CC0)。
- 参考微调模型
gauravgandhi2411/hinglish-relatedness-sbert基于 L3Cube 的indic-sentence-bert-nli。
许可协议:CC-BY-4.0。
主指标:dim1(语义排序质量)
- 指标:预期相关性层级(近/中/远)与模型实际嵌入排序之间的 Spearman 秩相关,按保密词聚合。
- 开发/测试集划分(17/17,按领域分层,种子=42)解决了先前小型保留集的问题(开发-测试 Pearson 相关系数仅约 0.12),当前划分的 Pearson r = 0.920(n=8 个模型)。
- 参考模型
gauravgandhi2411/hinglish-relatedness-sbert的 dim1 Spearman 值:0.657 [95% CI 0.569, 0.736](完整 34 词集;开发集 0.671,测试集 0.642——置信区间重叠,跨划分稳定)。
次指标:dim2(跨语言一致性)
- 指标:保密词的正确英语翻译是否落在预期的相关性区间内。
- 该指标跨领域稳定性明显低于 dim1,且在某些特定聚类中退化。
领域失败率(32 个信息性配对,每领域 n=3-5)
| 领域 | 失败率 |
|---|---|
| 情感 | 2/5 (40%) |
| 自然 | 2/5 (40%) |
| 亲属关系 | 1/4 (25%) |
| 地点 | 1/5 (20%) |
| 物体 | 1/5 (20%) |
| 食物 | 0/3 (0%) |
| 抽象 | 0/5 (0%) |
- 失败集中在情感和自然领域(各 40%)。 食物的表面问题完全是标注伪影(2 个退化配对 + 1 个不良词义),修正后为 0/3。
- 物体、地点和亲属关系各有一个真实失败(chaabi/key, dehat/countryside, bhanja/nephew)。
- 总体通过率:0.706 [0.559, 0.853]。
情感/自然领域失败根本原因
- 失败词的最近嵌入邻居被共享偶然子词片段的无关英语词主导(如
junoon相邻afternoon/noon/june;registan相邻register/registry/registration)。 - 这不是音译错误,而是基础模型英语主导的子词分词器将短/少见的罗马化标记分割成与常见英语语素冲突的片段。
注意:该基准有意测量原始、未包装的模型输出,以便保持公平、稳定的模型比较尺度。
安全审查通知
每个保密词和关联词均经过双重检查:(1)字符串/形态冲突;(2)嵌入排序语义邻近。发布文件中不存在任何阻塞冲突。共计进行了 37 次词汇替换(两次审查通道)。
可重复性
完整方法论、所有中间数据、词汇替换历史和审查校准分析均可在源仓库中找到:public_benchmark_phase1_report.md 位于 gauravgandhi2411/mindmeld 仓库的 generator/evals/finetune/data/ 目录。分割种子为 42。
更新日志
- v1.1(当前版本):修正了
besan的英文词义从 "gram"(歧义,在该语料库中读作“村庄”/gram-panchayat)改为 "flour"(验证无歧义),并修正了其近层级关联词从 "legume" 改为 "wheat"。改变了 dim2 领域依赖表(食物失败率从 33% 修正为 0%),开发-测试 Pearson r 从 0.894 提升至 0.920。所有 8 个模型检查点重新解析,两次审查重新运行通过。其他保密词内容未变。 - v1.0:初始发布。34 个保密词,7 个领域,包含 dim1 主指标和 dim2 次指标,20 次针对性词汇替换用于语义邻近优化(基于 17 个字符串冲突修复)。最初包含一个未经修正的领域表,错误地夸大了食物的失败率(60%),当天已修正。





