讓 AI 說其母語

讓 AI 說其母語

Hacker News·

本文探討了如何透過教授 AI 處理程式碼,特別是利用圖形轉換器和抽象語法樹,來顯著提升其推理能力,方法是保留結構並克服傳統分詞方法的限制。

Image

Developer forever

Let AI Speak in Its Mother Tongue

Image

4 hours ago

0

0

Image

Why Teaching Code Improves Reasoning in AI

Image

Tool use masks architectural limitation

Image

This was quite visible in GPT5’s FrontierMath performance during its launch announcement:

Image

There are two fundamental issues that cause this plateau:

  1. Tokenization Fragmentation

  2. Structure Flattening

Graph Transformer: Mind Map for AI

The answer: a three-part pipeline that preserves structure throughout.

Part 1: Parse User Prompts into Structured Graphs

Part 2: Parse Code as Abstract Syntax Trees

Part 3: Convert ACE prompt into code during inference

Image

During inference, instead of predicting tokens sequentially, graph transformers predict nodes structurally. The model asks "what operation does sqrt take as input?" not "what word comes after 'sqrt'?" This reduces the accuracy loss that happens when rebuilding structure as hidden states. Parse tree makes the structure explicit and avoids loss:

Why This Solves the Accuracy Problem

Beyond Metadata: The Path to AGI

Image

This is similar to how we move up the value chain from user to developer to language creator. As users, we use calculators (data tools) to solve specific problems like finding ladder distance. When we learn to code, we abstract these tasks into code (metadata), using programming languages like python. Once we are very good at coding, we dream about creating new language like python using parser generators like PEG (meta-metadata).

If we revise OpenAI’s levels framework using our meta framework, we get:

Before LLMs, we doubted if AI could ever create art or poetry that understands human taste. Yet here we are. Perhaps the same will happen for programming languages and theorems. After all, intelligence isn't just about solving problems. It's about discovering the hidden rules that create them. And maybe, just maybe, it will find the hidden rules across meta-metadata like pythagoren theorem, python, Go that we haven't discovered yet. And that will usher the age of discovery with AGI.

0
likes

0
comments

Like

Add your comment

Image

Developer forever

© 2025, All Rights Reserved

Hacker News

相關文章

  1. AI 程式碼代理如何運作—以及使用時應注意的事項

    4 個月前

  2. 為何AI在現有程式碼庫上表現更佳

    3 個月前

  3. AI 基礎知識:初學者指南

    OpenAI · 13 天前

  4. AI 程式碼編寫:對話與瓶頸

    3 個月前

  5. 人工智慧如何秘密學習思考

    Lesswrong · 4 個月前