arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.21790econ.EMcs.AI
收藏

大语言模型能否协助选择建模?关于提示策略和当前模型能力的洞察

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

AI总结:

本文研究大语言模型在离散选择建模中的潜力,通过实验框架评估七种领先模型在不同提示策略和信息可用性下的表现,揭示其在模型规范和估计中的能力与限制。

摘要:

大语言模型(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑