{"id":140795,"topic":"ai","source":"arxiv","title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","url":"https://arxiv.org/abs/2611.14221","url_hash":"0728f4212d5e53b104b1c4c811764c6bc25e999b","author":"Jack T. Parley","summary":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing algorithms such as inside-outside, but little is established theoretically about how this is actually learned. Here, we make a first step towards addressing this by studying the learning dynamics in synthetic context-free grammars with variable parse tree topology. The stagewise learning curves are fully interpretable, in the sense that all of the loss stages a) can be computed analytically, and b) can be clearly associated to the representation of a hidden latent tree variable, which allows to lift ambiguity and utilize information from wider contexts. By probing representations, we visualize the emergence of inside-outside computation across depth and during training: while during early stages local (bigram/trigram) information is used and involves only a few initial layers, gradually the Transformer develops an encoder-decoder structure where the most abstract latent information is encoded in the middle, and the latter half of the network is used to progressively refine the final token prediction. This organization of computation is reminiscent of findings in real-world LLMs, and importantly applies here to a synthetic model which allows full analytical control of the data statistics, thus opening the door to theoretical progress.","content":null,"image_url":null,"lang":"","published_at":"2026-11-10T15:39:47+00:00","fetched_at":"2026-11-12T04:05:05+00:00","status":"read","starred":0,"extract_state":"ok","summary_auto":null,"cluster_id":null,"extract_retries":0,"extract_error":null,"item_type":"paper","ref_id":"10.48550/arxiv.2611.14221","refs_json":"{\"authors\": [\"Jack T. Parley\"]}","doi":"10.48550/arxiv.2611.14221","arxiv_id":"2611.14221","paper_version":"v1","sources_json":"[{\"name\": \"arxiv\"}]","relevance_score":0.0,"relevance_method":"keyword","cited_by":null,"contract_version":"news_item.v1","format_contract_version":"news_item_formats.v1","dedup_url":"https://arxiv.org/abs/2611.14221","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1524,"usable_text_length":1524,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1524}},"news_item":{"id":140795,"canonical_url":"https://arxiv.org/abs/2611.14221","source_url":"https://arxiv.org/abs/2611.14221","title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","source_name":"arxiv","author":"Jack T. Parley","published_at":"2026-11-10T15:39:47+00:00","locale":null,"topic":"ai","tags":[],"rss_summary":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing algorithms such as inside-outside, but little is established theoretically about how this is actually learned. Here, we make a first step towards addressing this by studying the learning dynamics in synthetic context-free grammars with variable parse tree topology. The stagewise learning curves are fully interpretable, in the sense that all of the loss stages a) can be computed analytically, and b) can be clearly associated to the representation of a hidden latent tree variable, which allows to lift ambiguity and utilize information from wider contexts. By probing representations, we visualize the emergence of inside-outside computation across depth and during training: while during early stages local (bigram/trigram) information is used and involves only a few initial layers, gradually the Transformer develops an encoder-decoder structure where the most abstract latent information is encoded in the middle, and the latter half of the network is used to progressively refine the final token prediction. This organization of computation is reminiscent of findings in real-world LLMs, and importantly applies here to a synthetic model which allows full analytical control of the data statistics, thus opening the door to theoretical progress.","full_text":null,"excerpt":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing algorithms such as inside-outside, but little is established theoretically about how this is actually learned. Here, we make a first step towards addressing this by studying the learning dynamics in synthetic context-free grammars with variable parse tree topology. The stagewise learning curves are fully interpretable, in the sense that all of the loss stages a) can be computed analytically, and b) can be clearly associated to the representation of a hidden latent tree variable, which allows to lift ambiguity and utilize information from wider contexts. By probing representations, we visualize the emergence of inside-outside computation across depth and during training: while during early stages local (bigram/trigram) information is used and involves only a few initial layers, gradually the Transformer develops an encoder-decoder structure where the most abstract latent information is encoded in the middle, and the latter half of the network is used to progressively refine the final token prediction. This organization of computation is reminiscent of findings in real-world LLMs, and importantly applies here to a synthetic model which allows full analytical control of the data statistics, thus opening the door to theoretical progress.","extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1524,"usable_text_length":1524,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1524}}},"display_formats":["compact","card","full","digest_section","json"]},"daily_stack_record":{"title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","url":"https://arxiv.org/abs/2611.14221","summary":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing algorithms such as inside-outside, but little is established theoretically about how this is actually learned. Here, we make a first step towards addressing this by studying the learning dynamics in synthetic context-free grammars with variable parse tree topology. The stagewise learning curves are fully interpretable, in the sense that all of the loss stages a) can be computed analytically, and b) can be clearly associated to the representation of a hidden latent tree variable, which allows to lift ambiguity and utilize information from wider contexts. By probing representations, we visualize the emergence of inside-outside computation across depth and during training: while during early stages local (bigram/trigram) information is used and involves only a few initial layers, gradually the Transformer develops an encoder-decoder structure where the most abstract latent information is encoded in the middle, and the latter half of the network is used to progressively refine the final token prediction. This organization of computation is reminiscent of findings in real-world LLMs, and importantly applies here to a synthetic model which allows full analytical control of the data statistics, thus opening the door to theoretical progress.","source":"arxiv","date":"2026-11-10T15:39:47+00:00","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1524,"usable_text_length":1524,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1524}},"tags":[]},"fallback_formats":["markdown","json","html"],"actions":{"read":"/item/140795","export_markdown":"/api/items/140795/export?format=markdown","export_json":"/api/items/140795/export?format=json","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221"},"formats":{"full":{"id":140795,"title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","url":"https://arxiv.org/abs/2611.14221","source":"arxiv","author":"Jack T. Parley","published_at":"2026-11-10T15:39:47+00:00","locale":null,"topic":"ai","tags":[],"excerpt":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing algorithms such as inside-outside, but little is established theoretically about how this is actually learned. Here, we make a first step towards addressing this by studying the learning dynamics in synthetic context-free grammars with variable parse tree topology. The stagewise learning curves are fully interpretable, in the sense that all of the loss stages a) can be computed analytically, and b) can be clearly associated to the representation of a hidden latent tree variable, which allows to lift ambiguity and utilize information from wider contexts. By probing representations, we visualize the emergence of inside-outside computation across depth and during training: while during early stages local (bigram/trigram) information is used and involves only a few initial layers, gradually the Transformer develops an encoder-decoder structure where the most abstract latent information is encoded in the middle, and the latter half of the network is used to progressively refine the final token prediction. This organization of computation is reminiscent of findings in real-world LLMs, and importantly applies here to a synthetic model which allows full analytical control of the data statistics, thus opening the door to theoretical progress.","full_text":null,"reading_time_min":1,"extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1524,"usable_text_length":1524,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1524}}},"quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1524,"usable_text_length":1524,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1524}},"actions":{"read":"/item/140795","export_markdown":"/api/items/140795/export?format=markdown","export_json":"/api/items/140795/export?format=json","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221"}},"digest":{"id":140795,"title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","url":"https://arxiv.org/abs/2611.14221","source":"arxiv","topic":"ai","published_at":"2026-11-10T15:39:47+00:00","excerpt":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing…","quality_bucket":"medium","quality_reason":"Medium confidence: summary fallback used without full text.","reading_time_min":1,"cluster_id":null},"card":{"display_title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","subtitle":"arxiv · 2026-11-10","summary":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully…","badges":["quality:medium"],"links":{"read":"/item/140795","original":"https://arxiv.org/abs/2611.14221","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221"},"quality_warning":null},"export":{"title":"Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models","url":"https://arxiv.org/abs/2611.14221","summary":"Variability in syntactic structure and parsing ambiguity are fundamental aspects of natural language which modern LLMs have to learn to deal with proficiently. Previous \"post-mortem\" studies have shown that fully trained Transformers indeed approximate canonical parsing algorithms such as inside-outside, but little is established theoretically about how this is actually learned. Here, we make a first step towards addressing this by studying the learning dynamics in synthetic context-free grammars with variable parse tree topology. The stagewise learning curves are fully interpretable, in the sense that all of the loss stages a) can be computed analytically, and b) can be clearly associated to the representation of a hidden latent tree variable, which allows to lift ambiguity and utilize information from wider contexts. By probing representations, we visualize the emergence of inside-outside computation across depth and during training: while during early stages local (bigram/trigram) information is used and involves only a few initial layers, gradually the Transformer develops an encoder-decoder structure where the most abstract latent information is encoded in the middle, and the latter half of the network is used to progressively refine the final token prediction. This organization of computation is reminiscent of findings in real-world LLMs, and importantly applies here to a synthetic model which allows full analytical control of the data statistics, thus opening the door to theoretical progress.","source":"arxiv","date":"2026-11-10T15:39:47+00:00","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.14221","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1524,"usable_text_length":1524,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1524}},"tags":[],"format_contract_version":"news_item_formats.v1"}}}