mlsanityData to 7 Oct 2026

Predicting Rewards Alongside Tokens: Non-disruptive Parameter Insertion for Efficient Inference Intervention in Large Language Model

arXiv 2408.10764 ↗First posted 20 Aug 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformer-based large language models (LLMs) exhibit limitations such as generating unsafe responses, unreliable reasoning, etc. Existing inference intervention approaches attempt to mitigate these issues by finetuning additional models to produce calibration signals (such as rewards) that guide the LLM's decoding process. However, this solution introduces substantial time and space overhead due to the separate models required. This work proposes Non-disruptive parameters insertion (Otter), inserting extra parameters into the transformer architecture to predict calibration signals along with the original LLM output. Otter offers state-of-the-art performance on multiple demanding tasks while saving up to 86.5% extra space and 98.5% extra time. Furthermore, Otter seamlessly integrates with existing inference engines, requiring only a one-line code change, and the original model response remains accessible after the parameter insertion. Our code is publicly available at urlhttps://github.com/chenhan97/Otter

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 43 references that are in the map. First posted on arXiv 20 Aug 2024.

Builds on

28 of 43 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  7. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  10. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  11. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  12. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
16 more
  1. 2019Root Mean Square Layer Normalizationcited by 1,425
  2. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  3. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
  4. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
  5. 2024TinyLlama: An Open-Source Small Language Modelcited by 604
  6. 2021Editing Factual Knowledge in Language Modelscited by 548
  7. 2020AdapterHub: A Framework for Adapting Transformerscited by 441
  8. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  9. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
  10. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
  11. 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
  12. 2022A Contrastive Framework for Neural Text Generationcited by 224
  13. 2024ARGS: Alignment as Reward-Guided Searchcited by 99
  14. 2023Zero-shot Temporal Relation Extraction with ChatGPTcited by 52
  15. 2024Online Merging Optimizers for Boosting Rewards and Mitigating Tax in Alignmentcited by 28
  16. 2022Embedding Hallucination for Few-Shot Language Fine-tuningcited by 5

Built on by

Not cited yet.