当前位置: 首页 > 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

http://www.dtcms.com/a/50725.html

相关文章:

  • ==和===在不同场景下的具体区别是什么?
  • 数据仓库的特点
  • 计算机毕业设计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模型的平台
  • Spring Boot如何利用Twilio Verify 发送验证码短信?
  • 安卓binder驱动内核日志调试打印开放及原理(第一节)
  • 玩转顺序表:用 C 语言实现数据的插入与删除
  • [vue] 缩放比适配问题
  • QT--事件系统
  • 智能合约安全指南 [特殊字符]️
  • 【音视频】封装格式与音视频同步
  • 六、Redis 高级功能详解:BitMap、HyperLogLog、Geo、Stream
  • 《用Python+PyGame开发双人生存游戏!源码解析+完整开发思路分享》
  • 【第13节】C++设计模式(行为模式)-Template(模板)模式