paper-with-me

Papers

Context-level Language Modeling by Learning Predictive Context Embeddings

2025-10-23 · Beiya Dai, Yuliang Liu, Daozheng Xue, Yunchong Song, Qipeng Guo, Kai Chen, Xinbing Wang, Bowen Zhou, Zhouhan Lin arxiv

We propose ContextLM, a framework that implicitly learns multi-token prediction by augmenting standard pretraining with an intrinsic next-context prediction objective. ContextLM builds a language model on top of context embeddings that span multiple tokens, enabling better next-token prediction by predicting the next context. Our model is fully compatible with standard autoregressive, token-by-token evaluation paradigms (e.g., perplexity). Extensive experiments with GPT-2 and Pythia backbones (up to 1.5B parameters and 300B training tokens) reveal that ContextLM shifts the Pareto frontier of scaling laws, exhibiting superior efficiency in parameters, training tokens, and FLOPs. Our results show that ContextLM could already achieve the baseline perplexity using 39\% fewer parameters and demonstrates robust generalization improvements on extensive downstream tasks under equivalent parameter counts.

📄 PDF Abstract BibTeX arXiv:2510.20280

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Suicide Risk Assessment with Multi-level Dual-Context Language and BERT

2019-06-01 · WS 2019 6 · Matthew Matero, Akash Idnani, Youngseo Son, Salvatore Giorgi 외

Mental health predictive systems typically model language as if from a single context (e.g. Twitter posts, status updates, or forum posts) and often limited to a single level of analysis (e.g. either the message-level or…

Context-Aware Zero-Shot Anomaly Detection in Surveillance Using Contrastive and Predictive Spatiotemporal Modeling

2025-08-25 · Md. Rashid Shahriar Khan, Md. Abrar Hasan, Mohammod Tareq Aziz Justice arxiv

Detecting anomalies in surveillance footage is inherently challenging due to their unpredictable and context-dependent nature. This work introduces a novel context-aware zero-shot anomaly detection framework that identif…

Anomaly Detection

LPC-SM: Local Predictive Coding and Sparse Memory for Long-Context Language Modeling

2026-03-12 · Keqin Xie arxiv

Most current long-context language models still rely on attention to handle both local interaction and long-range state, which leaves relatively little room to test alternative decompositions of sequence modeling. We pro…

Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHRs

2024-12-09 · Michael Wornow, Suhana Bedi, Miguel Angel Fuentes Hernandez, Ethan Steinberg 외

Foundation Models (FMs) trained on Electronic Health Records (EHRs) have achieved state-of-the-art results on numerous clinical prediction tasks. However, most existing EHR FMs have context windows of <1k tokens. This pr…

Mamba

Go Forth and Prosper: Language Modeling with Ancient Textual History

2021-04-18 · Rik Koncel-Kedziorski, Noah A. Smith

We introduce a technique for improving document-level language models (LM) by leveraging "ancient history": text that is outside the LM's current context window. We learn an auxiliary function to select spans from the an…

ArticlesLanguage ModelingLanguage Modelling