perturber: A Stateless Service for Semantics-Preserving Text Perturbations
Abstract
Large language model (LLM) evaluations on clean benchmarks overstate model robustness: real inputs arrive perturbed, and these meaning-preserving variants routinely move model answers. Studying this systematically requires applying perturbations one at a time, reproducibly, and identically wherever they run, yet existing tools couple them to a benchmarking stack rather than packaging them as a reusable transform layer. We present perturber, a stateless service and Python library that applies exactly one semantics-preserving perturbation per call, drawn from a first-party catalog of 68 perturbations across 11 families. It turns on a single primitive, with composition left to the caller chaining calls, so the service and the library produce identical output by construction. We evaluate the tool itself, its correctness, reproducibility, and cost, rather than any model's robustness, measuring meaning-preservation per perturbation rather than assuming it. The demonstration adds a live playground, an introspectable catalog for benchmark selection, and a one-command reproducible evaluation.
Create a lesson
Metadata
- Comments
- 14 pages (6 main + references and appendix), 5 figures, 13 tables. Code: https://github.com/IBM/perturber
Related papers
FOL-Proof: Verifying LLM Text-to-Logic Translations via Deterministic Semantics
Shared title terminologycs.CLYisrael Clark, Guy Katz
Beyond Fixed-Context Likelihood: Zero-Shot AI-Generated Text Detection via Context Perturbation Discrepancy
Shared title terminologycs.CLYifan Tang, Jingran Li, Yihao Wang et al.
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.
LogToPersona: New Benchmark and Efficient Persona Prediction through Semantic Log Filtering
Shared title terminologycs.CLAhmed Alajrami, Ondrej Bohdal, Seokwoo Song et al.
Open-Source FUTO Keyboard Layouts and Predictive Text for a Few Endangered Languages
Shared title terminologycs.CLMika Hämäläinen, Jack Rueter, Khalid Alnajjar
Focus On Facts: Stylistically Invariant and Factually Sensitive Text Embeddings
Shared title terminologycs.CLMaximus Adeola