{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "H-Neurons: tìm, thử tác động, truy nguồn gốc",
    "quality_profile": "showcase",
    "views": [
      {
        "id": "q1",
        "label": "Q1 Tìm",
        "focus": [
          "data",
          "cett",
          "probe",
          "hn"
        ],
        "note": "2.000 câu TriviaQA (đúng/sai nhất quán qua 10 lần) → đo đóng góp từng neuron → logistic L1 giữ lại vài neuron."
      },
      {
        "id": "q2",
        "label": "Q2 Tác động",
        "focus": [
          "hn",
          "scale",
          "comply"
        ],
        "note": "Nhân hoạt động H-Neurons với α từ 0 đến 3: α càng lớn, model càng dễ chiều theo câu hỏi sai, ngữ cảnh sai, phản bác, lệnh độc."
      },
      {
        "id": "q3",
        "label": "Q3 Nguồn gốc",
        "focus": [
          "hn",
          "base",
          "drift"
        ],
        "note": "Bộ dò của bản chat vẫn dò được trên bản base; trọng số H-Neurons ít bị SFT sửa → có từ lúc pre-training."
      }
    ],
    "legend": {
      "mode": "hidden"
    }
  },
  "lanes": [
    {
      "id": "find",
      "label": "Q1: có tồn tại không?"
    },
    {
      "id": "act",
      "label": "Q2: chúng làm gì?"
    },
    {
      "id": "orig",
      "label": "Q3: từ đâu ra?"
    }
  ],
  "phases": [
    {
      "id": "p1",
      "label": "Tìm H-Neurons",
      "fromCol": 0,
      "toCol": 3,
      "variant": "emphasis"
    },
    {
      "id": "p2",
      "label": "Kiểm chứng",
      "fromCol": 4,
      "toCol": 5,
      "variant": "dashed"
    }
  ],
  "mainPath": [
    "data",
    "cett",
    "probe",
    "hn",
    "scale",
    "comply"
  ],
  "nodes": [
    {
      "id": "data",
      "lane": "find",
      "col": 0,
      "type": "database",
      "label": "TriviaQA",
      "sublabel": "1.000 đúng, 1.000 sai",
      "width": 140
    },
    {
      "id": "cett",
      "lane": "find",
      "col": 1,
      "type": "backend",
      "label": "Đo đóng góp",
      "sublabel": "CETT, token đáp án",
      "width": 140
    },
    {
      "id": "probe",
      "lane": "find",
      "col": 2,
      "type": "backend",
      "label": "Logistic L1",
      "sublabel": "ép hầu hết trọng số = 0",
      "width": 150
    },
    {
      "id": "hn",
      "lane": "find",
      "col": 3,
      "type": "frontend",
      "label": "H-Neurons",
      "sublabel": "dưới 0,1% neuron",
      "width": 140
    },
    {
      "id": "scale",
      "lane": "act",
      "col": 4,
      "type": "backend",
      "label": "Nhân hoạt động α",
      "sublabel": "0 tắt, 1 gốc, 3 tăng",
      "width": 150
    },
    {
      "id": "comply",
      "lane": "act",
      "col": 5,
      "type": "frontend",
      "label": "Chiều lòng tăng",
      "sublabel": "4 bài thử compliance",
      "width": 150
    },
    {
      "id": "base",
      "lane": "orig",
      "col": 4,
      "type": "backend",
      "label": "Thử trên base",
      "sublabel": "AUROC trên mức đoán 50%",
      "width": 150
    },
    {
      "id": "drift",
      "lane": "orig",
      "col": 5,
      "type": "frontend",
      "label": "Ít bị SFT sửa",
      "sublabel": "5/6 model: đổi ít hơn neuron khác",
      "width": 190
    }
  ],
  "edges": [
    {
      "id": "e1",
      "from": "data",
      "to": "cett",
      "variant": "emphasis"
    },
    {
      "id": "e2",
      "from": "cett",
      "to": "probe",
      "variant": "emphasis"
    },
    {
      "id": "e3",
      "from": "probe",
      "to": "hn",
      "label": "trọng số > 0",
      "variant": "emphasis"
    },
    {
      "id": "e4",
      "from": "hn",
      "to": "scale",
      "variant": "emphasis"
    },
    {
      "id": "e5",
      "from": "scale",
      "to": "comply",
      "variant": "emphasis"
    },
    {
      "id": "e6",
      "from": "hn",
      "to": "base",
      "variant": "dashed",
      "role": "branch"
    },
    {
      "id": "e7",
      "from": "hn",
      "to": "drift",
      "variant": "dashed",
      "role": "branch"
    }
  ],
  "cards": [
    {
      "dot": "cyan",
      "title": "Q1: dò được bịa",
      "items": [
        "6 model, chính xác thường hơn neuron ngẫu nhiên trên 10 điểm",
        "Ngoại lệ: Llama-3.1-8B trên NonExist (43.1 so với 50.6)"
      ]
    },
    {
      "dot": "rose",
      "title": "Q2 và Q3",
      "items": [
        "Tăng α: compliance tăng, model nhỏ tăng mạnh hơn",
        "Tác giả suy ra: gốc ở mục tiêu đoán chữ tiếp theo"
      ]
    }
  ]
}
