Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Principle:Marker Inc Korea AutoRAG Strategy Based Module Selection

From Leeroopedia


Knowledge Sources
Domains Optimization, Evaluation
Last Updated 2026-02-08 06:00 GMT

Overview

A multi-criteria optimization technique that selects the best RAG module based on evaluation metrics, speed, and configurable selection strategies.

Description

Strategy-Based Module Selection is the decision engine at the heart of AutoRAG's optimization. After evaluating all module combinations within a node, the strategy selects the best module based on multiple metric columns. Three selection strategies are available: mean (simple average across metrics), rank (reciprocal rank fusion across metrics), and normalize_mean (min-max normalized average). An optional speed threshold can filter out modules that are too slow. The selected module becomes the node's output for the downstream pipeline.

Usage

This principle is configured per-node in the YAML config via the "strategy" key. Choose "mean" for simple optimization, "rank" when metrics have different scales, or "normalize_mean" for balanced multi-metric optimization.

Theoretical Basis

Mean strategy: scorei=1|M|mMmean(resultsi[m]) Select the module with the highest average metric score.

Rank strategy (Reciprocal Rank): For each metric, rank modules from best to worst: RR_scorei=mM1ranki(m) Select the module with the highest reciprocal rank sum.

Normalize-mean strategy: Min-max normalize each metric column, then take the mean: norm(x)=xminmaxmin scorei=1|M|mMnorm(mean(resultsi[m]))

Related Pages

Implemented By

Uses Heuristic

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment