Summary
This paper introduces AutoManual, a framework enabling LLM agents to autonomously build understanding of new environments and generate instruction manuals through interactive learning. The system comprises three main components: a Planner agent generating code-based plans for environment interaction, a Builder agent updating a structured rule system based on observed trajectories, and a Formulator agent compiling rules into a comprehensive manual. To mitigate hallucinations in rule management, the authors implement a case-conditioned prompting strategy for the Builder. The framework is evaluated on the ALFWorld and MiniWoB++ benchmarks, demonstrating high success rates. AutoManual aims to address limitations of prior approaches such as path dependency and reliance on extensive human-provided instructions, potentially improving the adaptability and generalization of LLM agents in diverse environments.
Strengths
Originality:
- Novel and creative framework for online rule learning and manual generation by LLM agents
- Innovative case-conditioned prompting strategy for rule management
Quality:
- Detailed examples and case studies demonstrating the approach
- Careful comparison to relevant baselines (e.g., ReAct, Reflexion, ExpeL)
Clarity:
- Clear explanation of the overall framework and key components
- Well-structured paper and easy to follow
- Detailed appendix with prompts, examples, and implementation details
Significance:
- Addresses an important challenge in building more general and adaptable LLM agents
- Demonstrates a path towards more autonomous learning in new environments
Weaknesses
1. Heavy reliance on very capable LLMs like GPT-4, and dependency on oracle feedback during rule construction process limits broader applicability, do we have results by fine-tuning smaller models on the generated data?
2. Scalability to larger, more complex environments is unclear - the current approach puts all rules in LLM context. It’s not clear how easily the method can be generalized to other environments, for example, SWE-Bench.
3. Limited evaluation of the quality and usefulness of the generated manuals for humans. Lack of theoretical analysis on the rule learning process.
Questions
1. How is the initial rules and examples selected and how sensitive is the performance to the quality of the initial rules/examples provided? How this initialization needs to be changed when we switch to different environments?
2. In Section 3.2 Skill and Reflection library construction, the most similar task is retrieved from the skill library when new task comes, how is the similarity between task been defined?
3. In 3.3 Rule types definition, how does the 6 rule types come up?
4. Table 2 shows the success rate of LLM agents on 9 task types with feedback, what are those feedback, and is the feedback rely on an oracle who know the correct answer/solution for the given query?
Limitations
The authors provide a reasonable discussion of limitations, including reliance on GPT-4 and potential scaling challenges. However, more concrete mitigation strategies are missing. They also touch on broader impacts, noting both positive potential (e.g., improved safety, worker training) and risks (e.g., unpredictable behaviors).
Side note: should the limitation and broader impact discussions be included within the main 9-page scope rather than in the Appendix?