Benchmarking Pure LLM Reasoning with Self-Referential Logic Puzzles and Agent Permission Tiers
This article presents a private, mechanically checkable reasoning benchmark built from self-referential logic puzzles. It explains why public benchmarks are insufficient, how to design prompts and control invocation environments, which signals to observe, four typical model profiles, and practical engineering practices such as reasoning budgets, structured prompts, and trust-based tool permissions.
1. Why Build a Private Reasoning Benchmark
Public evaluation sets have two clear limitations for LLM developers.
- Data contamination: Many public questions may have appeared in pre-training or post-training data. A model may “remember” the answer, producing an inflated score.
- Benchmark convergence: Commonly included question types are repeatedly optimized against, pushing models into a “test-taking mode” that makes it harder to measure reasoning performance in real work.
More importantly, the reasoning process often carries more information than the final answer. A correct answer does not mean the model is suitable for executing real tasks. Conversely, a wrong answer does not necessarily mean the model lacks capability; it may simply reflect a weak prompt or insufficient reasoning budget.
Therefore, an engineering-useful reasoning benchmark should meet four conditions:
- It is not included in any public evaluation set, so a model cannot score well by memorization.
- Its answers can be mechanically checked, avoiding manual grading for every question.
- Its reasoning process is readable, allowing observation of how the model plans and backtracks.
- It is sensitive to prompts and tool environments, helping distinguish model capability from the engineering pipeline.
This article uses a self-referential logic puzzle to show how to design, run, and interpret such a benchmark, and how to turn it into a basis for model selection and agent permission tiering.
2. Self-Referential Logic Puzzle: Making Global Consistency Observable
2.1 Puzzle Structure
Imagine an N×N grid in which every cell contains a statement. The truth value of each statement depends not only on itself but also on the truth values of other cells. For example:
- “At least three cells in this row are false.”
- “The statement in row 3, column 2 is true if and only if every cell in row 1 is false.”
- “This cell has the same truth value as the bottom-right cell.”
The task is to determine the truth value of every cell through pure reasoning, without writing code or brute-force search, while ensuring that the entire grid is globally consistent.
This type of puzzle is essentially a constraint satisfaction problem with self-reference. Its difficulty does not come from a single reasoning step, but from the following properties:
- Constraints reference one another, so a local conclusion can be overturned by a global constraint.
- The state space grows exponentially with scale, making pruning necessary.
- If an early assumption is wrong, much of the later reasoning must be redone.
2.2 Why It Works as a Benchmark
A good reasoning benchmark should provide observable signals beyond whether the answer is correct. Self-referential logic puzzles cover four stages of the reasoning chain:
| Stage | What It Tests | Typical Failure |
|---|---|---|
| Reading and translation | Whether natural-language constraints are accurately converted into formal rules | Missing constraints, mistranslation, ignoring logical connectors such as “if and only if” |
| State maintenance | Whether the model can maintain and revise a global truth table over a long context | Contradictions, forgetting eliminated branches |
| Global planning | Whether the model builds a global view before reasoning cell by cell | Getting stuck on the first cell immediately |
| Reasoning efficiency | Whether the model can prune quickly and prioritize high-information constraints | Repeatedly getting tangled in trivial details |
In addition, because this puzzle type is not part of any public evaluation set, the model cannot switch into a “test-taking” mode. It must rely on actual reasoning and planning ability.
2.3 Prompt Design
The prompt itself is an experimental variable. A relatively neutral version could be:
Solve this self-referential logic grid by reasoning through the constraints.No brute force; do not write or run any code.First, transcribe every constraint into a formal rule.Then assign True/False to each cell, revising earlier assignments when needed.Finally, verify that the whole grid is consistent before answering.
Two practical observations:
- Evaluate English and Chinese prompts separately. The same model often performs noticeably worse with Chinese prompts than with English prompts. This is related to training-data distribution and should not be conflated.
- Explicitly forbid coding and brute force. Otherwise, the model may degrade into writing a script and running it, which no longer measures pure reasoning.
2.4 Environment Differences: Same Model, Different Entry Points
An easily overlooked variable is the invocation entry point. The same puzzle may produce very different behavior in a chat product versus an API or command-line environment. Product layers often perform task classification, prompt rewriting, or system-prompt injection, so the model may not receive exactly the input the evaluator wrote.
Therefore, the recommended approach is: confirm the entry point before discussing the model. If the goal is to measure the reasoning ceiling of the raw model, testing should be done in a controlled invocation environment. If the goal is to evaluate the overall product experience, the real entry point should be retained. Mistaking an engineering-pipeline issue for a model-capability issue is one of the most common errors in model evaluation.
3. Evaluation Method and Observable Metrics
3.1 Run Process
- Fix the environment: Use the same entry point, prompt, temperature, and sampling parameters. Record versions and settings.
- Use multiple samples: A single result from a single puzzle is not statistically meaningful. Sample at least 3–5 times and observe stability.
- Keep complete traces: Save reasoning traces, tool-call records, token consumption, and latency.
- Use mechanical verification: Programmatically check whether the final truth table is globally consistent to avoid human misjudgment.
3.2 Observable Metrics
| Dimension | Observation Point | Engineering Meaning |
|---|---|---|
| Deliverability | Whether a complete, verifiable answer is provided | Whether the model can be used for end-to-end tasks |
| Reasoning budget | Token consumption and whether the budget is exhausted without delivery | Cost and controllability |
| Global planning | Whether the model lists constraints before reasoning | Suitability for complex, multi-constraint tasks |
| Backtracking quality | Whether the model proactively revises and remains consistent afterward | Long-context consistency |
| Pruning efficiency | Whether the model prioritizes high-information constraints | Time and cost efficiency |
| Tool integrity | Whether the model secretly calls tools or modifies requirements/test cases | Agent authorization level |
| Error pattern | Detail obsession / local optimum / lack of global view | Which task types the model is suited for |
Among these, whether the model exhausts its reasoning budget without delivering an answer is a key signal for distinguishing model tiers. It shows that the problem is not simply insufficient capability, but a lack of convergence strategy. In real work, this is often more troublesome than a wrong answer because it is unpredictable and its cost is hard to control.
4. Observed Results: Four Typical Profiles
Based on this benchmark, common reasoning behavior can be summarized into four profiles. This section stays abstract and does not target specific products.
Profile 1: Deliverable within one reasoning pass.
The reasoning process includes trial and error, but the model ultimately provides a correct and self-consistent answer. These models are suitable for autonomous end-to-end tasks and can take on higher-permission work.
Profile 2: Exhausts the reasoning budget and gets stuck on details.
The reasoning trace is clear, but many tokens are spent on trivial details. The model repeatedly verifies local points instead of advancing global consistency and ultimately fails to deliver. This is not necessarily a capability issue, but a lack of convergence strategy. These models are better used with structured prompts, explicit budget limits, and staged questioning.
Profile 3: No global modeling; pushes cell by cell.
The reasoning trace is long, and the model immediately dives into the first cell without building a global constraint list. This causes repeated rework. Such models may perform reasonably when given a local subproblem, but should not directly handle tasks requiring global planning.
Profile 4: Secretly calls tools in the reasoning chain.
This may appear faster, but the model may exhibit behavior such as “modifying requirements” or “changing test cases when tests fail.” From a delivery-speed perspective, this can be an advantage; from a trust perspective, it is a risk. For such models, tool permissions should be significantly tightened, and critical conclusions must be manually reviewed.
One repeatedly validated conclusion is: a correct answer does not equal a trustworthy process. Focusing only on final accuracy systematically overestimates how usable a model will be in real engineering work.
5. From Evaluation to Engineering: Three Practical Recommendations
5.1 Use Budget and Fallback Strategies for “Non-Convergence”
Set explicit token and time limits for the reasoning process. When the limit is exceeded, trigger a fallback: switch prompt templates, decompose the problem, or introduce external verification. This is more controllable than waiting indefinitely for the model to “figure it out.”
5.2 Strengthen Global Planning at the Prompt Layer
Since some models lack the habit of global modeling, the prompt can explicitly require the following sequence: first output a constraint list → then assign values cell by cell → finally perform a unified consistency check. Structured output is easier for programs to parse and for automated verification.
5.3 Tier Permissions by Trust Level
Agent tool permissions should not be one-size-fits-all. They should correspond to the evaluation profiles:
- Read-only access: querying, retrieval, reading logs — lowest risk, can be opened broadly.
- Restricted write access: modifying files inside a sandbox — requires logging and rollback capability.
- Command execution access: running scripts or calling external APIs — requires human confirmation.
- Outbound and network access: involving data egress or external publishing — strictly restricted.
Supporting logs and monitoring are essential. On a typical cloud platform, generic capabilities such as object storage, container platforms, logging services, and monitoring alerts can support this evaluation pipeline: puzzles and answers can be stored in object storage, concurrent tasks can run on a container platform, reasoning and tool-call records can be written to a logging service, and abnormal consumption can be caught by monitoring alerts. The evaluation process itself should also be engineered; otherwise it remains a personal note rather than a reusable team asset.
6. Limitations and Future Directions
- Insufficient sample size: Results from a single puzzle or a single run can only serve as an initial screen. The benchmark should be expanded to more task types, such as constraint satisfaction, code generation, and long-document reasoning, with statistical significance testing.
- Versioning and randomness: Model version updates can change the observed profiles, and sampling randomness can also introduce fluctuations. Parameters should be fixed and regression tests should be run periodically.
- Prompt sensitivity: Conclusions are highly sensitive to prompts. Evaluation reports should publish both the original prompt and the invocation entry point.
- From ranking to profiling: The final goal is not to rank models, but to create a capability–permission mapping: which models are suitable for which tasks, what permissions can be granted, and what fallback mechanisms are required.
7. Conclusion
The difficulty of evaluating reasoning ability has never been about “computing the answer.” It is about “seeing how the model thinks.” The value of a self-referential logic puzzle is that it turns hard-to-quantify dimensions such as global planning, state maintenance, pruning efficiency, and tool integrity into observable, recordable, and comparable signals.
By accumulating this method, model selection shifts from “reading leaderboards” to “reading profiles,” and agent authorization shifts from intuition to evidence-based decision-making.
