ANE Optimization Through Phone-Steered AI Experiments Shows Kernel Fusion Benefits

A developer conducted 55 optimization experiments on the autoresearch-ane fork, primarily steering the process from their phone on a Saturday. The work focused on Apple Neural Engine (ANE) performance improvements through kernel optimization and architectural changes.
Performance Improvements
The experiments yielded measurable gains across several metrics:
- Validation loss decreased from 3.75 (a throwback from optimized 3.2) to 2.49
- Step time improved from 176ms to 96ms
- ANE utilization increased from 3.6% to 6.5%
Key Technical Change
The most significant improvement came from kernel fusion: "Fusing 3 ANE kernels into 1 mega-kernel eliminated 12 IOSurface round-trips per step - that single change beat every hyperparameter tweak combined." This architectural optimization proved more impactful than parameter adjustments.
Workflow Details
The developer used an unconventional approach:
- Ran experiments remotely, steering from their phone in brief moments
- Used Claude for brainstorming and pulling insights from public sources listed in the repository README
- Approached the problem with "short attention and minimal token input" - speculating on directions rather than dictating precise steps
- Completed 55 experiments with "several cases of actual typing"
- Worked in non-destructive mode only due to permission constraints ("no rm -rf /* and such")
Main Learning
Beyond the technical improvements, the developer noted: "Main learning isn't the improvement itself. It's that short attention and minimal token input - brainstorming direction, not dictating steps - can produce real measurable gains on a hard systems problem."
The work was conducted on the developer's laptop, and they mention an acceptance rate discrepancy: "55vs45 not quite mathing" in reference to experiment outcomes.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Claude Code protocol file reduces repetitive questioning
A developer created a single .md file for ~/.claude/rules/ that infers task type and risk from the first message, eliminating Claude Code's typical three-question sequence before starting work.

Open-source local hook automatically switches Claude models to cut AI costs
A developer created a local hook for Cursor and Claude Code that analyzes prompts and automatically selects the appropriate Claude model (Haiku, Sonnet, or Opus) before sending requests. The tool uses keyword rules to classify tasks and block overpaying scenarios, with retroactive analysis showing 50-70% cost reduction.

Patina: A Claude Code Skill That Detects and Rewrites AI Writing Patterns
A developer has created a Claude Code skill called patina that identifies 112 patterns that make AI-generated text obvious across four languages, then rewrites flagged sections. The tool includes modes for detection-only, scoring, and iterative rewriting.

Introducing Lean Collab: A Multi-Agent Orchestrator for Long-Running LLM Tasks
Lean Collab is an open-source orchestrator designed to manage long-running LLM tasks using coordinated, parallel sub-agents.