Wenjia Jiang
Author directory2026
SQLAgent: Learning to Explore Before Generating as a Data Engineer
Wenjia Jiang | Yiwei Wang | Boyan Han | Joey Tianyi Zhou | Chi Zhang
Findings of the Association for Computational Linguistics: ACL 2026
Wenjia Jiang | Yiwei Wang | Boyan Han | Joey Tianyi Zhou | Chi Zhang
Findings of the Association for Computational Linguistics: ACL 2026
Large Language Models have recently shown impressive capabilities in reasoning and code generation, making them promising tools for natural language interfaces to relational databases. However, existing approaches often fail to generalize in complex, real-world settings due to the highly database-specific nature of SQL reasoning, which requires deep familiarity with unique schemas, ambiguous semantics, and intricate join paths. To address this challenge, we introduce a novel two-stage LLM-based framework that decouples knowledge acquisition from query generation. In the Exploration Stage, the system autonomously constructs a database-specific knowledge base by navigating the schema with a Monte Carlo Tree Search–inspired strategy, generating triplets of schema fragments, executable queries, and natural language descriptions as usage examples. In the Deployment Stage, a dual-agent system leverages the collected knowledge as in-context examples to iteratively retrieve relevant information and generate accurate SQL queries in response to user questions. This design enables the agent to proactively familiarize itself with unseen databases and handle complex, multi-step reasoning. Extensive experiments on large-scale benchmarks demonstrate that our approach significantly improves accuracy over strong baselines, highlighting its effectiveness and generalizability.
ManimAgent: Self-Evolving Multimodal Agents for Visual Education
Wenjia Jiang | Zongyuan Cai | Yuanhang Shao | Chenru Wang | Boyan Han | Zhixue Song | Keyu Chen | Shengwei An | Xu Yang | Zhou Yang
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Wenjia Jiang | Zongyuan Cai | Yuanhang Shao | Chenru Wang | Boyan Han | Zhixue Song | Keyu Chen | Shengwei An | Xu Yang | Zhou Yang
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Multi-round reflection lets agents built on large language models recover from failures within a single task, but lessons learned across many reflection rounds on one task are discarded before the next begins. We study this gap on a code-generation task: from a scientific paper section, the agent writes executable Manim code. We present ManimAgent, a self-evolving multimodal agent that carries reflection experience across tasks through a dual-channel Episodic Memory Bank grown entirely from its own task stream, with no weight updates and no human seeds. After each animation converges, a vision–language model scores the rendered keyframes; the resulting signals populate a positive channel ℳ+ that stores success rationales as soft Reference Examples, and a negative channel ℳ- that stores VLM-screened failure patterns as hard Known Pitfalls. On a fixed-probe evaluation against no-memory, matched-budget retrieval-augmented generation, and shuffled-memory baselines, blind human Pass@1 rises and reflection rounds fall as memory size grows. We will release the code, frozen memory snapshots, and the task stream.