Main Article Content
Abstract
Large language model agents must be able to recover from task failures, accumulate effective experience, and maintain an appropriate balance in the frequency of human intervention. This study proposes MetaSCA, a meta-learning-based self-correcting agent. Based on a frozen Qwen2.5-7B-Instruct model, MetaSCA employs a lightweight controller, prompt and workflow optimization, and procedural memory to enable agents to adjust their execution processes based on task feedback. Furthermore, the system assesses the task's confidence and potential risks based on current execution results and then selects the next processing method accordingly. According to the evaluation scheme in the research, MetaSCA achieved a task success rate of 54.6 ± 1.7% in five experiments on WebArena, higher than the 48.8 ± 2.0% achieved by Promptbreeder. The ratios of MetaSCA for the two indicators of manual intervention and constraint violation were 15.2 +/- 1.4% and 6.2 +/- 1.4. Those of Promptbreeder were 13.9 +/- 1.5% and 9.2 +/- 1.0%. Later ablation experiments and perturbation analysis examine the effects of the correction strategies, memory mechanisms, and manual intervention on the system performance. Appendix A presents the analysis of the risk calibration and intervention selection decision rules.
Keywords
Article Details
References
- M. Abou Ali, F. Dornaika and J. Charafeddine, “Agentic AI: a comprehensive survey of architectures, applications, and future directions,” Artificial Intelligence Review, vol. 59, Art. 11, 2026. https://doi.org/10.1007/s10462-025-11422-4
- W. Xu, C. Huang, S. Gao and S. Shang, “LLM-Based Agents for Tool Learning: A Survey,” Data Science and Engineering, vol. 10, no. 4, pp. 533–563, 2025. https://doi.org/10.1007/s41019-025-00296-9
- K. He, D. Fu, L. Yang, W. Xu and C. Wang, “SelfCorrect-Agent: Toward robust and generalizable LLM-based agents,” Neurocomputing, vol. 670, Art. 132546, 2026. https://doi.org/10.1016/j.neucom.2025.132546
- S. Du, J. Zhao, J. Shi, Z. Xie, X. Jiang, Y. Bai and L. He, “A Survey on the Optimization of Large Language Model-based Agents,” ACM Computing Surveys, vol. 58, no. 9, pp. 1–37, 2026. https://doi.org/10.1145/3789261
- M. H. Nguyen, D. H. Nguyen, B. O’Sullivan and H. D. Nguyen, “On Controllability in Agentic AI: A Survey,” Minds and Machines, vol. 36, no. 2, Art. 29, 2026. https://doi.org/10.1007/s11023-026-09783-y
- Z. Z. Wang, J. Mao, D. Fried and G. Neubig, “Agent Workflow Memory,” Proceedings of Machine Learning Research, vol. 267, pp. 63897–63911, 2025. https://proceedings.mlr.press/v267/wang25bx.html
- A. Zhao, D. Huang, Q. Xu, M. Lin, Y. J. Liu and G. Huang, “ExpeL: LLM Agents Are Experiential Learners,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 38, no. 17, pp. 19632–19642, 2024. https://doi.org/10.1609/aaai.v38i17.29936
- G. Wang, et al., “Voyager: An open-ended embodied agent with large language models,” Transactions on Machine Learning Research, 2024. https://openreview.net/forum?id=ehfRiF0R3a
- M. Chen, Y. Li, Y. Yang, S. Yu, B. Lin and X. He, “AutoManual: Constructing instruction manuals by LLM agents via interactive environmental learning,” Advances in Neural Information Processing Systems, vol. 37, pp. 589–631, 2024. https://doi.org/10.52202/079017-0019
- S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan and Y. Cao, “ReAct: Synergizing reasoning and acting in language models,” International Conference on Learning Representations, 2023. https://openreview.net/forum?id=WE_vluYUL-X
- C. Qu, et al., “Tool learning with large language models: a survey,” Frontiers of Computer Science, vol. 19, no. 8, Art. 198343, 2025. https://doi.org/10.1007/s11704-024-40678-2
- U. Nisa, M. Shirazi, M. A. Saip and M. S. M. Pozi, “Agentic AI: The age of reasoning—A review,” Journal of Automation and Intelligence, vol. 5, no. 1, pp. 69–89, 2026. https://doi.org/10.1016/j.jai.2025.08.003
- N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan and S. Yao, “Reflexion: language agents with verbal reinforcement learning,” Advances in Neural Information Processing Systems, vol. 36, pp. 8634–8652, 2023. https://doi.org/10.52202/075280-0377
- A. Madaan, et al., “Self-Refine: Iterative refinement with self-feedback,” Advances in Neural Information Processing Systems, vol. 36, pp. 46534–46594, 2023. https://doi.org/10.52202/075280-2019
- X. Liang, et al., “SAGE: Self-evolving Agents with Reflective and Memory-augmented Abilities,” Neurocomputing, vol. 647, Art. 130470, 2025. https://doi.org/10.1016/j.neucom.2025.130470
- X. Ma, et al., “FuseMind: Fusing reflection and prediction elevates agent’s reasoning capabilities,” Neurocomputing, vol. 658, Art. 131755, 2025. https://doi.org/10.1016/j.neucom.2025.131755
- C. Fernando, D. S. Banarse, H. Michalewski, S. Osindero and T. Rocktäschel, “Promptbreeder: Self-referential self-improvement via prompt evolution,” Proceedings of Machine Learning Research, vol. 235, pp. 13481–13544, 2024. https://proceedings.mlr.press/v235/fernando24a.html
- Y. Ou, et al., “Symbolic learning enables self-evolving agents,” AI Open, vol. 6, pp. 314–322, 2025. https://doi.org/10.1016/j.aiopen.2025.11.004
- S. Ye, Z. Sun, G. Wang, L. Guo, Q. Liang, Z. Li and Y. Liu, “Prompt Alchemy: Automatic Prompt Refinement for Enhancing Code Generation,” IEEE Transactions on Software Engineering, vol. 51, no. 9, pp. 2472–2493, 2025. https://doi.org/10.1109/TSE.2025.3589634
- X. Sécheresse, J. Y. Guilbert–Ly and A. Villedieu de Torcy, “GAAPO: genetic algorithmic applied to prompt optimization,” Frontiers in Artificial Intelligence, vol. 8, Art. 1613007, 2025. https://doi.org/10.3389/frai.2025.1613007
- C. Finn, P. Abbeel and S. Levine, “Model-agnostic meta-learning for fast adaptation of deep networks,” Proceedings of Machine Learning Research, vol. 70, pp. 1126–1135, 2017. https://proceedings.mlr.press/v70/finn17a.html
- R. Valiente and P. K. Pilly, “Metacognition for Unknown Situations and Environments (MUSE),” Neural Networks, vol. 194, Art. 108131, 2026. https://doi.org/10.1016/j.neunet.2025.108131
- S. Zhou, et al., “WebArena: A realistic web environment for building autonomous agents,” International Conference on Learning Representations, 2024. https://proceedings.iclr.cc/paper_files/paper/2024/hash/4410c0711e9154a7a2d26f9b3816d1ef-Abstract-Conference.html
- E. Debenedetti, J. Zhang, M. Balunovic, L. Beurer-Kellner, M. Fischer and F. Tramèr, “AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents,” Advances in Neural Information Processing Systems, vol. 37, pp. 82895–82920, 2024. https://doi.org/10.52202/079017-2636
- Qwen Team, “Qwen2.5-7B-Instruct,” official model card, 2024. https://huggingface.co/Qwen/Qwen2.5-7B-Instruct
References
M. Abou Ali, F. Dornaika and J. Charafeddine, “Agentic AI: a comprehensive survey of architectures, applications, and future directions,” Artificial Intelligence Review, vol. 59, Art. 11, 2026. https://doi.org/10.1007/s10462-025-11422-4
W. Xu, C. Huang, S. Gao and S. Shang, “LLM-Based Agents for Tool Learning: A Survey,” Data Science and Engineering, vol. 10, no. 4, pp. 533–563, 2025. https://doi.org/10.1007/s41019-025-00296-9
K. He, D. Fu, L. Yang, W. Xu and C. Wang, “SelfCorrect-Agent: Toward robust and generalizable LLM-based agents,” Neurocomputing, vol. 670, Art. 132546, 2026. https://doi.org/10.1016/j.neucom.2025.132546
S. Du, J. Zhao, J. Shi, Z. Xie, X. Jiang, Y. Bai and L. He, “A Survey on the Optimization of Large Language Model-based Agents,” ACM Computing Surveys, vol. 58, no. 9, pp. 1–37, 2026. https://doi.org/10.1145/3789261
M. H. Nguyen, D. H. Nguyen, B. O’Sullivan and H. D. Nguyen, “On Controllability in Agentic AI: A Survey,” Minds and Machines, vol. 36, no. 2, Art. 29, 2026. https://doi.org/10.1007/s11023-026-09783-y
Z. Z. Wang, J. Mao, D. Fried and G. Neubig, “Agent Workflow Memory,” Proceedings of Machine Learning Research, vol. 267, pp. 63897–63911, 2025. https://proceedings.mlr.press/v267/wang25bx.html
A. Zhao, D. Huang, Q. Xu, M. Lin, Y. J. Liu and G. Huang, “ExpeL: LLM Agents Are Experiential Learners,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 38, no. 17, pp. 19632–19642, 2024. https://doi.org/10.1609/aaai.v38i17.29936
G. Wang, et al., “Voyager: An open-ended embodied agent with large language models,” Transactions on Machine Learning Research, 2024. https://openreview.net/forum?id=ehfRiF0R3a
M. Chen, Y. Li, Y. Yang, S. Yu, B. Lin and X. He, “AutoManual: Constructing instruction manuals by LLM agents via interactive environmental learning,” Advances in Neural Information Processing Systems, vol. 37, pp. 589–631, 2024. https://doi.org/10.52202/079017-0019
S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan and Y. Cao, “ReAct: Synergizing reasoning and acting in language models,” International Conference on Learning Representations, 2023. https://openreview.net/forum?id=WE_vluYUL-X
C. Qu, et al., “Tool learning with large language models: a survey,” Frontiers of Computer Science, vol. 19, no. 8, Art. 198343, 2025. https://doi.org/10.1007/s11704-024-40678-2
U. Nisa, M. Shirazi, M. A. Saip and M. S. M. Pozi, “Agentic AI: The age of reasoning—A review,” Journal of Automation and Intelligence, vol. 5, no. 1, pp. 69–89, 2026. https://doi.org/10.1016/j.jai.2025.08.003
N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan and S. Yao, “Reflexion: language agents with verbal reinforcement learning,” Advances in Neural Information Processing Systems, vol. 36, pp. 8634–8652, 2023. https://doi.org/10.52202/075280-0377
A. Madaan, et al., “Self-Refine: Iterative refinement with self-feedback,” Advances in Neural Information Processing Systems, vol. 36, pp. 46534–46594, 2023. https://doi.org/10.52202/075280-2019
X. Liang, et al., “SAGE: Self-evolving Agents with Reflective and Memory-augmented Abilities,” Neurocomputing, vol. 647, Art. 130470, 2025. https://doi.org/10.1016/j.neucom.2025.130470
X. Ma, et al., “FuseMind: Fusing reflection and prediction elevates agent’s reasoning capabilities,” Neurocomputing, vol. 658, Art. 131755, 2025. https://doi.org/10.1016/j.neucom.2025.131755
C. Fernando, D. S. Banarse, H. Michalewski, S. Osindero and T. Rocktäschel, “Promptbreeder: Self-referential self-improvement via prompt evolution,” Proceedings of Machine Learning Research, vol. 235, pp. 13481–13544, 2024. https://proceedings.mlr.press/v235/fernando24a.html
Y. Ou, et al., “Symbolic learning enables self-evolving agents,” AI Open, vol. 6, pp. 314–322, 2025. https://doi.org/10.1016/j.aiopen.2025.11.004
S. Ye, Z. Sun, G. Wang, L. Guo, Q. Liang, Z. Li and Y. Liu, “Prompt Alchemy: Automatic Prompt Refinement for Enhancing Code Generation,” IEEE Transactions on Software Engineering, vol. 51, no. 9, pp. 2472–2493, 2025. https://doi.org/10.1109/TSE.2025.3589634
X. Sécheresse, J. Y. Guilbert–Ly and A. Villedieu de Torcy, “GAAPO: genetic algorithmic applied to prompt optimization,” Frontiers in Artificial Intelligence, vol. 8, Art. 1613007, 2025. https://doi.org/10.3389/frai.2025.1613007
C. Finn, P. Abbeel and S. Levine, “Model-agnostic meta-learning for fast adaptation of deep networks,” Proceedings of Machine Learning Research, vol. 70, pp. 1126–1135, 2017. https://proceedings.mlr.press/v70/finn17a.html
R. Valiente and P. K. Pilly, “Metacognition for Unknown Situations and Environments (MUSE),” Neural Networks, vol. 194, Art. 108131, 2026. https://doi.org/10.1016/j.neunet.2025.108131
S. Zhou, et al., “WebArena: A realistic web environment for building autonomous agents,” International Conference on Learning Representations, 2024. https://proceedings.iclr.cc/paper_files/paper/2024/hash/4410c0711e9154a7a2d26f9b3816d1ef-Abstract-Conference.html
E. Debenedetti, J. Zhang, M. Balunovic, L. Beurer-Kellner, M. Fischer and F. Tramèr, “AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents,” Advances in Neural Information Processing Systems, vol. 37, pp. 82895–82920, 2024. https://doi.org/10.52202/079017-2636
Qwen Team, “Qwen2.5-7B-Instruct,” official model card, 2024. https://huggingface.co/Qwen/Qwen2.5-7B-Instruct