REVIEW 4 major objections 4 minor 84 references
BREW claims agents can learn from experience by building a searchable knowledge base of concept-level recipes, improving task success by 10-20% and cutting tool calls by 10-15%.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-03 20:16 UTC pith:XPIFDTAD
load-bearing objection BREW's memory-search idea is plausible and the qualitative evidence is good, but the final evaluation may not be independent of the training reward and the abstract overstates the gains. the 4 major comments →
Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
At the core of the paper is the claim that an agent's memory can be organized as a collection of concept-localized documents in natural language, and that the best such collection can be found by search rather than by hand-authoring or prompt-stuffing. Each document encodes a reusable procedure discovered from trajectories—e.g., how to search and open files, how to handle blank cells in Excel, when to deny an unsupported request—and is annotated with conditions of applicability and failure warnings. The authors formalize KB construction as a search over document states, and introduce Expand-and-Gather MCTS: per-concept search trees are expanded in parallel, but rewards are computed against a
What carries the argument
The load-bearing mechanism is Expand-and-Gather Monte Carlo Tree Search (EG-MCTS), an algorithm that searches the space of possible knowledge bases. The space is factored into independent per-concept trees, where each node is a candidate natural-language document for that concept. At each iteration, every tree selects its best node by UCT, expands it into several new candidate documents, and then gathers the current best nodes from all trees to form a hybrid KB used for reward estimation. Rewards are a weighted combination of a correctness score (evaluating the agent's task success on held-out queries) and a retrieval score (mean reciprocal rank of the document within the KB). This design le
Load-bearing premise
The load-bearing premise is that the roughly ten held-out queries per benchmark used to compute EG-MCTS rewards are representative enough that optimizing document states on them transfers to the final evaluation set—and, as the paper's appendix ambiguously states 'All numbers are reported on the remaining train set,' it is not fully clear the final numbers come from an independent test set.
What would settle it
Re-run the full BREW pipeline on the three benchmarks with a genuinely disjoint held-out test set and at least five random seeds, building the KB only from the designated training queries; if the 10–20% precision gain and 10–15% step reduction do not reproduce on that independent set, the central claim fails. A simpler probe: remove the retrieval reward (set λ_ret=0) and check whether task success degrades; if it does not, the joint-optimization story is unsupported.
If this is right
- If correct, agents can be improved across sessions by updating a text knowledge base, without retraining model weights, making improvement both cheaper and inspectable.
- Because the KB is modular and concept-level, users can read, edit, or extend what the agent knows—offering a control surface for steering behavior in deployed systems.
- The reported gains concentrate in tasks with shared sub-trajectories (e.g., UI automation), implying that experience distilled at the concept level transfers across similar tasks within a domain.
- Even where success rates do not rise, the authors observe 14–23 fewer execution steps on OSWorld successes, indicating efficiency gains from memory even without accuracy gains.
- The failure of existing memory-augmented baselines to beat a memoryless agent suggests that naive memory accumulation can hurt; BREW's search over memory states is what avoids such degradation.
Where Pith is reading between the lines
- If the transfer assumption holds, a natural extension is to start from a very small seed of trajectories in a new domain and let BREW grow the KB online, potentially reducing the data needed to specialize an agent.
- The same formulation—searching document states with correctness and retrieval rewards—could apply to optimizing other retrievable artifacts, such as API documentation or instruction sets, where retrieval quality matters.
- A testable extension would be to decouple the two rewards and measure their individual contributions; the paper reports only the balanced setting (λ=0.5), so the interaction is not isolated.
- The evaluation's reliance on a tiny held-out reward set (about 10 queries per benchmark) means the reported numbers should be re-checked on a larger, truly disjoint test set before treating the 10–20% gains as robust; this is our caution, not the paper's.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces BREW, a framework that converts an LLM agent's past interaction trajectories into a structured knowledge base of concept-level natural-language documents. A Reflector agent extracts concepts and insights from rollouts; an Integrator agent maintains per-concept documents; and a novel Expand-and-Gather MCTS (EG-MCTS) algorithm searches over document states, using rewards that combine task correctness (Eq. 7) and retrieval MRR (Eq. 8). The authors evaluate BREW on OSWorld, tau2-Bench, and SpreadsheetBench, comparing against a baseline and two memory baselines (Cognee, Agent-Mem), and report improvements in task success and execution efficiency. The abstract and introduction claim 10–20% gains in task precision and 10–15% fewer steps, while Table 1 shows smaller relative gains (roughly 4–8%). The paper's main contribution is the formulation of KB construction as a reward-guided state-space search over modular, concept-localized documents.
Significance. If the empirical claims hold, BREW is a useful and original step toward interpretable, memory-augmented agent optimization. The state-space formulation of KB construction is well-motivated, the modular concept-level document structure is a sensible alternative to flat prompt memory, and the inclusion of both correctness and retrieval rewards is a thoughtful design. The paper also provides pseudocode and qualitative KB examples, which help reproducibility. However, the contribution is empirical: the value rests on the claim that EG-MCTS produces a KB that improves held-out task performance. The evaluation as written does not yet support that claim at the advertised magnitude, because of ambiguity in the train/eval/test split, lack of repeated runs/error bars, and overbroad statements in the abstract and Section 1.
major comments (4)
- [Appendix A.5] The sentence 'All numbers are reported on the remaining train set' undermines the central empirical claim. Since Eq. (7) and Algorithm 5 compute rewards on Q_eval, and EG-MCTS optimizes KB states against those rewards, the final numbers in Table 1 must be on a disjoint test set. If the sentence is literal, Table 1 is not an independent evaluation and the main conclusion is unsupported. If it is a typo for 'test set,' the reward is estimated on only ~10 queries per benchmark, and Table 5 provides direct evidence of overfitting to the reward set: increasing MCTS depth decreases OSWorld from 47.56 to 43.83, which the authors describe as over-optimizing on the train set. Please specify the exact split, report test-set numbers, and include multiple seeds or bootstrap confidence intervals.
- [Abstract and Section 1] The abstract and introduction claim '10–20% gains in task success' and '10–15% fewer execution steps.' These figures are not supported by Table 1 or Section 5.2. Relative gains in Table 1 are: OSWorld 47.56/44.20 − 1 ≈ 7.6%, tau2-Bench 59.14/56.63 − 1 ≈ 4.4%, and SpreadsheetBench 46.80/44.30 − 1 ≈ 5.6%. For efficiency, OSWorld improves from ~75 to ~64 steps (≈14.7%), tau2 turns decrease by ~3.5% (29.47 to 28.43), and SpreadsheetBench turns increase from 4.5 to 5.4. Please replace the current global claims with the actual per-benchmark relative improvements, or justify a different aggregation.
- [Table 1 and Section 5] All results are single point estimates. The differences between BREW-MCTS and the best alternative are small: tau2-Bench shows BREW-Greedy and BREW-MCTS both at 59.14; SpreadsheetBench has 46.80 (MCTS) vs 45.94 (Greedy) vs 44.30 (baseline); OSWorld has 47.56 (MCTS) vs 46.70 (Cognee). With reward optimization on ~10 eval queries and no error bars or multiple seeds, it is not possible to assess whether these differences are meaningful. Please report variance across seeds or at least bootstrap confidence intervals over tasks.
- [Section 2 and Table 1] The paper claims 'consistently outperforming existing memory-augmented baselines,' but Table 1 includes only Cognee and Agent-Mem. The related work discusses MetaReflection and GEPA as directly relevant prompt/memory optimization methods, yet they are not included as baselines. Given the paper's own framing and the central claim of state-of-the-art results, the comparison set is too narrow. Please add these baselines, or explicitly restrict the claim to the tested baselines and remove 'state-of-the-art' phrasing.
minor comments (4)
- [Appendix A.3] Step-Back Prompting and In-Context Learning are listed as baseline methods, but no results for them appear in Table 1. Either add their results or remove the description.
- [Section 3.3, Eq. (5)] The notation 'D_t = d_t ∪ d^*_{i:i≠t}' is ambiguous. It should state that d_t is the candidate document for concept k and that the union is over all other concepts' best documents, with explicit index ranges. As written, the expression mixes a document with a set and is confusing.
- [Figure 3 and Section 5.2] The text says the baseline averages ~75 steps and BREW ~64 steps, while Figure 3's y-axis is 'Average Step Reduction (Successful Cases)' with values 14–23. Clarify whether the 75→64 numbers are over all tasks or only successful cases, and ensure the figure and text use the same definition.
- [Appendix A.4.3] There are typos: 'texttto4-mini' should be 'o4-mini', and 'SPREADSHEET ENCH' should be 'SpreadsheetBench' in the retrieval-strategy paragraph. Also standardize the spelling of 'tau2-Bench' across the paper.
Circularity Check
Appendix A.5 reports final numbers 'on the remaining train set,' making Table 1 potentially the same data that EG-MCTS's correctness reward was optimized over.
specific steps
-
fitted input called prediction
[Appendix A.5 ('Training Data Collection'); Section 3.4, Eq. (7); Algorithm 5; Algorithm 4, line 15; Table 1]
"OSWorld: 20 successful trajectories (2 per application domain) and 10 for evals. τ 2-Bench: 20 trajectories balanced across domains and difficulty settings and 10 for evals. SpreadsheetBench: Uniformly sample 30 trajectories for training and 10 for evaluation. All numbers are reported on the remaining train set."
EG-MCTS scores every candidate document with EVALUATE (Algorithm 5) on the eval queries Q_eval_k (Algorithm 4, line 15: R_k,j <- EVALUATE(d_k,j, D_hybrid, Q_eval_k)), using the correctness reward of Eq. (7), and backpropagates that reward to select the final KB. The paper then reports Table 1 'on the remaining train set.' If that set includes or overlaps with the Q_eval used for rewards, the reported 10–20% gains are not independent predictions: they are the objective EG-MCTS was explicitly maximizing. Appendix B.1 shows this is not harmless — deeper MCTS 'over optimizes on the train set' and test performance drops from 47.56 to 43.83. Thus, as written, the central empirical claim is fitted input reported as prediction.
full rationale
The only circularity I can pin to a specific textual reduction is the train/eval ambiguity in Appendix A.5. If 'remaining train set' is a typo for 'test set,' Table 1 is an independent evaluation and BREW reduces to a standard, though small, validation scheme; the self-citations to StackFeed and MetaReflection are prior work but are not load-bearing because EG-MCTS is implemented and compared here. However, taken literally, the paper's own split description makes its headline result coincide with the reward set used to search the KB, so the central claim is partially circular. No other derivation step—concept deduplication, IntegAgent updates, or the Eq. (6) reward decomposition—reduces to its inputs by construction.
Axiom & Free-Parameter Ledger
free parameters (7)
- reward weights lambda_corr, lambda_ret =
0.5, 0.5
- MCTS expansion width e and max depth k =
e=3, k=3
- maximum MCTS iterations n =
10
- number of training trajectories =
20 for OSWorld/tau2, 30 for SpreadsheetBench
- concept clustering similarity threshold =
unspecified
- retrieval count =
top-3
- IntegAgent temperature =
0.7
axioms (5)
- domain assumption The Reflector Agent accurately extracts concept-insight pairs from trajectories and rubric labels.
- domain assumption A held-out eval set of about 10 queries per benchmark is representative for reward-guided KB search.
- domain assumption Retrieving the top-3 natural-language documents and adding them to the prompt reliably changes the agent's behavior in the intended direction.
- domain assumption The task-specific grader and human-validated rubrics provide correct labels for trajectory evaluation.
- domain assumption UCT-based MCTS with the defined reward function finds a KB state that generalizes beyond the eval set.
read the original abstract
Large Language Model (LLM)-based agents are increasingly capable of complex, multi-step tasks such as GUI automation, tool use, and data manipulation, yet they cannot learn from experience: each new session rediscovers solutions from scratch. We introduce BREW (Bootstrapping expeRientially-learned Environmental knoWledge), a framework that distills an agent's past interaction trajectories into a structured, retrievable knowledge base (KB) of natural-language recipes, concept-level procedural documents that capture what to do, when it applies, and what to watch out for. Drawing on the principle of library learning from program synthesis, BREW decomposes agent memory into modular, concept-localized documents and formalizes KB construction as a state-space search problem. To navigate this space, we introduce Expand-and-Gather Monte Carlo Tree Search (EG-MCTS), a reward-guided algorithm that jointly optimizes recipe accuracy and retrievability across parallel, per-concept search trees. We further adapt hindsight relabeling to convert near-miss trajectories into positive demonstrations, surfacing latent agent competencies as reusable knowledge. On three domain-grounded benchmarks, OSWorld, tau^2-Bench, and SpreadSheetBench, BREW achieves 10-20% gains in task success and 10-15% fewer execution steps over base agents, while consistently outperforming existing memory-augmented baselines that can degrade below memoryless performance. The resulting KB is inspectable, modular, and extensible, providing a transparent and controllable substrate for agent optimization.
Figures
Reference graph
Works this paper leans on
-
[1]
Lakshya A. Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandilya, Michael J. Ryan, Meng Jiang, Christopher Potts, Koushik Sen, Alexandros G. Dimakis, Ion Stoica, Dan Klein, Matei Zaharia, and Omar Khattab. Gepa: Reflective prompt evolution can outperform reinforcement learning.arXiv preprint arXiv...
Pith/arXiv arXiv 2025
-
[2]
Introducing computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku, Octo- ber 2024
Anthropic. Introducing computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku, Octo- ber 2024. URL https://www.anthropic.com/news/3-5-models-and-computer-use . Accessed: 2025
2024
-
[3]
Let’s fix this together: Conversational debugging with github copilot
Yasharth Bajpai, Bhavya Chopra, Param Biyani, Cagri Aslan, Dustin Coleman, Sumit Gulwani, Chris Parnin, Arjun Radhakrishna, and Gustavo Soares. Let’s fix this together: Conversational debugging with github copilot. In2024 IEEE Symposium on Visual Languages and Human- Centric Computing (VL/HCC), pages 1–12, 2024. doi: 10.1109/VL/HCC60511.2024.00011
arXiv 2024
-
[5]
τ 2-bench: Evaluating conversational agents in a dual-control environment, 2025
Victor Barres, Honghua Dong, Soham Ray, Xujie Si, and Karthik Narasimhan. τ 2-bench: Evaluating conversational agents in a dual-control environment, 2025. URL https://arxiv. org/abs/2506.07982
Pith/arXiv arXiv 2025
-
[6]
Rubicon: Rubric-based evaluation of domain-specific human ai conversations
Param Biyani, Yasharth Bajpai, Arjun Radhakrishna, Gustavo Soares, and Sumit Gulwani. Rubicon: Rubric-based evaluation of domain-specific human ai conversations. InProceedings of the 1st ACM International Conference on AI-Powered Software, AIware 2024, page 161–169, New York, NY , USA, 2024. Association for Computing Machinery. ISBN 9798400706851. doi: 10...
arXiv 2024
-
[7]
Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. Mem0: Building production-ready ai agents with scalable long-term memory.arXiv preprint arXiv:2504.19413, 2025
Pith/arXiv arXiv 2025
-
[8]
Plan-and-act: Improving planning of agents for long-horizon tasks.The Forty-Second International Conference on Machine Learning, 2025
Lutfi Eren Erdogan, Nicholas Lee, Sehoon Kim, Suhong Moon, Hiroki Furuta, Gopala Anu- manchipalli, Kurt Keutzer, and Amir Gholami. Plan-and-act: Improving planning of agents for long-horizon tasks.The Forty-Second International Conference on Machine Learning, 2025
2025
-
[9]
Naman Gupta, Shashank Kirtania, Priyanshu Gupta, Krishna Kariya, Sumit Gulwani, Arun Iyer, Suresh Parthasarathy, Arjun Radhakrishna, Sriram K. Rajamani, and Gustavo Soares. Stackfeed: Structured textual actor-critic knowledge base editing with feedback, 2024. URL https://arxiv.org/abs/2410.10584
arXiv 2024
-
[10]
MetaReflection: Learning instructions for language agents using past reflections
Priyanshu Gupta, Shashank Kirtania, Ananya Singha, Sumit Gulwani, Arjun Radhakrishna, Gustavo Soares, and Sherry Shi. MetaReflection: Learning instructions for language agents using past reflections. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen, editors, Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages ...
-
[11]
Sub- goal distillation: A method to improve small language agents, 2024
Maryam Hashemzadeh, Elias Stengel-Eskin, Sarath Chandar, and Marc-Alexandre Cote. Sub- goal distillation: A method to improve small language agents, 2024. URL https://arxiv. org/abs/2405.02749
Pith/arXiv arXiv 2024
-
[12]
Evaluating memory in llm agents via incremental multi-turn interactions, 2025
Yuanzhe Hu, Yu Wang, and Julian McAuley. Evaluating memory in llm agents via incremental multi-turn interactions, 2025. URLhttps://arxiv.org/abs/2507.05257
Pith/arXiv arXiv 2025
-
[13]
SWE-bench: Can language models resolve real-world github issues? InThe Twelfth International Conference on Learning Representations, 2024
Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R Narasimhan. SWE-bench: Can language models resolve real-world github issues? InThe Twelfth International Conference on Learning Representations, 2024. URL https: //openreview.net/forum?id=VTF8yNQM66. 10
2024
-
[14]
Executable functional abstractions: Inferring generative programs for advanced math problems
Zaid Khan, Elias Stengel-Eskin, Archiki Prasad, Jaemin Cho, and Mohit Bansal. Executable functional abstractions: Inferring generative programs for advanced math problems. 2025
2025
-
[15]
Bandit based monte-carlo planning
Levente Kocsis and Csaba Szepesvári. Bandit based monte-carlo planning. In Johannes Fürnkranz, Tobias Scheffer, and Myra Spiliopoulou, editors,Machine Learning: ECML 2006, pages 282–293, Berlin, Heidelberg, 2006. Springer Berlin Heidelberg. ISBN 978-3-540-46056- 5
2006
-
[16]
A review of prominent paradigms for llm-based agents: Tool use, planning (including rag), and feedback learning
Xinzhe Li. A review of prominent paradigms for llm-based agents: Tool use, planning (including rag), and feedback learning. InProceedings of the 31st International Conference on Compu- tational Linguistics (COLING), pages 9760–9779, Abu Dhabi, UAE, 2025. Association for Computational Linguistics. URLhttps://aclanthology.org/2025.coling-main.652
2025
-
[17]
Michael L. Littman. An optimization-based categorization of reinforcement learning environ- ments. 1993. URLhttps://api.semanticscholar.org/CorpusID:17988064
1993
-
[18]
Alphago moment for model architecture discovery.ArXiv, abs/2507.18074, 2025
Yixiu Liu, Yang Nan, Weixian Xu, Xiangkun Hu, Lyumanshan Ye, Zhen Qin, and Pengfei Liu. Alphago moment for model architecture discovery.ArXiv, abs/2507.18074, 2025. URL https://api.semanticscholar.org/CorpusID:280018530
Pith/arXiv arXiv 2025
-
[19]
Spreadsheetbench: Towards challenging real world spreadsheet manipulation.Advances in Neural Information Processing Systems, 37:94871–94908, 2024
Zeyao Ma, Bohan Zhang, Jing Zhang, Jifan Yu, Xiaokang Zhang, Xiaohan Zhang, Sijia Luo, Xi Wang, and Jie Tang. Spreadsheetbench: Towards challenging real world spreadsheet manipulation.Advances in Neural Information Processing Systems, 37:94871–94908, 2024
2024
-
[20]
Optimizing the interface between knowledge graphs and llms for complex reasoning, 2025
Vasilije Markovic, Lazar Obradovic, Laszlo Hajdu, and Jovan Pavlovic. Optimizing the interface between knowledge graphs and llms for complex reasoning, 2025. URL https: //arxiv.org/abs/2505.24478
Pith/arXiv arXiv 2025
-
[21]
Alexander Novikov, Ngân V~u, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav M. Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, Matej Balog, and Google Deepmind. Alphaevolve: A coding agent for ...
Pith/arXiv arXiv 2025
-
[22]
Introducing Operator, January 2025
OpenAI. Introducing Operator, January 2025. URL https://openai.com/index/ introducing-operator/. Accessed: 2025
2025
-
[23]
Patil, Ion Stoica, and Joseph E
Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, and Joseph E. Gonzalez. Memgpt: Towards llms as operating systems, 2024. URL https: //arxiv.org/abs/2310.08560
Pith/arXiv arXiv 2024
-
[24]
Yujia Qin, Yining Ye, Junjie Fang, Haoming Wang, Shihao Liang, Shizuo Tian, Junda Zhang, Jiahao Li, Yunxin Li, Shijue Huang, et al. Ui-tars: Pioneering automated gui interaction with native agents.arXiv preprint arXiv:2501.12326, 2025
Pith/arXiv arXiv 2025
-
[25]
Manning, and Chelsea Finn
Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model,
-
[26]
Proximal policy optimization algorithms
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. InProceedings of the 34th International Conference on Machine Learning (ICML 2017), 2017. URLhttps://arxiv.org/abs/1707.06347
Pith/arXiv arXiv 2017
-
[27]
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y . K. Li, Y . Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models, 2024. URL https://arxiv.org/abs/ 2402.03300
Pith/arXiv arXiv 2024
-
[28]
Reflexion: Language agents with verbal reinforcement learning
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. InProceedings of the 37th Conference on Neural Information Processing Systems (NeurIPS 2023), New Orleans, LA, USA, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/ hash/1b44b878bb782e6954cd88862...
2023
-
[29]
David Silver, Aja Huang, Christopher J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lil- licrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Masteri...
2016
-
[30]
Xinyuan Wang, Chenxi Li, Zhen Wang, Fan Bai, Haotian Luo, Jiayou Zhang, Nebojsa Jojic, Eric P Xing, and Zhiting Hu. Promptagent: Strategic planning with language models enables expert-level prompt optimization.arXiv preprint arXiv:2310.16427, 2023
Pith/arXiv arXiv 2023
-
[31]
Towards lifespan cognitive systems, 2025
Yu Wang, Chi Han, Tongtong Wu, Xiaoxin He, Wangchunshu Zhou, Nafis Sadeq, Xiusi Chen, Zexue He, Wei Wang, Gholamreza Haffari, Heng Ji, and Julian McAuley. Towards lifespan cognitive systems, 2025. URLhttps://arxiv.org/abs/2409.13265
Pith/arXiv arXiv 2025
-
[32]
Osworld: Benchmarking multimodal agents for open-ended tasks in real computer environments
Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu. Osworld: Benchmarking multimodal agents for open-ended tasks in real computer environments. In A. Globerson, L. Mackey, D. Bel...
2024
-
[33]
Ran Xu, Yuchen Zhuang, Yue Yu, Haoyu Wang, Wenqi Shi, and Carl Yang. Rag in the wild: On the (in)effectiveness of llms with mixture-of-knowledge retrieval augmentation.arXiv preprint arXiv:2507.20059, 2025
Pith/arXiv arXiv 2025
-
[35]
A-mem: Agentic memory for llm agents, 2025
Wujiang Xu, Kai Mei, Hang Gao, Juntao Tan, Zujie Liang, and Yongfeng Zhang. A-mem: Agentic memory for llm agents, 2025. URLhttps://arxiv.org/abs/2502.12110
Pith/arXiv arXiv 2025
-
[36]
Hui Yang, Sifu Yue, and Yunzhong He. Auto-gpt for online decision making: Benchmarks and additional opinions.arXiv preprint arXiv:2306.02224, 2023. doi: 10.48550/arXiv.2306.02224. URLhttps://doi.org/10.48550/arXiv.2306.02224
-
[37]
Swe-agent: Agent-computer interfaces enable automated software engineering.Advances in Neural Information Processing Systems, 37:50528–50652, 2024
John Yang, Carlos E Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. Swe-agent: Agent-computer interfaces enable automated software engineering.Advances in Neural Information Processing Systems, 37:50528–50652, 2024
2024
-
[38]
React: Synergizing reasoning and acting in language models
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models. InProceedings of the 11th International Conference on Learning Representations (ICLR 2023), 2023. URL https: //openreview.net/forum?id=WE_vluYUL-X
2023
-
[39]
τ-bench: A bench- mark for tool-agent-user interaction in real-world domains
Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. τ-bench: A bench- mark for tool-agent-user interaction in real-world domains. InNeurIPS (Workshops), 2024. State-of-the-art agents (e.g. GPT-4o) succeed on <50
2024
-
[40]
Yuyan Zhou, Liang Song, Bingning Wang, and Weipeng Chen. Metagpt: Merging large language models using model exclusive task arithmetic. InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1711–1724, Miami, Florida, USA, 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024. emnlp-main.102...
doi:10.18653/v1/2024 2024
-
[42]
Name", "Date
Detecting Header Rows Overview: To accurately identify header rows, scan the initial region of your dataset. This process is crucial for mapping column information for further processing. Approaches: - Heuristic Checks: - Look for rows where all cells are strings (e.g., "Name", "Date", "Region", " Amount"). - Identify rows with distinctive formatting such...
2024
-
[43]
Name", "Date
Assigning and Validating Headers Overview: Once headers are detected, assign them programmatically and ensure they match expected schema and data types. Implementation: - Column Naming: - Set names in code, e.g., df.columns = ["Name", "Date", "Region", "Amount"]. - Schema Mapping: - Map headers to a standardized schema, using external files or user prompt...
-
[44]
Features: - Freeze Panes: - Automatically freeze header rows in Excel for easier navigation
Automation and Usability Enhancements Overview: Enhance usability and automation to streamline header extraction and user interaction. Features: - Freeze Panes: - Automatically freeze header rows in Excel for easier navigation. - Highlighting: - Use colored formatting to visually distinguish headers. - Example: - Yellow fill for header row. - Documentatio...
-
[45]
Total" or
Identifying Block Boundaries Overview: Block detection segments data into logical units or tables. Methods: - Boundary Detection: - Find empty rows, repeated labels, or formatting changes. - Example: | Name | Amount | |------|--------| | John | 100 | | | | <-- Empty row indicates new block | Name | Amount | | Alice| 200 | - Machine Learning: - Train class...
-
[46]
Actions: - Block ID: - Assign unique IDs (e.g., Block_001, Block_002)
Processing and Tracking Blocks Overview: Once blocks are detected, assign IDs and enable block-level analysis. Actions: - Block ID: - Assign unique IDs (e.g., Block_001, Block_002). - Analysis: - Perform group-by or aggregation within each block. - Example: - Sum "Amount" for Block_001: 100 + 150 = 250
-
[47]
block1.csv
Additional Block Actions Overview: Enable modular analysis and reporting at the block level. Features: - Summary Rows: - Add computed totals/averages for each block. - Export/Save: - Save blocks as separate files or sheets. - Example: - Export Block_001 to "block1.csv" Search for Values or Patterns
-
[48]
North" in the
Search Execution Methods Overview: Efficiently locate specific values or patterns in your data. Techniques: - Manual Tools: - Use Ctrl + F in Excel for quick lookups. - Programmatic Search: - Scan all cells using loops or vectorized code. - Example: - Find all instances of "North" in the "Region" column. - Pattern Matching: - Support exact, wildcard (*Tot...
-
[49]
26 Actions: - Logging: - Record coordinates (e.g., Sheet1, Row 3, Col "Region")
Recording and Highlighting Results Overview: Log and visualize search matches for user review. 26 Actions: - Logging: - Record coordinates (e.g., Sheet1, Row 3, Col "Region"). - Highlighting: - Apply conditional formatting to search hits
-
[50]
John" to
Advanced Search Scenarios Overview: Handle complex or large-scale search requirements. Scenarios: - Merged Cells: - Search within merged cells or across multiple sheets. - Export: - Export found results for further analysis. - Example: - Export all rows containing "John" to "john_results.csv" Writeback Results
-
[51]
Approved_Flag
Output Placement Overview: Choose where and how to insert results. Options: - Target Columns: - Select existing or blank columns for output. - Appending: - Add new columns for flags, counts, or statuses. - Example: - Add "Approved_Flag" column next to "Status"
-
[52]
Success", red for
Writing and Styling Results Overview: Automate and style the output for visibility. Methods: - Formulas/Code: - Use code (e.g., ws.cell(row, col).value = result) to insert results. - Styling: - Bold, borders, or colors for output cells. - Example: - Green fill for "Success", red for "Error"
-
[53]
2024-06-01, User: admin
Audit and Protection Overview: Maintain the integrity and traceability of results. Measures: - Lock Columns: - Prevent edits to output columns. - Timestamps/User Info: - Add audit trail for writebacks. - Example: - "2024-06-01, User: admin" Difference in State
2024
-
[54]
Process: - Load Sheets: - Read both sheets into memory
Sheet Comparison Overview: Identify changes between input and output sheets. Process: - Load Sheets: - Read both sheets into memory. - Compare Cells: - Detect differences by position and value. 27
-
[55]
North"→"South
Recording and Reporting Differences Overview: Log and report all detected changes. Actions: - Log Mismatches: - Record cell coordinates and values. - Example: - Cell B3: "North"→"South" - Export Diff Report: - List all detected differences for review
-
[56]
Features: - Highlight Changes: - Color code changed cells
Visualization and Automation Overview: Make changes visible and automate validation. Features: - Highlight Changes: - Color code changed cells. - Automate Checks: - Integrate diff comparisons into test scripts. Column Selection
-
[57]
ID", "Date
Selection Criteria Overview: Choose relevant columns for analysis. Methods: - Labels/Indices: - Select by name or position. - Dynamic Rules: - E.g., all numeric columns. - Assign Roles: - Example: "ID", "Date", "Metric"
-
[58]
Actions: - Rename/Relabel: - Standardize column names
Preparation and Validation Overview: Prepare columns for consistent use. Actions: - Rename/Relabel: - Standardize column names. - Validate Types: - Ensure columns are of expected type. - Example: - "Date" column as datetime
-
[59]
Features: - Presets: - Save selection profiles
Reusability Overview: Save and reuse column selections. Features: - Presets: - Save selection profiles. - Downstream Use: - Use validated columns in subsequent processes. Filter Rows
-
[60]
Approved
Filtering Methods Overview: Refine your dataset with filters. Techniques: - Spreadsheet Tools: 28 - Use built-in filters. - Code Logic: - Filter with code (e.g., df[df[’Status’] == ’Approved’]). - Multiple Criteria: - Combine conditions (AND/OR). - Example: - Status = "Approved" AND Amount > 100
-
[61]
Actions: - Helper Columns: - Compute intermediate flags
Helper Columns and Complex Filters Overview: Simplify filtering using helper columns. Actions: - Helper Columns: - Compute intermediate flags. - Document Logic: - Record filtering rules for audit
-
[62]
Features: - Highlighting: - Grey-out filtered-out rows
Post-Filter Actions Overview: Visualize and export filtered data. Features: - Highlighting: - Grey-out filtered-out rows. - Export: - Save the filtered dataset. Merge Tables
-
[63]
Customer_ID
Key-Based Merging Overview: Combine tables using shared keys. Techniques: - Join Operations: - Use VLOOKUP, JOIN, or code merges. - Example: - Merge "Customer_ID" from two tables. - Align Data: - Match on columns like "ID", "Name"
-
[64]
Methods: - Vertical Append: - Combine rows from similar tables
Stack-Based Merging Overview: Append tables when keys ’arent needed. Methods: - Vertical Append: - Combine rows from similar tables. - Deduplicate: - Remove duplicate records
-
[65]
Actions: - Source Column: - Add "Source" to indicate origin
Tracking and Audit Overview: Track source and unmatched records. Actions: - Source Column: - Add "Source" to indicate origin. - Highlight Unmatched: - Mark or export mismatched rows. Pivot or Unpivot
-
[66]
Amount" by
Pivoting Data Overview: Summarize data using pivots. 29 Methods: - PivotTables: - Group by row/column dimensions. - Example: - Sum "Amount" by "Region". - Aggregation: - Choose SUM, AVG, COUNT, etc
-
[67]
Techniques: - Melt Operations: - Convert columns into rows
Unpivoting (Melting) Data Overview: Reshape data from wide to long format. Techniques: - Melt Operations: - Convert columns into rows. - Example: - | Year | Sales_2019 | Sales_2020 | |------|------------|------------| → | Year | Sales_Year | Value | - Flexible Restructuring: - Selectively unpivot non-ID columns
-
[68]
Features: - Flatten Pivot Table: - Convert back to flat for further analysis
Post-Pivot Actions Overview: Prepare pivoted data for export. Features: - Flatten Pivot Table: - Convert back to flat for further analysis. - Reorder/Rename: - Clarify pivoted fields. Map with Lookup Tables
-
[69]
N"→Label
Mapping Techniques Overview: Standardize data using lookups. Methods: - Functions: - Use VLOOKUP, merge with dictionaries. - Code-to-Label: - Example: - Code "N"→Label "North"
-
[70]
Actions: - Apply Mappings: - Across selected columns
Application and Fallbacks Overview: Apply lookups and handle missing values. Actions: - Apply Mappings: - Across selected columns. - Handle Missings: - Use defaults for missing codes
-
[71]
Features: - Cache Mappings: - Store for repeated use
Audit and Display Overview: Ensure mapping transparency. Features: - Cache Mappings: - Store for repeated use. - Display Codes/Labels: - Show both for clarity. 30 Fill Missing Data
-
[72]
Techniques: - Forward/Backward Fill: - Fill gaps with prior/next value
Choosing Fill Methods Overview: Impute missing data appropriately. Techniques: - Forward/Backward Fill: - Fill gaps with prior/next value. - Default Values: - Use fixed placeholder (e.g., 0, "Unknown"). - Contextual Example: - Dates: Fill missing month with last known month
-
[73]
Actions: - Targeted Filling: - Apply to specific columns/rows
Application and Auditing Overview: Apply fills and flag for review. Actions: - Targeted Filling: - Apply to specific columns/rows. - Flag Filled Cells: - Highlight for later review
-
[74]
Features: - Record Logic: - Document assumptions and methods
Documentation Overview: Keep fill logic transparent. Features: - Record Logic: - Document assumptions and methods. - Audit Trail: - Track all changes. Flag Rows or Cells
-
[75]
Examples: - Simple Rule: - Flag where Amount < 0 - Complex Rule: - Flag where Status = "Pending" and Amount > 1000
Defining Flag Rules Overview: Establish criteria for flagging. Examples: - Simple Rule: - Flag where Amount < 0 - Complex Rule: - Flag where Status = "Pending" and Amount > 1000
-
[76]
Flag" column with
Applying Flags Overview: Insert flags and summarize. Actions: - Flag Column: - Add "Flag" column with "Yes"/"No". - Export Flagged Rows: - Save for further inspection
-
[77]
Features: - Multi-Criteria: - Combine several rules for granular checks
Advanced Flagging Overview: Use multiple criteria and document. Features: - Multi-Criteria: - Combine several rules for granular checks. - Notes: - Document flagging rationale. 31 Sort Data
-
[78]
Region", then by
Setting Sort Criteria Overview: Organize data for analysis. Options: - Sort Columns: - By value, ascending/descending. - Multi-Level: - E.g., sort by "Region", then by "Amount"
-
[79]
Methods: - Spreadsheet Tools: - Built-in sort features
Applying Sorts Overview: Implement sorting programmatically or manually. Methods: - Spreadsheet Tools: - Built-in sort features. - Code: - E.g., df.sort_values([’Region’, ’Amount’])
-
[80]
Actions: - Renumber Rows: - Update indices
Post-Sort Actions Overview: Finalize sorted data. Actions: - Renumber Rows: - Update indices. - Highlight Extremes: - Mark top/bottom values. Validate Data
-
[81]
Amount" > 0. - Pattern: - Date columns match YYYY-MM-DD. - Business Rule Example: -
Validation Checks Overview: Ensure data meets required standards. Checks: - Type: - Ensure numeric columns contain numbers. - Range: - E.g., "Amount" > 0. - Pattern: - Date columns match YYYY-MM-DD. - Business Rule Example: - "Start Date" < "End Date"
-
[82]
Actions: - Highlight Invalids: - Color-code errors
Marking and Reporting Overview: Visualize and report errors. Actions: - Highlight Invalids: - Color-code errors. - Export Summary: - Table of error counts and locations
-
[83]
Features: - Pre-Processing Step: - Validate before analysis
Integration in Workflow Overview: Make validation a routine part of processing. Features: - Pre-Processing Step: - Validate before analysis. - Automation: - Integrate into data pipelines. 32 Split Sheets or Data
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.