Extending my PyPI library qdsr-audit to test Inspect AI / lm-eval logs for abstention loopholes, prompt-dredging, and SAE membership-inference leakage.
I am building an open-source audit tool for LLM safety benchmarks and sparse autoencoders (SAEs).
Over the past few months I wrote three technical preprints (archived on Zenodo: https://doi.org/10.5281/zenodo.24591378 and https://doi.org/10.5281/zenodo.24591422) and shipped a small Python package on PyPI (`qdsr-audit`, https://pypi.org/project/qdsr-audit/, MIT license). The math and experiments turned up three practical problems in how people currently score LLMs:
1. Dropping refused or low-confidence answers breaks benchmark math. On Qwen2.5-1.5B (>74,000 exact next-token logit runs), throwing away just 5% of low-confidence outputs produced a fake violation (|S| = 2.2756 > 2). Assigning abstentions to a fixed conservative value closed it back to 1.7783.
2. Averaging orthogonal safety scores hides single-point failures. In my third preprint I proved that any weighted linear average over orthogonal failure checks has worst-case risk 1 (confirmed over 500 random Dirichlet weightings: worst-case error >= 0.90 vs. 0.00 for a strict max-norm veto, SIPS_infinity, paired with closed-form Manski-Rosenbaum bounds checked against LP to 2.2e-16).
3. Unpacking superposition in SAEs may trade off against privacy. Using a Welch-bound / Sherman-Morrison derivation (V_AI^2 + D_MIA^2 <= 1), lowering feature overload rho = M/d raises white-box membership-inference attack (MIA) advantage. On Adam-trained ReLU autoencoders, going to rho = 4 cut MIA advantage by 59.4%.
Right now these checks only exist as standalone math modules in `qdsr-audit` and tests on a 1.5B model on my Mac. This grant would let me wire them directly into `Inspect AI` and `lm-evaluation-harness` logs and test them on real 7B to 70B open models and public SAE dictionaries.
I want any eval engineer to be able to run one command (`qdsr-audit eval results.json`) on their existing benchmark logs and see whether their score survives abstention imputation, correlated prompt search, and worst-case confounding bounds.
Plan over 16 weeks (or 8 weeks at the $8,000 minimum):
- Weeks 1-4: Add a `qdsr-audit eval` CLI subcommand that reads `Inspect AI` and `lm-evaluation-harness` JSON outputs. It will compute loophole-free imputed scores, multi-turn signaling drift (Delta_0), correlated prompt effective count (M_PR and M_Galwey, which cut prompt-dredging error by 2.65x-2.79x on Qwen2.5-1.5B), and SIPS_infinity / Manski-Rosenbaum breakdown points (Gamma*).
- Weeks 5-9: Run this audit across 6-8 open-weight model families (Qwen, Llama, Gemma, Mistral, DeepSeek, from 7B up to 70B on rented A100/H100 GPUs) to measure how much reported safety and reasoning performance disappears once selective filtering and prompt search are accounted for.
- Weeks 10-13: Run our `audit_dictionary_superposition()` diagnostic on real public SAE weights (Gemma Scope, Llama Scope) and LoRA adapters to test whether the theoretical interpretability-vs-MIA privacy tradeoff holds on real Transformers.
- Weeks 14-16: Publish the MIT code, raw audit logs, a short write-up on Zenodo, and submit PRs or plugins to the main eval harnesses.
If funded at the $8,000 minimum, I will scope this to an 8-week sprint covering the CLI adapter, 4 open-weight families up to 14B, and the public Zenodo write-up.
Four concrete checks:
1. `qdsr-audit eval` parses real `Inspect AI` and `lm-evaluation-harness` JSON logs cleanly with automated CI tests on Python 3.10-3.13.
2. A public dataset and report showing before/after scores across at least 4 (min scope) to 8 (full scope) open-weight models, with exact breakdown points Gamma* and loophole deltas.
3. Real empirical curves of spectral efficiency and white-box MIA leakage on Gemma Scope / Llama Scope SAE dictionaries.
4. Adoption signal: GitHub/PyPI usage and at least one eval maintainer or safety researcher testing the adapter on their own runs.
Minimum ($8,000, 8 weeks) / Target ($15,000, 16 weeks):
- My living/working stipend: $5,500 (min) / $10,500 (target)
- Rented cloud A100/H100 GPUs and eval API credits: $1,800 (min) / $3,400 (target)
- Hosting for the static results page and open log archives: $400 (min) / $600 (target)
- Buffer for extra GPU runs / replication checks: $300 (min) / $500 (target)
Transparency on other applications: I submitted a separate $4,000 Unitary Foundation microgrant purely for quantum-computing SDK adapters (Qiskit/PennyLane/Cirq) on the quantum modules of `qdsr-audit` (no overlap with this LLM safety work). I also applied to BlueDot Rapid Grants for the 8-week AI safety sprint; if BlueDot funds that sprint first, I will close or reduce this Manifund project immediately so there is no double-funding.
Just me: Fabien Pierret, independent researcher (ORCID: https://orcid.org/0009-0001-1223-2170).
What is already public and checkable today:
- Software archive & 3 preprints on Zenodo: https://doi.org/10.5281/zenodo.24591062 (code), 24591340, 24591378, 24591422.
- Full 12-experiment reproduction repo including >74,000 live Qwen2.5-1.5B logit evaluations with SHA-256 weight checks: https://github.com/fabien-pierret/dcqe-postselection-ai
- Working Python library on PyPI (`qdsr-audit v0.1.0`, 24/24 tests passing, CI green): https://pypi.org/project/qdsr-audit/ and https://github.com/fabien-pierret/qdsr-audit
- Live web demo: https://audit.wallstreetdebug.com
1. Eval teams ignore another CLI tool. To reduce this risk, I am building directly against existing `Inspect AI` and `lm-evaluation-harness` JSON files instead of asking anyone to rewrite their eval code, and publishing concrete numbers on popular models first.
2. Closed commercial APIs hide logprobs, which limits exact logit-level checks. The core experiments therefore target open-weight models where logits and SAE weights are public, while the black-box abstention and SIPS_infinity bounds still work on closed APIs.
3. Real SAE dictionaries may behave messier than tight frames. Our code (`audit_dictionary_superposition`) already works on arbitrary non-tight weight matrices directly using exact Sherman-Morrison updates.
4. Worst case: even if upstream harnesses don't merge a PR, the MIT code, raw model audit logs, and SAE privacy numbers stay public on GitHub, PyPI, and Zenodo.
$0 raised so far. Everything built to date (the 3 preprints, 12 experiments, qdsr-audit v0.1.0 on PyPI, and the web demo) was self-funded. I have two pending grant applications submitted today: Unitary Foundation ($4,000, separate quantum-SDK scope) and BlueDot Rapid Grants ($10,000, overlapping AI safety sprint; I will adjust or close this page if BlueDot approves it first).
There are no bids on this project.
Comments
No comments yet. Sign in to create one!