时序知识图谱补全(TKGC)是一项关键任务,涉及在已知时间戳上进行推理,以补全事实中缺失的部分,近年来受到越来越多的关注。现有方法大多侧重于基于图神经网络学习表示,但在从时间戳中提取信息方面不够准确,也未能充分利用关系中隐含的信息。为解决这些问题,我们提出了一种新颖的 TKGC 模型,即用于 TKGC 的带提示预训练语言模型(Pre-trained Language Model with Prompts for TKGC,PPT)。我们将一系列采样得到的四元组转换为预训练语言模型的输入,并将时间戳之间的间隔转换为不同的提示,以构成具有隐式语义信息的连贯句子。我们采用掩码策略训练模型,将 TKGC 任务转换为掩码词元预测任务,从而利用预训练语言模型中的语义信息。在三个基准数据集上的实验和大量分析表明,在四项指标上,我们的模型相较其他模型具有很强的竞争力。我们的模型能够有效地将时序知识图谱中的信息融入语言模型。
英文摘要:
Temporal Knowledge graph completion (TKGC) is a crucial task that involves reasoning at known timestamps to complete the missing part of facts and has attracted more and more attention in recent years. Most existing methods focus on learning representations based on graph neural networks while inaccurately extracting information from timestamps and insufficiently utilizing the implied information in relations. To address these problems, we propose a novel TKGC model, namely Pre-trained Language Model with Prompts for TKGC (PPT). We convert a series of sampled quadruples into pre-trained language model inputs and convert intervals between timestamps into different prompts to make coherent sentences with implicit semantic information. We train our model with a masking strategy to convert TKGC task into a masked token prediction task, which can leverage the semantic information in pre-trained language models. Experiments on three benchmark datasets and extensive analysis demonstrate that our model has great competitiveness compared to other models with four metrics. Our model can effectively incorporate information from temporal knowledge graphs into the language models.
Debiased Large Language Models Still Associate Muslims with Uniquely Violent Acts
Beckman Institute for Advanced Science and Technology, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校贝克曼高级科学技术研究所);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Prompting Disentangled Embeddings for Knowledge Graph Completion with Pre-trained Language Model
Powerchina Huadong Engineering Corporation Limited(中国电力建设集团华东勘测设计研究院有限公司);School of Computer Science, Hangzhou Dianzi University(杭州电子科技大学计算机学院);The University of Manchester(曼彻斯特大学);Zhejiang University(浙江大学);The University of Edinburgh(爱丁堡大学)
Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);The University of Sydney(悉尼大学);University of California, Irvine(加州大学欧文分校);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation
PRISM AI(PRISM人工智能公司);Harmony Intelligence(和谐智能公司);Leap Laboratories(leap实验室);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);ETH AI Center, ETH Zurich(苏黎世联邦理工学院人工智能中心)
Context-aware Inductive Knowledge Graph Completion with Latent Type Constraints and Subgraph Reasoning
The Chinese University of Hong Kong(香港中文大学);International Digital Economy Academy(国际数字经济研究院);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));University of Cambridge(剑桥大学)
PCToolkit: A Unified Plug-and-Play Prompt Compression Toolkit of Large Language Models
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));South China University of Technology(华南理工大学);Singapore Management University(新加坡管理大学)
Making Large Language Models Perform Better in Knowledge Graph Completion
Zhejiang University(浙江大学);Zhejiang University-Ant Group Joint Laboratory of Knowledge Graph(浙江大学-蚂蚁集团知识图谱联合实验室);Alibaba-Zhejiang University Joint Institute of Frontier Technology(阿里巴巴-浙江大学前沿技术联合研究院)
GLTW: Joint Improved Graph Transformer and LLM via Three-Word Language for Knowledge Graph Completion
Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Institute for AI, Tsinghua University(清华大学人工智能研究院);Tencent Robotics X(腾讯机器人X);Jiangsu Collaborative Innovation Center for Language Ability(江苏省语言能力协同创新中心)
Bidirectional Language Models Are Also Few-shot Learners
University of Pennsylvania(宾夕法尼亚大学);Microsoft(微软);Google Research(谷歌研究院);UNC Chapel Hill(北卡罗来纳大学教堂山分校)
大语言模型,例如GPT-3(Brown等人,2020)可以执行任意任务,而无需在仅使用几个标记示例进行提示后进行微调。一个任意的任务可以被重新表述为一个自然语言提示,一个语言模型可以被要求生成完成,间接地执行任务的范式称为基于语义的学习。到目前为止,基于突现的学习能力主要是针对单向语言模型来证明的。然而,在去噪目标上预训练的双向语言模型(例如掩蔽语言建模)为迁移学习产生更强的学习表示。这激发了促进双向模式的可能性,但它们的预培训目标使它们在很大程度上与现有的激励范式不相容。我们提出了SAP(顺序自回归拟合),一种技术,使双向模型的提示。利用机器翻译任务作为案例研究,我们提出了双向mT5模型(Xue et al.,2021)与SAP进行比较,并证明其Few-Shot和zero-shot转换优于单向模型(如GPT-3和XGLM)的Few-Shot转换(Lin et al.,2021),尽管mT5的参数减少了约50%。我们进一步表明SAP在问答和摘要方面是有效的。这是第一次,我们的研究结果表明,基于语义的学习是一个更广泛的一类语言模型,而不仅仅是单向模型的新兴属性。
CodeMixBench: Evaluating Large Language Models on Code Generation with Code-Mixed Prompts
Department of Computer Science(计算机科学系);Chandigarh University Punjab(昌迪加尔大学旁遮普);Department of Technology Management and Innovation(技术管理与创新系);New York University(纽约大学)