{"id":2911,"date":"2025-05-27T22:20:35","date_gmt":"2025-05-27T22:20:35","guid":{"rendered":"https:\/\/techtrendfeed.com\/?p=2911"},"modified":"2025-05-27T22:20:36","modified_gmt":"2025-05-27T22:20:36","slug":"understanding-llms-requires-extra-than-statistical-generalization-paper-reflection","status":"publish","type":"post","link":"https:\/\/techtrendfeed.com\/?p=2911","title":{"rendered":"Understanding LLMs Requires Extra Than Statistical Generalization [Paper Reflection]"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>In our paper, <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/proceedings.mlr.press\/v235\/reizinger24a.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Understanding LLMs Requires Extra Than Statistical Generalization<\/em><\/a><em>, <\/em>we<em> <\/em>argue that present machine studying idea can&#8217;t clarify the attention-grabbing emergent properties of Giant Language Fashions, resembling reasoning or in-context studying. From prior work (e.g., <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/proceedings.mlr.press\/v202\/liu23ao.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Liu et al., 2023)<\/a> and our experiments, we\u2019ve seen that these phenomena can&#8217;t be defined by reaching globally minimal check loss \u2013 the goal of statistical generalization. In different phrases, mannequin comparability based mostly on the check loss is sort of meaningless.<\/p>\n<p>We recognized three areas the place extra analysis is required:<\/p>\n<ul class=\"wp-block-list\">\n<li>Understanding the function of inductive biases in LLM coaching, together with the function of structure, knowledge, and optimization.<\/li>\n<li>Growing extra enough measures of generalization.<\/li>\n<li>Utilizing formal languages to review language fashions in well-defined situations to grasp switch efficiency.<\/li>\n<\/ul>\n<p>On this commentary, we give attention to diving deeper into the function of inductive biases. Inductive biases have an effect on which answer the neural community converges to, such because the mannequin structure or the optimization algorithm. For instance, <a rel=\"nofollow\" target=\"_blank\" href=\"http:\/\/neptune.ai\/blog\/deep-learning-optimization-algorithms#h-stochastic-gradient-descent-sgd\" target=\"_blank\" rel=\"noreferrer noopener\">Stochastic Gradient Descent (SGD)<\/a> favors neural networks <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/math.stackexchange.com\/questions\/3451272\/does-gradient-descent-converge-to-a-minimum-norm-solution-in-least-squares-probl\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">with minimum-norm weights<\/a>.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1080\" height=\"600\" src=\"https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=1080%2C600&amp;ssl=1\" alt=\"Inductive biases influence model performance. Even if two models with parameters \u03b81 and \u03b82 yield the same training and test loss, their downstream performance can differ.\" class=\"wp-image-42892\" style=\"width:578px;height:auto\" srcset=\"https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?w=1080&amp;ssl=1 1080w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=768%2C427&amp;ssl=1 768w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=200%2C111&amp;ssl=1 200w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=220%2C122&amp;ssl=1 220w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=120%2C67&amp;ssl=1 120w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=160%2C89&amp;ssl=1 160w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=480%2C267&amp;ssl=1 480w, https:\/\/i0.wp.com\/neptune.ai\/wp-content\/uploads\/2024\/11\/Inductive-biases-influence-model-performance.png?resize=1020%2C567&amp;ssl=1 1020w\" sizes=\"(max-width: 1000px) 100vw, 1000px\"\/><figcaption class=\"wp-element-caption\">Inductive biases affect mannequin efficiency. Even when two fashions with parameters <em>\u03b8<sub>1<\/sub><\/em> and <em>\u03b8<sub>2<\/sub><\/em> yield the identical coaching and check loss, their downstream efficiency can differ.<\/figcaption><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\" id=\"h-how-do-language-complexity-and-model-architecture-affect-generalization-ability\">How do language complexity and mannequin structure have an effect on generalization means?<\/h2>\n<p>Of their <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/arxiv.org\/abs\/2207.02098\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Neural Networks and the Chomsky Hierarchy<\/em><\/a> paper printed in 2023, Del\u00e9tang et al. confirmed how totally different neural community architectures generalize higher for various language varieties.<\/p>\n<p>Following the well-known <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Chomsky_hierarchy\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Chomsky hierarchy<\/a>, they distinguished 4 grammar varieties (common, context-free, context-sensitive, and recursively enumerable) and outlined corresponding sequence prediction duties. Then, they educated totally different mannequin architectures to unravel these duties and evaluated if and the way nicely the mannequin generalized, i.e., if a selected mannequin structure might deal with the required language complexity.<\/p>\n<p>In our place paper, we observe this basic strategy to show the interplay of structure and knowledge in formal languages to realize insights into complexity limitations in pure language processing. We research fashionable architectures used for language modeling, e.g., Transformers, State-House Fashions (SSMs) resembling Mamba, the LSTM, and its novel prolonged model, the <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/arxiv.org\/abs\/2405.04517\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">xLSTM<\/a>.<\/p>\n<p>To research how these fashions cope with formal languages of various complexity, we use a easy setup the place every language consists solely of two guidelines. Throughout coaching, we monitor how nicely the fashions carry out next-token prediction on the (in-distribution) check set, measured by accuracy.<\/p>\n<p>Nonetheless, our important query is whether or not these fashions generalize out-of-distribution. For this, we introduce the notion of rule extrapolation.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-can-models-adapt-to-changing-grammar-rules\">Can fashions adapt to altering grammar guidelines?<\/h2>\n<p>To grasp rule extrapolation, let\u2019s begin with an instance. A easy formal language is the <em>a<\/em><sup>n<\/sup><em>b<\/em><sup>n<\/sup> language, the place the strings obey two guidelines:<\/p>\n<div id=\"case-study-numbered-list-block_8aab16ce3eac5dee0ed37ffadf5bcdb7\" class=\"block-case-study-numbered-list \">\n<h2 id=\"h-\"\/>\n<ul class=\"c-list\">\n<li class=\"c-list__item\">\n                <span class=\"c-list__counter\">1<\/span><br \/>\n                a\u2019s come earlier than b\u2019s.            <\/li>\n<li class=\"c-list__item\">\n                <span class=\"c-list__counter\">2<\/span><br \/>\n                The variety of a\u2019s and b\u2019s is similar.            <\/li>\n<\/ul>\n<\/div>\n<p>Examples of legitimate strings embrace \u201c<em>ab<\/em>\u201d and \u201c<em>aabb<\/em>,\u201d whereas strings like \u201c<em>baab<\/em>\u201d (violates rule 1) and \u201c<em>aab<\/em>\u201d (violates rule 2) are invalid. Having educated on such strings, we feed the fashions an out-of-distribution (OOD) string, violating rule 1 (e.g., a string the place the primary token is <em>b<\/em>).\u00a0<\/p>\n<p>We discover that the majority fashions nonetheless obey rule 2 when predicting tokens, which we name rule extrapolation \u2013 they don&#8217;t discard the discovered guidelines totally however adapt to the brand new scenario during which rule 1 is seemingly now not related.\u00a0<\/p>\n<p>This discovering is stunning as a result of not one of the studied mannequin architectures contains acutely aware decisions to advertise rule extrapolation. It emphasizes our level from the place paper that we have to perceive the inductive biases of language fashions to elucidate emergent (OOD) conduct, resembling reasoning or good <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/neptune.ai\/blog\/zero-shot-and-few-shot-learning-with-llms\" target=\"_blank\" rel=\"noreferrer noopener\">zero-\/few-shot prompting efficiency<\/a>.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-efficient-llm-training-requires-understanding-what-is-a-complex-language-for-an-llm\">Environment friendly LLM coaching requires understanding what&#8217;s a posh language for an LLM<\/h2>\n<p>In line with the Chomsky hierarchy, the context-free a<sup>n<\/sup>b<sup>n<\/sup> language is much less advanced than the context-sensitive <em>a<\/em><em><sup>n<\/sup><\/em><em>b<\/em><em><sup>n<\/sup><\/em><em>c<\/em><em><sup>n<\/sup><\/em> language, the place the <em>n<\/em> a\u2019s and <em>n<\/em> b\u2019s are adopted by an equal variety of c\u2019s.<\/p>\n<p>Regardless of their totally different complexity, the 2 languages appear similar to people. Our experiments present that, e.g., Transformers can study context-free and context-sensitive languages equally nicely. Nonetheless, they appear to battle with common languages, that are deemed to be a lot easier by the Chomsky hierarchy.<\/p>\n<p>Primarily based on this and comparable observations, we conclude that language complexity, because the Chomsky hierarchy defines it, just isn&#8217;t an appropriate predictor for the way nicely a neural community can study a language. To information structure decisions in language fashions, we&#8217;d like higher instruments to measure the complexity of the language job we wish to study.<\/p>\n<p>It\u2019s an open query what these might appear like. Presumably, we\u2019ll want to seek out totally different complexity measures for various mannequin architectures that take into account their particular inductive biases.<\/p>\n<section id=\"i-box-block_cb390c6f4b086f4f5916116ee12f02c6\" class=\"block-i-box  l-margin__top--large l-margin__bottom--large\">\n<div class=\"block-i-box__inner\">\n<p>    Trying to find a free experiment monitoring answer to your educational analysis?\n    <\/p>\n<p>Be a part of 1000s of researchers, professors, college students, and Kagglers utilizing neptune.ai at no cost to make monitoring experiments, evaluating runs, and sharing outcomes far simpler than with open supply instruments.<\/p>\n<\/p><\/div>\n<\/section>\n<h2 class=\"wp-block-heading\" id=\"h-whats-next\">What\u2019s subsequent?<\/h2>\n<p>Understanding how and why LLMs are so profitable paves the best way to extra data-, cost- and power effectivity. If you wish to dive deeper into this subject, our place paper\u2019s \u201cBackground\u201d part is filled with references, and we talk about quite a few concrete analysis questions.<\/p>\n<p>For those who\u2019re new to the sphere, I significantly advocate <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/arxiv.org\/abs\/1905.11604\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Similar Pre-training Loss, Higher Downstream: Implicit Bias Issues for Language Fashions<\/em><\/a> (2023) by Liu et al., which properly demonstrates the shortcomings of present analysis practices based mostly on the check loss. I additionally encourage you to take a look at <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/arxiv.org\/abs\/1905.11604\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>SGD on Neural Networks Learns Features of Rising Complexity<\/em><\/a> (2023) by Nakkiran et al. to grasp extra deeply how utilizing stochastic gradient descent impacts what capabilities neural networks study.<\/p>\n<div class=\"c-article-rating\" data-post-id=\"42880\">\n<h2 class=\"c-article-rating__header\">\n\t\t\t\t\t\tWas the article helpful?\t\t\t\t\t<\/h2>\n<div class=\"c-article-rating__buttons\">\n<p><button class=\"js-c-button js-c-button--yes c-button c-button--yes\" data-value=\"yes\" data-status=\"default\"><br \/>\n\t<img src=\"https:\/\/neptune.ai\/wp-content\/themes\/neptune\/img\/icon-article-rating--yes.svg\" width=\"32\" height=\"32\" loading=\"lazy\" decoding=\"async\" class=\"c-button__icon\" alt=\"yes\"\/><\/p>\n<p>\t\t\t<span class=\"c-button__label\"><br \/>\n\t\t\tSure\t\t<\/span><br \/>\n\t<\/button><\/p>\n<p><button class=\"js-c-button js-c-button--no c-button c-button--no\" data-value=\"no\" data-status=\"default\"><br \/>\n\t<img src=\"https:\/\/neptune.ai\/wp-content\/themes\/neptune\/img\/icon-article-rating--no.svg\" width=\"32\" height=\"32\" loading=\"lazy\" decoding=\"async\" class=\"c-button__icon\" alt=\"no\"\/><\/p>\n<p>\t\t\t<span class=\"c-button__label\"><br \/>\n\t\t\tNo\t\t<\/span><br \/>\n\t<\/button><\/p><\/div>\n<div class=\"c-article-feedback-form\">\n\t<button class=\"js-c-article-feedback-form__form-button c-article-feedback-form__form-button\" data-status=\"inactive\"><\/p>\n<p>\t\t<img loading=\"lazy\" decoding=\"async\" class=\"c-item__icon\" src=\"https:\/\/neptune.ai\/wp-content\/themes\/neptune\/img\/icon-bulb.svg\" width=\"20\" height=\"20\" alt=\"\"\/><\/p>\n<p>\t\t<span class=\"c-item__label\"><br \/>\n\t\t\tCounsel adjustments\t\t<\/span><br \/>\n\t<\/button><\/p>\n<\/div><\/div>\n<div class=\"c-i-box c-i-box--blog\">\n<div class=\"c-i-box-topics\">\n<h3 class=\"c-i-box-topics__title\">\n\t\t\tDiscover extra content material matters:\t<\/h3>\n<\/div>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>In our paper, Understanding LLMs Requires Extra Than Statistical Generalization, we argue that present machine studying idea can&#8217;t clarify the attention-grabbing emergent properties of Giant Language Fashions, resembling reasoning or in-context studying. From prior work (e.g., Liu et al., 2023) and our experiments, we\u2019ve seen that these phenomena can&#8217;t be defined by reaching globally minimal [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2913,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[2799,1112,424,545,2797,2798,2742],"class_list":["post-2911","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-machine-learning","tag-generalization","tag-llms","tag-paper","tag-reflection","tag-requires","tag-statistical","tag-understanding"],"_links":{"self":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts\/2911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2911"}],"version-history":[{"count":1,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts\/2911\/revisions"}],"predecessor-version":[{"id":2912,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/posts\/2911\/revisions\/2912"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=\/wp\/v2\/media\/2913"}],"wp:attachment":[{"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techtrendfeed.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- This website is optimized by Airlift. Learn more: https://airlift.net. Template:. Learn more: https://airlift.net. Template: 69d9690a190636c2e0989534. Config Timestamp: 2026-04-10 21:18:02 UTC, Cached Timestamp: 2026-06-13 15:24:26 UTC -->