Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 14, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 14, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 14, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 14, 2025

      I test a lot of AI coding tools, and this stunning new OpenAI release just saved me days of work

      May 14, 2025

      How to use your Android phone as a webcam when your laptop’s default won’t cut it

      May 14, 2025

      The 5 most customizable Linux desktop environments – when you want it your way

      May 14, 2025

      Gen AI use at work saps our motivation even as it boosts productivity, new research shows

      May 14, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Strategic Cloud Partner: Key to Business Success, Not Just Tech

      May 14, 2025
      Recent

      Strategic Cloud Partner: Key to Business Success, Not Just Tech

      May 14, 2025

      Perficient’s “What If? So What?” Podcast Wins Gold at the 2025 Hermes Creative Awards

      May 14, 2025

      PIM for Azure Resources

      May 14, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Windows 11 24H2’s Settings now bundles FAQs section to tell you more about your system

      May 14, 2025
      Recent

      Windows 11 24H2’s Settings now bundles FAQs section to tell you more about your system

      May 14, 2025

      You can now share an app/browser window with Copilot Vision to help you with different tasks

      May 14, 2025

      Microsoft will gradually retire SharePoint Alerts over the next two years

      May 14, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»LM-Guided CoT: A Novel Machine Learning Framework that Leverages a Lightweight (10B) LM in Reasoning Tasks

    LM-Guided CoT: A Novel Machine Learning Framework that Leverages a Lightweight (10B) LM in Reasoning Tasks

    April 15, 2024

    Chain-of-thought (CoT) prompting involves instructing language models (LMs) to reason step by step, resulting in improved performance across various arithmetic, commonsense, and symbolic reasoning domains. However, conventional CoT has limitations. While it shows performance gains in large LMs of 100+ billion parameters, it often yields repetitive and vacuous rationales due to their lack of faithfulness to input instances and tendency to produce unaligned rationales and answers.

    Recent research has explored methods to enhance the reasoning abilities of small LMs for computational efficiency or task performance. Rationale distillation involves a small LM learning from a larger one to generate CoT rationales. However, limited investigation has been conducted to address errors inherited from the teacher model. Also, efforts have been made to evaluate and refine rationales beyond distillation, emphasizing logicality, relevance, informativeness, coherence, and repetition. While reinforcement learning (RL) has been applied to correct misaligned LM behaviors, rationale correction must be explored.

    Researchers from Penn State University and Amazon AGI propose a unique method, LM-guided CoT, utilizing two distinct LMs for CoT reasoning. The method involves a small LM for rationale generation and a large LM for answer prediction. Initially, a vanilla knowledge distillation (KD) technique is applied to the small LM using rationales generated by the large LM, narrowing the gap in their reasoning capabilities. Subsequently, fine-grained measurements, including relevance, actuality, logicality, consistency, coherence, fluency, naturalness, and readability, are employed to optimize the knowledge-distilled LM through RL. This approach enhances the quality of generated rationales and ultimately improves CoT reasoning performance.

    LM-guided CoT framework introduces two LMs: a lightweight model (MS) for generating optimal rationales and a large model (ML) for predicting outputs based on these rationales. Rationale distillation involves MS learning from ML-generated rationales, with filtering to prevent error inheritance. Rationale refinement employs eight linguistic aspect measurements, initially annotated manually and later automated for RL-based training of MS. Proximal Policy Optimization (PPO) is used to update MS with rewards based on aspect-specific evaluation metrics and task-specific accuracy, incorporating penalties for model consistency.

    The study compares ML (equivalent to FLAN-T5 XXL) performance with and without CoT prompting, finding a drop in accuracy due to limited reasoning capabilities with long contexts. LM-guided CoT, especially with KD alone, outperforms original CoT prompting by 2% and 10% on HotpotQA and 2WikiMultiHopQA, respectively. This approach improves answer prediction and rationale quality significantly, especially for questions with lengthy contexts, surpassing CoT prompting + SC and rivaling standard prompting in accuracy.

    In conclusion, this research introduces LM-Guided CoT, a framework that enhances CoT prompting by decomposing it into rationale generation and answer prediction steps optimized with RL. Outperforming all baselines, it proves an effective and resource-efficient solution for CoT challenges. However, selecting top-quality rationales doesn’t consistently improve task performance, suggesting a need to balance LM-generated rationales and overall task efficiency for optimal results.

    Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

    If you like our work, you will love our newsletter..

    Don’t Forget to join our 40k+ ML SubReddit

    Want to get in front of 1.5 Million AI Audience? Work with us here

    The post LM-Guided CoT: A Novel Machine Learning Framework that Leverages a Lightweight (<1B) Language Model (LM) for guiding a black-box large (>10B) LM in Reasoning Tasks appeared first on MarkTechPost.

    Source: Read More 

    Hostinger
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleMeet Andesite AI: An Advanced AI Security Analytics Startup that Empowers both Private- and Public-Sector Cyber Experts
    Next Article Palo Alto Networks Releases Urgent Fixes for Exploited PAN-OS Vulnerability

    Related Posts

    Machine Learning

    Georgia Tech and Stanford Researchers Introduce MLE-Dojo: A Gym-Style Framework Designed for Training, Evaluating, and Benchmarking Autonomous Machine Learning Engineering (MLE) Agents

    May 15, 2025
    Machine Learning

    A Step-by-Step Guide to Build an Automated Knowledge Graph Pipeline Using LangGraph and NetworkX

    May 15, 2025

    1 Comment

    1. binance on September 20, 2024 4:31 PM

      I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

      Reply
    Leave A Reply Cancel Reply

    Continue Reading

    Top Speaker Diarization Libraries and APIs in 2023

    Artificial Intelligence

    It turns out you can only change VRAM on Legion Go and Legion Go S handhelds by going into the BIOS — Here’s how it works

    News & Updates

    Elevate business productivity with Amazon Q and Amazon Connect

    Machine Learning

    CVE-2024-12273 – CalculatedRoute Form WordPress Stored Cross-Site Scripting

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Development

    2024 Is The Year of Elections… And Disinformation

    April 27, 2024

    By Roman Faithfull, Cyber Intelligence Lead, Cyjax 2024 will see more elections than any other…

    Why might a business use web scraping to collect data?

    May 13, 2024

    Chinese AGI Startup ‘StepFun’ Developed ‘Step-2’: A New Trillion-Parameter MoE Architecture Model Ranking 5th on Livebench

    November 21, 2024

    Design Inspiration

    January 7, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.