mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #438] [RFC] Crazy idea from the future: Heretic controlled by an LLM #203
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @p-e-w on GitHub (Aug 30, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/438
Conceptually, the problem Heretic needs to solve is simple:
Choose a subset of modules to modify, then choose how to modify each of them, with the goal of suppressing refusals as much as possible, while retaining as much model intelligence as possible.
However, there are an enormous number of theoretical and practical considerations to take into account:
Our current approach is to use proxy heuristics (keyword detection for refusals, and KLD for intelligence), and then run stochastic optimization (TPE) with a fixed number of trials to optimize for those.
But taking all of the above into account is fundamentally a reasoning task involving many situation-dependent judgements.
So perhaps it might make sense to just let an LLM control Heretic.
That is, provide the LLM with all the information we have about the task, the environment, the model, and the constraints, and give it a tool to ablate a specific module inside the model at a specific strength. Then let it figure out the rest.
The is pretty much the reverse of #419, where an LLM refusal judge is integrated into the existing optimization pipeline. The idea is to instead put the LLM at the helm, and let it judge when it wants to, ablate when it wants to, run benchmarks when it wants to, all in service of some pre-defined goal of doing as well as possible within a given runtime.
@kabachuha commented on GitHub (Sep 18, 2026):
Maybe simply making "heretic" a SKILL.md for harnesses? It looks just like what you are describing