AgentCompress: Task-Aware Compression for Affordable Large Language Model Agents

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Taha, Zuhair Ahmed Khan, Uddin, Mohammed Mudassir, Alam, Shahnawaz
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914247265484800
author Taha, Zuhair Ahmed Khan
Uddin, Mohammed Mudassir
Alam, Shahnawaz
author_facet Taha, Zuhair Ahmed Khan
Uddin, Mohammed Mudassir
Alam, Shahnawaz
contents Large language models hold considerable promise for various applications, but their computational requirements create a barrier that many institutions cannot overcome. A single session using a 70-billion-parameter model can cost around $127 in cloud computing fees, which puts these tools out of reach for organizations operating on limited budgets. We present AgentCompress, a framework that tackles this problem through task-aware dynamic compression. The idea comes from a simple observation: not all tasks require the same computational effort. Complex reasoning, for example, is far more demanding than text reformatting, yet conventional compression applies the same reduction to both. Our approach uses a lightweight neural controller that looks at the first few tokens of each request, estimates how complex the task will be, and sends it to an appropriately quantized version of the model. This routing step adds only about 12 milliseconds of overhead. We tested the framework on 290 multi-stage workflows from domains including computer science, physics, chemistry, and biology. The results show a 68.3% reduction in computational costs while preserving 96.2% of the original success rate. These findings suggest that routing queries intelligently can make powerful language models substantially more affordable without sacrificing output quality
format Preprint
id arxiv_https___arxiv_org_abs_2601_05191
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle AgentCompress: Task-Aware Compression for Affordable Large Language Model Agents
Taha, Zuhair Ahmed Khan
Uddin, Mohammed Mudassir
Alam, Shahnawaz
Computer Vision and Pattern Recognition
Machine Learning
Large language models hold considerable promise for various applications, but their computational requirements create a barrier that many institutions cannot overcome. A single session using a 70-billion-parameter model can cost around $127 in cloud computing fees, which puts these tools out of reach for organizations operating on limited budgets. We present AgentCompress, a framework that tackles this problem through task-aware dynamic compression. The idea comes from a simple observation: not all tasks require the same computational effort. Complex reasoning, for example, is far more demanding than text reformatting, yet conventional compression applies the same reduction to both. Our approach uses a lightweight neural controller that looks at the first few tokens of each request, estimates how complex the task will be, and sends it to an appropriately quantized version of the model. This routing step adds only about 12 milliseconds of overhead. We tested the framework on 290 multi-stage workflows from domains including computer science, physics, chemistry, and biology. The results show a 68.3% reduction in computational costs while preserving 96.2% of the original success rate. These findings suggest that routing queries intelligently can make powerful language models substantially more affordable without sacrificing output quality
title AgentCompress: Task-Aware Compression for Affordable Large Language Model Agents
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2601.05191