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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

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

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 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

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

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

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»APEER: A Novel Automatic Prompt Engineering Algorithm for Passage Relevance Ranking

    APEER: A Novel Automatic Prompt Engineering Algorithm for Passage Relevance Ranking

    June 23, 2024

    A significant challenge in the field of Information Retrieval (IR) using Large Language Models (LLMs) is the heavy reliance on human-crafted prompts for zero-shot relevance ranking. This dependence requires extensive human effort and expertise, making the process time-consuming and subjective. Additionally, the complexities involved in relevance ranking, such as integrating query and long passage pairs and the need for comprehensive relevance assessments, are inadequately addressed by existing methods. These challenges hinder the efficient and scalable application of LLMs in real-world scenarios, limiting their full potential in enhancing IR tasks.

    Current methods for addressing this challenge primarily involve manual prompt engineering, which, although effective, is time-consuming and subjective. Manual methods lack scalability and are constrained by the variability in human expertise. Additionally, existing automatic prompt engineering techniques focus more on simpler tasks like language modeling and classification, failing to address the unique complexities of relevance ranking. These complexities include the integration of query and passage pairs and the need for comprehensive relevance ranking, which existing methods handle suboptimally due to their simpler optimization processes.

    A team of researchers from Rutgers University and the University of Connecticut proposes APEER (Automatic Prompt Engineering Enhances LLM Reranking), which automates prompt engineering through iterative feedback and preference optimization. This approach minimizes human involvement by generating refined prompts based on performance feedback and aligning them with preferred prompt examples. By systematically refining prompts, APEER addresses the limitations of manual prompt engineering and enhances the efficiency and accuracy of LLMs in IR tasks. This method represents a significant advancement by providing a scalable and effective solution for optimizing LLM prompts in complex relevance ranking scenarios.

    APEER operates by initially generating prompts and refining them through two main optimization steps. Feedback optimization involves obtaining performance feedback on the current prompt and generating a refined version. Preference optimization further enhances this prompt by learning from sets of positive and negative examples. The training and validation of APEER are conducted using multiple datasets, including MS MARCO, TREC-DL, and BEIR, ensuring the method’s robustness and effectiveness across various IR tasks and LLM architectures.

    APEER demonstrates significant improvements in LLM performance for relevance ranking tasks. Key performance metrics such as nDCG@1, nDCG@5, and nDCG@10 show substantial gains over state-of-the-art manual prompts. For instance, APEER achieved an average improvement of 5.29 nDCG@10 on eight BEIR datasets compared to manual prompts on the LLaMA3 model. Additionally, APEER’s prompts exhibit better transferability across diverse tasks and LLM architectures, consistently outperforming baseline methods across various datasets and models, including GPT-4, LLaMA3, and Qwen2.

    In conclusion, the proposed method, APEER, automates prompt engineering for LLMs in IR, addressing the critical challenge of reliance on human-crafted prompts. By employing iterative feedback and preference optimization, APEER reduces human effort and significantly improves LLM performance across various datasets and models. This innovation represents a substantial advancement in the field, providing a scalable and effective solution for optimizing LLM prompts in complex relevance ranking scenarios.

    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 and LinkedIn Group.

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

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

    [Sign Up for Free] Try Gretel Navigator, the first compound AI system built to create, edit, and augment tabular data.

    The post APEER: A Novel Automatic Prompt Engineering Algorithm for Passage Relevance Ranking appeared first on MarkTechPost.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleResearchers from the University of Maryland Introduce GenQA Instruction Dataset: Automating Large-Scale Instruction Dataset Generation for AI Model Finetuning and Diversity Enhancement
    Next Article Cephalo: A Series of Open-Source Multimodal Vision Large Language Models (V-LLMs) Specifically in the Context of Bio-Inspired Design

    Related Posts

    Machine Learning

    LLMs Struggle with Real Conversations: Microsoft and Salesforce Researchers Reveal a 39% Performance Drop in Multi-Turn Underspecified Tasks

    May 17, 2025
    Machine Learning

    This AI paper from DeepSeek-AI Explores How DeepSeek-V3 Delivers High-Performance Language Modeling by Minimizing Hardware Overhead and Maximizing Computational Efficiency

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Nexusflow Releases Athene-V2: An Open 72B Model Suite Comparable to GPT-4o Across Benchmarks

    Development

    This viral iPhone keyboard case is the most ingenious accessory I’ve tested

    Development

    The Complete Guide to NetSuite SuiteScript

    Artificial Intelligence

    Autogpt Examples: Expert Tips for Success

    Development

    Highlights

    TIOBE Programming Language Index News (June 2024): C++ Rises to Second Place

    June 11, 2024

    Created to expand upon C, it took C++ 39 years to overturn C’s popularity on…

    Master Cassandra with Spring Boot: Step-by-Step Guide for Developers

    January 1, 2025

    VPBank Builds OpenAPI Platform With MongoDB

    April 28, 2025

    CISA Adds Palo Alto Networks and SonicWall Flaws to Exploited Vulnerabilities List

    February 19, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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