长对话与AI代理创建了一个简单的问题:历史信息有用,但逐字携带成本高昂。我们研究了个性化代理记忆:将用户与代理的对话历史压缩成一个紧凑的检索层,以便后续搜索。每段对话被压缩成一个包含四个字段的复合对象(exchange_core, specific_context, thematic room_assignments, and regex-extracted files_touched)。压缩后的可检索文本平均每段对话38个token。应用于6个软件工程项目的4182次对话(14340次交互),该方法将平均交互长度从371降至38个token,实现11倍压缩。我们评估了压缩后个性化召回是否能保持,使用201个召回导向查询、107个配置(涵盖5种纯检索和5种跨层检索模式)以及5个LLM评估者(214519个共识评分查询-结果对)。最佳纯压缩配置达到最佳原文MRR的96%(0.717 vs 0.745)。结果依赖于机制。所有20种向量搜索配置在Bonferroni校正后仍不显著,而所有20种BM25配置显著下降(效应量|d|=0.031-0.756)。最佳跨层设置略微超过最佳纯原文基线(MRR 0.759)。结构化蒸馏在不均匀牺牲检索质量的情况下压缩单用户代理记忆。在1/11的上下文成本下,成千上万的交互可以放入单个提示中,而原文源仍可用于深入挖掘。我们发布了实现和分析流程作为开源软件。
英文摘要:
Long conversations with an AI agent create a simple problem for one user: the history is useful, but carrying it verbatim is expensive. We study personalized agent memory: one user's conversation history with an agent, distilled into a compact retrieval layer for later search. Each exchange is compressed into a compound object with four fields (exchange_core, specific_context, thematic room_assignments, and regex-extracted files_touched). The searchable distilled text averages 38 tokens per exchange. Applied to 4,182 conversations (14,340 exchanges) from 6 software engineering projects, the method reduces average exchange length from 371 to 38 tokens, yielding 11x compression. We evaluate whether personalized recall survives that compression using 201 recall-oriented queries, 107 configurations spanning 5 pure and 5 cross-layer search modes, and 5 LLM graders (214,519 consensus-graded query-result pairs). The best pure distilled configuration reaches 96% of the best verbatim MRR (0.717 vs 0.745). Results are mechanism-dependent. All 20 vector search configurations remain non-significant after Bonferroni correction, while all 20 BM25 configurations degrade significantly (effect sizes |d|=0.031-0.756). The best cross-layer setup slightly exceeds the best pure verbatim baseline (MRR 0.759). Structured distillation compresses single-user agent memory without uniformly sacrificing retrieval quality. At 1/11 the context cost, thousands of exchanges fit within a single prompt while the verbatim source remains available for drill-down. We release the implementation and analysis pipeline as open-source software.
Federated Progressive Self-Distillation with Logits Calibration for Personalized IIoT Edge Intelligence
School of Cyberspace Science and Technology, Beijing Institute of Technology(北京理工大学网络空间科学与技术学院);School of Electrical and Information Engineering, North Minzu University(北方民族大学电气与信息工程学院)
Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directions
University of Georgia(佐治亚大学);The University of Texas at Arlington(德克萨斯大学阿灵顿分校);Harvard University(哈佛大学);Carnegie Mellon University(卡内基梅隆大学);Vanderbilt University(范德堡大学);Mayo Clinic Arizona(亚利桑那梅奥诊所);Augusta University(奥古斯塔大学)
Towards Personalized Federated Learning via Comprehensive Knowledge Distillation
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
Efficient Personalized Reranking with Semi-Autoregressive Generation and Online Knowledge Distillation
University of Science and Technology of China(中国科学技术大学);Huawei(华为);Shanghai Jiao Tong University(上海交通大学);Beijing University of Posts and Telecommunications(北京邮电大学)
Personalized Federated Learning via Backbone Self-Distillation
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, UCAS(中国科学院大学网络空间安全学院);School of Communication and Information Engineering, Shanghai University(上海大学通信与信息工程学院);School of Automation, Hangzhou Dianzi University(杭州电子科技大学自动化学院)
MH-pFLID: Model Heterogeneous personalized Federated Learning via Injection and Distillation for Medical Data Analysis
School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);National Engineering Research Center for Software Engineering, Peking University(北京大学国家软件工程研究中心);State University of New York at Buffalo(纽约州立大学布法罗分校)
Personalized Treatment Outcome Prediction from Scarce Data via Dual-Channel Knowledge Distillation and Adaptive Fusion
School of Information Management, Central China Normal University(中央财经大学信息管理学院);School of Cyber Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Guangdong Provincial Key Laboratory of Brain-inspired Intelligent Computation, Department of Computer Science and Engineering, Southern University of Science and Technology(广东省脑启发式智能计算重点实验室,南方科技大学计算机科学与工程学院)
Identity Preserving 3D Head Stylization with Multiview Score Distillation
Bilkent University(比尔肯大学);ETH Zurich(苏黎世联邦理工学院);Max Planck Institute(马克斯·普朗克研究所);INSAIT, Sofia University “St. Kliment Ohridski”(INSAIT,索菲亚大学“圣克莱门特·奥赫里茨基”)
City University of Hong Kong(香港城市大学);Tsinghua University(清华大学);Shenzhen University of Advanced Technology(深圳理工大学);Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))
FedAFD: Multimodal Federated Learning via Adversarial Fusion and Distillation
Zhejiang Key Laboratory of Space Information Sensing and Transmission, Hangzhou Dianzi University(浙江空间信息感知与传输重点实验室,杭州电子大学);Laboratory of Complex Systems Modeling and Simulation, School of Computer Science and Technology, Hangzhou Dianzi University(复杂系统建模与仿真实验室,计算机科学与技术学院,杭州电子大学);Alibaba International Digital Commerce Group(阿里巴巴国际数字商业集团);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)