atlas

Research map / Large language models / Agents, code and math

From Commands to Prompts: LLM-based Semantic File System for AIOS

ICLR 2025 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LSFS, an LLM-based semantic file system layer on top of AIOS that lets users manage files via natural language prompts, with semantic indexes, syscalls, and APIs for retrieval, change summarization, rollback, and sharing.

Problem

Traditional file systems rely on metadata and exact commands, so users must remember cryptic file names and paths and cannot retrieve or organize files by semantic content; existing LLM file tools are application-specific rather than a general OS-level service.

Approach

Adds a semantic layer over traditional file systems: files are indexed with embeddings (all-MiniLM-L6-v2 via LlamaIndex), exposed through composite syscalls and APIs, and an LLM-based parser maps natural language prompts to these API calls, with user confirmation and rollback as safety mechanisms.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LSFS semantic retrieval instead of LLM retrieval without LSFSSemantic file retrieval with Gemini-1.5-flash · 10, 20, 40, and 120 filesaccuracy: 75.0% -> 95.0%; 77.3% -> 91.3%; 70.91% -> 93.4%; 35.2% -> 92.9%Helped
Use LSFS semantic retrieval instead of LLM retrieval without LSFSSemantic file retrieval with GPT-4o-mini · 10, 20, 40, and 120 filesaccuracy: 80% -> 95.0%; 69.1% -> 91.3%; 69.2% -> 93.4%; 63.8% -> 92.9%Helped
Use LSFS semantic retrieval instead of LLM retrieval without LSFSSemantic file retrieval with Gemini-1.5-flash · 10, 20, 40, and 120 filesretrieval time: 97.40(s) -> 14.39(s); 213.69(s) -> 16.69(s); 312.39(s) -> 23.86(s); 605.59(s) -> 48.08(s)Helped
Use LSFS semantic retrieval instead of LLM retrieval without LSFSSemantic file retrieval with GPT-4o-mini · 10, 20, 40, and 120 filesretrieval time: 61.14(s) -> 30.64(s); 129.92(s) -> 40.39(s); 239.49(s) -> 57.1(s); 938.68(s) -> 88.93(s)Helped
Use LSFS keyword retrieval instead of TFS-grep*Keyword file retrieval · 10, 20, and 40 filesF1-score: 1.000 vs 0.891; 1.000 vs 0.900; 1.000 vs 0.909Hurt
Use LSFS keyword retrieval instead of TFS search window or TFS-grepKeyword file retrieval · 10, 20, and 40 filesF1-score: 10 files: 0.829, 0.402 -> 0.891; 20 files: 0.840, 0.337 -> 0.900; 40 files: 0.817, 0.348 -> 0.909Helped
Enable user confirmation before file operationsLSFS file retrieval for operations · 10, 20, 40, and 120 filesretrieval error rate: 13% -> 0%; 16.7% -> 0%; 15.8% -> 0%; 14.8% -> 0%Helped

Surprising findings

Limitations

Experimental setup

Datasets: user-constructed file folders of research papers and documents (10, 20, 40, 120 files)

Benchmarks: semantic file retrieval (custom) keyword-based file retrieval (custom) LSFS parser API-call accuracy (custom, 30 samples per API)

Metrics: accuracy retrieval time precision recall F1-score success rate

Baselines: TFS search window TFS-grep TFS-grep* LLM without LSFS (Gemini-1.5-flash, GPT-4o-mini) AutoGPT Code Interpreter

Builds on: AIOS LlamaIndex

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy