This paper explores the application of Stochastic Differential Equations (SDE) to interpret the text generation process of Large Language Models (LLMs) such as GPT-4. Text generation in LLMs is modeled as a stochastic process where each step depends on previously generated content and model parameters, sampling the next word from a vocabulary distribution. We represent this generation process using SDE to capture both deterministic trends and stochastic perturbations. The drift term describes the deterministic trends in the generation process, while the diffusion term captures the stochastic variations. We fit these functions using neural networks and validate the model on real-world text corpora. Through numerical simulations and comprehensive analyses, including drift and diffusion analysis, stochastic process property evaluation, and phase space exploration, we provide deep insights into the dynamics of text generation. This approach not only enhances the understanding of the inner workings of LLMs but also offers a novel mathematical perspective on language generation, which is crucial for diagnosing, optimizing, and controlling the quality of generated text.
Unraveling SITT: Social Influence Technique Taxonomy and Detection with LLMs
Warsaw University of Technology(华沙技术大学);Wrocław University of Science and Technology(沃拉布大学科学技术学院);University of Wrocław(沃拉布大学);Lincoln University College, Petaling Jaya, Malaysian(林肯大学学院,吉隆坡,马来西亚)
Whose Morality Do They Speak? Unraveling Cultural Bias in Multilingual Language Models
Research Center Trustworthy Data Science and Security of the University Alliance Ruhr(鲁尔大学联盟可信数据科学与安全研究中心);Faculty of Informatics, Technical University Dortmund(多特蒙德工业大学信息学院)
Information Technologies Group, atlanTTic, University of Vigo, Vigo, Spain(信息科技组,atlanTTic,维戈大学);Research on Economics, Management and Information Technologies, Universidade Portucalense, Porto, Portugal(经济学、管理与信息科技研究,葡萄牙波尔图大学);ISEP, Polytechnic of Porto, Porto, Portugal(ISEP,波尔图理工学院);Institute for Systems and Computer Engineering, Technology and Science, Porto, Portugal(系统与计算机工程、技术与科学研究所)
LLM-Powered Explanations: Unraveling Recommendations Through Subgraph Reasoning
Monash University(莫纳什大学);Shanghai University of Finance and Economics(上海财经大学);Bosch Corporate Research(博世企业研究中心);Bosch(China) Investment Ltd.(博世(中国)投资有限公司);BSH Home Appliances Holding (China) Co. Ltd(博世和西门子家用电器集团(中国)控股有限公司);Griffith University(格里菲斯大学)
Stochastic Parrots or ICU Experts? Large Language Models in Critical Care Medicine: A Scoping Review
National Institute of Health Data Science, Peking University(北京大学健康医疗大数据国家研究院);Institute of Medical Technology, Peking University Health Science Center(北京大学医学部医学技术研究院);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);Advanced Institute of Information Technology, Peking University(北京大学信息技术高等研究院);Peking University Third Hospital(北京大学第三医院);University of Liverpool(利物浦大学);Johns Hopkins School of Medicine(约翰斯·霍普金斯大学医学院);University of California, Los Angeles(加州大学洛杉矶分校);Peking University People’s Hospital(北京大学人民医院)
From Equations to Insights: Unraveling Symbolic Structures in PDEs with LLMs
Department of Computer Science, University of Maryland, College Park, Maryland, USA(计算机科学系,马里兰大学, College Park, Maryland, USA);Department of Mathematics, The University of Tennessee, Knoxville, Tennessee, USA(数学系,田纳西大学, Knoxville, Tennessee, USA);Department of Mathematics, and Department of Computer Science, University of Maryland, College Park, Maryland, USA(数学系和计算机科学系,马里兰大学, College Park, Maryland, USA)
Prompt-Efficient Fine-Tuning for GPT-like Deep Models to Reduce Hallucination and to Improve Reproducibility in Scientific Text Generation Using Stochastic Optimisation Techniques
Higher School of Economics (HSE)(高等经济大学(HSE));AI for Computational biology (AIC)(计算生物学人工智能研究所(AIC))
Filtered not Mixed: Stochastic Filtering-Based Online Gating for Mixture of Large Language Models
University of Toronto(多伦多大学);Vector Institute(矢量研究院);Princeton University(普林斯顿大学);McMaster University(麦克马斯特大学);ETH Zürich(苏黎世联邦理工学院);University of Oxford(牛津大学);Dalhousie University(达尔豪斯大学)
Birkbeck, University of London(伦敦大学伯贝克学院);School of Advanced Study, Institute of Philosophy, University of London(伦敦大学高等研究院哲学研究所);University of Utah(犹他大学);Tufts University(塔夫茨大学)
Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphs
Xi’an Jiaotong University(西安交通大学);Institute of AI for Industries, Chinese Academy of Sciences(中国科学院人工智能产业研究院);The University of Tokyo(东京大学);University of Alberta(阿尔伯塔大学)
Stochastic Streets: A Walk Through Random LLM Address Generation in four European Cities
Politecnico di Milano(米兰理工大学);Universidad Politécnica de Madrid(马德里理工大学);FIWARE foundation(FIWARE基金会);Telefónica Tech(西班牙电信科技公司);Information Processing and Telecommunications Center (IPTC)(信息处理与电信中心);Northeastern University(东北大学)
Stochastic Parrots or Singing in Harmony? Testing Five Leading LLMs for their Ability to Replicate a Human Survey with Synthetic Data
Centre for Global Sustainability, University of Oslo(全球可持续发展中心,奥斯陆大学);Peace Research Institute Oslo(奥斯陆和平研究所);American University of Sharjah(阿联酋沙迦美国大学)
VoxEmo: Benchmarking Speech Emotion Recognition with Speech LLMs
Department of Computer Science, University of Sheffield, United Kingdom(英国谢菲尔德大学计算机科学系);Signal Analysis and Interpretation Laboratory (SAIL), Ming Hsieh Department of Electrical and Computer Engineering, University of Southern California, Los Angeles, CA 90089, USA(美国南加州大学电气与计算机工程系信号分析与解释实验室(SAIL))
Phase transition in large language models and the criticality of natural languages
Center for Advanced Intelligence Project, RIKEN(先进智能项目中心,理化学研究所);National Institute for Japanese Language and Linguistics(日本语言学研究所);Department of Physics, Nagoya University(名古屋大学物理系);Department of Multidisciplinary Sciences, The University of Tokyo(东京大学多学科科学系);Komaba Institute for Science, The University of Tokyo(东京大学Komaba科学研究所)