mlsanityData to 7 Oct 2026

Towards an On-device Agent for Text Rewriting

arXiv 2308.11807 ↗First posted 22 Aug 2023cs.CLcited by 7

On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated impressive capabilities for text rewriting. Nonetheless, the large sizes of these models make them impractical for on-device inference, which would otherwise allow for enhanced privacy and economical inference. Creating a smaller yet potent language model for text rewriting presents a formidable challenge because it requires balancing the need for a small size with the need to retain the emergent capabilities of the LLM, that requires costly data collection. To address the above challenge, we introduce a new instruction tuning approach for building a mobile-centric text rewriting model. Our strategies enable the generation of high quality training data without any human labeling. In addition, we propose a heuristic reinforcement learning framework which substantially enhances performance without requiring preference data. To further bridge the performance gap with the larger server-side model, we propose an effective approach that combines the mobile rewrite agent with the server model using a cascade. To tailor the text rewriting tasks to mobile scenarios, we introduce MessageRewriteEval, a benchmark that focuses on text rewriting for messages through natural language instructions. Through empirical experiments, we demonstrate that our on-device model surpasses the current state-of-the-art LLMs in text rewriting while maintaining a significantly reduced model size. Notably, we show that our proposed cascading approach improves model performance.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 51 of its 65 references that are in the map. First posted on arXiv 22 Aug 2023.

Builds on

51 of 65 references.

References · 51

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2017Proximal Policy Optimization Algorithmscited by 14,441
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  9. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  10. 2022Emergent Abilities of Large Language Modelscited by 2,483
  11. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  12. 2015A large annotated corpus for learning natural language inferencecited by 1,837
38 more
  1. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  2. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  3. 2023PaLM 2 Technical Reportcited by 1,154
  4. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  5. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  6. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  7. 2023Instruction Tuning with GPT-4cited by 676
  8. 2019A Survey on Federated Learning Systems: Vision, Hype and Reality for Data Privacy and Protectioncited by 371
  9. 2023Large Language Models as Tool Makerscited by 293
  10. 2021AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Promptscited by 265
  11. 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
  12. 2018Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfercited by 209
  13. 2021Want To Reduce Labeling Cost? GPT-3 Can Helpcited by 196
  14. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  15. 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
  16. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
  17. 2023LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructionscited by 124
  18. 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
  19. 2022Language Model Cascadescited by 104
  20. 2017JFLEG: A Fluency Corpus and Benchmark for Grammatical Error Correctioncited by 96
  21. 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 90
  22. 2022PEER: A Collaborative Language Modelcited by 86
  23. 2019Machine Learning at the Network Edge: A Surveycited by 83
  24. 2023RewriteLM: An Instruction-Tuned Large Language Model for Text Rewritingcited by 67
  25. 2022Language Models in the Loop: Incorporating Prompting into Weak Supervisioncited by 51
  26. 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
  27. 2023Speed Is All You Need: On-Device Acceleration of Large Diffusion Models via GPU-Aware Optimizationscited by 45
  28. 2021Heuristic-Guided Reinforcement Learningcited by 41
  29. 2020Parallel Data Augmentation for Formality Style Transfercited by 39
  30. 2020TextSETTR: Few-Shot Text Style Extraction and Tunable Targeted Restylingcited by 39
  31. 2021FRUIT: Faithfully Reflecting Updated Information in Textcited by 39
  32. 2022EdiT5: Semi-Autoregressive Text-Editing with T5 Warm-Startcited by 35
  33. 2020Text Editing by Commandcited by 33
  34. 2022EditEval: An Instruction-Based Benchmark for Text Improvementscited by 30
  35. 2020Unsupervised Paraphrasing via Deep Reinforcement Learningcited by 25
  36. 2022Text Generation with Text-Editing Modelscited by 21
  37. 2019Style Transfer for Texts: Retrain, Report Errors, Compare with Rewritescited by 19
  38. 2022Weighted Distillation with Unlabeled Examplescited by 12

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 2; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Dr Genre: Reinforcement Learning from Decoupled LLM Feedback for Generic Text Rewriting
  2. 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning
  3. 2026Rewrite What Matters: Adaptive Multilingual Query Rewriting for Reasoning via Agentic Reinforcement Learning
  4. 2026Patch the Distribution Mismatch: RL Rewriting Agent for Stable Off-Policy SFT
  5. 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Models
  6. 2026ReToolSQL: Agentic Reinforcement Learning for Robust Text-to-SQL
  7. 2026TAPR: Enhancing LLM Performance with a Task-Aware Prompt Rewriter
  8. 2023Query Rewriting for Retrieval-Augmented Large Language Models