← Latest papers
🤖 AI

FileGram: Grounding Agent Personalization in File-System Behavioral Traces

To address the limitations of data constraints and interaction-centric approaches in personalizing coworking AI agents, the paper proposes FileGram, a comprehensive framework featuring a scalable data engine, a diagnostic benchmark, and a bottom-up memory architecture that grounds agent personalization in fine-grained file-system behavioral traces.

Original authors: Shuai Liu, Shulin Tian, Kairui Hu, Yuhao Dong, Zhe Yang, Bo Li, Jingkang Yang, Chen Change Loy, Ziwei Liu

Published 2026-04-07
📖 4 min read☕ Coffee break read

Original authors: Shuai Liu, Shulin Tian, Kairui Hu, Yuhao Dong, Zhe Yang, Bo Li, Jingkang Yang, Chen Change Loy, Ziwei Liu

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 you have a digital assistant that lives inside your computer's hard drive. You want this assistant to be the ultimate coworker: someone who knows exactly how you work, remembers your habits, and helps you organize your life without you having to explain everything from scratch.

The problem? Most current assistants are like amnesiac tourists. They can chat with you, but they don't really "know" you. They forget what you did five minutes ago, and they certainly don't understand the subtle ways you organize your files, rename your documents, or edit your spreadsheets.

This paper introduces FileGram, a new system designed to give your AI assistant a real memory of how you work, not just what you say.

Here is the breakdown of FileGram using simple analogies:

1. The Problem: The "Amnesiac Tourist"

Currently, AI assistants rely mostly on conversation. If you say, "I like my files in deep folders," they remember that. But if you actually spend 20 minutes renaming files and moving them around, the AI often ignores those actions because it's only listening to your voice, not watching your hands.

It's like having a personal chef who only listens to your orders but never watches how you actually cook. They might know you like "spicy food," but they won't notice that you always chop onions first, then garlic, and never use a wooden spoon.

2. The Solution: FileGram (The "Super-Observer")

FileGram changes the game by teaching the AI to watch behavioral traces. Instead of just listening to your voice, it watches every click, every file rename, and every edit you make.

To make this work, the researchers built a three-part toolkit:

A. The Training Ground: FileGramEngine

You can't train a memory system on real people's private data because of privacy laws (and it's too hard to get). So, they built a virtual simulator.

  • The Analogy: Imagine a flight simulator for pilots. The researchers created 20 different "virtual pilots" (user profiles) with very specific habits. One is a messy hoarder who never deletes anything; another is a minimalist who deletes files the second they are done.
  • The system simulates thousands of hours of these virtual people working on their computers. This creates a massive library of "how-to-be-a-person" data without ever spying on a real human.

B. The Test: FileGramBench

How do you know if the AI actually learned? You need a test.

  • The Analogy: Think of this as a driver's license exam for AI. Instead of asking, "What is 2+2?", the test asks: "Based on the fact that this user always creates three backup copies before editing a file, what will they do next?"
  • It tests the AI on three things:
    1. Understanding: Can it guess the user's personality just by watching them work?
    2. Reasoning: Can it figure out why a user did something weird?
    3. Detection: Can it notice if a user suddenly changed their habits (e.g., a neat freak suddenly starts making a mess)?

C. The Brain: FileGramOS

This is the actual memory system that runs the AI. Most AI memory systems are like diaries: they summarize your day into a paragraph ("Today I worked on a report").

  • The Analogy: FileGramOS is more like a forensic lab. It doesn't just summarize; it breaks your actions down into tiny, atomic pieces.
    • Procedural Memory: It counts things. "This user creates 5 folders deep." "This user edits files 3 times before saving."
    • Semantic Memory: It understands the content. "This user writes in a formal tone."
    • Episodic Memory: It remembers the timeline. "On Tuesday, they did X. On Friday, they did Y."
  • By keeping these separate, the AI doesn't get confused. It knows the difference between "what you did" (procedure) and "what you wrote" (content).

3. Why This Matters

The researchers tested FileGramOS against 12 other top-tier AI memory systems.

  • The Result: The old systems (the "diaries") got about 50% of the answers right. They were good at remembering facts but bad at understanding habits.
  • FileGramOS: Got nearly 60% right. It was much better at spotting patterns, like realizing a user prefers deep folder structures or always searches for files before reading them.

The Big Takeaway

FileGram proves that to build a truly helpful AI coworker, we can't just listen to what people say. We have to watch what they do.

By treating your file system as a diary of your habits rather than just a storage locker, FileGram allows AI to finally say: "I know you usually organize your project files by date, so I've already set up that folder for you before you even asked."

It's the difference between a robot that follows orders and a partner who truly knows you.

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 →