LLMs struggle in realistic environments due to a lack of high-quality agent data. LEARN-BY-INTERACT synthesizes this data automatically by having LLMs interact with environments and refining instructions based on interaction histories.
-----
Paper - https://arxiv.org/abs/2501.10893
Original Problem π€:
β Existing LLMs perform poorly in complex, real-world tasks.
β Annotating agent data for training is expensive and challenging.
β Current methods for adapting LLMs to new environments are limited.
-----
Solution in this Paper π‘:
β LEARN-BY-INTERACT creates synthetic training data through LLM interaction with environments.
β It generates instructions using self-instruct, guided by documentations.
β LLMs attempt to complete tasks, generating interaction trajectories.
β Backward construction creates refined instructions by summarizing or abstracting sub-trajectories, fixing misalignments between initial instructions and LLM-generated trajectories.
β Agentic retrieval methods optimize data usage in both training and In-Context Learning (ICL).
-----
Key Insights from this Paper π²:
β Backward construction is crucial for generating high-quality training data.
β Agentic retrieval improves performance and efficiency in ICL
β Synthesized data improves LLM performance across diverse environments.
-----
Results π―:
β Improves baseline results by up to 12.2% for ICL with Claude-3.5 and 19.5% for training with Codestral-22B.
β Backward construction provides up to 14.0% improvement in training.
β Agentic retrieval outperforms conventional retrieval methods.










