← Latest papers
💻 computer science

Enhancing Virtual Agents through SLMs and Edge-Computing: An Exploratory Evaluation of Think and Memory Processes

This paper proposes and evaluates an edge-based virtual agent system utilizing Small Language Models (SLMs) to implement the "Think" and "Memory" processes of the Cognitive Embodied Agent Architecture (CEAA), demonstrating efficient, context-aware cognitive orchestration on NVIDIA Jetson hardware for immersive virtual worlds.

Original authors: Aimilios Hadjiliasi, Louis Nisiotis

Published 2026-08-14
📖 6 min read🧠 Deep dive

Original authors: Aimilios Hadjiliasi, Louis Nisiotis

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where your video game characters, virtual tour guides, or Metaverse friends aren't just following a script like a robot reading from a teleprompter. Instead, they are truly "alive" in the digital sense: they remember what you told them yesterday, they understand your jokes, and they can make decisions on the fly. This is the dream of "Embodied Virtual Agents." But there's a catch. To make these characters smart, they usually need to send their thoughts to massive, super-powerful computers in the cloud. This takes time, creates lag, and can feel disconnected.

Enter two new heroes: Small Language Models (SLMs) and Edge Computing. Think of SLMs as a brilliant but compact brain that fits in your pocket, capable of understanding language without needing a supercomputer. Edge Computing is like moving that brain from a distant data center right next to the action—perhaps even onto the device you are using. The big question scientists are asking is: Can we put this "pocket brain" right next to our virtual friends so they can think, remember, and act instantly, without waiting for a signal to travel all the way to the cloud and back? This paper dives into exactly that, testing if these smaller, local brains are smart enough to handle the heavy lifting of memory and decision-making for virtual agents.


The Brain and the Librarian: A Virtual Agent's Dilemma

In the world of virtual reality, an agent needs two main things to feel real: a Think process (to decide what to do) and a Memory process (to remember who you are and what you've talked about). The researchers behind this study wanted to see if they could build a "cognitive engine" for these agents using Small Language Models running on a local device, specifically a powerful little computer called the NVIDIA Jetson Orin NX. They didn't just want the agent to chat; they wanted it to act like a true assistant that could route your requests to the right service (like generating a 3D model or playing a sound) and keep a running diary of your conversation.

To test this, they built a system where the agent's "brain" was a Qwen2.5 model. They tried three different sizes of these "brains": a tiny one with 0.5 billion parameters, a medium one with 1.5 billion, and a larger one with 3.0 billion. They put them all on the edge device and gave them a series of challenges to see how well they could think and remember.

The "Think" Test: Routing Requests

First, they tested the Think process. Imagine you are in a virtual world and you say, "I need a sound effect for a dragon roar" or "Can you generate a texture for a castle wall?" The agent needs to instantly figure out which tool to use. It's like a receptionist at a busy hotel who has to direct guests to the right room: the spa, the gym, or the restaurant.

The results showed a clear trade-off between speed and smarts. The tiny 0.5B model was fast but often got lost. It only got the right answer about 29.4% of the time. It frequently confused similar requests, like mixing up "image to 3D generation" with "conversational generator." It was like a receptionist who keeps sending everyone to the gym because they forgot where the other rooms are.

The 1.5B model was a huge improvement, getting it right 85.4% of the time. It could handle most requests well, though it still stumbled a bit on complex 3D tasks. The 3.0B model was the smartest, achieving 87.7% accuracy, especially on tricky generation tasks. However, being smarter came at a price: the 3.0B model took much longer to think. Its average response time was 5,067 milliseconds (about 5 seconds), compared to 3,349 milliseconds (about 3.3 seconds) for the 1.5B model. The tiny 0.5B model was the fastest at 1,504 milliseconds, but it was too unreliable to be useful.

The "Memory" Test: Remembering the Details

Next, they tested the Memory process. This is like asking the agent to recall a specific detail you mentioned earlier, or to update a fact if you changed your mind. For example, if you say, "My character's name is Alex," and later say, "Actually, my name is Alex the Brave," the agent needs to remember the update and not get confused.

Here, the differences were even starker. The 0.5B model managed to recall facts correctly 72.8% of the time, but it was terrible at handling corrections. It would often remember the right person but the wrong detail, or fail to realize you had changed your mind. It was like a friend who remembers your name but keeps forgetting that you just got a new haircut.

The 1.5B model did better, getting 78.4% of the answers right. It was good at simple facts but still struggled with complex updates or distinguishing between similar memories. The 3.0B model was the clear winner, achieving 93.6% accuracy. It could reliably handle facts, updates, and corrections. However, just like in the thinking test, this high accuracy came with a heavy speed penalty. The 3.0B model took an average of 9,693 milliseconds (nearly 10 seconds) to process a memory request, with some requests taking up to 14,531 milliseconds (over 14 seconds) in the worst cases. The 0.5B model was much faster at 2,025 milliseconds, but its poor accuracy made it a bad choice for anything serious.

The Verdict: It Depends on the Job

So, what did the researchers find? They discovered that Small Language Models can partially power the "Think" and "Memory" parts of a virtual agent's brain right on the edge, without needing the cloud. But there is no single "perfect" size.

If you need speed and can tolerate some mistakes, the smaller models are faster but unreliable. If you need high accuracy for remembering details or making complex decisions, the larger models are much better, but they are slow. The paper suggests that the best solution might be a hybrid approach: using a smaller, faster model for quick, simple tasks (like routing a request) and a larger, smarter model for heavy lifting (like remembering complex history or handling corrections).

The study concludes that while we are getting closer to having virtual agents that can think and remember locally, we still have work to do. The current models are a bit slow for real-time, instant interactions, and they sometimes get confused about what action to take. But this is a promising first step, showing that with the right mix of model sizes and careful design, we can start building virtual friends that are not just pretty to look at, but truly smart enough to hang out with us in the Metaverse.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →