🐦 Twitter Post Details

Viewing enriched Twitter post

@LiorOnAI

Someone just bypassed Apple's Neural Engine to train models. The Neural Engine inside every M-series Mac was designed for inference. Run models, don't train them. No public API, no documentation, and certainly no backpropagation. A researcher reverse-engineered the private APIs anyway and built a transformer training loop that runs forward and backward passes directly on the ANE hardware. The method bypasses CoreML entirely. Instead of using Apple's official tools, the project constructs programs in MIL (Model Intermediate Language), compiles them in-memory using undocumented `_ANEClient` APIs, and feeds data through IOSurface shared memory buffers. Weights get baked into the compiled programs as constants. E ach training step dispatches six custom kernels: attention forward, feedforward forward, then four backward passes that compute gradients with respect to inputs. Weight gradients still run on the CPU using Accelerate's matrix libraries, but the heavy lifting (matrix multiplies, softmax, activation functions) happens on the ANE. This makes three things possible that weren't before: 1. Training small models locally without burning through your battery 2. Fine-tuning on-device without sending data to a server or spinning up the GPU 3. Research into what the ANE hardware can actually do when you ignore Apple's guardrails If this approach scales, the next wave of on-device AI stops being about running someone else's frozen model.

📊 Media Metadata

{
  "score": 0.42,
  "score_components": {
    "author": 0.09,
    "engagement": 0.0,
    "quality": 0.12,
    "source": 0.135,
    "nlp": 0.05,
    "recency": 0.025
  },
  "scored_at": "2026-03-06T07:09:30.122527",
  "import_source": "api_import",
  "source_tagged_at": "2026-03-06T07:09:30.122557",
  "enriched": true,
  "enriched_at": "2026-03-06T07:09:30.122563"
}

🔧 Raw API Response

{
  "type": "tweet",
  "id": "2028560569952031145",
  "url": "https://x.com/LiorOnAI/status/2028560569952031145",
  "twitterUrl": "https://twitter.com/LiorOnAI/status/2028560569952031145",
  "text": "Someone just bypassed Apple's Neural Engine to train models.\n\nThe Neural Engine inside every M-series Mac was designed for inference. \n\nRun models, don't train them. No public API, no documentation, and certainly no backpropagation. \n\nA researcher reverse-engineered the private APIs anyway and built a transformer training loop that runs forward and backward passes directly on the ANE hardware.\n\nThe method bypasses CoreML entirely. \n\nInstead of using Apple's official tools, the project constructs programs in MIL (Model Intermediate Language), compiles them in-memory using undocumented `_ANEClient` APIs, and feeds data through IOSurface shared memory buffers. \n\nWeights get baked into the compiled programs as constants. E\n\nach training step dispatches six custom kernels: attention forward, feedforward forward, then four backward passes that compute gradients with respect to inputs. \n\nWeight gradients still run on the CPU using Accelerate's matrix libraries, but the heavy lifting (matrix multiplies, softmax, activation functions) happens on the ANE.\n\nThis makes three things possible that weren't before:\n\n1. Training small models locally without burning through your battery\n\n2. Fine-tuning on-device without sending data to a server or spinning up the GPU\n\n3. Research into what the ANE hardware can actually do when you ignore Apple's guardrails\n\nIf this approach scales, the next wave of on-device AI stops being about running someone else's frozen model.",
  "source": "Twitter for iPhone",
  "retweetCount": 51,
  "replyCount": 20,
  "likeCount": 503,
  "quoteCount": 8,
  "viewCount": 147259,
  "createdAt": "Mon Mar 02 19:58:23 +0000 2026",
  "lang": "en",
  "bookmarkCount": 356,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2028560569952031145",
  "displayTextRange": [
    0,
    278
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "LiorOnAI",
    "url": "https://x.com/LiorOnAI",
    "twitterUrl": "https://twitter.com/LiorOnAI",
    "id": "931470139",
    "name": "Lior Alexander",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/2027106343283527680/lh729xEs_normal.jpg",
    "coverPicture": "https://pbs.twimg.com/profile_banners/931470139/1761077189",
    "description": "Covering the latest news for AI devs • Founder @AlphaSignalAI (270k users) •  ML Eng since 2017 • Ex-Mila • MIT",
    "location": "",
    "followers": 113157,
    "following": 2163,
    "status": "",
    "canDm": true,
    "canMediaTag": false,
    "createdAt": "Wed Nov 07 07:19:36 +0000 2012",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {
        "urls": [
          {
            "display_url": "alphasignal.ai",
            "expanded_url": "https://alphasignal.ai",
            "indices": [
              0,
              23
            ],
            "url": "https://t.co/AyubevadmD"
          }
        ]
      }
    },
    "fastFollowersCount": 0,
    "favouritesCount": 6800,
    "hasCustomTimelines": true,
    "isTranslator": false,
    "mediaCount": 661,
    "statusesCount": 3768,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [],
    "profile_bio": {},
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {},
  "card": null,
  "place": {},
  "entities": {
    "hashtags": [],
    "symbols": [],
    "urls": [],
    "user_mentions": []
  },
  "quoted_tweet": {
    "type": "tweet",
    "id": "2028457255968874940",
    "url": "https://x.com/AmbsdOP/status/2028457255968874940",
    "twitterUrl": "https://twitter.com/AmbsdOP/status/2028457255968874940",
    "text": "YES! Someone reverse-engineered Apple's Neural Engine and trained a neural network on it.\n\nApple never allowed this. ANE is inference-only. No public API, no docs.\n\nThey cracked it open anyway.\n\nWhy it matters:\n\n• M4 ANE = 6.6 TFLOPS/W vs 0.08 for an A100 (80× more efficient)\n• \"38 TOPS\" is a lie - real throughput is 19 TFLOPS FP16\n• Your Mac mini has this chip sitting mostly idle\n\nTranslation: local AI inference that's faster AND uses almost no power.\n\nStill early research but the door is now open.\n\n→ https://t.co/qPwddSyV3f\n\n#AI #MachineLearning #AppleSilicon #LocalAI #OpenSource #ANE #CoreML #AppleSilicon #NPU #KCORES",
    "source": "Twitter for iPhone",
    "retweetCount": 756,
    "replyCount": 164,
    "likeCount": 7157,
    "quoteCount": 98,
    "viewCount": 541515,
    "createdAt": "Mon Mar 02 13:07:51 +0000 2026",
    "lang": "en",
    "bookmarkCount": 5079,
    "isReply": false,
    "inReplyToId": null,
    "conversationId": "2028457255968874940",
    "displayTextRange": [
      0,
      278
    ],
    "inReplyToUserId": null,
    "inReplyToUsername": null,
    "author": {
      "type": "user",
      "userName": "AmbsdOP",
      "url": "https://x.com/AmbsdOP",
      "twitterUrl": "https://twitter.com/AmbsdOP",
      "id": "1514579208495849481",
      "name": "Vali Neagu",
      "isVerified": false,
      "isBlueVerified": true,
      "verifiedType": null,
      "profilePicture": "https://pbs.twimg.com/profile_images/1824556101666271232/gRU0y55Z_normal.jpg",
      "coverPicture": "https://pbs.twimg.com/profile_banners/1514579208495849481/1772729728",
      "description": "🎧 Open-Source AI Music Advocate | Built @InstantArt_io (1M users, failed) | Building a Siri Killer ⚡️ | New to ▶YouTube",
      "location": "",
      "followers": 1579,
      "following": 588,
      "status": "",
      "canDm": true,
      "canMediaTag": true,
      "createdAt": "Thu Apr 14 12:20:17 +0000 2022",
      "entities": {
        "description": {
          "urls": []
        },
        "url": {
          "urls": [
            {
              "display_url": "youtube.com/@Ambsd-yy7os",
              "expanded_url": "https://www.youtube.com/@Ambsd-yy7os",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/ZxoLL5PfCQ"
            }
          ]
        }
      },
      "fastFollowersCount": 0,
      "favouritesCount": 1395,
      "hasCustomTimelines": false,
      "isTranslator": false,
      "mediaCount": 60,
      "statusesCount": 449,
      "withheldInCountries": [],
      "affiliatesHighlightedLabel": {},
      "possiblySensitive": false,
      "pinnedTweetIds": [
        "2018735590930518175"
      ],
      "profile_bio": {},
      "isAutomated": false,
      "automatedBy": null
    },
    "extendedEntities": {
      "media": [
        {
          "allow_download_status": {
            "allow_download": true
          },
          "display_url": "pic.x.com/vrbpWupMGP",
          "expanded_url": "https://x.com/AmbsdOP/status/2028457255968874940/photo/1",
          "ext_media_availability": {
            "status": "Available"
          },
          "features": {
            "large": {
              "faces": []
            },
            "medium": {
              "faces": []
            },
            "orig": {
              "faces": []
            },
            "small": {
              "faces": []
            }
          },
          "id_str": "2028457207948541952",
          "indices": [
            279,
            302
          ],
          "media_key": "3_2028457207948541952",
          "media_results": {
            "result": {
              "media_key": "3_2028457207948541952"
            }
          },
          "media_url_https": "https://pbs.twimg.com/media/HCaHFVnagAAQX-r.jpg",
          "original_info": {
            "focus_rects": [
              {
                "h": 549,
                "w": 980,
                "x": 0,
                "y": 0
              },
              {
                "h": 551,
                "w": 551,
                "x": 141,
                "y": 0
              },
              {
                "h": 551,
                "w": 483,
                "x": 175,
                "y": 0
              },
              {
                "h": 551,
                "w": 276,
                "x": 278,
                "y": 0
              },
              {
                "h": 551,
                "w": 980,
                "x": 0,
                "y": 0
              }
            ],
            "height": 551,
            "width": 980
          },
          "sizes": {
            "large": {
              "h": 551,
              "resize": "fit",
              "w": 980
            },
            "medium": {
              "h": 551,
              "resize": "fit",
              "w": 980
            },
            "small": {
              "h": 382,
              "resize": "fit",
              "w": 680
            },
            "thumb": {
              "h": 150,
              "resize": "crop",
              "w": 150
            }
          },
          "type": "photo",
          "url": "https://t.co/vrbpWupMGP"
        }
      ]
    },
    "card": null,
    "place": {},
    "entities": {
      "hashtags": [
        {
          "indices": [
            533,
            536
          ],
          "text": "AI"
        },
        {
          "indices": [
            537,
            553
          ],
          "text": "MachineLearning"
        },
        {
          "indices": [
            554,
            567
          ],
          "text": "AppleSilicon"
        },
        {
          "indices": [
            568,
            576
          ],
          "text": "LocalAI"
        },
        {
          "indices": [
            577,
            588
          ],
          "text": "OpenSource"
        },
        {
          "indices": [
            589,
            593
          ],
          "text": "ANE"
        },
        {
          "indices": [
            594,
            601
          ],
          "text": "CoreML"
        },
        {
          "indices": [
            602,
            615
          ],
          "text": "AppleSilicon"
        },
        {
          "indices": [
            616,
            620
          ],
          "text": "NPU"
        },
        {
          "indices": [
            621,
            628
          ],
          "text": "KCORES"
        }
      ],
      "symbols": [],
      "urls": [
        {
          "display_url": "github.com/maderix/ANE",
          "expanded_url": "http://github.com/maderix/ANE",
          "indices": [
            508,
            531
          ],
          "url": "https://t.co/qPwddSyV3f"
        }
      ],
      "user_mentions": []
    },
    "quoted_tweet": null,
    "retweeted_tweet": null,
    "article": null
  },
  "retweeted_tweet": null,
  "article": null
}