{"id":30,"date":"2025-10-20T15:07:03","date_gmt":"2025-10-20T15:07:03","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/?p=30"},"modified":"2025-12-16T07:36:21","modified_gmt":"2025-12-16T13:36:21","slug":"prompting-techniques-designed-to-help-large-language-models-llms","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/prompting-techniques-designed-to-help-large-language-models-llms-30\/","title":{"rendered":"Prompting techniques designed to help large language models (LLMs)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Analysis of Advanced Reasoning Techniques in Large Language Models: Chain of Thought, Chain of Table, and Emergent Methodologies<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">[Author]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Gemini AI Research Department<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[Date]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">October 20, 2025<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Abstract<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Large Language Models (LLMs) demonstrate exceptional capabilities but often struggle with complex, multi-step reasoning tasks when given simple prompts. This paper analyzes the evolution of prompt engineering techniques designed to elicit more robust and transparent reasoning. We examine the foundational <strong>Chain of Thought (CoT)<\/strong> methodology, which guides LLMs to articulate intermediate textual steps [1]. We then analyze <strong>Chain of Table (CoTbl)<\/strong>, a critical adaptation that applies this principle to structured tabular data via sequential operations [2]. Finally, this report situates these methods within a broader context of advanced frameworks, including <strong>Self-Consistency (SC)<\/strong> [3] and <strong>Tree of Thoughts (ToT)<\/strong> [4], which introduce mechanisms for consensus-based validation and exploratory, non-linear problem-solving.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Introduction<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The performance of Large Language Models (LLMs) is highly dependent on the quality and structure of their prompts. For complex tasks requiring arithmetic, symbolic logic, or multi-step commonsense reasoning, a simple &#8220;Question -&gt; Answer&#8221; format often leads to failure [1]. The model attempts to &#8220;guess&#8221; the final answer in a single inference step, bypassing the intermediate logic required to arrive at a correct solution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To address this gap, a family of advanced prompting techniques has emerged. These methods do not alter the model&#8217;s architecture but rather guide its inference process to be more deliberate, structured, and transparent. The most pivotal of these is <strong>Chain of Thought (CoT)<\/strong>. This report analyzes the CoT framework, its specialized adaptation for tabular data (Chain of Table), and other emergent methodologies that build upon its principles.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Foundational Technique: Chain of Thought (CoT)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Chain of Thought (CoT) prompting is a technique that instructs an LLM to &#8220;show its work.&#8221; Instead of providing just a final answer, the model generates a sequence of intermediate reasoning steps that logically lead to the conclusion [1, 5].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.1 Mechanism<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CoT decomposes a multi-step problem into a series of smaller, manageable steps. This allows the model to allocate computation to each step sequentially, mirroring a human-like reasoning process [1]. Key implementation methods include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Few-Shot CoT:<\/strong>\n<ul class=\"wp-block-list\">\n<li>The prompt provides 1-3 examples of a problem.<\/li>\n\n\n\n<li>Each example includes a detailed, step-by-step reasoning chain leading to the correct answer.<\/li>\n\n\n\n<li>The LLM learns to emulate this reasoning pattern for new, similar queries [6].<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Zero-Shot CoT:<\/strong>\n<ul class=\"wp-block-list\">\n<li>No examples are provided in the prompt.<\/li>\n\n\n\n<li>A simple instructional phrase, such as &#8220;Let&#8217;s think step by step,&#8221; is appended to the user&#8217;s query.<\/li>\n\n\n\n<li>This trigger encourages the model to generate its own reasoning chain [5].<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">2.2 Analysis<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The primary benefit of CoT is a significant improvement in accuracy for tasks requiring multi-step logic [1]. It also enhances transparency, allowing users to understand and debug the model&#8217;s reasoning process [1]. However, its reliance on unstructured text limits its effectiveness for tasks requiring precise operations on structured data [2].<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Domain-Specific Adaptation: Chain of Table (CoTbl)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Chain of Table (CoTbl) was developed to address CoT&#8217;s limitations when reasoning over structured data like spreadsheets or database tables [2].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3.1 Mechanism<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CoTbl adapts the step-by-step principle by replacing the chain of text with a chain of evolving tables. The LLM is guided to iteratively generate and apply tabular operations (e.g., filter, sort, group_by, add_column) to a table. Key steps involve:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Receiving the initial query and table.<\/li>\n\n\n\n<li>Dynamically planning the next required tabular operation based on the query and current table state.<\/li>\n\n\n\n<li>Generating the arguments needed for that specific operation.<\/li>\n\n\n\n<li>Executing the operation, producing a new intermediate table.<\/li>\n\n\n\n<li>Repeating the planning and execution steps using the latest intermediate table until the final answer can be derived [2, 7].<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">3.2 Analysis<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CoTbl forces the LLM to remain grounded in the data&#8217;s structure by generating explicit, verifiable operations. This structured approach significantly reduces errors and &#8220;hallucinations&#8221; compared to applying free-text CoT to tabular data [2]. It provides an auditable trail of transformations, making it highly suitable for data analysis and complex querying tasks [7].<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Advanced and Related Methodologies<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The success of CoT spurred the development of more robust and complex reasoning frameworks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4.1 Self-Consistency (SC)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Self-Consistency (SC) addresses the issue that a single CoT chain can still contain errors [3]. It works as an ensemble method:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Generate <strong>multiple<\/strong> diverse reasoning paths (using CoT) for the same prompt, often by adjusting randomness during generation.<\/li>\n\n\n\n<li>Aggregate the final answers produced by each path.<\/li>\n\n\n\n<li>Select the <strong>most frequent answer<\/strong> (majority vote) as the final output [3, 8].<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This improves robustness because correct reasoning paths are more likely to converge on the same answer, while errors tend to be more varied [3].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4.2 Tree of Thoughts (ToT)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tree of Thoughts (ToT) is a more advanced framework that generalizes CoT from a single linear path to a branching tree structure [4]. This enables more deliberate exploration and strategic planning:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Generate Thoughts:<\/strong> At each step, generate multiple potential &#8220;next steps&#8221; or intermediate thoughts (branches).<\/li>\n\n\n\n<li><strong>Evaluate States:<\/strong> Use the LLM itself (or another mechanism) to evaluate the promise or viability of each branch towards solving the problem.<\/li>\n\n\n\n<li><strong>Search Algorithm:<\/strong> Employ search strategies (like breadth-first or depth-first search) to systematically explore the &#8220;thought tree,&#8221; allowing the model to <strong>backtrack<\/strong> from unpromising paths and pursue more fruitful ones [4, 9].<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This approach allows for a more complex and human-like exploration of the problem space, especially beneficial for tasks without a clear, predetermined solution path [9].<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Comparative Analysis of Reasoning Techniques<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The choice of technique depends heavily on the nature of the task, the required accuracy, and the available computational resources.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Table 1: Comparison of Advanced Reasoning Techniques<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Technique<\/strong><\/td><td><strong>Core Mechanism<\/strong><\/td><td><strong>Reasoning Path<\/strong><\/td><td><strong>Primary Use Case<\/strong><\/td><td><strong>Key Limitation<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>Chain of Thought (CoT)<\/strong><\/td><td>Generates intermediate textual steps.<\/td><td>Linear, Single<\/td><td>Arithmetic, commonsense, symbolic reasoning.<\/td><td>Brittle; a single error breaks the chain.<\/td><\/tr><tr><td><strong>Chain of Table (CoTbl)<\/strong><\/td><td>Generates intermediate table operations.<\/td><td>Linear, Single<\/td><td>Structured data querying, table-based QA.<\/td><td>High computational cost with large tables.<\/td><\/tr><tr><td><strong>Self-Consistency (SC)<\/strong><\/td><td>Samples multiple CoT paths; takes majority vote.<\/td><td>Parallel, Multiple<\/td><td>High-stakes, discrete-answer tasks (e.g., math).<\/td><td>Computationally expensive; less useful for creative tasks.<\/td><\/tr><tr><td><strong>Tree of Thoughts (ToT)<\/strong><\/td><td>Explores and evaluates multiple reasoning branches.<\/td><td>Branching (Tree)<\/td><td>Complex planning, strategic, or creative tasks.<\/td><td>Very high computational cost; complex to implement.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The evolution from standard prompting to advanced reasoning frameworks represents a significant leap in LLM capabilities. <strong>Chain of Thought<\/strong> provided the foundational insight that eliciting intermediate steps is key to unlocking complex reasoning. <strong>Chain of Table<\/strong> successfully adapted this principle for the critical, structured domain of data analysis.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Furthermore, techniques like <strong>Self-Consistency<\/strong> and <strong>Tree of Thoughts<\/strong> address the inherent limitations of a single, linear thought process. They introduce robustness through consensus (SC) and exploratory depth through parallel, evaluative reasoning (ToT). These methodologies, collectively, are moving LLMs from being simple &#8220;answer generators&#8221; to more deliberate, auditable, and powerful &#8220;problem solvers.&#8221;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Reference List<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">[1] NVIDIA. (n.d.). <em>What is Chain of Thought (CoT) Prompting?<\/em> NVIDIA. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/www.nvidia.com\/en-us\/glossary\/cot-prompting\/\">https:\/\/www.nvidia.com\/en-us\/glossary\/cot-prompting\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[2] Google Research. (2024, March 11). <em>Chain-of-table: Evolving tables in the reasoning chain for table understanding<\/em>. Google Research Blog. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/research.google\/blog\/chain-of-table-evolving-tables-in-the-reasoning-chain-for-table-understanding\/\">https:\/\/research.google\/blog\/chain-of-table-evolving-tables-in-the-reasoning-chain-for-table-understanding\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[3] PromptHub. (n.d.). <em>Self-Consistency and Universal Self-Consistency Prompting<\/em>. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/www.prompthub.us\/blog\/self-consistency-and-universal-self-consistency-prompting\">https:\/\/www.prompthub.us\/blog\/self-consistency-and-universal-self-consistency-prompting<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[4] Emeritus. (2024, January 22). <em>Tree of Thoughts Prompting; How Does it Enhance AI Results?<\/em> Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/emeritus.org\/blog\/tree-of-thoughts-prompting\/\">https:\/\/emeritus.org\/blog\/tree-of-thoughts-prompting\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[5] IBM. (n.d.). <em>What is chain of thought (CoT) prompting?<\/em> IBM. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/www.ibm.com\/think\/topics\/chain-of-thoughts\">https:\/\/www.ibm.com\/think\/topics\/chain-of-thoughts<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[6] Codecademy. (n.d.). <em>Chain of Thought Prompting Explained (with examples)<\/em>. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/www.codecademy.com\/article\/chain-of-thought-cot-prompting\">https:\/\/www.codecademy.com\/article\/chain-of-thought-cot-prompting<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[7] Relevance AI. (n.d.). <em>Master Chain-of-Table Prompting for Effective Data Analysis<\/em>. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/relevanceai.com\/prompt-engineering\/master-chain-of-table-prompting-for-effective-data-analysis\">https:\/\/relevanceai.com\/prompt-engineering\/master-chain-of-table-prompting-for-effective-data-analysis<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[8] Analytics Vidhya. (2024, July 12). <em>Self-Consistency in Prompt Engineering<\/em>. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/www.analyticsvidhya.com\/blog\/2024\/07\/self-consistency-in-prompt-engineering\/\">https:\/\/www.analyticsvidhya.com\/blog\/2024\/07\/self-consistency-in-prompt-engineering\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[9] IBM. (2025, July 15). <em>What is Tree Of Thoughts Prompting?<\/em> IBM. Retrieved October 20, 2025, from <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/www.ibm.com\/think\/topics\/tree-of-thoughts\">https:\/\/www.ibm.com\/think\/topics\/tree-of-thoughts<\/a><\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Analysis of Advanced Reasoning Techniques in Large Language Models: Chain of Thought, Chain of Table, and Emergent Methodologies [Author] Gemini AI Research Department [Date] October 20, 2025 Abstract Large Language Models (LLMs) demonstrate exceptional capabilities but often struggle with complex, multi-step reasoning tasks when given simple prompts. This paper analyzes the evolution of prompt engineering&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","fifu_image_url":"","fifu_image_alt":"","iawp_total_views":2,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-software-slug"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":6,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":3174,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/30\/revisions\/3174"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}