Large language models (LLMs) operate in two fundamental learning modes - fine-tuning (FT) and in-context learning (ICL) - raising key questions about which mode yields greater language proficiency and whether they differ in their inductive biases. Prior studies comparing FT and ICL have yielded mixed and inconclusive results due to inconsistent experimental setups. To enable a rigorous comparison, we propose a formal language learning task - offering precise language boundaries, controlled string sampling, and no data contamination - and introduce a discriminative test for language proficiency, where an LLM succeeds if it assigns higher generation probability to in-language strings than to out-of-language strings.
Empirically, we find that: (a) FT has greater language proficiency than ICL on in-distribution generalization, but both perform equally well on out-of-distribution generalization. (b) Their inductive biases, measured by the correlation in string generation probabilities, are similar when both modes partially learn the language but diverge at higher proficiency levels. (c) Unlike FT, ICL performance differs substantially across models of varying sizes and families and is sensitive to the token vocabulary of the language. Thus, our work demonstrates the promise of formal languages as a controlled testbed for evaluating LLMs, behaviors that are difficult to isolate in natural language datasets. Our source code is available at https://github.com/bishwamittra/formallm.
Putting on the Thinking Hats: A Survey on Chain of Thought Fine-tuning from the Perspective of Human Reasoning Mechanism
College of Computer Science and Technology, National University of Defense Technology(计算机科学与技术学院,国防科技大学);College of Intelligence Science and Technology, National University of Defense Technology(智能科学与技术学院,国防科技大学)
Cross-target Stance Detection by Exploiting Target Analytical Perspectives
Shenzhen University(深圳大学);Shenzhen X-Institute(深圳X-Institute);Shenzhen Technology University(深圳技术大学);Harbin Institute of Technology(哈尔滨工业大学);Aoyama Gakuin University(青山学院大学);South China Agricultural University(华南农业大学)
Adversarial Robustness of Deep Neural Networks: A Survey from a Formal Verification Perspective
National University of Singapore(新加坡国立大学);Institute for Infocomm Research, A*STAR(新加坡科技研究局资讯通信研究院);The University of Queensland(昆士兰大学);Griffith University(格里菲斯大学)
Dalhousie University(达尔豪斯大学);Vector Institute for Artificial Intelligence(向量人工智能研究院);TU Delft(代尔夫特理工大学);Swarthmore College(斯沃斯莫尔学院);University of Warwick(华威大学)
Unveiling the Impact of Coding Data Instruction Fine-Tuning on Large Language Models Reasoning
University of California, Santa Barbara(加州大学圣巴巴拉分校);The University of Texas at Dallas(德克萨斯大学达拉斯分校);The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Maryland, College Park(马里兰大学帕克分校)
PA-RAG: RAG Alignment via Multi-Perspective Preference Optimization
School of Data Science and Engineering, East China Normal University(华东师范大学数据科学与工程学院);Chinese Academy of Sciences(中国科学院);Baidu Inc(百度公司);Peking University(北京大学)
Not-in-Perspective: Towards Shielding Google's Perspective API Against Adversarial Negation Attacks
Department of Computer Science(计算机科学系);Kennesaw State University(肯尼斯州立大学);School of Cybersecurity and Privacy(网络安全与隐私学院);Georgia Institute of Technology(佐治亚理工学院)
A Survey on Semantic Parsing from the perspective of Compositionality
Indian Institute of Technology Delhi(印度理工学院德里分校)
与之前在语义解析(Kamath和Das,2018)和知识库问答(KBQA)(Chakraborty等人,2019; Zhu等人,2019; Hoffner等人,2017)我们试图从不同的角度来研究语义解析。具体来说,我们将集中在(a)从句法结构(Partee,1975年)的意义组合,(b)语义分析器处理给定的知识库(KB)上下文的词汇变化的能力。在接下来的部分中,在介绍了语义解析领域及其在KBQA中的应用之后,我们将描述使用语法形式主义CCG(Steedman,1996)的意义表示。我们将在第2节讨论使用形式语言的语义组合。在第3节中,我们将考虑使用形式语言的系统,例如$λ$ -演算(Steedman,1996),$λ$ -DCS(Liang,2013)。第4节和第5节考虑使用结构化语言的逻辑形式的语义分析器。第6节是关于不同的基准数据集ComplexQuestions(Bao et al.,2016)和GraphQuestions(Su et al.,2016),可用于评估语义解析器回答本质上高度组合的复杂问题的能力。