Recent studies have introduced memory-augmented architectures that decouple knowledge storage from neural computation, enabling more direct access to stored representations. However, existing approaches often rely on learned memory embeddings or explicit memory and retrieval components, requiring additional training or increasing architectural complexity. To address these limitations, we propose N-gram Memory (NGM), a training-free, plug-and-play module that repurposes a backbone model's pretrained token embedding space as memory. NGM consists of a Causal N-Gram Encoder and a Cosine-Gated Memory Injector. The former constructs N-gram representations by directly aggregating pretrained token embeddings, while the latter uses cosine similarity with ReLU gating to adaptively control the amount of retrieved memory injected into contextual representations. Unlike conventional memory-augmented architectures, NGM requires neither additional embedding training nor a separately learned memory bank or external retrieval infrastructure. We evaluate NGM on ten benchmarks across six language-model backbones spanning two model families and multiple scales, including four Qwen3 models (0.6B, 1.7B, 4B, and 8B) and two Llama-3.2-Instruct models (1B and 3B). NGM consistently improves the ten-task average across all six backbones. Notably, it improves HumanEval by 4.26, HumanEval+ by 2.41, and GPQA-Diamond by 6.56 percentage points. Furthermore, NGM extends beyond text-only language models to vision-language models, with Qwen3-VL-2B achieving improvements across all five VLM benchmarks. Project page: https://pioneerqyw.github.io/ngm-project/
Summarize Before You Speak with ARACH: A Training-Free Inference-Time Plug-In for Enhancing LLMs via Global Attention Reallocation
Meakins-Christe Laboratories, Research Institute of McGill University Health Centre(麦金-克里斯特实验室,麦吉尔大学健康中心研究 institute);Department of Medicine, Division of Experimental Medicine, McGill University(医学系,实验医学 division,麦吉尔大学);The College of Computer Science and Technology, Zhejiang Gongshang University(浙江工商大学计算机科学与技术学院);Zhejiang Key Laboratory of Big Data and Future E-Commerce Technology(浙江大数据与未来电子商务技术重点实验室);Quantitative Life Sciences, McGill University(定量生命科学,麦吉尔大学);School of Computer Science, McGill University(计算机科学学院,麦吉尔大学);Mila-Quebec AI Institute(蒙特利尔 AI 机构,魁北克)
SciCore-Mol: Augmenting Large Language Models with Pluggable Molecular Cognition Modules
School of Electronic and Computer Engineering, Peking University, Shenzhen, China(电子与计算机工程学院,北京大学深圳校区);Tsinghua University, Beijing, China(清华大学,北京);School of Intelligence Science and Technology, Nanjing University, Suzhou, China(智能科学与技术学院,南京大学苏州校区)
Domain-Specialized Tree of Thought through Plug-and-Play Predictors
Xi'an Jiaotong University, China(西安交通大学);Singapore Management University, Singapore(新加坡管理学院);University of Massachusetts at Amherst, United States(马萨诸塞大学阿默斯特分校)
Decoupled Alignment for Robust Plug-and-Play Adaptation
Northwestern University(西北大学);New York University Abu Dhabi(纽约大学阿布扎克分校);Stanford University(斯坦福大学);Texas A&M University(德克萨斯农工大学);University of California, Los Angeles(加州大学洛杉矶分校);Illinois Institute of Technology(伊利诺伊理工学院)
C-3PO: Compact Plug-and-Play Proxy Optimization to Achieve Human-like Retrieval-Augmented Generation
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Tongyi Lab(通义实验室);Soochow University(苏州大学);University of Oxford(牛津大学);Tsinghua University(清华大学)
SLASH the Sink: Sharpening Structural Attention Inside LLMs
Shanghai Jiao Tong University(上海交通大学);Institute of Geographical Science and Natural Resources Research(地理科学与自然资源研究所);Chinese Academy of Sciences(中国科学院)
Memory Decoder: A Pretrained, Plug-and-Play Memory for Large Language Models
LUMIA Lab(LUMIA实验室);School of Artificial Intelligence(人工智能学院);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);Tsinghua University(清华大学);SJTU Paris Elite Institute of Technology(上海交通大学巴黎精英技术学院)
Attacks on Third-Party APIs of Large Language Models
University of Cambridge(剑桥大学);Indian Institute of Technology, Bombay(印度理工学院孟买分校);University of Melbourne(墨尔本大学);University College London(伦敦大学学院);Macquarie University(麦考瑞大学)
Enhancing Temporal Awareness in LLMs for Temporal Point Processes
School of Computer Science and Technology, Tongji University, Shanghai 201804, China(计算机科学与技术学院,同济大学);College of Cyber Security, Jinan University, Guangzhou 510632, China(网络安全学院,暨南大学);Department of Computer Science, University of Illinois Chicago, Chicago, USA(计算机科学系,伊利诺伊大学芝加哥分校)
Prompt2Fingerprint: Plug-and-Play LLM Fingerprinting via Text-to-Weight Generation
Shenzhen International Graduate School, Tsinghua University, Shenzhen, China(清华大学深圳国际研究生院,中国深圳);South China University of Technology, Guangzhou, China(华南理工大学,中国广州);Harbin Institute of Technology, Shenzhen, Shenzhen, China(哈尔滨工业大学深圳校区,中国深圳)
Plug and Play with Prompts: A Prompt Tuning Approach for Controlling Text Generation
University of Toronto(多伦多大学);Vector Institute for Artificial Intelligence(向量人工智能研究院);Stevens Institute of Technology(史蒂文斯理工学院);Dalhousie University(达尔豪斯大学)