PRefLexOR: نمذجة اللغة التكرارية المعتمدة على التفضيلات من أجل تحسين استكشافي للتفكير المنطقي والتفكير الوكالي PRefLexOR: preference-based recursive language modeling for exploratory optimization of reasoning and agentic thinking

شارك:
المجلة: npj Artificial Intelligence، المجلد: 1، العدد: 1
DOI: https://doi.org/10.1038/s44387-025-00003-z
تاريخ النشر: 2025-05-14
المؤلف: Markus J. Buehler
الموضوع الرئيسي: نمذجة الموضوعات

نظرة عامة

يقدم هذا القسم PRefLexOR، وهو إطار عمل جديد مصمم لتعزيز تعلم التفضيلات في مهام الانحدار الترتيبي. يدمج هذا الإطار منهجيات متنوعة لنمذجة وتوقع التفضيلات بشكل فعال استنادًا إلى البيانات الترتيبية، وهو أمر حاسم في التطبيقات مثل أنظمة التوصية وتحليل تفضيلات المستخدمين.

تشير النتائج الرئيسية إلى أن PRefLexOR يتفوق على النماذج الحالية من حيث الدقة والموثوقية، خاصة في السيناريوهات التي تحتوي على بيانات تدريب محدودة. تتيح قدرة الإطار على الاستفادة من كل من إشارات التفضيل الصريحة والضمنية فهمًا أكثر دقة لخيارات المستخدم، مما يحسن الأداء التنبؤي في السياقات الترتيبية.

الطرق

في هذا القسم، يستكشف البحث تقاطع الأدب والفلسفة وعلوم المواد من خلال تحليل *لعبة الخرز الزجاجي* لهيرمان هيسه والتشابهات المفاهيمية مع البروتينات. يظهر النموذج تفكيرًا متقدمًا من خلال دمج موضوعات التعقيد الهيكلي والتنظيم الهرمي والطبيعة الديناميكية والترابط الموجودة في كل من السرد الفلسفي لهيسه والوظيفة البيولوجية للبروتينات. يفترض أن البروتينات، على غرار الخرز الزجاجي، تعمل على مستويات هرمية متعددة وتظهر قابلية للتكيف، مما يعكس تطور المعرفة والأفكار في عمل هيسه. يبرز هذا النهج بين التخصصات قدرة النموذج على ربط المفاهيم الفلسفية المجردة بالمبادئ العلمية الملموسة، مما يسلط الضوء على الأنماط العالمية التي تحكم كلا المجالين.

بالإضافة إلى ذلك، يحلل النموذج ملخص بحث حول منصة جديدة لتصنيع المركبات الفطرية الهيكلية من مواد مشتقة من الفطر. يلخص الابتكارات الرئيسية، مثل التصنيع الإضافي للبيوكومبوزيت عالي الدقة والتحسينات الميكانيكية الكبيرة، بينما يقترح ثمانية اتجاهات بحثية مبتكرة تبني على الدراسة الأصلية. تؤكد هذه الاقتراحات على القابلية للتوسع، وتعزيز المواد، والوظائف المتعددة، والاستدامة، مما يظهر فهمًا شاملاً لمبادئ علوم المواد والقدرة على دمج المعلومات عبر التخصصات. تؤكد النتائج على قدرات التفكير المعزز للنموذج، مما يعكس مستوى عالٍ من المرونة المعرفية والمعرفة بين التخصصات.

النتائج

يستعرض قسم النتائج عملية تدريب نموذج يهدف إلى تعزيز قدراته في التفكير من خلال مرحلتين متميزتين: تدريب دمج الفكر المنظم وتطوير التفكير المستقل. في المرحلة الأولى، يتعلم النموذج استخدام رموز خاصة مصممة للتفكير، مثل <|thinking|>، من خلال مزيج من التعديل الدقيق الخاضع للإشراف وتحسين التفضيلات باستخدام خوارزمية ORPO. تركز هذه المرحلة على تعليم النموذج التعرف على المطالبات المنظمة وتأسيس إطار تفضيل لاختيار الاستجابات المدروسة جيدًا. بحلول نهاية هذه المرحلة، يكون النموذج مجهزًا لتوليد مخرجات تتماشى مع الهياكل الفكرية الصريحة، مما يمهد الطريق لمهام تفكير أكثر تعقيدًا.

تؤكد المرحلة الثانية على قدرة النموذج على تطوير استراتيجيات التفكير بشكل مستقل. هنا، يتم إخفاء الرموز المتعلقة بعملية “التفكير”، مما يجبر النموذج على توليد استراتيجيات تفكير واتخاذ قرارات متماسكة بشكل مستقل. تهدف هذه المرحلة إلى تعزيز أداء النموذج في المهام الصعبة وتنقيح قدراته في اتخاذ القرار، حتى في السيناريوهات الغامضة. تتضمن عملية التدريب توليد أسئلة وأجوبة محددة المجال بشكل فوري، باستخدام خوارزمية تستخرج المعلومات الرئيسية من فهرس مُعد مسبقًا. تشمل المخرجات النهائية سؤالًا، وإجابة صحيحة مع “قسم التفكير” مفصل، وإجابة مرفوضة، مما يوفر إطارًا قويًا لتقييم مهارات التفكير. يستخدم التدريب تحسينًا دقيقًا فعالًا (EXO) لتنقيح أداء النموذج بشكل أكبر، مع التركيز على تحسين الإجابات النهائية بينما يتم إخفاء التفكير الوسيط، مما يؤدي في النهاية إلى نموذج قادر على التفكير المتقدم والتواصل الفعال للمفاهيم المعقدة.

المناقشة

يسلط قسم المناقشة في الورقة الضوء على قدرات التفكير المتقدمة لنموذج PRefLexOR، خاصة نهجه بين التخصصات الذي يدمج المفاهيم المجردة مع الاستفسارات العلمية. يظهر النموذج قدرة ملحوظة على رسم الروابط بين مجالات متنوعة، مثل ربط الهيكل الهرمي للبروتينات بالعناصر الفلسفية في لعبة الخرز الزجاجي لهيرمان هيسه. يتم تسهيل هذا التفكير بين التخصصات من خلال استراتيجية تدريب مستوحاة من التعلم المعزز (RL)، والتي تؤكد على الوضوح والدقة في الاستجابات النهائية، مما يسمح للنموذج بإنتاج استنتاجات متماسكة دون الاعتماد بشكل كبير على خطوات التفكير الوسيطة.

علاوة على ذلك، تقدم الورقة عملية تفكير متعددة المراحل تتضمن كل من مراحل التفكير والتفكير العميق. في مرحلة التفكير، يولد النموذج خطوات التفكير الأولية، بينما تسمح مرحلة التفكير العميق بالتقييم النقدي وتنقيح هذه الأفكار. تعزز خوارزمية التفكير التكرارية جودة مخرجات النموذج من خلال تحسين الاستجابات بشكل متكرر استنادًا إلى ملاحظات من نموذج ناقد. تظهر النتائج أن هذا النهج المنظم يؤدي إلى إجابات أكثر دقة وشمولية، خاصة في سياق علوم المواد البيولوجية. لا يحسن هذا العملية التكرارية عمق ودقة الاستجابات فحسب، بل يظهر أيضًا قدرة النموذج على التكيف والوعي بالوضع، مما يمثل تقدمًا كبيرًا في تطبيق النماذج التوليدية على المشكلات العلمية المعقدة.

Journal: npj Artificial Intelligence, Volume: 1, Issue: 1
DOI: https://doi.org/10.1038/s44387-025-00003-z
Publication Date: 2025-05-14
Author(s): Markus J. Buehler
Primary Topic: Topic Modeling

Overview

The section introduces PRefLexOR, a novel framework designed to enhance preference learning in ordinal regression tasks. This framework integrates various methodologies to effectively model and predict preferences based on ordinal data, which is crucial in applications such as recommendation systems and user preference analysis.

Key findings indicate that PRefLexOR outperforms existing models in terms of accuracy and robustness, particularly in scenarios with limited training data. The framework’s ability to leverage both explicit and implicit preference signals allows for a more nuanced understanding of user choices, thereby improving predictive performance in ordinal contexts.

Methods

In this section, the research explores the intersection of literature, philosophy, and materials science through an analysis of Hermann Hesse’s *Glass Bead Game* and its conceptual parallels with proteins. The model demonstrates advanced reasoning by synthesizing themes of structural complexity, hierarchical organization, dynamic nature, and interconnectedness present in both Hesse’s philosophical narrative and the biological function of proteins. It posits that proteins, akin to the glass beads, operate on multiple hierarchical levels and exhibit adaptability, reflecting the evolution of knowledge and ideas in Hesse’s work. This interdisciplinary approach showcases the model’s ability to bridge abstract philosophical concepts with concrete scientific principles, highlighting the universal patterns that govern both domains.

Additionally, the model analyzes a research abstract on a novel platform for manufacturing structural myco-composites from mushroom-derived materials. It summarizes key innovations, such as high-resolution biocomposite additive manufacturing and significant mechanical improvements, while proposing eight forward-thinking research directions that build on the original study. These proposals emphasize scalability, material enhancement, multifunctionality, and sustainability, demonstrating a comprehensive understanding of materials science principles and the ability to synthesize information across disciplines. The findings underscore the model’s enhanced reasoning capabilities, reflecting a high level of cognitive flexibility and interdisciplinary knowledge.

Results

The results section outlines the training process of a model aimed at enhancing its reasoning capabilities through two distinct phases: Structured Thought Integration Training and Independent Reasoning Development. In the first phase, the model learns to utilize special tokens designed for reasoning, such as <|thinking|>, through a combination of supervised fine-tuning and preference optimization using the ORPO algorithm. This phase focuses on teaching the model to recognize structured prompts and establish a preference framework for selecting well-reasoned responses. By the end of this phase, the model is equipped to generate outputs that adhere to explicit thought structures, setting the stage for more complex reasoning tasks.

The second phase emphasizes the model’s ability to develop reasoning strategies autonomously. Here, tokens related to the “thinking” process are masked, compelling the model to generate coherent reasoning and decision-making strategies independently. This phase aims to enhance the model’s performance on challenging tasks and refine its decision-making capabilities, even in ambiguous scenarios. The training process involves generating domain-specific questions and answers on-the-fly, utilizing an algorithm that extracts key information from a preconstructed index. The final output includes a question, a correct answer with a detailed “Thinking Section,” and a rejected answer, providing a robust framework for evaluating reasoning skills. The training employs Efficient Exact Optimization (EXO) to further refine the model’s performance, focusing on optimizing final answers while masking intermediate reasoning, ultimately resulting in a model capable of sophisticated reasoning and effective communication of complex concepts.

Discussion

The discussion section of the paper highlights the advanced reasoning capabilities of the PRefLexOR model, particularly its interdisciplinary approach that integrates abstract concepts with scientific inquiries. The model demonstrates a remarkable ability to draw connections between diverse fields, such as linking the hierarchical structure of proteins to the philosophical elements of Hermann Hesse’s Glass Bead Game. This interdisciplinary reasoning is facilitated by a training strategy inspired by reinforcement learning (RL), which emphasizes clarity and precision in final responses, allowing the model to produce coherent conclusions without relying heavily on intermediate reasoning steps.

Furthermore, the paper introduces a multi-stage reasoning process that incorporates both thinking and reflection phases. In the thinking phase, the model generates initial reasoning steps, while the reflection phase allows for critical evaluation and refinement of these ideas. This recursive reasoning algorithm enhances the model’s output quality by iteratively improving responses based on feedback from a critic model. The results demonstrate that this structured approach leads to more nuanced and comprehensive answers, particularly in the context of biological materials science. The iterative process not only improves the depth and accuracy of responses but also showcases the model’s adaptability and situational awareness, marking a significant advancement in the application of generative models to complex scientific problems.

شارك: