当前位置: 首页 > news >正文

Non-Homophilic Graph Pre-Training and Prompt Learning

Non-Homophilic Graph Pre-Training and Prompt Learning

KDD25

​#paper/⭐#​

目的:对异配图进行prompt

image

方法

邻居节点的综合嵌入

s v = 1 ∣ V ( S v ) ∣ ∑ u ∈ V ( S v ) h u ⋅ s i m ( h u , h v ) , \mathbf{s}_{v}=\frac{1}{|V(S_{v})|}\sum_{u\in V(S_{v})}\mathbf{h}_{u}\cdot\mathrm{sim}(\mathbf{h}_{u},\mathbf{h}_{v}), sv=V(Sv)1uV(Sv)husim(hu,hv),

在实践中,作者使用了2hop来表示邻域信息

邻域信息映射

p t , v = C o n d N e t ( s v ; ϕ t ) \mathbf{p}_{t,v}=\mathrm{CondNet}(s_{v};\phi_{t}) pt,v=CondNet(sv;ϕt),这里,condnet是一层MLP

h ~ t , v = p t , v ⊙ h v , \tilde{\mathbf{h}}_{t,v}=\mathbf{p}_{t,v}\odot\mathbf{h}_{v}, h~t,v=pt,vhv,

与类prototype做prompt

L d o w n ( ϕ t ) = − ∑ ( x i , y i ) ∈ D t ln ⁡ exp ⁡ ( 1 τ sin ⁡ ( h ~ t , x i , h ˉ t , y i ) ) ∑ c ∈ Y exp ⁡ ( 1 τ sin ⁡ ( h ~ t , x i , h ˉ t , c ) ) \mathcal{L}_{\mathrm{down}}(\phi_{t})=-\sum_{(x_{i},y_{i})\in\mathcal{D}_{t}}\ln\frac{\exp\left(\frac{1}{\tau}\sin(\tilde{\mathbf{h}}_{t,x_{i}},\bar{\mathbf{h}}_{t,y_{i}})\right)}{\sum_{c\in Y}\exp\left(\frac{1}{\tau}\sin(\tilde{\mathbf{h}}_{t,x_{i}},\bar{\mathbf{h}}_{t,c})\right)} Ldown(ϕt)=(xi,yi)DtlncYexp(τ1sin(h~t,xi,hˉt,c))exp(τ1sin(h~t,xi,hˉt,yi))

其中, h t , c h_{t,c} ht,c代表属于类C的平均值。

结果:

image

相关文章:

  • ==和===在不同场景下的具体区别是什么?
  • 数据仓库的特点
  • 计算机毕业设计SpringBoot+Vue.js纺织品企业财务管理系统(源码+文档+PPT+讲解)
  • 运维SaltStack面试题及参考答案
  • STM32F103C8T6 基于 TB6612 驱动 12V 编码电机的教程
  • huggingface NLP主要知识点以及超级详解使用
  • c语言(循环(for,while,do while))
  • 基于RAG的法律条文智能助手
  • AI-前端开发webcrumbs.ai/frontend-ai,Fitten Code提高开发效率
  • 搭建一个简单的node服务,模拟后端接口
  • Netty笔记4:Epoll
  • 如何用脚本启动一个cmd命令行控制台窗口,并且执行命令 ; cmd /k /c /s 笔记250303
  • Spring Boot集成Minio笔记
  • Vue3 Teleport原理与实战指南:突破组件层级限制的传送门
  • 《OpenCV》——dlib(人脸应用实例)
  • Franka机器人FR3快速安装指南
  • shell逐行读取文件 远程操作服务器
  • AI绘画软件Stable Diffusion详解教程(6):文生图、提示词细说与绘图案例
  • 张驰咨询:用六西格玛重构动力电池行业的BOM成本逻辑
  • 国内支持Stable Diffusion模型的平台
  • 广州荔湾网站建设/搜索词
  • wordpress 邮件内容/安徽网站关键字优化
  • 网站的push运营怎么做/需要推广的app在哪里找
  • 叫什么公子的网站做ppt的/平台推广费用
  • 企业网站建设的基本原则/最佳的资源搜索引擎
  • 模仿大型门户网站做ppt/怎么营销推广