Can large language models assist choice modelling? Insights into prompting strategies and current models' capabilities
Choice Modelling Centre & Institute for Transport Studies, University of Leeds(选择建模中心及交通研究学院,利兹大学);CityAI Lab, Transport and Logistics group, Engineering Systems and Services Department, TU Delft(CityAI实验室,运输与物流组,工程系统与服务部门,代尔夫特理工大学)
Georges Sfeir, Gabriel Nova, Stephane Hess, Sander van Cranenburgh
大语言模型(LLMs)正被广泛用于支持不同学科的各种工作流程,但其在离散选择建模中的潜力仍相对未被探索。本文探讨LLMs作为辅助代理在模型规范和可行范围内估计多项Logit模型中的潜力。我们实施了一个系统性的实验框架,涉及七种领先LLMs(ChatGPT、Claude、DeepSeek、Gemini、Gemma、Llama和Mistral)的十二种版本,在五个实验配置下进行评估。这些配置沿三个维度变化:(i)建模目标(建议 vs. 建议和估计MNL模型);(ii)提示策略(零样本 vs. 思维链(CoT));(iii)信息可用性(完整数据集 vs. 数据字典总结变量名称和类型)。每个LLM建议的规范均根据拟合优度指标、行为合理性及模型复杂度进行实施、估计和评估。我们的发现表明,专有LLMs在受结构化提示(CoT)引导时能生成有效且行为合理的效用规范,而开放权重模型如Llama和Gemma在生成有意义规范方面挣扎。值得注意的是,一些LLMs在仅提供数据字典时表现更好,表明限制原始数据访问可能增强内部推理能力。在所有LLMs中,GPT o3在代理环境下能够通过执行自动生成的代码正确估计其自身规范。总体而言,结果展示了LLMs作为离散选择建模辅助代理的潜力和当前限制,不仅在模型规范方面,还在支持建模决策和估计方面,为将这些工具整合到选择建模者的工作流程中提供了实用指导。
英文摘要:
Large Language Models (LLMs) are becoming widely used to support various workflows across different disciplines, yet their potential in discrete choice modelling remains relatively unexplored. This work examines the potential of LLMs as assistive agents in the specification and, where technically feasible, estimation of Multinomial Logit models. We implement a systematic experimental framework involving twelve versions of seven leading LLMs (ChatGPT, Claude, DeepSeek, Gemini, Gemma, Llama, and Mistral) evaluated under five experimental configurations. These configurations vary along three dimensions: (i) modelling goal (suggesting vs. suggesting and estimating MNL models); (ii) prompting strategy (Zero-Shot vs. Chain-of-Thoughts (CoT)); and (iii) information availability (full dataset vs. data dictionary summarising variable names and types). Each specification suggested by the LLMs is implemented, estimated, and evaluated based on goodness-of-fit metrics, behavioural plausibility, and model complexity. Our findings reveal that proprietary LLMs can generate valid and behaviourally sound utility specifications, particularly when guided by structured prompts (CoT). Open-weight models such as Llama and Gemma struggled to produce meaningful specifications. Notably, some LLMs performed better when provided with just data dictionary, suggesting that limiting raw data access may enhance internal reasoning capabilities. Among all LLMs, GPT o3, operating in an agentic setting, was uniquely capable of correctly estimating its own specifications by executing self-generated code. Overall, the results demonstrate both the promise and current limitations of LLMs as assistive agents in discrete choice modelling, not only for model specification but also for supporting modelling decision and estimation, and provide practical guidance for integrating these tools into choice modellers' workflows.
Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
Computer Science Department, KFUPM, Dhahran 31261, Saudi Arabia;SDAIA-KFUPM Joint Research Center for Artificial Intelligence, King Fahd University of Petroleum \& Minerals, Dhahran, 31261, Saudi Arabia
Understanding Learner-LLM Chatbot Interactions and the Impact of Prompting Guidelines
Università degli Studi di Milano Bicocca(米兰比可卡大学);Universitat Pompeu Fabra(庞培法布拉大学);University of Regensburg(雷根斯堡大学);Politecnico di Milano(米兰理工大学);Istituto per le Tecnologie Didattiche (ITD-CNR)(国家研究委员会教育技术研究所);Università degli Studi di Milano(米兰大学);Institute of Science and Technology of Cognition (ISTC-CNR)(国家研究委员会认知科学与技术研究所)
From Natural Language to Verified Code: Toward AI Assisted Problem-to-Code Generation with Dafny-Based Formal Verification
Department of Computer Science, The University of Alabama(阿拉巴马大学计算机科学系);The University of Alabama(阿拉巴马大学);Alabama Water Institute, The University of Alabama(阿拉巴马水研究院,阿拉巴马大学)
When "A Helpful Assistant" Is Not Really Helpful: Personas in System Prompts Do Not Improve Performances of Large Language Models
Carnegie Mellon University(卡内基梅隆大学);Stanford University(斯坦福大学);LG AI Research(LG人工智能研究院);University of Illinois Chicago(芝加哥大学伊利诺伊分校);University of Michigan(密歇根大学)
Think Step by Step: Chain-of-Gesture Prompting for Error Detection in Robotic Surgical Videos
Tsinghua University(清华大学);National University of Singapore(新加坡国立大学);University College London(伦敦大学学院);Wellcome/EPSRC Centre for Interventional and Surgical Sciences(Wellcome/EPSRC介入与外科科学中心)
CANDY: Benchmarking LLMs' Limitations and Assistive Potential in Chinese Misinformation Fact-Checking
School of Cyber Science and Engineering, Sichuan University, China(四川大学网络科学与工程学院);College of Computer Science, Sichuan University, China(四川大学计算机学院);Institute of Data Science, National University of Singapore, Singapore(新加坡国立大学数据科学研究所)
LLARS: Enabling Domain Expert & Developer Collaboration for LLM Prompting, Generation and Evaluation
Technische Hochschule Nürnberg Georg Simon Ohm(图恩-努尔堡技术大学乔治·西蒙·奥姆学院);Faculty of Computer Science, Centre for Artificial Intelligence (KIZ)(计算机科学学院,人工智能中心(KIZ));Faculty of Social Sciences, Institute for E-Counselling(社会科学学院,电子咨询研究所)