INQUIRING LINE

Could just bolting a strict rule-checker onto an AI fix things more reliably than making the AI itself smarter?

How would a deterministic constraint layer improve LLM remediation effectiveness?

This explores how putting a rule-based, non-AI layer (a solver, verifier, or fixed algorithm) around an LLM could make it better at fixing problems, reading "remediation" broadly as correcting errors, repairing outputs, or recovering from failures. The corpus has no papers on remediation workflows specifically, so the answer draws on nearby work about why LLMs miss constraints and what deterministic layers add.


This explores how a deterministic constraint layer, meaning code that checks and enforces rules instead of trusting the model to follow them, could make LLM-driven fixes more reliable. The corpus doesn't study "remediation" as a named task. It does have a clear account of why LLMs struggle when a fix has to respect hard rules, and why taking that job away from the model works better than scaling it up.

Start with the ceiling. Across constrained-optimization tasks, LLMs satisfy only about 55–60% of constraints, and the number barely moves with model size or reasoning training Do larger language models solve constrained optimization better?. The likely reason is architectural. A constraint solver works by trying a partial answer, finding a conflict, and backing up. An autoregressive model can't take back a token once it has written it Why does autoregressive generation fail at constraint satisfaction?. A fix usually means "change this without breaking that," so it is exactly the kind of task where the missing undo step hurts. A deterministic layer helps because it supplies that undo step, not because it makes the model smarter.

The most direct example in the collection is Progent. There the LLM proposes changes to an agent's security policy, but an SMT solver (a formal logic checker) decides whether each change narrows permissions (safe, so it's applied) or widens them (blocked) Can an SMT solver prevent LLM policy drift during agent execution?. Applied to remediation, the model can suggest fixes freely, but a fix that quietly expands the problem never gets through, even when the model has been manipulated. The same split shows up in causal reasoning, where a formal model does the reasoning and the LLM only translates the results into plain language Can separating causal models from language models fix reasoning failures?. It also shows up in "LLM Programs," where an ordinary algorithm controls the steps and gives each LLM call only the context it needs Can algorithms control LLM reasoning better than LLMs alone?.

The less obvious payoff is in catching errors. Frontier models don't fail loudly when they edit things. Weaker models delete content in ways you can see, while stronger models corrupt it subtly and the result still looks fine Does model capability change how documents degrade?. So a stronger model can make remediation harder to audit. A deterministic layer that checks invariants (what must still be true after the fix) catches the quiet corruption a human reviewer would miss. It also blocks the familiar agent failures: loops, drifting off task, and losing track of roles Why do autonomous LLM agents fail in predictable ways?.

The broader lesson is that reliability comes from the system around the model, not from the model itself. Reliable agents move memory, skills, and protocols into a surrounding "harness" Where does agent reliability actually come from?. Self-improvement is also limited by the gap between generating an answer and verifying it What limits autonomous capability in large language models?. A constraint layer closes that gap on the verification side. The LLM's job becomes proposing candidate fixes, and the deterministic code decides which ones are allowed, so the model's 55–60% ceiling stops limiting the whole system.


Sources 9 notes

Do larger language models solve constrained optimization better?

Across constrained-optimization tasks, LLMs converge to ~55–60% constraint satisfaction independent of architecture, parameter count, or training regime. Reasoning models do not systematically outperform standard models, suggesting a fundamental ceiling rather than a scaling gap.

Why does autoregressive generation fail at constraint satisfaction?

The performance ceiling on constraint satisfaction problems is not a model-quality issue but an architectural limitation: autoregressive transformers cannot retract emitted tokens, while CSP solvers fundamentally depend on discarding invalid partial assignments. Symbolic solver integration works because it supplies what the architecture lacks.

Can an SMT solver prevent LLM policy drift during agent execution?

Progent uses an SMT solver to verify each LLM-proposed policy update as either a safe narrowing or a risky expansion, automatically applying safe changes while blocking silent privilege escalation even when the LLM is manipulated by adversarial input.

Can separating causal models from language models fix reasoning failures?

Causal Reflection proposes dividing labor: an explicit formal causal model captures dynamics across state, action, time, and perturbation with a Reflect mechanism for hypothesis revision, while LLMs serve only as structured inference engines translating formal outputs to natural language. This architecture sidesteps asking LLMs to perform unreliable causal reasoning.

Can algorithms control LLM reasoning better than LLMs alone?

LLM Programs embed LLMs within explicit algorithms that manage control flow and state, presenting only step-specific context to each LLM call. This information hiding addresses capability and context window limits while treating complex reasoning as modular, debuggable sub-tasks.

Show all 9 sources
Does model capability change how documents degrade?

DELEGATE-52 shows weaker LLMs degrade documents through visible deletion, while frontier models degrade through subtle corruption that preserves surface integrity. This shift makes frontier failures harder to detect and potentially more dangerous at workflow scale.

Why do autonomous LLM agents fail in predictable ways?

Research identifies role flipping, flake replies, infinite loops, and conversation deviation as LLM-specific failures in multi-agent cooperation. These occur because LLMs lack persistent goal representation and stable role identity.

Where does agent reliability actually come from?

Research shows reliable LLM agents externalize three cognitive burdens—memory (state persistence), skills (procedural components), and protocols (structured interaction)—into a harness layer rather than relying on model scale alone. The harness unifies these externalities and eliminates the need for the model to solve the same problems repeatedly.

What limits autonomous capability in large language models?

Multi-agent deliberation produces specific failure modes (Degeneration-of-Thought, Silent Agreement), alignment at scale includes problematic self-valuation, and self-improvement is formally bounded by the generation-verification gap. Measurement error and conditional compliance hide the true capability ceiling.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.