Large language models (LLMs) are becoming increasingly important for machine learning applications. However, it can be challenging to align LLMs with our intent, particularly when we want to generate content that is preferable over others or when we want the LLM to respond in a certain style or tone that is hard to describe. To address this challenge, we propose an approach that uses contrastive examples to better describe our intent. This involves providing positive examples that illustrate the true intent, along with negative examples that show what characteristics we want LLMs to avoid. The negative examples can be retrieved from labeled data, written by a human, or generated by the LLM itself. Before generating an answer, we ask the model to analyze the examples to teach itself what to avoid. This reasoning step provides the model with the appropriate articulation of the user's need and guides it towards generting a better answer. We tested our approach on both synthesized and real-world datasets, including StackExchange and Reddit, and found that it significantly improves performance compared to standard few-shot prompting
TutorLLM: Customizing Learning Recommendations with Knowledge Tracing and Retrieval-Augmented Generation
University of Southampton(索姆塞特大学);Durham University(杜 ham 大学);Japan Advanced Institute of Science and Technology(日本先进科学和技术研究院);Newcastle University(新卡斯尔大学)
Data to Defense: The Role of Curation in Customizing LLMs Against Jailbreaking Attacks
Stony Brook University(石溪大学);Binghamton University(宾汉姆顿大学);University of Iowa(爱荷华大学);Dartmouth College(达特茅斯学院);Georgia Institute of Technology(佐治亚理工学院)
CroCo: Cross-Lingual Contrastive Preference Tuning on Self-Generations
Department of Computer Science (DIKU), University of Copenhagen(哥本哈根大学计算机科学系(DIKU));Centre for Language Technology (CST), University of Copenhagen(哥本哈根大学语言技术中心);Pioneer Centre for Artificial Intelligence(先锋人工智能中心)
Synthesizing Instruction-Tuning Datasets with Contrastive Decoding
Department of Computer Science, School of Computing, Institute of Science Tokyo(东京科学大学计算机科学系);National Institute of Advanced Industrial Science and Technology(国家先进工业科学与技术研究院);Research and Development Center for Large Language Models, NII(大型语言模型研究与开发中心,日本信息产业技术综合研究所)
TRACE: Trajectory Return Attribution and Contrastive Erasure for Multi-Turn Safety
King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);University of Macau(澳门大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能研究中心);University of Electronic Science and Technology of China(电子科技大学)
Turning Logic Against Itself : Probing Model Defenses Through Contrastive Questions
Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science and Hessian Center for AI (hessian.AI), Technical University of Darmstadt(德累斯顿技术大学计算机科学系、海斯堡人工智能中心(hessian.AI)、通用知识处理实验室(UKP Lab))
针对推理驱动的隐蔽越狱漏洞,本文提出 POATE 对比推理攻击,并设计 Intent-Aware CoT 与 Reverse Thinking CoT 以检测恶意意图、拒绝有害输出。
Advancing Multi-Party Dialogue Framework with Speaker-ware Contrastive Learning
School of Computer Science and Engineering, Northwestern Polytechnical University(计算机科学与工程学院,西北工业大学);School of Computer Science and Technology, Xidian University(计算机科学与技术学院,西安电子科技大学);School of Artificial Intelligence and Big Data, Henan University of Technology(人工智能与大数据学院,河南理工大学)
Plausibility Is Not Prediction: Contrastive Evidence for LLM-Based Cellular Perturbation Reasoning
Mila - Québec AI Institute(魁北克人工智能研究所);University of Montréal(蒙特利尔大学);HEC Montréal(蒙特利尔HEC商学院);University of Ottawa(渥太华大学);National Research Council of Canada(加拿大国家研究理事会);CIFAR AI Chair(CIFAR人工智能 chair)
CoSP: Reconfigurable Multi-State Metamaterial Inverse Design via Contrastive Pretrained Large Language Model
Center of Double Helix, Tsinghua Shenzhen International Graduate School, Tsinghua University(双螺旋中心,清华大学深圳国际研究生院,清华大学);Intelligent Passive Thermal Control Center, Research Institute of Tsinghua University in Shenzhen(智能被动热控制中心,清华大学深圳研究院)
Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decoding
School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University(中山大学信息科学与技术学院深圳校区);School of Information, Central University of Finance and Economics(中央财经大学信息学院);School of Artificial Intelligence, Beijing Normal University(北京师范大学人工智能学院);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院)
Following the Autoregressive Nature of LLM Embeddings via Compression and Alignment
Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院人工智能安全重点实验室,计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Kuaishou Technology(快手科技)