Monday, August 4, 2025
Show HN: A tiny reasoning layer that steadies LLM outputs (MIT; +22.4% accuracy) https://ift.tt/edaZkYy
Show HN: A tiny reasoning layer that steadies LLM outputs (MIT; +22.4% accuracy) We kept shipping “simple” LLM features that were fluent-but-wrong. After too many postmortems we wrote down the failure patterns and added a small reasoning layer in front of the model. It’s model-agnostic, sits beside your existing stack, and you can implement it from a single PDF (MIT). What’s inside the PDF A problem map of 16 failure modes we kept hitting in real systems (OCR/layout drift, table-to-question mismatches, embedding≠meaning, pre-deploy collapse, etc.). Four lightweight gates you can add today: Knowledge-boundary canaries (empty/adversarial/known-fact probes). ΔS “semantic jump” check to catch fluent nonsense when the draft answer drifts from retrieved context. Layout-aware anchoring so chunking across PDFs/tables doesn’t silently break routing. A minimal semantic trace for incident review (tiny, not full transcripts). Bench snapshot (same model, with vs. without gates): Semantic Accuracy ↑ 22.4% · Reasoning Success Rate ↑ 42.1% · Stability ↑ 3.6×. Traction (last ~50 days) ~2,400 downloads of the PDF. ~300 cold GitHub stars on related material (no marketing burst). Also received a star from the creator of tesseract.js, which was nice validation from the OCR world. Why this might be useful to you You don’t need to swap models or vendors. The PDF describes checks you can drop into any RAG/agent/service pipeline. No servers, SDKs, or proxy layers—just logic you can copy. Link is Git Repo Happy to answer HN-style questions (what breaks, where it fails, ablations, how we compute ΔS, etc.). If you try it and it doesn’t help, I’m also interested in the counter-examples. with Terrseract (OCR legend) starred it verify it, we are WFFY on top1 https://ift.tt/546hoJt https://ift.tt/Ca8Kjp0 August 4, 2025 at 08:38PM
Subscribe to:
Post Comments (Atom)
Show HN: UnisonDB – Log-native KV database that replicates like a message bus https://ift.tt/xa2pPLf
Show HN: UnisonDB – Log-native KV database that replicates like a message bus Hi HN, For the past few months, I’ve been building UnisonDB — ...
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
RoboPianist, a piano playing robot simulation in the browser https://ift.tt/zywcBo6 March 30, 2023 at 10:52PM
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...
No comments:
Post a Comment