Max Planck Institute for Informatics Saarland Campus(马克斯·普朗克信息研究所萨尔兰州分校);Computer Science Saarland University(萨尔兰州大学计算机科学系);Max Planck Institute for Software Systems Saarland Campus(马克斯·普朗克软件系统研究所萨尔兰州分校)
Zhuchen Cao, Sven Apel, Adish Singla, Vera Demberg
Pragmatic reasoning helps interlocutors infer intended meaning from ambiguous or underspecified messages by considering shared context and counterfactual alternatives. Similar challenges arise in natural language-to-code generation, where user instructions often admit multiple plausible candidate programs. However, direct RSA-style inference is difficult because it requires probability estimation over large spaces of programs and alternative instructions. We propose CodeRSA, an RSA-motivated reranking method that makes pragmatic reasoning tractable through local pragmatic contests among sampled code candidates. CodeRSA constructs candidate-induced alternative instructions and estimates which candidates are most distinctively supported by the original instruction, avoiding global normalization over the full program-instruction space. We evaluate CodeRSA on HumanEval+, MBPP+, and BigCodeBench using four open-weight instruction-following models. CodeRSA achieves the strongest average accuracy in 10 of 12 model-benchmark settings and remains competitive in the remaining cases. Further analyses show that its gains come from combining local pairwise pragmatic comparison with broader global support, suggesting a scalable direction for language-to-code reranking under natural-language uncertainty.
Pragmatic Theories Enhance Understanding of Implied Meanings in LLMs
Nara Institute of Science and Technology(奈良科学技術大學);RIKEN(理化学研究所);Guardian Robot Project(守護機器人專案);Kyoto Institute of Technology(京都科技大學);Institute of Science Tokyo(東京科學研究所)
Tracing the ongoing emergence of human-like reasoning in Large Language Models
Departament de Filologia Catalana, Universitat Autònoma de Barcelona(加泰罗尼亚语言系系,巴塞罗那自治大学);Institut für Psychologie, Humboldt-Universitat zu Berlin(柏林洪堡大学心理学研究所);Institució Catalana de Recerca i Estudis Avançats (ICREA)(加泰罗尼亚高级研究与高级教育研究所)
Presupposition and Reasoning in Conditionals: A Theory-Based Study of Humans and LLMs
Department of Cognitive Science, Carleton University(卡尔顿大学认知科学系);School of Computer Science, McGill University(麦吉尔大学计算机科学学院);Mila – Quebec AI Institute(魁北克人工智能研究所)
Do LLM Self-Explanations Help Users Predict Model Behavior? Evaluating Counterfactual Simulatability with Pragmatic Perturbations
Faculty of Computer Science, University of Vienna(计算机科学系,维也纳大学);UniVie Doctoral School Computer Science, University of Vienna(UniVie 计算机科学博士学院,维也纳大学);Faculty of Philological and Cultural Studies, University of Vienna(文学与文化研究系,维也纳大学)
SICI: A Semantic-Pragmatic Complexity Index Reveals Regime Shifts in LLM Stance Detection
School of Cyber Science and Technology, University of Science and Technology of China(中国科学技术大学网络空间安全学院);School of Artificial Intelligence, Shenzhen Technology University(深圳技术大学人工智能学院)
Does GPT-4 surpass human performance in linguistic pragmatics?
Institute for Artificial Intelligence Research and Development of Serbia(塞尔维亚人工智能研究与发展研究所);University of Belgrade, Institute for Philosophy and Social Theory, Digital Society Lab(贝尔格莱德大学哲学与社会理论研究所数字社会实验室);Complexity Science Hub(复杂性科学中心);University of Novi Sad, Faculty of Philosophy(诺维萨德大学哲学学院);University of Kragujevac, Faculty of Engineering(克拉古耶瓦茨大学工程学院)
The Pragmatic Persona: Discovering LLM Persona through Bridging Inference
Department of Artificial Intelligence, Chung-Ang University, Seoul, 06974, Republic of Korea(Chung-Ang大学人工智能系);Department of Computer Science, University of British Columbia, Vancouver, BC V6T 1Z4, Canada(不列颠哥伦比亚大学计算机科学系);Van Lang University, Ho Chi Minh City, Vietnam(文-lang大学)
When Humans Leave Context Unsaid: Implicit Context as a Risk for Large Language Models
University of Mississippi(密西西比大学);Michigan State University(密歇根州立大学);Johns Hopkins University(约翰斯·霍普金斯大学);Indiana University Indianapolis(印第安纳大学印第安纳波利斯分校)
Do LLMs Use Cultural Knowledge Without Being Told? A Multilingual Evaluation of Implicit Pragmatic Adaptation
Network Analysis and Social Influence Modelling (NASIM) Lab(网络分析与社会影响力建模实验室);School of Physics Maths and Computing(物理数学与计算学院);The University of Western Australia(西澳大学);School of Computing(计算学院);Macquarie University(麦考瑞大学);Computational Social Science & Systems Analysis(计算社会科学与系统分析);University of Münster(明斯特大学)
You Really Didn't Get That? Benchmarking Social Pragmatic Inference for Indirect and Playful Chinese Online Comments
George Mason University(乔治梅森大学);Virginia Tech(弗吉尼亚理工大学);University of Toronto(多伦多大学);City University of Hong Kong(香港城市大学);Duke Kunshan University(昆山杜克大学)