Research Papers 论文研究 4h ago Updated 23m ago 更新于 23分钟前 45

FlowNeg: GFlowNet-Guided Diverse Hard Negative Sampling for Knowledge Graph Embedding FlowNeg:基于GFlowNet的多样化硬负采样用于知识图谱嵌入

FlowNeg introduces a context-conditioned hierarchical generative flow network for diverse hard negative sampling in knowledge graph embedding (KGE) The method amortizes reward-proportional sampling without normalizing composite rewards over the full entity set, selecting type then entity hierarchically Terminal reward combines bounded model-based hardness with a training-only structural score for held-out-positive collision over relation-specific type-compatible support FlowNeg outperforms EMU a 提出FlowNeg方法,利用GFlowNet引导知识图谱嵌入中的多样化硬负采样,解决均匀负采样过于简单、硬负采样器易与保留正样本冲突的问题 采用上下文条件分层生成流网络,先选择类型再选择实体,避免对复合奖励在整个实体集上进行归一化 终端奖励结合有界模型硬度与训练专用结构分数,在关系特定类型兼容支持上评估 在5个架构×5个基准的五种子网格实验中,FlowNeg在24/25个单元格中优于EMU和IF-NS,平均MRR提升+0.0172和+0.0160 在FB15k-237/RotatE的15种子对照实验中,FlowNeg达到0.359±0.001 MRR,显著优于EMU的0.346±0.002

58
Hot 热度
72
Quality 质量
65
Impact 影响力

Analysis 深度分析

TL;DR

  • FlowNeg introduces a context-conditioned hierarchical generative flow network for diverse hard negative sampling in knowledge graph embedding (KGE)
  • The method amortizes reward-proportional sampling without normalizing composite rewards over the full entity set, selecting type then entity hierarchically
  • Terminal reward combines bounded model-based hardness with a training-only structural score for held-out-positive collision over relation-specific type-compatible support
  • FlowNeg outperforms EMU and IF-NS across 24 of 25 benchmark cells with average MRR gains of +0.0172 and +0.0160 respectively
  • Controlled experiments on FB15k-237/RotatE show FlowNeg achieves 0.359±0.001 MRR versus 0.346±0.002 for EMU with near-uniform diversity and low collision

Why It Matters

This work addresses a critical bottleneck in knowledge graph embedding: negative sampling quality directly determines whether models learn from informative counterexamples or waste updates on implausible corruptions. By combining GFlowNet's mode-covering generation with structured negative sampling, it offers a principled alternative to both uniform sampling and hard-negative mining approaches that suffer from diversity collapse.

Technical Details

  • Hierarchical generative flow network: Given a positive triple and corruption side, FlowNeg first selects a relation type, then an entity, operating over relation-specific type-compatible support rather than the full entity set
  • Composite terminal reward: Combines bounded model-based hardness with a training-only structural score penalizing held-out-positive collision, avoiding normalization over the entire entity set
  • Trajectory balance specialization: The authors derive the reward formulation and specialize standard trajectory balance, providing multiplicative bounds on how residual imbalance perturbs terminal and mode probability
  • Extensive evaluation: Tested across a five-seed grid spanning five architectures and five benchmarks, with additional 15-seed controlled experiments on FB15k-237/RotatE fixing negative count, diagnostic budget, and compute

Industry Insight

  • The mode-covering approach to negative generation could generalize beyond KGE to other domains where diverse counterexample sampling is critical, such as recommendation systems and anomaly detection
  • The tradeoff between hardness and diversity captured by the composite reward suggests practitioners should avoid purely gradient-based hard negative mining, which risks collision with true positives
  • The bounded reward formulation that avoids full normalization makes this approach computationally scalable to large knowledge graphs where entity sets are massive

TL;DR

  • 提出FlowNeg方法,利用GFlowNet引导知识图谱嵌入中的多样化硬负采样,解决均匀负采样过于简单、硬负采样器易与保留正样本冲突的问题
  • 采用上下文条件分层生成流网络,先选择类型再选择实体,避免对复合奖励在整个实体集上进行归一化
  • 终端奖励结合有界模型硬度与训练专用结构分数,在关系特定类型兼容支持上评估
  • 在5个架构×5个基准的五种子网格实验中,FlowNeg在24/25个单元格中优于EMU和IF-NS,平均MRR提升+0.0172和+0.0160
  • 在FB15k-237/RotatE的15种子对照实验中,FlowNeg达到0.359±0.001 MRR,显著优于EMU的0.346±0.002

为什么值得看

负采样质量直接决定知识图谱嵌入模型能否从信息量丰富的反例中学习,而非浪费更新于不合理的损坏样本。FlowNeg将GFlowNet引入KGE领域,为硬负采样提供了理论保证和多样化生成机制,对提升知识图谱表示学习性能具有实用价值。

技术解析

  • 分层生成架构:给定正三元组和损坏侧,FlowNeg首先选择实体类型,然后在该类型内选择具体实体,实现层次化负样本生成
  • 复合奖励设计:终端奖励由两部分组成——有界模型硬度分数和训练专用结构分数(用于惩罚与保留正样本冲突的负样本),仅在关系特定的类型兼容支持上计算
  • 轨迹平衡推导:基于标准轨迹平衡(trajectory balance)方法推导奖励,并给出残差不平衡对终端和模式概率的乘法扰动上界
  • 多样化保证:通过固定分区实现近均匀多样性,确保负样本覆盖多个模式而非集中在少数实体上
  • 实验验证:在五个基准数据集和五个架构上进行系统性评估,控制负样本数量、诊断预算和计算资源进行对照实验

行业启示

  • 知识图谱嵌入的负采样策略应从"追求 hardest"转向"追求 informative",平衡硬度与多样性是提升模型性能的关键
  • GFlowNet在序列生成任务中的应用可拓展至图结构数据的采样问题,为其他图表示学习方法提供新思路
  • 建议在KGE模型训练中引入结构冲突检测机制,避免硬负采样器过度拟合训练集而损害泛化能力

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Research 科学研究 Embedding Model 嵌入模型 Training 训练