惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
WordPress大学
WordPress大学
罗磊的独立博客
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
H
Help Net Security
S
SegmentFault 最新的问题
C
Check Point Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
腾讯CDC
Engineering at Meta
Engineering at Meta
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
D
DataBreaches.Net
雷峰网
雷峰网
GbyAI
GbyAI
宝玉的分享
宝玉的分享

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
LLM needs to generate/search in order to compare. Silentl...
gitdexgit · 2026-05-01 · via DEV Community
LLM works by generating words out of nothing. If context window is 0 then it can't guide to to something it doesn't have. So it needs something prior in the context window. makes sense, you need something to compare something you can't compare nothing to something. So Our goal is to use LLM to learn. I see and saw people share their prompts: "silently answer my question first then find where I'm wrong. Don't give me the answer/hints unless I tell you to. Only tell me where I'm wrong" The problem is people think their LLM acts as a teacher that guides student to the answer without tell the user the answer. That's just absurd, silently generate my answer is a concept only for humans. LLM doesn't have a memory where it stores the correct answers. It only generates. If it's not in the context window LLM generates it from scratch. Let's analyze the prompt silently generate answer, and only guide user to the correct answer Let's think about this scenario from the perspective of the user and LLM where user's goal is learning and using LLM to guide his thoughts: What people expect/want: User: "Q: Here is the question the user is trying to answer" --> A: The user answers his own question. LLM: Ok user did my job, I don't need to answer his question. Let me generate in my head silently the correct answer. Now let me compare it. 4. Now let me guide the user to the correct answer using socratic method. I'll only ask him questions and never give him hints unless he asks me to. And only when I see user give up then I'll give him the answer. What actually happens: User: "Q: Here is the question the user is trying to answer" --> A: The user answers his own question. LLM: Ok user did my job, I don't need to answer his question. Now let me compare it. 4. Now let me guide the user to the correct answer using Socratic method. I'll only ask him questions and never give him hints unless he asks me to. And only when I see user give up then I'll give him the answer. As you see 2nd step is missing. It never happens. why? Here is why: LLM is unable to silently generate correct answer. LLM model has to physically generate output, example CoT; they call it thinking. Before it gives you the answer. <- Why did they not tell it "Silently think before you give me answer?" So LLM needs to have some preliminary context before it gives you the answer. So what is it comparing? IDK. It just generates what most likely fit. You could say It generated the answer in CoT. Probably, who knows I'm not sure. But we want to be sure. No matter what model we use, model has thinking or no thinking or only has certain tokens for thinking. We must make sure it generates the answer first. In our Scenario, there are 3 ways that an LLM generates an answer 1) It could happen in it's own CoT. (Unrealaible. No one reads CoT anyways/ could be small) 2) You just tell LLM "Find where I'm wrong" and just answer. LLM finds where you are wrong. Repeat Until LLM doesn't find anything wrong. (That is so rigorous) 3) Tell LLM to generate correct answer first OR copy paste correct answer after you finish answering. Then tell LLM to compare with your own answer and find where you are wrong. Option 1: Is all about luck Option 2: Takes too much time and disrupts your learning process but eventually after some enough time you will get to LLM says Correct. It's so rigorous and it will find exactly where you are wrong word by word. If you make a mistake in technicality not using the exact word then you are wrong. Option 3: It already has the answer. It's just comparing it until comparison is 100% complete. You can also tell it compare only the intent if the mental model matches even if the exact words are not correct it's still a solid answer. the 3rd option is the winner for learning. I tested both option 2 and 3. Option 2 is very good for a skeptical assistant, but 3 is the go to because it only matches the answer it generates or the answer you give it (yesterday you learned something you copy paste the answer for tomorrow's llm) So LLM with prompt just generating what someone might say when they don't know the answer. Just extra bloat words to read anyway. How to implement option 3 We need some rules: Either LLM generates an answer at the start of output, but puts it in <- Similar to how most people don't read CoT. OR you copy paste answer from yesterday without reading it then tell LLM to compare but never give you the answer until you reach 100% same answer to your specific question. LLM now will compare your previous and see where you got it wrong and where you got it write. Find the gap. Now it can act as a guide. Tell you where you are wrong but provides no answer. Preferably no hints only when you give up then it hints. <-- or just read what you are not supposed to read to find the answer. If the LLM has access to google it would improve the ability to compare correct answer a lot. Giving LLM access to google or search Will hopefully provide more context as well. But keep it simple because LLM google search is expensive. Silently generate answer for learning doesn't work. There is no silent answer when dealing with LLM. You need a contract between the user and the LLM. The user will not read the correct answer.