LaplacesScissors

LaplacesScissors

GPU-accelerated LLM weight-editing tool in Rust and Triton: probe a model's weak output directions, surgically repair wrong answers while preserving correct ones, and export the edited checkpoint.

🔗 Visit LaplacesScissors
📁 AI & Machine Learning🗣️ English📅 November 8, 2026

Description

LaplacesScissors is a scalpel for the inside of a language model. When a model keeps getting a specific thing wrong, the usual fixes are blunt: retrain it or paper over it with prompts. This tool instead locates the faulty wiring responsible for the bad answer and adjusts just that, while checking it has not broken the answers that were already right.

In technical terms, LaplacesScissors performs readout rotations on a model's output matrices: a probe command diagnoses weak output-discrimination directions, a diagnose/repair flow fixes failed responses under protected rotations that guarantee preservation of successful generations, and edited checkpoints export for reuse. Every edit is validated on GPU against actual model outputs before acceptance. The implementation is Rust with Triton kernels on CUDA and HIP backends, documented in English and Korean (README, DESIGN.md, AGENTS.md) with an extensive GPU test suite, plus scaling analysis across model sizes. MIT licensed, 24 stars — serious early-stage interpretability tooling.

💬 Our review

The short version: LaplacesScissors makes surgical model editing — fix this answer without breaking the others — available as working GPU tooling rather than a paper artifact; fascinating and free for ML engineers and interpretability researchers, nowhere near a production dependency at 24 stars.

Its neighborhood is mostly academic code. ROME and MEMIT, the canonical knowledge-editing methods, live in research repos built to reproduce papers, not to be used; TransformerLens is the interpretability workhorse but for analysis, not repair; the practical industry answer to 'the model answers X wrong' remains LoRA fine-tuning (cheap, but retrains behavior wholesale with side effects) or RAG/prompting (which hides rather than fixes). LaplacesScissors stakes out a middle path with engineering seriousness unusual for the genre: GPU validation of every edit against real outputs before acceptance, protected rotations with preservation guarantees for known-good generations, export of edited checkpoints, Rust+Triton kernels on both CUDA and HIP, and a real test suite. That AMD HIP support exists at all signals craftsmanship. The equally real limits: single visible commit and 24 stars mean no community hardening; readout-rotation editing addresses output discrimination, not arbitrary knowledge injection, so scope is narrower than MEMIT-style promises; and 'production readiness unclear' is the maintainer-honest status. Pick it up as a research instrument or a serious tinkerer's tool — it is the most usable packaging of weight surgery we have catalogued, and it costs nothing.

💰 Pricing

FreeOpen source under MIT; runs on your own CUDA or HIP GPUs.
Open source $0

📊 Global score

45Average
🌐Availability15/100Faible

1 language · 0 platform

📄Profile75/100Bien

Profile completeness

🤖 AI-enriched data

💰 Pricing model
🆓 Free

Open source MIT, self-run on CUDA/HIP GPUs

👥 Target audienceML engineers and interpretability researchers editing model behavior surgically
🗣️ LanguagesEnglish
🌍 Target countriesGlobal
👍

Pros

Targeted repair with GPU-validated edits

Preservation guarantees for good answers

CUDA and AMD HIP support

Serious docs and test suite

👎

Cons

24 stars, single commit visible

Narrow editing scope

Expert-only tooling

❓ Frequently asked questions

What is LaplacesScissors?▼
How does it avoid breaking the model?▼
What hardware and stack does it need?▼
Is this fine-tuning?▼
Is it worth the money compared to alternatives?▼
Which tool should you pick for your case?▼