Long-context LLMs can infer objectives that are not explicitly stated. This capability is useful for reasoning over documents, code, and tool traces, but it also introduces a safety risk. Harmful intent can be distributed across a context and become apparent only after the model combines the relevant information. Existing safety evaluations largely focus on explicitly stated harmful requests and therefore do not fully capture this failure mode. We introduce compositional reasoning attacks, a long-context attack setting in which harmful requests are decomposed into semantically incomplete fragments and embedded in long contexts. The final query is neutral, and the model must retrieve and combine the fragments to infer the implied harmful objective. Empirically, we show that models generally refuse harmful requests when they are explicitly stated. However, refusal rates drop when the same objectives must be reconstructed from fragments, and these failures often become more pronounced in longer contexts. Our analyses suggest that this gap cannot be explained by retrieval difficulties alone. Models can often reconstruct the harmful objective but do not reliably refuse it. Increasing inference-time reasoning effort improves refusal, but at a higher computational cost, with unsafe responses still occurring. Our results reveal a long-context safety gap: Models are better at refusing harmful requests they see than harmful objectives they infer.
Efficient Inference for Large Reasoning Models: A Survey
National University of Singapore(新加坡国立大学);HKUST (Guangzhou)(香港科技大学(广州));UCAS(中国科学院大学);Moonshot AI(月之暗面);Westlake University(西湖大学);State University of New York(纽约州立大学)
ThinkLess: A Training-Free Inference-Efficient Method for Reducing Reasoning Redundancy
National Key Laboratory for Multimedia Information Processing, Peking University(国家多媒体信息处理重点实验室,北京大学);School of Software and Microelectronics, Peking University(软件与微电子学院,北京大学);School of Computer Science, Peking University(计算机学院,北京大学)
SyncThink: A Training-Free Strategy to Align Inference Termination with Reasoning Saturation
National Key Laboratory for Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家级重点实验室);School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);School of Computer Science, Peking University(北京大学计算机科学学院)
Fine-Tuning on Diverse Reasoning Chains Drives Within-Inference CoT Refinement in LLMs
Ubiquitous Knowledge Processing Lab (UKP Lab), TU Darmstadt and ATHENE National Research Center for Applied Cybersecurity, Germany(图宾根大学知识处理实验室(UKP Lab)及德国应用网络安全国家研究中心ATHENE);Dept. of ECE & Ingenuity Labs Research Institute, Queen’s University, Canada(皇后大学电子工程系及创新实验室研究机构);University of Bath, UK(巴斯大学)
Humans and LLMs Diverge on Probabilistic Inferences
McGill University(麦吉尔大学);Mila – Quebec AI Institute(魁北克人工智能研究所);University of Vienna(维也纳大学);FNRS – UCLouvain(佛罗伦萨-鲁汶大学);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)
School of Computer Science and Technology, Beijing Institute of Technology, China(北京理工大学计算机科学与技术学院);School of Computer Science and Technology, Huazhong University of Science and Technology, China(华中科技大学计算机科学与技术学院);Independent, China(独立)
Cross-Lingual Consistency: A Novel Inference Framework for Advancing Reasoning in Large Language Models
Shandong Inspur Artificial Intelligence Research Institute Co., Ltd.(山东浪潮人工智能研究院有限公司);Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co., Ltd.(山东云海国创云计算装备产业创新中心有限公司)
Fixing the Broken Compass: Diagnosing and Improving Inference-Time Reward Modeling
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所认知与决策智能复杂系统重点实验室);China Merchants Bank(中国 Merchants 银行)