atlas

Research map / Large language models / Agents, code and math

AMOR: A Recipe for Building Adaptable Modular Knowledge Agents Through Process Feedback

NeurIPS 2024 · Large language models › Agents, code and math · approach: Long-horizon LLM agents · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AMOR, a finite-state-machine-based modular knowledge agent built on LLaMA-2 chat models with MA-MoE, warmed up on public QA data and adapted via process feedback optimized with KTO.

Problem

Building knowledge-intensive language agents that have precise, controllable reasoning logic, can adapt to specific domains, and can be steered by human feedback on intermediate reasoning steps rather than only final outcomes.

Approach

Model agent reasoning as a finite state machine over disentangled LLM and tool modules, train module-specific FFN experts (MA-MoE) on automatically constructed warm-up data, and adapt via process-level feedback (per-module right/wrong or refinements) optimized with KTO plus MLE regularization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use FSM-based AMOR reasoning instead of ReActLLaMA-2-7B-Chat without fine-tuning · HotpotQAEM: 12.2 -> 26.0Helped
add warm-up fine-tuning (ablation)AMOR · HotpotQAEM: 26.0 -> 33.6Helped
add warm-up fine-tuning (ablation)AMOR · PubMedQAACC: 62.9 -> 73.4Helped
add warm-up fine-tuning (ablation)AMOR · QasperEM: 4.5 -> 11.1Helped
use process feedback instead of outcome feedback for adaptation (ablation)AMOR · HotpotQAEM: 40.8 -> 45.8Helped
use process feedback instead of outcome feedback for adaptation (ablation)AMOR · PubMedQAACC: 77.5 -> 81.1Helped
use process feedback instead of outcome feedback for adaptation (ablation)AMOR · QasperEM: 9.4 -> 19.1Helped
replace SFT with KTO (ablation)AMOR Process with MA-MoE · HotpotQAEM: 43.2 -> 45.8Helped
replace SFT with KTO (ablation)AMOR Process with MA-MoE · PubMedQAACC: 79.3 -> 81.1Helped
replace SFT with KTO (ablation)AMOR Process with MA-MoE · QasperEM: 18.6 -> 19.1Helped
add module-specific awareness to the MoE architecture (ablation)AMOR with SFT · HotpotQAEM: 41.6 -> 43.2Helped
add module-specific awareness to the MoE architecture (ablation)AMOR with SFT · PubMedQAACC: 78.8 -> 79.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: 2WikiMultiHopQA Musique NaturalQuestions BoolQ HotpotQA PubMedQA Qasper

Benchmarks: HotpotQA PubMedQA Qasper

Metrics: EM F1 ACC recall of gold evidence

Baselines: CoT OneR ReAct ReWoo Lumos AgentLM FireAct Self-RAG

Builds on: Chain-of-thought ReAct Self-RAG Contriever KTO Mixture-of-Experts

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy