Papers for

nlp system builders

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Llm based retriever generator improves textual graph question answering

Towards a Learnable Retriever for Textual Graph Question Answering

Abstract: Textual graph question answering (GraphQA) and graph-based retrieval-augmented generation (GraphRAG) have gained increasing attention as a way to ground large language models (LLMs) on structured knowledge. Despite extensive efforts, existing methods still face two key gaps. The first is an architectural gap: existing methods typically fine-tune an LLM-based generator, but do not also make the retriever itself a learnable LLM for graph evidence selection within one end-to-end retrieve-then-generate pipeline. The second is a retrieval-supervision gap: existing retrievers rarely use gold answer signals to supervise evidence selection. As a result, they may fail to recall evidence nodes required for reasoning, resulting in insufficient coverage of the gold answer set; meanwhile, naive attempts to boost recall often introduce excessive irrelevant information that compromises compactness and overwhelms the LLM. To address these gaps, we propose TaLenT, an LLM-based end-to-end retriever-generator framework for textual GraphQA. To bridge the architectural gap, TaLenT pairs a learnable LLM-based retriever for evidence selection with a fine-tuned LLM-based generator within one unified retrieve-then-generate pipeline. To bridge the retrieval-supervision gap, we leverage gold answer signals as retriever supervision. Specifically, we stratify graph nodes into gold answers, answer-related nodes, and irrelevant noise. We then adopt a weighted pseudo-label loss to prioritize gold answers and preserve answer-related nodes for coverage, while discarding irrelevant noise for compactness. Experimental results across three GraphQA datasets demonstrate that TaLenT consistently improves downstream performance.

Sat 24 OctComputation and LanguageMachine Learning
The gist
Answering questions from graphs made of text is tricky because existing systems either only tweak the language model that generates answers or use unsupervised methods for choosing evidence from the graph. The authors created a system named TaLenT that trains a language model to both find relevant parts in the graph and then generate answers, all in one pipeline. They also teach the system to focus on gold-standard answers and related information while ignoring irrelevant parts, improving the quality of evidence retrieval. Testing on multiple datasets showed that TaLenT does better at finding the right answers.
Open → 2610.33511v1

Counting n-grams boosts memory use and speeds up language model training

The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation

Abstract: The scaling relationship of compute and performance for language models (LMs) has been extensively studied; more recently, models are being designed to scale memory use, as well. In particular, adding embeddings for n-grams scales memory separately from compute use, because each pass only processes individual embedding rows, which are much smaller than the storage used for the whole embedding table. However, existing methods train embeddings from scratch, which needs expensive GPU memory for fast reading and writing. Meanwhile, the ordinary memory of the host system is cheap and underutilized by these training methods. To scale on host memory, we introduce COUNT (Counting Offline Unlocks N-gram Transformers), which builds n-gram embeddings without adding learned parameters by storing precomputed n-gram counts on host. We use the corpus frequencies to weight together the LM's own unembeddings of the next tokens most often following the current n-gram history. At a fixed compute budget, COUNT can be added as an additional input embedding for pretraining 1B-parameter LMs to improve validation loss as much as an LM with 57% more compute. If GPU memory is limited, using COUNT to let backbone parameters fill GPU memory gives better performance than splitting memory with additional learned n-gram embeddings. Beyond efficiency, COUNT allows switching in a different table of n-gram counts from a domain-specific corpus at inference time to adapt to a new task without any training.

Wed 14 OctComputation and LanguageMachine Learning
The gist
Language models use big tables to predict text, but these tables take a lot of memory and computing power. The authors show a way called COUNT that uses pre-stored counts of word groups (n-grams) on cheap computer memory instead of learning new embeddings from scratch. This saves expensive GPU memory and can improve model quality without extra computing cost. COUNT also allows changing these counts easily to adapt a model to new topics without retraining.
Open → 2610.20456v1

CoWindow attention cuts transformer training and inference costs

CoWindow Attention: Full Causal Coverage Is a Collective Property

Abstract: FullAttn repeatedly exposes the complete causal history to every attention head, creating substantial redundant computation and memory traffic even with IO-efficient dense kernels. We introduce CoWA, a structured attention architecture that distributes access to the causal history across KV heads. All heads share near-diagonal and prefix-sink windows, while complementary long-range windows partition the remaining history. Their union provides full causal coverage although each head attends sparsely to distant tokens. This position-defined attention pattern requires no learned router or indexer, is used consistently during training and inference, and aligns with KV-head tensor parallelism. A window-matched ablation at 8K isolates the effect of complementary long-range allocation: CoWA with 100% collective coverage reaches 89.73% accuracy, compared with 89.97% for FullAttn, while duplicated long-range windows perform substantially worse. Across a broader controlled associative-recall comparison with matched token budgets, CoWA closely tracks FullAttn as the context grows, whereas other sparse patterns lose a substantial fraction of the associations. In an attention-operator benchmark at 128K tokens with tensor parallelism, CoWA reduces forward and backward latency during training by 7.4x and 8.6x and decoding latency during inference by 3.0x over FullAttn. Its per-rank peak operator memory matches FullAttn during training and is 7.6x lower during decoding. Across scaling-law training from 0.6B to 14B parameters, CoWA closely tracks FullAttn in perplexity while reducing total training FLOPs. The resulting 14B models and 32B models from separate continued training achieve comparable knowledge, reasoning, and long-context retrieval scores to FullAttn. These results show that full causal coverage can be a collective property of the head ensemble rather than a duplicated property of every head.

Sat 26 SeptArtificial Intelligence
The gist
Transformers read information from the past to make predictions, but fully checking all past information every time can be slow and wasteful. The authors created CoWindow attention, where different parts of the model look at different parts of the past, so together they cover everything without repeating effort. This makes training and using big models faster and less memory-hungry while keeping accuracy high. Their method works well even for very long sequences and large models.
Open → 2609.32704v1

Large language model layers show varying tree-like structures in hidden states

A Hyperbolicity Atlas of Large Language Model Hidden States

Abstract: LLM hidden states are ordinary vectors, but the distances among those vectors may still show hierarchical structure. To our knowledge, this paper is the first systematic study of whether prompt-token hidden states in contemporary LLMs exhibit Gromov Hyperbolicity (GH), a distance-based measure of tree-likeness. Using 818,904 sample-layer measurements from ten open-weight models across MATH500, HumanEval, WinoGrande, and TruthfulQA, we build a GH map over four axes: parameter scale, layer depth, model family, and input domain. The clearest pattern is depth, not scale: middle layers usually form a high-relative-hyperbolicity plateau, while final layers often become substantially more tree-like. Scale effects are weak and non-monotonic, matched 7/8B model families differ strongly, and domains interact with model specialization. These findings make GH useful as a practical diagnostic: it shows where hierarchical distance structure appears, how specialization changes it, and which model-layer-domain comparisons deserve closer analysis.

Mon 7 SeptComputation and Language
The gist
The paper studies how the hidden layers inside large language models arrange information like a tree, even though the data is stored as regular vectors. The researchers measured this tree-like quality across different model sizes, layers, types, and tasks using a special mathematical way called Gromov Hyperbolicity. They found that the middle and final layers often show more clear tree structures, while size has less impact. This helps reveal how models organize knowledge internally and which parts might need closer study.
Open → 2609.07053v1