paper-with-me

홈 › Papers

Middleware for LLMs: Tools Are Instrumental for Language Agents in Complex Environments

2024-02-22 · Yu Gu, Yiheng Shu, Hao Yu, Xiao Liu, Yuxiao Dong, Jie Tang, Jayanth Srinivasa, Hugo Latapie, Yu Su

The applications of large language models (LLMs) have expanded well beyond the confines of text processing, signaling a new era where LLMs are envisioned as generalist agents capable of operating within complex environments. These environments are often highly expansive, making it impossible for the LLM to process them within its short-term memory. Motivated by recent research on extending the capabilities of LLMs with tools, we seek to investigate the intriguing potential of tools to augment LLMs in handling such complexity by introducing a novel class of tools, termed middleware, to aid in the proactive exploration within these massive environments. Such specialized tools can serve as a middleware layer shielding the LLM from environmental complexity. In two representative complex environments -- knowledge bases (KBs) and databases -- we demonstrate the significant potential of augmenting language agents with tools in complex environments. Notably, equipped with the middleware, GPT-4 achieves 2.8X the performance of the best baseline in tasks requiring access to database content and 2.2X in KB tasks. Our findings illuminate the path for advancing language agents in real-world applications.

📄 PDF Abstract BibTeX arXiv:2402.14672

Code (2)

OSU-NLP-Group/Middleware 공식 구현
osu-nlp-group/fuxi 공식 구현

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

RoboNeuron: A Middle-Layer Infrastructure for Agent-Driven Orchestration in Embodied AI

2025-12-11 · Weifan Guan, Qinghao Hu, Huasen Xi, Chenxiao Zhang 외 arxiv

Vision-language-action (VLA) models and LLM agents have advanced rapidly, yet reliable deployment on physical robots is often hindered by an interface mismatch between agent tool APIs and robot middleware. Current implem…

A Simple and Fast Way to Handle Semantic Errors in Transactions

2024-12-17 · Jinghan Zeng, Eugene Wu, Sanjay Krishnan

Many computer systems are now being redesigned to incorporate LLM-powered agents, enabling natural language input and more flexible operations. This paper focuses on handling database transactions created by large langua…

Agent Lifecycle Toolkit (ALTK): Reusable Middleware Components for Robust AI Agents

2026-03-16 · Zidane Wright, Jason Tsay, Anupama Murthi, Osher Elhadad 외 arxiv

As AI agents move from demos into enterprise deployments, their failure modes become consequential: a misinterpreted tool argument can corrupt production data, a silent reasoning error can go undetected until damage is d…

From Tool Calling to Symbolic Thinking: LLMs in a Persistent Lisp Metaprogramming Loop

2025-06-08 · Jordi de la Torre

We propose a novel architecture for integrating large language models (LLMs) with a persistent, interactive Lisp environment. This setup enables LLMs to define, invoke, and evolve their own tools through programmatic int…

Text Generation

Toolsuite for Implementing Multiagent Systems Based on Communication Protocols

2025-07-14 · Amit K. Chopra, Samuel H. Christie, Munindar P. Singh arxiv

Interaction-Oriented Programming (IOP) is an approach to building a multiagent system by modeling the interactions between its roles via a flexible interaction protocol and implementing agents to realize the interactions…