AI summary · arXiv: 2307.06962v1 · cs.CL

Copy Is All You Need

Tian Lan, Deng Cai, Yan Wang, Heyan Huang, Xian-Ling Mao
Original paper Submitted to arXiv on 13 Jul. 2023 The Eleventh International Conference on Learning Representations (ICLR 2023) License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • COG (Copy is All You Need) is a novel approach for text generation
  • COG generates text by copying meaningful text segments from an existing collection
  • Contextualized representations of the segments are computed and indexed using efficient vector search toolkits
  • COG outperforms other models in terms of generation quality on the WikiText-103 benchmark dataset, as evaluated by automatic metrics and human evaluations
  • COG demonstrates comparable inference efficiency to token-level autoregressive models due to reduced decoding steps
  • COG can adapt to different domains without additional training by switching to a domain-specific text collection
  • Scaling up to larger text collections leads to performance gains without further training
  • COG integrates retrieval into the generation process itself, unlike previous approaches that combine retrieval and generation separately

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: COG Text Generation Retrieval-Augmented WikiText-103 Vector Search

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In this paper, the authors propose a novel approach called COG (Copy is All You Need) for text generation. Unlike traditional models that select words from a fixed vocabulary, COG generates text by progressively copying meaningful text segments from an existing collection. The authors compute contextualized representations of these segments and index them using efficient vector search toolkits. This allows for a series of copy-and-paste operations during text generation, where suitable text spans are selected from the collection instead of a standalone vocabulary. The authors conducted experiments on the WikiText-103 benchmark dataset and found that COG outperforms other models in terms of generation quality, as evaluated by both automatic metrics and human evaluations. Additionally, COG demonstrates comparable inference efficiency to token-level autoregressive models due to the reduction in decoding steps. One notable advantage of COG is its ability to adapt to different domains without additional training. By simply switching to a domain-specific text collection, COG can effectively generate text in that domain. Furthermore, the authors observed that scaling up to larger text collections also leads to performance gains without requiring further training. The paper also discusses related work in retrieval-augmented text generation and highlights how COG differs from prior approaches. While previous work combines retrieval and generation processes separately, COG integrates retrieval into the generation process itself. Overall, the experimental results support the effectiveness of COG in generating high-quality text by leveraging existing collections. The authors acknowledge valuable suggestions from reviewers that led to revisions in their experiments and express gratitude for improving the quality of their paper.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 34 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Yan Wang (3 papers)

2 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 9 November 2026: Artificial intelligence this week: When better scores miss the point · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close
    May the Force Be with Your Copy Mechanism: Enhanced Supervised-Copy Method for Natural Language Generation
    Sanghyuk Choi, J. Hwang, Hyungjong Noh et al. · 2021 · arXiv.org · preprint, not peer reviewed · cited 4 times · Not summarized yet
    Abstract

    Recent neural sequence-to-sequence models with a copy mechanism have achieved remarkable progress in various text generation tasks. These models addressed out-of-vocabulary problems and facilitated the generation of rare words. However, the identification of the word which needs to be copied is difficult, as observed by prior copy models, which suffer from incorrect generation and lacking abstractness. In this paper, we propose a novel supervised approach of a copy network that helps the model decide which words need to be copied and which need to be generated. Specifically, we re-define the objective function, which leverages source sequences and target vocabularies as guidance for copying.…

  2. Very close
    Deep Copycat Networks for Text-to-Text Generation
    Julia Ive, P. Madhyastha, Lucia Specia · 2019 · Conference on Empirical Methods in Natural Language Processing · cited 7 times · Not summarized yet
    Abstract

    Most text-to-text generation tasks, for example text summarisation and text simplification, require copying words from the input to the output. We introduce Copycat, a transformer-based pointer network for such tasks which obtains competitive results in abstractive text summarisation and generates more abstractive summaries. We propose a further extension of this architecture for automatic post-editing, where generation is conditioned over two inputs (source language and machine translation), and the model is capable of deciding where to copy information from. This approach achieves competitive performance when compared to state-of-the-art automated post-editing systems. More importantly, we…

  3. Close
    Improving Copy-oriented Text Generation via EDU Copy Mechanism
    Tianxiang Wu, Han Chen, Luozheng Qin et al. · 2024 · International Conference on Language Resources and Evaluation · cited 1 time · Not summarized yet
    Abstract

    Many text generation tasks are copy-oriented. For instance, nearly 30% content of news summaries is copied. The copy rate is even higher in Grammatical Error Correction (GEC). However, existing generative models generate texts through word-by-word decoding, which may lead to factual inconsistencies and slow inference. While Elementary Discourse Units (EDUs) are outstanding extraction units, EDU-based extractive methods can alleviate the aforementioned problems. As a consequence, we propose EDUCopy, a framework that integrates the behavior of copying EDUs into generative models. The main idea of EDUCopy is to use special index tags to represent the copied EDUs during generation. Specifically,…

  4. Close
    Table to text generation with accurate content copying
    Yang Yang, Juan Cao, Yu-Jun Wen et al. · 2021 · Scientific Reports · cited 15 times · Not summarized yet
    Abstract

    Generating fluent, coherent, and informative text from structured data is called table-to-text generation. Copying words from the table is a common method to solve the “out-of-vocabulary” problem, but it’s difficult to achieve accurate copying. In order to overcome this problem, we invent an auto-regressive framework based on the transformer that combines a copying mechanism and language modeling to generate target texts. Firstly, to make the model better learn the semantic relevance between table and text, we apply a word transformation method, which incorporates the field and position information into the target text to acquire the position of where to copy. Then we propose two auxiliary l…

  5. Close Cited by this paper Used in depth by this paper A method it uses
    A Contrastive Framework for Neural Text Generation
    Yixuan Su, Tian Lan, Yan Wang et al. · 2022 · Neural Information Processing Systems · cited 355 times · Not summarized yet
    Abstract

    Text generation is of great importance to many natural language processing applications. However, maximization-based decoding methods (e.g. beam search) of neural language models often lead to degenerate solutions -- the generated text is unnatural and contains undesirable repetitions. Existing approaches introduce stochasticity via sampling or modify training objectives to decrease probabilities of certain tokens (e.g., unlikelihood training). However, they often lead to solutions that lack coherence. In this work, we show that an underlying reason for model degeneration is the anisotropic distribution of token representations. We present a contrastive solution: (i) SimCTG, a contrastive tr…

  6. Close
    Generate rather than Retrieve: Large Language Models are Strong Context Generators
    Wenhao Yu, Dan Iter, Shuohang Wang et al. · 2022 · Computation and Language · cited 461 times · AI summary available
    Abstract

    Knowledge-intensive tasks, such as open-domain question answering (QA), require access to a large amount of world or domain knowledge. A common approach for knowledge-intensive tasks is to employ a retrieve-then-read pipeline that first retrieves a handful of relevant contextual documents from an external corpus such as Wikipedia and then predicts an answer conditioned on the retrieved documents. In this paper, we present a novel perspective for solving knowledge-intensive tasks by replacing document retrievers with large language model generators. We call our method generate-then-read (GenRead), which first prompts a large language model to generate contextutal documents based on a given qu…

  7. Close
    Text Generation with Exemplar-based Adaptive Decoding
    Hao Peng, Ankur P. Parikh, Manaal Faruqui et al. · 2019 · North American Chapter of the Association for Computational Linguistics · cited 59 times · Not summarized yet
    Abstract

    We propose a novel conditioned text generation model. It draws inspiration from traditional template-based text generation techniques, where the source provides the content (i.e., what to say), and the template influences how to say it. Building on the successful encoder-decoder paradigm, it first encodes the content representation from the given input text; to produce the output, it retrieves exemplar text from the training data as “soft templates,” which are then used to construct an exemplar-specific decoder. We evaluate the proposed model on abstractive text summarization and data-to-text generation. Empirical results show that this model achieves strong performance and outperforms compa…

  8. Close Cites this paper
    Copy-Paste Language Models
    Nathan Godey, Yoav Artzi · 2026 · Not summarized yet
    Abstract

    Transformers are intuitively considered to be efficient at copying from their inputs. We actually show that the ability of LLMs to copy in context can be improved through explicit modeling. We propose Copy-Paste Language Models (CPLMs), which add a lightweight Copy-Paste head to the conventional language modeling (LM) head. CPLMs improve training efficiency, downstream performance, and offer new operating points in long-context and retrieval setups. We validate our approach by pretraining models from 135M to 1.7B parameters, showing improvements across all scales and backbones with negligible training and inference overheads. We explain the success of CPLMs by showing that they partially mit…

Prior work it builds on

  1. Related Used in depth by this paper A method it uses
    The Curious Case of Neural Text Degeneration
    Ari Holtzman, Jan Buys, Li Du et al. · 2019 · International Conference on Learning Representations · cited 4,749 times · Not summarized yet
    Abstract

    Despite considerable advancements with deep neural language models, the enigma of neural text degeneration persists when these models are tested as text generators. The counter-intuitive empirical observation is that even though the use of likelihood as training objective leads to high quality models for a broad range of language understanding tasks, using likelihood as a decoding objective leads to text that is bland and strangely repetitive. In this paper, we reveal surprising distributional differences between human text and machine text. In addition, we find that decoding strategies alone can dramatically effect the quality of machine text, even when generated from exactly the same neura…

  2. Related Used in depth by this paper A method it uses
    Improving language models by retrieving from trillions of tokens
    Sebastian Borgeaud, Arthur Mensch, Jordan Hoffmann et al. · 2021 · International Conference on Machine Learning · cited 2,026 times · Not summarized yet
    Abstract

    We enhance auto-regressive language models by conditioning on document chunks retrieved from a large corpus, based on local similarity with preceding tokens. With a $2$ trillion token database, our Retrieval-Enhanced Transformer (RETRO) obtains comparable performance to GPT-3 and Jurassic-1 on the Pile, despite using 25$\times$ fewer parameters. After fine-tuning, RETRO performance translates to downstream knowledge-intensive tasks such as question answering. RETRO combines a frozen Bert retriever, a differentiable encoder and a chunked cross-attention mechanism to predict tokens based on an order of magnitude more data than what is typically consumed during training. We typically train RETR…

  3. Related Used in depth by this paper A method it uses
    MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
    Krishna Pillutla, S. Swayamdipta, Rowan Zellers et al. · 2021 · Neural Information Processing Systems · cited 637 times · AI summary available
    Abstract

    As major progress is made in open-ended text generation, measuring how close machine-generated text is to human language remains a critical open problem. We introduce MAUVE, a comparison measure for open-ended text generation, which directly compares the learnt distribution from a text generation model to the distribution of human-written text using divergence frontiers. MAUVE scales up to modern text generation models by computing information divergences in a quantized embedding space. Through an extensive empirical study on three open-ended generation tasks, we find that MAUVE identifies known properties of generated text, scales naturally with model size, and correlates with human judgmen…

  4. Related A method it uses
    Attention Is All You Need
    Ashish Vaswani, Noam Shazeer, Niki Parmar et al. · 2017 · Computation and Language · cited 201,387 times · AI summary available
    Abstract

    The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ense…

  5. Related Used in depth by this paper A method it uses
    Neural Text Generation with Unlikelihood Training
    S. Welleck, Ilia Kulikov, Stephen Roller et al. · 2019 · International Conference on Learning Representations · cited 800 times · Not summarized yet
    Abstract

    Neural text generation is a key tool in natural language applications, but it is well known there are major problems at its core. In particular, standard likelihood training and decoding leads to dull and repetitive outputs. While some post-hoc fixes have been proposed, in particular top-$k$ and nucleus sampling, they do not address the fact that the token-level probabilities predicted by the model are poor. In this paper we show that the likelihood objective itself is at fault, resulting in a model that assigns too much probability to sequences containing repeats and frequent words, unlike those from the human training distribution. We propose a new objective, unlikelihood training, which f…

Papers that cite it

  1. Close Uses this paper in depth
    Retrieval is Accurate Generation
    Bowen Cao, Deng Cai, Leyang Cui et al. · 2024 · International Conference on Learning Representations · cited 15 times · Not summarized yet
    Abstract

    Standard language models generate text by selecting tokens from a fixed, finite, and standalone vocabulary. We introduce a novel method that selects context-aware phrases from a collection of supporting documents. One of the most significant challenges for this paradigm shift is determining the training oracles, because a string of text can be segmented in various ways and each segment can be retrieved from numerous possible documents. To address this, we propose to initialize the training oracles using linguistic heuristics and, more importantly, bootstrap the oracles through iterative self-reinforcement. Extensive experiments show that our model not only outperforms standard language model…

  2. Related
    Retrieval-Augmented Generation for AI-Generated Content: A Survey
    Peng-Hao Zhao, Hailin Zhang, Qinhan Yu et al. · 2024 · Data Science and Engineering · cited 789 times · AI summary available
    Abstract

    Advancements in model algorithms, the growth of foundational models, and access to high-quality datasets have propelled the evolution of Artificial Intelligence Generated Content (AIGC). Despite its notable successes, AIGC still faces hurdles such as updating knowledge, handling long-tail data, mitigating data leakage, and managing high training and inference costs. Retrieval-Augmented Generation (RAG) has recently emerged as a paradigm to address such challenges. In particular, RAG introduces the information retrieval process, which enhances the generation process by retrieving relevant objects from available data stores, leading to higher accuracy and better robustness. In this paper, we c…

  3. Related
    CopyNE: Better Contextual ASR by Copying Named Entities
    Shilin Zhou, Zheng-Hua Li, Yu Hong et al. · 2023 · Annual Meeting of the Association for Computational Linguistics · cited 19 times · Not summarized yet
    Abstract

    End-to-end automatic speech recognition (ASR) systems have made significant progress in general scenarios. However, it remains challenging to transcribe contextual named entities (NEs) in the contextual ASR scenario. Previous approaches have attempted to address this by utilizing the NE dictionary. These approaches treat entities as individual tokens and generate them token-by-token, which may result in incomplete transcriptions of entities. In this paper, we treat entities as indivisible wholes and introduce the idea of copying into ASR. We design a systematic mechanism called CopyNE, which can copy entities from the NE dictionary. By copying all tokens of an entity at once, we can reduce e…

  4. Related
    Hierarchical Skip Decoding for Efficient Autoregressive Text Generation
    Yun-Qi Zhu, Xue-Bing Yang, Yuan-Yuan Wu et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 8 times · Not summarized yet
    Abstract

    Autoregressive decoding strategy is a commonly used method for text generation tasks with pre-trained language models, while early-exiting is an effective approach to speedup the inference stage. In this work, we propose a novel decoding strategy named Hierarchical Skip Decoding (HSD) for efficient autoregressive text generation. Different from existing methods that require additional trainable components, HSD is a plug-and-play method applicable to autoregressive text generation models, it adaptively skips decoding layers in a hierarchical manner based on the current sequence length, thereby reducing computational workload and allocating computation resources. Comprehensive experiments on f…

  5. Related
    With Greater Text Comes Greater Necessity: Inference-Time Training Helps Long Text Generation
    Yan Wang, D. Ma, Deng Cai · 2024 · arXiv.org · preprint, not peer reviewed · cited 42 times · Not summarized yet
    Abstract

    Long text generation, such as novel writing and discourse-level translation with extremely long contexts, presents significant challenges to current language models. Existing methods mainly focus on extending the model's context window through strategies like length extrapolation. However, these approaches demand substantial hardware resources during the training and/or inference phases. Our proposed method, Temp-Lora, introduces an alternative concept. Instead of relying on the KV cache to store all context information, we embeds this information directly into a temporary Lora module. In the process of long text generation, this module is progressively trained with text generated previously…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 5 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.