For help please visit help.ft.com. We apologise for any inconvenience.
The following information can help our support team to resolve this issue.
10 interesting stories served every morning and every evening.
For help please visit help.ft.com. We apologise for any inconvenience.
The following information can help our support team to resolve this issue.
V1.0 · Recurring · July 2026
A Letter From Our CTO, Raffi Krikorian “
In New Zealand’s far north, a Māori broadcaster trains speech models for te reo — a language too small for any market — under a license that keeps the data with its people. PwC, one of the largest accounting firms in the world, fine-tuned an open model on the language of finance and runs it today for hundreds of clients, on its own hardware, with no per-token meter running. Researchers in Lausanne built an open medical model with the Red Cross, tuned to its humanitarian guidelines, and are preparing clinical trials at home and in Tanzania. In East Africa, farmers diagnose cassava disease with a model that runs on the phone itself, offline, in fields the cloud has never reached. In Switzerland, a public consortium trained a national model on public supercomputers and released all of it: weights, data, training code. None of them asked permission, and none of them could have rented this. They own it — that is the whole idea.
We have been here before. Mozilla exists because one company tried to own the front door to the web, and an open community rose up to make sure it never could. Twenty-five years later, someone is running the same play. We bet on open the first time. Open won. Together, we can do it again.
Our belief is simple: the path forward is competition and interoperability. We believe in a world of many models, standard ways to plug them together, and the freedom to walk away from any vendor at any time. Open has a record here. It grew the pie and let more people own a slice of it.
Read what follows as a map: where open AI is winning — some numbers surprised even us — and where it is exposed. A case that hides its weak points is an advertisement.”
Open weights closed the capability gap while the price of intelligence collapsed.
0%
Capability gap to the top closed models — at parity on coding, behind on reasoning
0×
Fall in GPT-4-class inference cost in 36 months: $20 → $0.40 per 1M tokens
01The current state of open-source AI
Parity reached. The contest is one layer up.
Open weights are no longer a compromise. They are where the work happens: a majority of production tokens now route through them, and the five highest-volume models on OpenRouter are all open. Closed models still lead at the frontier, on reasoning and multimodality, but the frontier is not what most workloads need. Commodity inputs do not hold pricing power. Value moves up, to the agentic harness.
The capability gap: 8.04% → 0.5% → 3.3%
Open-vs-closed gap on Chatbot Arena over 24 months. By August 2024, the gap had collapsed to 0.5%, and in February 2025 DeepSeek-R1 briefly matched the top US model. By March 2026 it had reopened to 3.3% as closed reasoning models pulled ahead. But 3.3% is an average over a jagged frontier: open is at or near parity on coding, instruction-following and general knowledge, while the gap concentrates in reasoning, long-context retrieval and agentic tasks. The question is no longer whether open models are good enough. It’s what you need for your workload. Hover the points.
Source: Chatbot Arena, Jan 2024 — Mar 2026.
Inference fell 50× in 36 months
GPT-4-equivalent price per 1M tokens — faster than dotcom-era bandwidth or PC-compute price curves. Log scale.
Sources: Stanford HAI AI Index 2025 (280× GPT-3.5-class drop over 18 months); Epoch AI (9 – 900× annual decay); Nov 2025 MIT study (5 – 10×/yr at the frontier, hardware-adjusted).
Open weights win the tokens
The share of tokens routed on OpenRouter through open-weight models grew from a negligible base to a third by late 2025 to a majority by mid-2026.
Source: OpenRouter 100T-token study (Nov 2024–Nov 2025) and live leaderboard; intermediate points interpolated. By request count, closed US providers still lead — the open lead is a token-volume lead, concentrated in coding and agentic workloads.
OpenRouter live leaderboard — trailing month, tokens routed
The five highest-volume models are all open weights. Anthropic’s closed Claude models are the next US-built entrants.
Open weightsClosed
By mid-2026 the top nine models route roughly 18T weekly tokens for Chinese-built models against ~5.5T for US-built ones — more than 3:1 (FT analysis). Where developers route by cost, they route to open weights.
Open ships easy.Open deploys hard.
Data from the Mozilla / SlashData 2026 developer survey. Open models lead in adoption: 79% of developers adding AI functionality use them, against 71% for closed, and the two are largely complementary, with half of developers using both. But production is where teams stall: only 51% of open-model teams reach production versus 63% for closed. The gap is operational tooling and trust, not model capability.
Open models lead in adoption, and mostly coexist with closed
Share of developers adding AI functionality to their applications who currently use each model type, and how the two overlap.
Open models
79%
Closed models
71%
How they combine
29%OS only
50%Both
21%CS only
Source: Mozilla / SlashData 2026 developer survey. Open and closed aren’t substitutes for most teams: 50% run both, 29% open only, 21% closed only.
Where open adoption peaks, and where closed still edges it
Open-model adoption by region. Greater China and East Asia lead at 89%; South America and Western Europe are the only two regions where closed adoption exceeds open.
Same survey, by developer region. In South America and Western Europe, and only there, closed-model adoption runs ahead of open.
Production rate by company size
If the gap were about resources, scale would close it, and it doesn’t. Closed climbs 54% → 73% with scale. Open barely moves: 53% → 57%.
Closed modelsOpen models
Enterprises can buy their way through closed deployment. Open deployment waits on tooling nobody has finished. Source: Mozilla / SlashData 2026 developer survey.
Why teams churn: challenges with open models
Δ = churned − still using, in percentage points. The biggest gaps (performance, integration, maintenance) are operational, not capability. Hover the bars.
Still using openChurned away
Mozilla survey, n=1,410. “What are the main challenges you face when working with open or open-source AI models?”
The same challenges, everywhere: what blocks open by region
Share of current and churned open-model developers naming each challenge, by region. Warmer cells mean more developers blocked. The top rows are operational in every region: infrastructure cost, security and compliance, maintenance, deployment complexity. South Asia leans hardest on security and support; only North America and Greater China have more than 15% reporting no major challenges.
Source: Mozilla / SlashData 2026 developer survey (MZCS1). n=1,410 current or churned open-model developers; the Oceania column (n=39) and Eastern Europe & CIS (n=98) fall below reliable thresholds.
02The open-source AI stack
The open stack scores high on capability,low on operations.
Nine layers and 48 components of the stack scored across 10 criteria (1 – 5). Click a layer to open its components: each carries its own criterion scores, maturity grade, open-vs-closed parity verdict, and surfaces some of its most-starred open-source projects.
Hover any cell for detail.
StrongViable, but fragmentedEarly stage
Strong (≥4.0) 3.5 – 3.9 3.0 – 3.4 2.5 – 2.9 Weak (<2.5) the operational gap = standardization + enterprise readiness
Cells are scores per maturity criterion (1 – 5), ordered strongest to weakest left to right; layer rows are the means of their components. The two coldest columns, standardization and enterprise readiness, repeat down every layer and every component: that repeating cold edge is the operational gap. Source: Mozilla stack map, June 2026 (48 components, 1,361 projects).
03Who’s betting on it
Open source is a business model.
Open-weight AI is a commercial market at multi-hundred-billion-dollar scale, built by funded companies and run in production by global enterprises. Databricks crossed a $5.4B run-rate; Mistral scaled 20× to ~$400M ARR in twelve months; DeepSeek reached ~$220M ARR and recently raised $7.4B at a valuation over $50B. Five revenue models are proven at scale: hosted inference, enterprise platforms, on-prem licensing, fine-tuning services, and harness tooling.
The venture-funded open-source ecosystem: total disclosed funding, USD M
Bars grow as you scroll. Color by region of the company.
North AmericaChinaEurope & rest of world
Selected companies; Zhipu AI and MiniMax went public (HK IPO 2026) with undisclosed totals. Corporate strategics (Nvidia, Salesforce, AMD, Google, IBM, ASML, Tencent, CATL, Schwarz Group) back the same ecosystem across model, inference, and tooling layers.
Financial maturity of the open ecosystem
Funding, valuation and revenue traction for the companies carrying the open stack. The ecosystem has moved from grants to venture scale to public markets.
Five revenue models are proven at scale: hosted inference, enterprise platforms, on-prem licensing, fine-tuning services, and harness tooling. “—” = not publicly disclosed.
The metered model breaks at scale
Closed frontier models are sold by the token — and at production scale the meter becomes the problem.
A fifth of the usage, 4% of the revenue
On OpenRouter (May–Sep 2025), closed models held ~80% of usage and ~96% of revenue. Price drives it: at ~90% parity, closed costs ~6× more per call.
~$24.8B
in unrealized annual savings — the Nagle–Yue study for the Linux Foundation’s estimate of the open-vs-closed price asymmetry, at ~6× the cost per call for comparable capability
Where developers route by cost, they route to open weights.
04Why it’s happening everywhere
Open isn’t a vendor choice.It’s a sovereignty choice.
More than 70 national AI strategies are live. The strategic question has shifted from whether to have a national AI policy to which layer of the stack a country can own.
Click a marker or a country below.
The case for open is optionality
Optionality stopped being abstract in June 2026, and it stopped being a procurement question. Three days after Claude Fable 5 went on sale, a single government’s export order forced Anthropic to cut access for every foreign national on earth. No other capital was consulted. None could have been. Selective compliance was impossible, so the models went dark for everyone at 5:21 p.m. on a Friday. Anyone who had built on that model inherited a shutdown they had no warning of and no part in. A provider can switch off a model. Nobody can switch off a copy already running on a machine you hold, and that holds whether the machine is a startup’s server or a national supercomputer. For a company, weights on disk are a hedge. For a state, they are the difference between a policy and a permission.
The strategic case for open is the ability to leave, and the cloud era proved the cost of its absence:
$90 – 120kto move one petabyte out of AWS S3
80%of enterprises now repatriating workloads
$3.2M → <$1M37signals’ cloud bill after leaving
2.5×what GEICO’s cloud costs ran over plan
Closed model APIs reproduce the same trap: build on a proprietary endpoint and you inherit the vendor’s pricing changes with no clean exit. Open weights are exit rights.
The largest source of open weights is China. By design.
Cumulative Hugging Face downloads, March 2026:
In February 2026 Qwen out-downloaded the next eight organizations combined. On OpenRouter, Chinese open-weight models rose from under 2% of tokens in late 2024 to more than 45% of weekly traffic by April 2026, and about 61% among the ten most-used models. DeepSeek reports 26,000+ enterprise accounts; 58% of new AI startups in 2025 included it in their stack, even as at least eight jurisdictions restricted the hosted service. The resolution is architectural: enterprises ban the hosted app and adopt the weights anyway, self-hosted or via Western endpoints.
This is intentional policy. The State Council’s “AI Plus” Initiative (Aug 2025) and the national Five-Year Plan (Mar 2026) codify open-source proliferation as a core directive, and releasing public weights doubles as a macro hedge against semiconductor export controls, offloading global inference onto end users’ local hardware. Across the Global South the draw is diversification away from US technology monopolies; elsewhere it is purely financial. Even Microsoft is exploring a secured, Azure-hosted DeepSeek V4 for its heaviest Copilot workload.
Marker size ≈ scale of committed public/strategic capital · Equirectangular projection
Source: Open Source AI jurisdictions dataset, July 2026. Marker size scales with committed public and strategic capital.
05The harness is the new frontier
The agentic harness is another user agent.
The browser was the user agent of the open web: code on the user’s side, negotiating with servers on their behalf. That role is being recreated one layer up. Above the model now sits the agentic harness — the orchestration loop, tools, memory, sandboxes, and permission model. It is where production difficulty concentrates, and where the open-vs-closed, owner-vs-renter contest restarts.
The user · other agents · the worldhumans · systems · data · money
First atmosphere found on Earth-like planet in habitable zone of distant star
12 hours ago
Pallab GhoshScience Correspondent
Melissa Weiss/Center for Astrophysics |Harvard & Smithsonian
Researchers have found the first atmosphere surrounding an Earth-like, rocky planet orbiting within the habitable zone of a distant star.
The researchers say that their discovery provides the strongest evidence yet that worlds with conditions similar to Earth could exist beyond our solar system.
The gas detected in the atmosphere is helium, which would not be able to support life, but other gasses may also be present.
The lead author, Dr Collin Cherubim of Harvard University, described the discovery as “a big deal”.
“This is the first time anyone has found an atmosphere on a rocky planet in the habitable zone of another star.”
The planet, called LHS 1140 b, is 48 light-years from Earth orbiting a red star much smaller and cooler than our Sun.
More than 6,000 worlds have been discovered orbiting distant stars. But the new discovery is significant because it brings us a step closer to one of the biggest prizes in science: the discovery of life on another world.
The researchers, writing in the journal Science, are clear — they have not done that, at least not yet. But for a planet to support life it has to have water and for that it has to be the right distance from its star: not too close because it will be too hot and not too far, because it will be too cold — but somewhere in between where it will be “just right”.
Planetary scientists call this the “Goldilocks zone”, after the fairy tale girl who was fussy about the temperature of her porridge.
Hundreds of planets have been found in the Goldilocks zones of their respective stars — but only a few dozen are small and rocky — like our own Earth — which is another tick for a planet’s ability to support life.
But none of those have been found to have an atmosphere.
Until now.
But the only gas discovered in the atmosphere so far is helium, probably in the upper atmosphere, which on its own would not support life.
But there may be other, more life-sustaining gases, lower down. Dr David Charbonneau, also from Harvard, said that the important thing was the discovery of an Earth-like planet outside of our solar system with an atmosphere.
“People are generally interested in the big questions: Are we alone? Is there life beyond the Earth or beyond our solar system? To that end, this study reveals the first atmosphere discovered on a rocky planet in the habitable zone of a star outside of our solar system,” he said.
LHS 1140b isn’t the only world under scrutiny in the search for life. K2 – 18b, a sub-Neptune with a possible water-rich interior, made headlines when scientists spotted signs of dimethyl sulphide — a gas linked to marine life on Earth.
But a Nasa-led reanalysis in 2025 found the signal too weak to confirm, and showed the gas can form without biology.
The seven rocky worlds of TRAPPIST-1 remain tantalising, too: Nasa’s James Webb Space Telescope ruled out an Earth-like atmosphere on TRAPPIST-1d, while TRAPPIST-1e’s data stay frustratingly inconclusive.
Yet another thought piece about LLMs. I know. Bear with me.
This is an attempt to put words around something I think most developers are experiencing right now but haven’t had time to make sense of. Programming with LLMs is genuinely useful and genuinely destabilizing. These two things coexist. If we pretend the second one isn’t happening, we will all burn out.
At Pydantic, we build tools that developers use to validate data, build AI agents, and observe what their systems are doing in production. We are, quite literally, in the business of making LLM-powered software more reliable. And we are also having a weird time.
This isn’t a thinkpiece about whether AI will replace programmers. It’s not a doomer essay and it’s not a hype piece. It’s an honest account of what it feels like to be a developer right now, from someone inside it, and some thoughts on what might actually help.
Hands in the fabric
When I was first learning to code in my early twenties, I remember having this distinct sensation that programming let me dip my hands into the fabric of the universe and shape it to my will. This was, of course, before I’d hit too many compile errors. But that feeling of touching some deep fundamental layer of abstraction, of being able to make things from nothing but logic, has always stuck with me.
I’m not a Computer Science graduate. I’m a designer and a programmer — formally trained in the first, self-taught in the second. I came to the formalisms of software engineering through painful experience rather than academic instruction. If anything, that made me take those principles more seriously once I understood them. When you’ve earned your opinions about architecture and code quality the hard way, they feel less like textbook rules and more like scar tissue.
That primal feeling of creation? It’s the same promise that the low-code and no-code tools of the 2010s kept making but never quite delivered on. I’m old enough to remember building web pages in Dreamweaver, watching Adobe spruik zero-code design tools that generated absolute spaghetti under the hood. It was always almost there, just good enough to hint at a future that was just around the corner (if only you were smart enough to grasp it).
If you’re cynical about the current wave of AI tools, I get it. We’ve been promised this before. But this time the gap between promise and reality has actually, finally, narrowed to something meaningful. And that’s exactly what makes it so unsettling.
What “the code writes itself” actually feels like
Yes the code (sorta) writes itself, but the human reviewing, directing, and course-correcting feels worse, not better.
I recently had a conversation with my colleague Douwe, who maintains the Pydantic AI framework and has been one of the most thoughtful people I know about integrating LLMs into open source workflows. He described waking up to thirty PRs every morning, each one pulled overnight by someone’s AI, and needing to make snap judgment calls on every single one. The temptation to delegate the review itself to an AI was enormous. But, as he put it: “at that point, what am I still doing here?”.
The honest truth is that in the last few months, there have been days when I have spent close to two full days writing a plan for an LLM to execute: obsessively clarifying, specifying, re-specifying, only to have it still do something inexplicably stupid. Port a React hook into a Storybook story file. Read from the wrong plan. Invent components that don’t exist. And these aren’t errors of capability; they’re errors of coherence. The models are smart enough to produce plausible code, but not always smart enough to maintain a coherent intent across a complex change.
This creates a peculiar new kind of fatigue, the fatigue of supervision: of holding the intent in your head while the machine generates volumes of mostly-correct output that still needs your eyes, your judgment, and your taste. Douwe put it well: he used to get a dopamine hit from collaborating with a real person on a cool feature in open source. Helping someone become better at their craft. Now, he said, “everything I write goes into some AI black hole. There’s no person on the other side actually learning anything.” That loss is real and it’s worth naming.
The intensity trap
Simon Willison recently highlighted a Berkeley Haas study which describes how AI usage increases the intensity of work. The constant pull of “one more prompt at the end of the day, one more feature that could make this perfect.” I felt that one in my bones. I was up until nearly 2am recently, prompting, because I was so close to getting a plan right. Or so I thought.
Marcelo, another Pydantic colleague, when asked about his Claude Code session freezing said: “just open 5 claude sessions. You’ll never notice because you’re busy giving feedback to the others.” He was joking. I think. But it captures something true about the current moment. The parallelism is exhilarating and kind of feral. The number of things you can start has dramatically increased. The number of things you can thoughtfully finish hasn’t changed at all, because that part still requires the one resource we can’t parallelise: your brain.
Here’s a term for what I think is happening: the human reward function problem. In machine learning, a reward function tells an agent what good looks like. Writing code by hand was never easy, but it was full of small rewards. Solving a problem in your head. Understanding a gnarly bit of logic. Watching the code compile. The feeling of control. LLM-assisted programming has automated much of the work that generated those dopamine hits and replaced it with the cognitive load of review and supervision. The satisfying part shrank. The exhausting part grew. And there are no new rewards to fill the gap.
If you’re feeling like your work is simultaneously more productive and less satisfying, you’re not broken. The feedback loop is broken. And I think we need to start treating that as an engineering problem in its own right, not a personal failure.
It’s also, frankly, quite lonely. Programming with an LLM is an intensely solitary activity.
You and the machine, going back and forth, refining and prompting and reviewing. The natural moments where you’d turn to a colleague to ask a question, to rubber-duck a problem, to share the small victory of something finally clicking. Those moments get quietly replaced by another prompt. In a team without a strong existing culture of collaboration, this has a tendency to further separate people, to chill communication at precisely the moment when you most need the reassurance that other humans are finding this hard too.
And it’s addictive in a way that makes the isolation worse. Sometimes you get something brilliant, sometimes garbage, and you never quite know which. Textbook Skinner Box. It can be genuinely hard to step back and remember that you’re allowed to just… write code. But switching between LLM-assisted and manual work is jarring and uncomfortable, two very different modes of thinking, and it takes a kind of maturity and confidence to give yourself permission to switch.
Breakpoints
This moment brings to mind the fear and angst caused by responsive design. I was working as a designer and frontend developer at the time, following Ethan Marcotte and the Zeldman / A Book Apart crowd like everyone else, and I remember how unsettling it felt to be told that the fixed-width layouts we’d all mastered were basically over.
For the younger devs: there was a genuine cultural moment around 2009 when websites moved from fixed, pixel-perfect, magazine-style layouts to fluid, responsive ones. And designers hated it. The loss of control was existential for people whose entire identity was built around precise layouts and perfect grids. You’re telling me the user might see my design at any width? On any device? That the layout I crafted would… flow?
Image design by Jyotika Sofia Lindqvist
Image design by Jyotika Sofia Lindqvist
The resistance was intense. And it was understandable. People had built real expertise in a paradigm that was being fundamentally disrupted. The designers who thrived through that transition were the ones who reframed their skills. The eye for proportion still mattered. The understanding of hierarchy still mattered. The craft didn’t die, it evolved. What became less relevant was the obsession with pixel-level control. What became more relevant was understanding systems, adaptability, and designing for uncertainty.
I don’t want to oversell this parallel. Responsive design played out over years. The current shift is measured in months. Agencies lost clients and designers lost gigs over the responsive transition, but it didn’t carry the same existential dread. The stakes are materially different, and the pace is genuinely exhausting in a way that the responsive transition never was. But the underlying pattern, of craft evolving rather than dying, of the core skills mattering more not less, I think that holds.
Working with LLMs on code feels like a similar inflection point. The skill isn’t gone, it’s shifting. You’re not less of an engineer because you didn’t hand-write every line. But you do still need to know what good looks like, arguably more than ever, because you’re now the quality gate for a much higher volume of output.
What survives
In an era when anyone can produce reasonable-looking UI and code that compiles, the distinguishing markers become: taste, nuance, mature architectural opinions, and the contrarian calls that come from genuine expertise rather than pattern-matching.
It’s noticeable to me that we are most successful guiding LLMs in the domains where we understand the code, the decisions, and the trade-offs most deeply. As we venture into the shallow ends of our skill sets, the outputs become markedly more impressionistic. Further from production-ready. More plausible-looking, less actually correct. The model doesn’t know what it doesn’t know, so it fills the gaps with confidence. Sound familiar? It’s a very human failure mode, too.
But new skills are also emerging. I’ve started running what I call pre-mortems on complex plans: asking a fresh LLM session to assume the plan has catastrophically failed and diagnose why. It catches specification gaps that I miss after two days of being too deep in the details. One of our engineers built a tool that extracts rules from thousands of his past code review comments to seed an AGENTS.md file, essentially encoding years of implicit engineering judgment into instructions an LLM can follow. That’s not the death of expertise. That’s expertise being distilled.
The people who are finding their footing right now seem to share a few traits: they have strong opinions earned through practice, they can distinguish between principles that still apply and habits that were just bandwidth constraints, and they’re willing to evolve their workflow without abandoning their standards.
A view from inside the loop
I don’t think the current wave of AI represents the end of software engineering as a profession. I do think it represents a serious contraction and a fundamental reshaping of what the work is. The fear of obsolescence is legitimate. The fear of skill rot is legitimate. And the fear that if you don’t go fast enough you’ll be left behind is — while often overstated — not entirely unfounded.
But the bottleneck was never the code. It was always the human attention, the engineering judgment, the ability to hold a coherent vision for a system. We just didn’t notice because writing code felt like the hard part. Now that it’s being automated, those human capacities are revealed as the actual scarce resource. And scarce resources are valuable.
So if you’re feeling overwhelmed, destabilized, simultaneously more productive and less happy, know that you’re not alone. The team building the tools you’re probably using to navigate this moment is feeling it too. We’re debugging our reward functions in real time, same as you.
The code is changing. What we do with it is changing. How it feels is… a work in progress.
But the humans are still in the loop. We’re just tired. And that’s worth talking about.
We’re building tools to make this less chaotic: Pydantic AI and Logfire. We’re also hiring.
16th July 2026
Chinese AI lab Moonshot AI announced Kimi K3 this morning, describing it as their “most capable model to date, with 2.8 trillion parameters”. It’s currently available via their website and API, but an open weight release is promised “by July 27, 2026”.
Moonshot are calling this the first “open 3T-class model” (I guess they’re rounding 2.8 trillion up to 3 trillion), taking the crown from DeepSeek’s 1.6T v4 Pro. Their self-reported benchmarks have K3 mostly beating Claude Opus 4.8 max and GPT-5.5 high, while losing out to Claude Fable 5 and GPT-5.6 Sol.
A few highlights from the Artificial Analysis report on the model:
“On our private long-horizon knowledge work evaluation, Kimi K3 reaches an overall Elo of 1547, +732 points from Kimi K2.6 and behind only Claude Fable 5.”
“Cost per task ($0.94) is similar to GPT-5.6 Sol ($1.04), ~1/2 the price of Opus 4.8 ($1.80) and higher than open weights peers”
“Kimi K3’s token usage on the Artificial Analysis Intelligence Index decreased significantly, using 21% fewer output tokens than K2.6.”
The model is also now the leading model on Arena.ai’s Frontend Code arena, surpassing even Claude Fable 5.
The new model is notable for the pricing: $3/million input tokens and $15/million output tokens, putting it at the same level as Anthropic’s Claude Sonnet series and making it the most expensive model released by a Chinese AI lab to date. This is a significant increase on their earlier models such as Kimi K2.6 at $0.95/$4. 2.8 trillion parameters is also more than twice the size of that 1T model.
But how does it pelican?
I used OpenRouter (to avoid signing up for a Moonshot API key) with the llm-openrouter plugin to generate an SVG of a pelican riding a bicycle:
llm -m openrouter/moonshotai/kimi-k3 ‘Generate an SVG of a pelican riding a bicycle’
Here’s the transcript. It looks like this:
That pelican took 95 input tokens and 16,658 output tokens (13,241 were reasoning tokens), for a total cost of 25 cents!
Since K3 accepts image input I ran it against that rendered SVG above (with my alt text prompt) and got back (for 0.6 cents):
Cartoon illustration of a white pelican wearing a red scarf, riding a red bicycle along a gray road with white dashed lines; the pelican has a large orange beak and webbed orange feet pedaling, with white motion lines behind it; the background shows a light blue sky with white clouds, a yellow sun, two small black birds in flight, and green grass with tiny white flowers in the foreground
Cartoon illustration of a white pelican wearing a red scarf, riding a red bicycle along a gray road with white dashed lines; the pelican has a large orange beak and webbed orange feet pedaling, with white motion lines behind it; the background shows a light blue sky with white clouds, a yellow sun, two small black birds in flight, and green grass with tiny white flowers in the foreground
What can we learn from the pelican?
My Generate an SVG of a pelican riding a bicycle test is 21 months old now. It was never a particularly great benchmark. It started out as a joke on how absurdly difficult it is to compare these models, but then for the first year it turned out to have a surprising correlation to how good the models actually were.
That connection has been mostly severed now. The GPT-5.6 and Claude Fable 5 pelicans are outclassed by GLM-5.2, and much as I love GLM I don’t think that’s a Fable-class model.
(I’m still not convinced that labs are training for the benchmark—if they were, I’d expect much better results. There’s a chance that Gemini has optimized for any combination of an animal on a vehicle though!)
The biggest limitation of the pelican is that it doesn’t touch at all on the thing that matters most for today’s model: agentic tool calling and the ability to operate tools reliably as conversations grow in length.
So don’t go using pelicans to compare models!
All of that said, I still get a decent amount of value out of running the benchmark myself.
Firstly, it’s a forcing function for actually trying the model. If I show you a pelican, that means I’ve managed to run a prompt through it. If the model has an official API I’ll use that, if it’s open weight (and small enough to fit a 128GB M5 MacBook Pro) I’ll try running it on my own machine, usually via llama.cpp or LM Studio or Ollama. I’ll frequently use OpenRouter since that usually provides a proxy to an official API without me needing a new API key.
Most of my pelicans are generated using my LLM CLI tool, which helps encourage me to ensure the latest models are supported by that (via one of its plugins).
More importantly though, even the act of a single prompt to “Generate an SVG of a pelican riding a bicycle” can reveal interesting model characteristics.
Consider the result for Kimi K3 today. Running those simple prompts helped emphasize several points about the model.
It only has one reasoning effort right now, “max”—and it shows. The model consumed 13,241 reasoning tokens to output 3,417 tokens of response. This is expensive—the pelican cost 25 cents!
How does the prompt “Generate an SVG of a pelican riding a bicycle” add up to 95 input tokens? OpenAI’s tokenizer counts 10, Anthropic’s counts 10 for Opus 4.6, 30 for Opus 4.7 and 25 for Sonnet 5/Fable 5. Prompting “hi” to Kimi K3 counted 86 tokens, suggesting there may be an 85 token hidden system prompt. It refused to leak it though.
Vision works well: the alt text it generated is very good.
K3 currently only has one thinking effort level, but I’ve been deriving quite a bit of value recently from running the same pelican prompt through different effort levels to get a quick idea for what impact those have. Here’s my matrix for the GPT-5.6 model family, for example.
Really though the main things I gain from the pelican test are:
It’s a “hello world” exercise for prompting a model
A rough cost and reasoning estimate for a simple task
Confirmation that the model can output valid SVG and has a basic idea of geometry and spatial awareness. This is a much bigger deal for the smaller models that run on my laptop.
It’s still interesting to compare pelicans between releases in the same model family. K3’s pelican is a notable improvement from Kimi 2.5.
It’s something I can share that demonstrates I’ve tried it. Plus a comment with a pelican in it is kind of a tradition on Hacker News at this point, any time I’m late I get comments asking where it is!
TL:DR;
#Pebble Time 2 Shipping Status
Since we started mass production in late March, we’ve built over 23,000 Pebble Time 2 watches. We’re over 80% of the way through fulfilling all the pre-orders we’ve received! But that means there are still some ultra patient folks who haven’t received their watches yet. If you’ve placed an pre-order for PT2 and haven’t received it yet (including Batch 6 - August), here’s when we expect to ship your watch out:
Pebble Time 2 - Black → July 31
Pebble Time 2 - Red → July 31
Pebble Time 2 - Grey → July 28
Pebble Time 2 - Blue → July 28
Coincidentally, this means that we’ll be ‘in-stock’ with no wait very soon! If you’ve been holding off placing an order because you didn’t want to wait, now is the time to jump on it. This won’t last forever - first-come first serve. As soon as the current inventory is sold out, we’ll be back in pre-order mode waiting for the next shipment.
Order today on rePebble.com/watch.
Major props to our three person customer support and logistics team! Claudio, Trevor and Colin have answered thousands of your questions and helped ship watches safely onto your wrist in 93 countries. Have a question? Please check out our Help site first. If that doesn’t have an answer, please email us at [email protected].
Want an extra Pebble charger? shop.repebble.com now carries accessories - full selection of straps coming soon.
#Pebble Software - Progress and Roadmap
Over the last 6 months, the core four person Pebble software team built and shipped a metric ton of new Pebble open source software! Our improvements were centered around these areas:
Battery life
We’ve (well, mostly Gerard 🙂) worked extraordinarily hard over the last few months, optimizing and reducing power consumption in PebbleOS. As predicted, we boosted the median battery life of Pebble 2 Duo from 17 days (last summer) to over 30 days. Pebble Time 2 median is currently around 21 days - more improvements in the works here too! The biggest consumers of power are backlight, watchfaces with a lot of animations and health tracking. If you want to ‘hypermile’ your Pebble, try switching to a low-animation watchface and the new Battery Saver backlight mode (Settings → Display → Backlight).
Apps and SDK
Together with the Moddable team, we’ve published several Pebble SDK updates introducing new features like:
Touch Screen API (Calculator on your wrist anyone?)
Speaker API (useful for tuning your guitar, or feeding your Tamagotchi)
RGB Backlight API (try it in this wild little app Chinese Toy Phone)
Apps can now determine how they were quick launched (ie by single press, long press)
Alloy (native JS apps)
FFI - run C code within Alloy JS apps (similar to Android NDK) and js debugger A bunch of new JS APIs pebble build –debug now defines PBL_DEBUG and launches XSBUG, a powerful JS debugger
FFI - run C code within Alloy JS apps (similar to Android NDK) and js debugger
A bunch of new JS APIs
pebble build –debug now defines PBL_DEBUG and launches XSBUG, a powerful JS debugger
Developers in the Pebble community have created 2,120 apps and watchfaces for Pebble Time 2 and Pebble Round 2 already!
Index 01
The first version of all Index 01 functionality is up and running inside the Pebble mobile app. Don’t have an Index 01 yet? You can check out how it works and try the software interface in the Pebble app, just go to Settings → General → Enable Index feed.
All the main features are in, including syncing to iOS Reminders, Obsidian, Google Tasks, Calendar, Android music control, MCPs and sending recordings or transcriptions to your own server or app via Webhook. Optional encryption (you own the keys) protects optional cloud backup. And of course, it’s all open source (github.com/coredevices/mobileapp). We even built a little webapp that you can use to access your Index information from anywhere → index.rePebble.com. Watch the podcast or read the blog post to learn more.
Stability
Thanks to helpful bug reports from y’all, we’ve made hundreds of small improvements to PebbleOS and the Pebble mobile app. Please keep it coming!
I’ll dive into one specific (and ultra technical) topic - reverse PPoGATT (Pebble Protocol over GATT). Quick history: during the first Pebble era, we configured the Pebble mobile app to expose a PPoGATT service, as means to work around the lack of IPC between iOS apps. This setup is the opposite of how Bluetooth accessories normally connect to phones and caused a number of weird problems! Also this setup blocks us from using iOS AccessorySetupKit (ASK), which is a prerequisite for us to implement the new Notification Forwarding feature (EU only) that will finally enable you to reply to notifications. Enabling ASK is going to be tough - our iOS app must either use ASK or not, meaning that we need to upgrade the recovery firmware on all Pebble watches in the field to reverse PPoGATT before we can switch ASK on. Anyways, we have the first piece of the puzzle in place (Pebble Round 2’s recovery firmware already has the upgrade). This saga will take a while.
Community Contributions
Thank you to the dozens of developers from the broader Pebble community who have contributed huge improvements to PebbleOS and the mobile app, including Apple HealthKit and Google health sync, improved light sensor algorithms, notification filtering, many new language packs, and so many bug fixes. It’s so fun and very energizing to see so many talented hackers push PRs! See the full list and thank you devs! Some exciting new community built features are on the horizon: HRV, SP02, exposing HRM via BLE, mic API, multiple BLE clients and more
Software Roadmap
Your browser does not support the video tag.
We keep improving Pebble software primarily because we are Pebble users. We love using the products we make and continually want to make them better! Here’s some of the things we’re excited to work on next:
Send text app (Android only)
Find my phone
Beautiful new weather app for PT2 and PR2 (created by grim, a winner of the Spring Developer Contest)
Tweaking PebbleOS UI for Round 2
Improving the Pebble mobile app UI
WYSIWYG watchface editor - spiritual successor to Pebble Canvas
Continue transition to fully reverse PPoGATT role to enable ASK and (eventually) replies to notifications for iOS users (in EU)
See below for index roadmap
#Pebble Time 2 - Problems You’ve Reported
Thank you all for reporting any bugs or issues you’ve spotted! We test each watch at the factory before it’s shipped out, and we test each software release internally and with a growing team of beta testers (want to join? Sign up at rePebble.com/account). But these tests are not infallible and we will make mistakes. We appreciate your reports as they help us get more information to help us fix problems!
Software Issues
We’re tracking three big software issues with PebbleOS, and a multitude of smaller problems. While we are actively working on fixing these with a future software , we don’t have an ETA on when these will be fixed.
Step and sleep tracking metrics are not accurate for some people
Accelerometer sometimes stops working
Touch screen sometimes stops working or registers touches in wrong location
It would be tough to list here the long-tail of software issues we’ve had reported. But please note that while we don’t reply to everyone, we do read every single report and look for patterns and clues that help us fix many issues with each software update (see the changelog for PebbleOS and Pebble mobile app).
Hardware Issues
You’ve all demonstrated incredible patience waiting for your PT2 to ship. You’re excited to try the first brand new Pebble in the last 10 years. That’s why we understand how painful and difficult it could be if you unbox your brand new watch and discover manufacturing flaw, or use it for a few weeks and find the battery is dying too quickly or accidentally crack the glass. It sucks!
We feel your pain, even more than you can possibly imagine. That’s why everyone who has reported a hardware issue to our support team has received a free replacement (with free worldwide shipping) regardless of whether their device is under warranty or not.
To date, we’ve replaced 330 PT2s (out of 17.82 million hours of usage from 19,000+ watches in the field).
Mass producing a consumer electronic product is labour intensive. Making stuff is still a very human-centric process. We make mistakes. A worker may not assemble a part correctly. A test may be accidentally skipped. The test result could be read incorrectly. Procedures can be put in place to minimize mistakes, but the cost will rise. As with all of hardware product development - it’s a tradeoff 🤷.
The most frequent hardware issue we’re seeing is very high power consumption (less than ~3 day battery life). We’ve taken apart some units and found a variety of issues. To combat this, we’ve implemented more stringent power consumption testing on the assembly line. If you encounter this issue (regardless of your warranty eligibility), please send us a bug report in the Pebble app and we can help you out!
Next most frequent are problems with the touch panel. At first, we thought this could be a hardware problem and replaced around 70 watches. After reviewing the units with our factory, we now believe this could be a software bug. We’re working to fix these issues with a software update - if we can’t, we’ll replace the affected watches (regardless of your warranty eligibility).
Next up is the front glass cracking. We’ve had 51 reports so far, and we’ve sent a free replacement to each person affected. If your glass has cracked, send us a video (preferably, picture is ok) in a bug report in the Pebble app. During the lead up to mass production, we performed extensive environmental testing - including drop testing, tumble testing, button press, strap stretch and bend, thermal cycling and many other tests. All test results showed normal durability compared to similar smartwatches. But if your watch glass cracks, do you care what the factory test results were? Or that this has happened to just 0.25% of all PT2s - or once every 30+ years of usage? Of course not - your watch just broke. That’s why we will continue replacing reasonable reports of glass cracking for free as long as we can. At some point, we will shift to offering a replacement at a highly discounted amount. We are also looking into sourcing extra LCM modules (the entire front assembly - glass, touch panel, display, metal top cover and backlight) and making them available for folks who choose to fix their watch themselves.
The final big category of hardware issue are reports of button problems (32 so far). In some cases, a small interior clip is improperly assembled, causing the button to pop off. We’ve addressed this issue with changes to the production line process and hope that it becomes much less frequent as watches assembled after the change start making their way out into the world. If you encounter this issue (regardless of your warranty eligibility), please send us a bug report in the Pebble app and we can help you out!
Then we’ve had a long tail of smaller issues that I’m moderately embarrassed by, like a report of the watch missing screws on the bottom, or the front falling off. I guess these things do happen!
#Pebble Round 2 - Production Update and Timeline
My current favourite watchface - Chronology II by Nicholas Jitkoff
I posted a mini-update on Pebble Round 2 in June - we weren’t able to start mass production in May because of a cosmetic problem with the stainless steel bottom case (an extra indentation made by the CNC milling machine). Since then the factory has received a new version of the bottom case and things are looking much better! In parallel, we’ve been running extensive environmental testing (including drop testing).
At the beginning of July, we shipped out more Pebble Round 2 watches to lucky folks who signed up for the beta test. Thanks for your help finding and testing fixes for bugs in PebbleOS!
Our plan (as of today July 14 - subject to change) is to start mass producing Round 2 watches during last week of July. We’ll start ramping up production slowly and carefully. Roughly 14,000 people have pre-ordered Round 2. It will take us about 2 months to build all pre-ordered watches. We expect to finish shipping out all pre-ordered Round 2 watches by the end of September.
If you preordered Round 2 on rePebble.com/watch, we’ll send you an email roughly 2 weeks before your watch is ready to ship asking you to confirm your address, add optional accessories to your order and pay any additional taxes due. If you haven’t already selected your watch colour, please do so on orders.rePebble.com.
Each Round 2 pre-order includes a silicone watch strap and charger. We’ve also created beautiful custom leather straps for PR2 ($20 – 30), including brown or black soft leather straps that feel very similar to the straps we made for the original Pebble Time Round.
#Index 01 - Production Update and Shipping Timeline
Since our last update, we expanded our beta test and learned a lot from the hundreds of willing test subjects. Thank you for your service and bug reports!
Index 01 is now officially in mass production! We’ve assembled several thousand rings so far, and have gradually begun shipping them out. Schedule has slipped slightly from our last estimate (early August), we’re now aiming to ship out nearly all pre-orders by the end of August, except for a few unlucky size/color variants that will ship in September.
#⚠️ Important Note For Index 01 Pre-orderers ⚠️
We’ve received reports from testers that Index 01 may feel every so slightly smaller than the ring sizers. Please take the time now to recheck your ring size with the ring sizer kit. If the ring sizer feels tight on your finger, is hard to get on/off, or if you cannot easily clench your hand with the sizer on, please change your size to the next larger size. When in doubt, order a larger size. You can always adjust a larger Index 01 to feel smaller with a foam adhesive or clip but you can’t make it larger!
If you preordered Index 01 on rePebble.com/index, we’ll send you an email roughly 2 weeks before your ring is ready to ship asking you to confirm your address and pay any additional taxes due. If you haven’t already selected your Index 01 size and colour, please do so on orders.rePebble.com.
Index 01 has changed my life. There’s no way I could go back to a world without external memory for my brain. And this is just the beginning, Index 01 software is improving every single day. I excited to hear what you think of it!
Loading metrics
Loading metrics
Open Access
Peer-reviewed
Research Article
Emina Aličković,
Johannes Zaar,
Alejandro López Valdés ,
Giovanni M. Di Liberto
Competing speech streams are simultaneously represented in the human cortex during attention switching
Sara Carta,
Emina Aličković,
Johannes Zaar,
Alejandro López Valdés,
Giovanni M. Di Liberto
x
Published: July 16, 2026
https://doi.org/10.1371/journal.pbio.3003876
Figures
Abstract
Successful speech communication in multi-talker scenarios requires a skillful combination of sustained attention and rapid attention switching. While the neurophysiology literature offers detailed insights into the neural underpinnings of sustained attention, there remains considerable uncertainty on how attention switching takes place. In this study, using EEG recordings from normal-hearing adults in an immersive multi-talker environment, we measured the neural encoding of two competing speech streams amid background babble. Participants were cued to switch attention between streams every 15 – 30 s. Neural tracking was assessed via Temporal Response Functions (TRF), confirming reliable decoding of attentional focus. Our results indicate asymmetric disengagement and engagement processes during attention switches, where the neural tracking of the new target stream emerges before disengaging from the previous target, revealing a transient simultaneous encoding of two speech streams. That transition was closely mirrored by a reduction in EEG alpha power, informing on the cognitive effort during different phases of the attention switch. We then isolated cortical activity reflecting lexical prediction mechanisms to determine how lexical context is updated after an attention switch, comparing four context-accumulation strategies that were constructed using Large Language Models. Our findings elucidate both the temporal and contextual mechanisms underlying auditory attention shifts, pointing to the possibility that listeners carry out a reset in lexical context after switching attention. By focusing on dynamic attentional reallocation, this study offers insights into the brain’s capacity for flexible speech processing in complex listening environments.
Citation: Carta S, Aličković E, Zaar J, López Valdés A, Di Liberto GM (2026) Competing speech streams are simultaneously represented in the human cortex during attention switching. PLoS Biol 24(7): e3003876.
https://doi.org/10.1371/journal.pbio.3003876
Academic Editor: Manuel S. Malmierca, Universidad de Salamanca, SPAIN
Received: July 3, 2025; Accepted: June 12, 2026; Published: July 16, 2026
Copyright: © 2026 Carta et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All data supporting the findings reported in this manuscript are freely accessible without restriction. The EEG pre-processed dataset, the resulting analysis files, and the analysis code are publicly available on the open repository Zenodo (https://zenodo.org/records/20569817). The EEG recordings are provided following the Continuous-event Neural Data (CND) format standard. The associated speech stimuli can also be found in the same repository, within the STIMULI folder.
Funding: S.C., A.L.V., and G.D.L. were supported by the William Demant Fonden (https://www.williamdemantfonden.dk/), under grants 21 – 0628 and 22 – 0552, and by Taighde Éireann — Research Ireland (https://www.researchireland.ie/) under grant No. 18/CRT/6223. G.D.L. additionally conducted this research with the financial support of Research Ireland at ADAPT, the Research Ireland Centre for AI-Driven Digital Content Technology (https://www.adaptcentre.ie/) at Trinity College Dublin [grant 13/RC/2106_P2]. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Abbreviations: EEG, electroencephalography; EOG, electro-oculography; EMG, electro-myography; ERSP, event-related spectral perturbation; iEEG, intra-cranial electroencephalography; FDR, false discovery rate; fMRI, functional magnetic resonance imaging; ICA, Independent Component Analysis; IQR, interquartile range; LLM, large language model; MEG, magnetoencephalography; PSD, power spectral density; RMS, root-mean-squared; SE, standard error; SEM, standard error of the mean; SNR, signal-to-noise ratio; SPL, sound pressure level; TRF, Temporal Response Functions
Introduction
To understand speech in multi-talker environments, listeners single out the target speaker from competing sound streams [1 – 3]. The neurophysiology of this selective attention process has been widely studied with simulated cocktail-party scenarios [4,5], shedding light on how our brains segregate a target stream from competing speech streams, and enabling the transformation of the target speech into linguistic meaning. While the extent to which masker speech streams are processed remains highly debated [6 – 8], there is no doubt that there are considerable differences between the processing of target and masker speech, which have been measured with various technologies, such as non-invasive electroencephalography (EEG) [1,9], intra-cranial electroencephalography (iEEG) [10], magnetoencephalography (MEG) [3,11] and functional magnetic resonance imaging (fMRI) [12,13]. That work could pinpoint precise loci in the auditory cortical areas where that segregation emerges [14] as well as measuring the substantial (but not total) suppression of linguistic processing for the masker speech [1,15 – 17]. However, neurophysiology literature in this field has almost entirely focused on sustained attention tasks [2,10], leaving considerable uncertainty on the neural underpinnings of attention switching.
Dynamic switching paradigms have been widely used in the domain of cognitive control studies to probe for cognitive flexibility and cognitive stability [18]. In those experiments, participants are often required to flexibly adapt their behavioral response depending on new instructions, initiating a task-switch [19 – 21]. For example, given a single digit, they are required to classify it either based on parity, i.e., whether it is even or odd, or based on relative magnitude, i.e., whether the digit is greater than or less than 5 [22]. In these paradigms, the switch-cost is the increase in reaction time or error rate when switching from one task to the other. Similar behavioral paradigms have also involved simple speech stimuli in multi-talker settings [23 – 25]. However, the main interest of those tightly controlled experiments was to model the process of target speech selection as one particular instance of a task-switching problem, i.e., target stream selection could either depend on spatial location or voice identity [23], rather than focusing on the dynamic aspect of attention re-allocation per se in naturalistic multi-talker scenarios. As such, very little is known on how a flexible reorienting of attention might impact speech processing of continuous competing streams.
In recent speech neurophysiology research, experimental paradigms have started to include switches of attention as a tool towards tailored EEG/MEG methodological advances in the domain of attention decoding [26,27], or to investigate how sustained speech attention unfolds for moving auditory objects [28]. However, to the best of our knowledge, only one previous study has specifically focused on the neurophysiology of attention switching in multi-talker scenarios, relating the neural encoding of speech during attentional re-orienting with EEG alpha activity and pupil dilation dynamics [29]. Those findings proved that the neurophysiology of attention switching can be studied non-invasively. Building on that work, our study sheds light on the exact neural dynamics supporting the steering of attention between two competing speech streams, disengaging from the previous target stream while engaging to the new one.
In this study, we measure the neural encoding of speech using a range of encoding window lengths, as listeners steer their attention from one speaker to another. We test whether engagement with a new speech stream begins before disengagement from the previous target is complete, resulting in a brief period of simultaneous tracking of both streams. Such an asymmetry in the disengagement-engagement processes, even if transient, could support the ability to explore alternative auditory streams while maintaining attention to a given stream [30].
The neural encoding of speech was measured from normal-hearing adult participants using EEG during an immersive multi-talker listening task. Participants were exposed to two competing speech streams from TED talks, presented via two front-facing loudspeakers, while background noise from a 16-talker speech babble played from rear loudspeakers (Fig 1A). An on-screen arrow cued participants to attend to one of the two speech streams and to shift their attention rapidly whenever the arrow changed direction, approximately every 10 – 30 s (Fig 1B). Neural tracking of target and masker speech was quantified using the Temporal Response Function (TRF), describing the linear relationship between each speech stream and the neural responses. As an initial validation, we confirmed that the attended stream could be reliably decoded from the EEG, consistent with the extensive literature on sustained attention [9,10,31]. This confirms that the EEG responses in this experiment reflects differential encoding of target versus masker speech (Fig 1C).
Fig 1. Experiment overview and validation.
(A) Participants were presented with speech from two loudspeakers placed in front of them with 60° of separation (30° left and 30° right), and with concurrent 16-talker background noise (B1–B4). In each trial, the screen presented an arrow pointing to the target speech stream. Participants were instructed to switch attention as soon as the visual cue changes direction. (B) Schematic diagram of one experimental trial. The black area represents blocks of attention either to the left (L) or right (R) front streams. The red arrows indicate the instants where the attention cue switches side (six times per trial). Note that block duration was randomized and always between 15 and 30 s, with trials lasting 3 min. (C) EEG data validation was carried out by running an attention decoding analysis. Progressively longer decoding windows were considered (larger windows use more data, typically leading to more accurate decoding scores). Binary classification scores are reported arbitrating between the target and masker streams. The dashed line indicates the 95th percentile of a random distribution calculated by randomizing the classification labels. Statistically significant attention decoding classification scores were measured for all the decoding windows considered, with numerical results comparable with previous studies on selective attention [31,34,35]. Data supporting this figure is available at: https://zenodo.org/records/20569817.
https://doi.org/10.1371/journal.pbio.3003876.g001
We next addressed two fundamental questions about the neural mechanisms underlying attention switching in naturalistic listening. First, we asked whether the processes of engaging with a new speech stream and disengaging from a previous one unfold symmetrically (Figs 2 and 3). To test this, we fit encoding TRF models to EEG data, measuring the neural tracking of the two competing speech streams over time. This allowed us to characterize the average encoding dynamics surrounding attention switches, comparing disengagement and engagement processes. The second objective was to understand how our brains update and use lexical context when switching attention (Fig 4). Building on previous work showing that speech comprehension is supported by contextual predictions [32,33], we formulated four competing hypotheses reflecting different assumptions about how linguistic context is preserved, reset, or selectively updated across an attention switch. Using a state-of-the-art large language model (LLM), we derived quantitative predictions for each hypothesis, resulting in four regressors for lexical surprisal and entropy, separately, differing in their sensitivity to prior context and to the occurrence of the switch. Encoding TRF models were then fit for each hypothesis, allowing us to compare alternative context-accumulation strategies and identify the model most consistent with the observed neural responses. This study provides substantial new insights into the temporal unfolding and contextual mechanisms guiding attention switching, encompassing both low and high levels of speech abstraction.
Fig 2. The attention-switching cue prompts a robust disengagement from Speaker 1 and engagement to Speaker 2, and it is followed by a significant decrease in the EEG alpha ERSP.
Disengagement has longer temporal dynamics compared to engagement. (A) Left: Speech tracking encoding for an attention switch from Speaker 1 and 2. The trajectory in the panel represents our null hypothesis, where the disengagement and engagement processes progress in a symmetric manner after the switch-cue (vertical gray line). Right: Results for the neural tracking of Speaker 1 and Speaker 2 across the switching cue. EEG prediction correlations (average across all channels) obtained from a 4-s sliding-window TRF model including Envelope (Env), Word Onset (WO) and Word Surprisal (WS) features. Coloured horizontal bars at the bottom of the plot indicate the attention instruction around the attention switching cue. The turquoise dot indicates the encoding switch of EEG prediction correlations based on Spk1- and Spk2- speech features. The piecewise linear model fit for disengagement and engagement is overlayed on the EEG prediction correlation values. Please note that the broken-line-fit in this plot was performed on the grand-average cortical tracking curves here for illustrative purposes. Please find the estimates at the single-participant level in Panel C. Hexagram shapes indicate the start of the disengagement (blue) and engagement (yellow) processes, while diamonds represent the end of the transitions. (B) Left: Diagram of expected results for alpha-band ERSP (event-related spectral perturbation) across the switching cue. Right: ERSP of the alpha band (8 – 12 Hz) around the switching cue (average of all channels), computed with a 4-s sliding window, as above. Scalp topographies at selected time points reveal a pattern of posterior negativity, which drops significantly following the instruction to switch (thick black lines indicate a statistically significant change compared to pre-switch baseline). The red dot represents the average of ERSP minima across participants. The shaded area represents the standard error of the mean (SEM) across participants. (C) Left: Comparison of encoding switch of EEG prediction correlations (turquoise bar) and alpha ERSP minimum (red bar) for a 4-s sliding window. The alpha ERSP reaches its minimum significantly after the Spk1-Spk2 encoding switch point. Right: Comparison of temporal dynamics for start and end points of disengagement and engagement processes, with start/end transition points estimated at the single-participant level. Stars indicate significant statistical effects (paired sample t-tests; *p ≤ 0.05; **p ≤ 0.01; **p ≤ 0.001). Data supporting this figure is available at: https://zenodo.org/records/20569817.
https://doi.org/10.1371/journal.pbio.3003876.g002
Fig 3. Comparing the start and end transition points for the disengagement and engagement processes after the attentions switching cue.
The process of engaging to a new speaker begins and ends significantly earlier than disengaging from the previously attended speaker. (A, B) Start and end points of the transition for the disengagement (blue) and engagement (yellow) processes over five TRF sliding window lengths. Error bars represent SEM across participants. Stars indicate significant effects of process type (two-way repeated measures ANOVA; *p ≤ 0.05; **p ≤ 0.01; ***p ≤ 0.001). Data supporting this figure is available at: https://zenodo.org/records/20569817.
https://doi.org/10.1371/journal.pbio.3003876.g003
Fig 4. Investigating lexical prediction mechanisms during attention switching.
(A) Layout of the four context models. Blocks coloured in black illustrate sustained attention either to the Left or Right stream, while orange arrows indicate attention switching cues. The thick red arrow indicates the context used to guide word predictions for the current block (B7, highlighted in orange). (B) Average lexical entropy at words preceding and following the attention switch cue. Note that no value for entropy is displayed in the Reset model for the first word after the switch, due to the context being fully reinstated. (C) EEG prediction correlations for the four multivariate TRF models, only differing in their entropy feature. Coloured dots indicate the average across all electrodes and participants. The gray area at the bottom represents the average encoding accuracy of a multivariate TRF without any semantic information (Envelope + Word Onset). Stars represent statistically significantly greater EEG prediction correlations for the Reset model compared to the other models (Significance levels: *p < 0.05, **p < 0.01, ***p < 0.001). Topographical patterns illustrate the gain due to semantic information (compared to the Envelope + Word Onset TRF) for the four models. (D) (Left) TRF weights for the entropy feature at time-lags between −100 and 600 ms relative to stimulus onset. Transparent shaded areas represent the standard error of the mean (SEM) across participants. The horizontal black line indicates the time window employed to compute the average TRF-N400 amplitude. (Right) Boxplots representing the distribution of the TRF-N400 amplitude across participants for the four context models. The central line within each box represents the median, while the edges of the box indicate the interquartile range (IQR). Whiskers extend to the most extreme data points within 1.5 times the IQR from the quartiles. Outliers are plotted as individual points beyond the whiskers. Stars indicate statistically significant differences (Significance levels: *p < 0.05, **p < 0.01, ***p < 0.001). Data supporting this figure is available at: https://zenodo.org/records/20569817.
https://doi.org/10.1371/journal.pbio.3003876.g004
Results
Behavioral performance
Following each trial, participants were first presented with a four-alternative forced-choice question about the content of the attended speech stream to confirm task engagement. Behavioral performance revealed that they were able to successfully reply to content-related questions, with an average accuracy of 86.3% (SEM 2.6%). Participants were also required to indicate their preference between left and right streams, which was found to be overall balanced, with the left stream selected in 49.79% of the trials, on average (SEM 1.7%). Finally, perceived difficulty of the attention switch for every trial was measured by asking participants to rate it on a scale from 1 (very easy) to 5 (very hard). The average difficulty of the switch was judged to be 3.1 out of 5, with a SEM across participants of 0.11 points. Due to technical issues, behavioral data for one of the 24 participants was not available, therefore behavioral performance was computed based on the data from the remaining 23 participants.
Decoding of selective auditory attention in a dynamic switching scenario
Participants’ attention was decoded with a backward TRF analysis, describing the relationship between the EEG signals and the envelope of the target speech. For each left-out trial, the speech envelope reconstructed from the target decoding model was correlated with the envelopes of both the left and right speech streams. Attention was classified by determining which speech stream’s envelope showed a higher correlation with the reconstructed envelope. Since this was a dynamic attention-switching scenario, the attended speech could alternatively correspond to the left or the right stream. Classification was considered correct when the reconstructed envelope correlated more strongly with the target speech envelope than with the masker envelope. Classification accuracy was then computed as the proportion of instances where this criterion was met. To establish chance performance, left and right labels were randomly shuffled 100 times for each decoding window. As shown in Fig 1C, the longer decoding windows led to higher classification performances. However, even with a 1-second window, classification accuracy was significantly above chance level, and all decoding windows yielded classification rates significantly above the 95th percentile of its chance distribution (paired two-tailed t test, FDR-corrected for multiple comparisons for windows of 1 s, 2 s, 4 s, 8 s, 16 s, 32 s, respectively: p = 0.47e−9; 0.53e−9; 0.27e−9; 0.24e−9; 0.24e−9; 0.24e−9). These findings align with previous work decoding sustained attention or employing match-vs-mismatch classification metrics [9,31,36], and confirm that a classification based on the envelope reconstruction can reliably track selective attention even during attention switches.
Neural tracking of competing speech streams in a dynamic switching scenario reflects the listener’s focus of attention and is related to changes in alpha ERSP
A multivariate TRF analysis was carried out to characterize the neural tracking of two competing speech streams in a setting where participants were instructed to dynamically switch their attention between the two streams. Single-subject TRFs were trained on the target stream and tested on both speakers (i.e., Spk1 and Spk2) using a multivariate speech representation that included Envelope, Word Onset and Word Surprisal features (for more details see Methods). EEG prediction correlations were computed using a sliding window to correlate true and predicted EEG signals over time, with a leave-one-out cross-validation procedure and were averaged across all EEG channels. Importantly, because these correlations are computed using sliding windows, the resulting switch timing depends on the sliding window length. As such, the temporal dynamics deriving from our analyses do not reflect the exact timing of the underlying neural processes, and they should always be interpreted with the caveat of the sliding window length.
In order to analyze robust switching dynamics, we selected 21 participants displaying a reliable attentional bias over the course of the switch, based on an above-chance classification accuracy criterion (>50%) over the course of the switch. In doing so, we removed participants for whom the start and end points of the (dis)engagement could not be estimated (note that this exclusion is determined before identifying the start/end estimates; in that sense, this is different from an outlier removal, which would exclude extreme start/end values instead).
Aligning with our expectation (Fig 2A), EEG prediction correlations around the switching cue reflected tracking of Spk1 and Spk2 streams consistent with the attention instructions, such that Spk1 was significantly more tracked than Spk2 before the switch, while the reverse pattern was observed after the switch (paired two-tailed t test of Spk1-Spk2 difference against zero, FDR-corrected for multiple comparisons, p < 0.005).
As the attention switch unfolds, also the grand-mean ERSP in the alpha frequency band displayed a statistically significant change compared to baseline (one-sample t test against zero, FDR-corrected for multiple comparisons), revealing a pattern of occipito-parietal negativity in the scalp topographies (Fig 2B). This is consistent with our expectation of an impact of attentional reorientation on the EEG alpha band, which has already been shown to reflect attention switching behavior in competing speech listening scenarios [29].
EEG prediction correlations for Spk1 and Spk2 converged, before significantly separating again once the switching process was concluded and, presumably, the attention was fully reallocated. Here, we refer to the time point when EEG prediction overlaps between Spk1 and Spk2 as the encoding switch point. Given the observed statistically significant drop in alpha ERSP, we asked how the temporal dynamics of this drop compared to those of the EEG prediction correlations. To address this, for each participant, we identified the time of the alpha ERSP minimum, and the encoding switch point, based on an encoding window of 4s (Fig 2C). The choice of this particular encoding window for our main analysis is justified based on the classification accuracy results (Fig 1C), since it is a good compromise between temporal resolution and classification performance. However, the same pattern of results holds when considering multiple encoding windows simultaneously (S1 Fig). A paired t test comparing the temporal dynamics of the alpha ERSP and the EEG prediction correlations showed that the minimum of the alpha ERSP drop significantly follows the encoding switch point (t(20) = 4.29, p = 3.59e-4, Cohen’s d = 0.94).
We then evaluated multiple encoding window lengths, assessing the effect of Metric (encoding switch versus ERSP minimum) and Window (1, 2, 4, 8 s) on the timing of the encoding switch and the minimum of the alpha ERSP with a 2-way repeated measures ANOVA. The analysis revealed that the temporal dynamics of both encoding switch and alpha ERSP minimum became longer as the encoding window length increased (F(1.68, 33.55) = 52.77, p = 2.3e−10, ηp2 = 0.72; a Greenhouse-Geisser’s correction applied due to sphericity violation), which is unsurprising given the methodological constraints we discussed (see Methods). More interestingly for our question, a statistically significant effect of Metric emerged (F(1,20) = 20.26, p = 2.18e−4, ηp2 = 0.5), with the alpha ERSP minimum occurring significantly later than the encoding switch across a range of encoding windows (Holm-corrected post-hoc t test: t(20) = 4.5, p = 2.18e−4, Cohen’s d = 0.97).
Dissecting the temporal dynamics of attentional disengagement and engagement during attention switching
The attention switching cue prompts the listener to reallocate their attention from the previously attended speaker, Spk1, to the newly attended speaker, Spk2. While this re-routing of attention appears to be a single, unified process, it is possible to distinguish two separate operations that are necessary for it to happen: disengagement, which we define as the decrease in neural tracking for the previously attended speech stream, and engagement, which we define as the increase in neural tracking for the previously unattended speech stream. Our goal was to clarify the temporal dynamics of these two operations to understand whether they occur fully in parallel, serially, or with a certain degree of overlap. It is worth noting that, due to the use of sliding encoding windows, the estimated temporal dynamics of engagement and disengagement do not reflect the exact time course of the underlying neural processes and should be interpreted as relative, rather than absolute, temporal metrics. As in the previous analysis, we first selected participants displaying a reliable attentional bias over the course of the switch (see Methods). For this selection of 21 participants, we fitted a piecewise linear regression on single-subject EEG prediction correlations, and found the optimal breakpoints, corresponding to the start and end time points of disengagement and engagement (Fig 2C). As above, we chose to focus on an example window of 4 s and later replicated our results on a range of encoding window lengths. To further characterize the spatial patterns of engagement and disengagement processes, scalp topographies of the EEG prediction correlations at selected time points are shown in S2 Fig, indicating that the most predictive channels were predominantly located over central-parietal regions. Disengagement and engagement processes were compared separately based on their start times and end times, revealing consistently earlier temporal dynamics for the engagement compared to the disengagement. Engagement to the newly attended speaker started significantly earlier than the disengagement from the previously attended speaker (paired-sample t test: t(20) = 2.37, p = 0.03, Cohen’s d = 0.52), and finished significantly earlier (paired-sample t test: t(20) = 2.35, p = 0.03, Cohen’s d = 0.39).
We then extended our analysis to a range of sliding window lengths and compared start times and end times for disengagement and engagement processes, including Window (1, 2, 4, 8, 16 s) and Process (disengagement versus engagement) as main factors in a repeated measures ANOVA. Regarding the start points (Fig 3A), our analyses revealed an expected statistically significant effect of Window (F(1.51,30.14) = 9.7, p = 0.001, ηp2 = 0.33; the assumption of sphericity was not met; hence, a Greenhouse–Geisser’s correction was applied), with longer temporal dynamics corresponding to longer encoding window lengths. More importantly, we also observed a significant main effect of Process (F(1,20) = 5.48, p = 0.03, ηp2 = 0.21), with engagement to the newly attended stream starting significantly earlier than the disengagement to the previously attended stream (Holm-corrected post-hoc t test: t(20) = 2.34, p = 0.03, Cohen’s d = 0.54). The same statistical analysis was repeated separately on the end time points of disengagement and engagement processes (Fig 3B), revealing once again a main effect of Window, whereby longer encoding windows yield longer temporal transitions (F(1.97,39.32) = 31.76, p = 7.2e−9, ηp2 = 0.61; the assumption of sphericity was not met; hence, a Greenhouse–Geisser’s correction was applied). A significant main effect of Process also emerged (F(1,20) = 4.46, p = 0.047, ηp2 = 0.18), revealing that the process of engagement to the newly attended speaker, not only starts, but also ends significantly earlier than the disengagement (Holm-corrected post-hoc t test: t(20) = 2.11, p = 0.047, Cohen’s d = 0.58).
A follow-up analysis including the three participants with lower-than-chance classification accuracy around the switching cue confirmed that these data points introduced noise to the estimation of engagement and disengagement latencies. This was expected, as the start and end transition points cannot be determined in those participants. The patterns observed were qualitatively similar to the main result reported above, with earlier temporal dynamics for the engagement compared to the disengagement, albeit with weaker effects below the statistical significance threshold (repeated-measures ANOVA; start point: F(1,23) = 2.69, p = 0.11, ηp2 = 0.1; end point: F(1,23) = 2.96, p = 0.1, ηp2 = 0.11).
Determining how lexical predictions are built during attention switching
Reorienting attention to a different speech stream implies a change of context and, consequently, different semantic priors for lexical predictions. We thus hypothesized that incorporating this change of context into the structure of our semantic regressor in a multivariate encoding TRF model would increase EEG prediction correlations, as it would better reflect the dynamically updating neural tracking of the competing speech streams. We compared four alternative models representing how context could be incrementally accumulated for performing lexical predictions at one particular attention block (e.g., B7, in Fig 4A). A naïve Oracle model, which uses all available context of previous blocks from the current stream, whether attended or unattended, to predict words from the current block, served as our baseline, since it was essentially a switch-unaware contextual representation. Speaker-Specific and Attention models were instead switch-aware models, as they only considered previously attended blocks as part of the context for lexical predictions. Speaker-Specific assumed a higher degree of stream segregation, since its context only consisted of previously attended blocks from the same speech stream, while Attention included any previously attended block from both streams. The Reset model instead ignored all previously attended blocks from any of the streams and computed context only over the course of the current block of attention, as if the priors for lexical predictions were reset at each attention switch (Fig 4A).
As lexical entropy is a proxy of uncertainty for next-word prediction, its values should be impacted by a switching cue, which determines an abrupt change of context. Fig 4B shows the change of average lexical entropy values in words preceding and following the switch cue, which vary depending on the context models. It can be observed that the Reset model peaks with the highest uncertainty and slowly decays over the course of the next words, while the Attention and Speaker Specific models have overall similar lexical entropy dynamics and more stable values. Consistently with its switch-unaware nature, the Oracle model instead displays entropy values that are largely unchanged despite the switch. An explicit comparison of the average entropy values of the four context-accumulation strategies revealed statistically significant differences (repeated-measures ANOVA, Greenhouse-Geisser correction due to sphericity violation; F(1,19) = 39.57, p = 9.59e−10, ηp2 = 0.68). Post-hoc pairwise tests (Holm-adjusted) indicated that the Reset model showed an intermediate average entropy, significantly higher than the Oracle model (t(19) = 5.75, p = 1.44e−6, Cohen’s d = 0.45), and significantly lower than the Attention (t(19) = 4.64, p = 6.28e − 5, Cohen’s d = 0.36) and Speaker-Specific (t(19) = 2.24, p = 0.04, Cohen’s d = 0.17) models. As such, despite showing the highest peak following the attention switching cue, the Reset model had overall intermediate entropy values across the four lexical expectation models considered here.
Lexical surprisal and lexical entropy were used as semantic information regressors for each context model and separately included in a multivariate stimulus representation to fit single-subject encoding TRFs (Envelope-Word Onset-Word Surprisal and Envelope-Word Onset-Word Entropy). Resulting TRF weights and EEG prediction correlations were then compared across context models, with the hypothesis that switch-aware and context-rich representations (e.g., Speaker-Specific or Attention) would best describe neural activity in attention-switching scenarios.
Before comparing the context models, we first tested whether each of them yielded a significant encoding accuracy gain compared to the baseline model only consisting of acoustic features (Envelope and Word Onset). When using entropy as a regressor for semantics, all models, with the exception of Oracle, showed a statistically significant gain, suggesting a robust tracking of semantic information in addition to the stimulus acoustics (paired t-tests: Oracle versus Acoustics: p = 0.2; Spk.Spec. versus Acoustics: p = 0.04; Attention versus Acoustics: p = 0.04; Reset versus Acoustics: p = 0.002). Employing word surprisal as semantic regressor yielded similar results, with all the models showing a robust encoding of semantic information, apart from Oracle (paired t-tests: Oracle versus Acoustics: p = 0.15; Spk.Spec. versus Acoustics: p = 0.02; Attention versus Acoustics: p = 0.02; Reset versus Acoustics: p = 0.01). The non-significant gain of the Oracle model compared to the acoustic model was expected, since Oracle was designed as a control switch-unaware model.
In contrast to our expectation, the Reset context model was shown to yield higher EEG prediction correlation values when entropy was used as a regressor for semantics (Fig 4C). A repeated measures ANOVA revealed a statistically significant effect of the main factor, Context Model (F(2.1,47.75) = 9, p = 4e−4, ηp2 = 0.28; with Greenhouse-Geisser’s correction). In the Holm-corrected post-hoc tests, the Reset model was shown to yield significantly higher encoding accuracies than Oracle (t(23) = 4.99, p = 2.63e−5, Cohen’s d = 0.14), Speaker Specific (t(23) = 3.73, p = 0.002, Cohen’s d = 0.1), and Attention (t(23) = 3.28, p = 0.006, Cohen’s d = 0.09). We then assessed the difference of TRF weights for the entropy feature across the four context models (Fig 4D), averaging the weights’ amplitude within a window broadly centered around the TRF-N400 latency (350 – 550 ms). A repeated measure ANOVA was run on the weights’ amplitude values, revealing a main effect of Context Model (F(3,69) = 15.51, p = 8.2e−8, ηp2 = 0.4). Post-hoc tests (Holm-corrected) showed that weights for the Reset model had lower TRF-N400 amplitude compared to Oracle (t(23) = −5.56, p = 2.4e−6, Cohen’s d = 0.45), Attention (t(23) = −5.84, p = 9.2e−7, Cohen’s d = 0.47), and Speaker Specific (t(23) = −5.24, p = 6.5e−6, Cohen’s d = 0.43).
When fitting a multivariate TRF including lexical surprisal as a semantic regressor, we observed a statistically significant difference in EEG prediction correlations between the four context models (F(1.59,36.6) = 3.96, p = 0.04, ηp2 = 0.15, with Greenhouse–Geisser correction). Post-hoc analyses indicated a statistically significant difference between the Reset and Oracle models (t(23) = 3.18, p = 0.013, Cohen’s d = 0.1), while all other post-hoc pairwise comparisons did not reach the significance threshold (p < 0.05). Similarly, no statistically significant difference emerged when comparing the TRF-N400 amplitude of the models’ TRF weights.
Discussion
Speech communication in multi-talker environments requires a skillful combination of sustained attention and rapid attention switching abilities [5,30]. While the neurophysiology of sustained speech attention has been widely studied [1,9,37,38], less is known about the neural mechanisms of attention switching. Here, we fill this gap with a tailored EEG experiment examining the neurophysiology of attention switching across different levels of speech abstraction. In doing so, we (1) demonstrated an experimental paradigm that can successfully probe both sustained attention and attention switching mechanisms; (2) successfully dissected disengagement and engagement processes with a high temporal resolution, identifying substantial asymmetries in their temporal unfolding and a transient simultaneous encoding of two speech streams; and (3) proposed a neurophysiologically plausible explanation of how our brains update and use lexical context when switching attention.
The findings in this study have several implications for our understanding of speech attention switching mechanisms. The asymmetry measured between disengagement and engagement processes highlights the importance of studying the two processes separately. That distinction was often not considered in previous studies on sustained attention, which often focused on measures of attention bias or classification [10,31,34,39]. The effectiveness of such decoding metrics has been a driving force for research on brain-computer interfaces such as cognitively-controlled hearing devices [40 – 43]. Our finding highlights that encoding metrics enable a sufficient level of detail for disentangling how the encoding of different streams evolves over time. Here, we measured an asymmetry between disengagement and engagement processes during attention switching in a very specific scenario. Indeed, it will be important to determine how that relationship is modulated by factors such as cognitive load, aging, cognitive abilities, hearing difficulties, interest in the speech content, frequency of attention switches in a trial, among many others. Of course, future work should also scrutinize how the specific nature of the task might impact that phenomenon.
Sustained attention tasks, where participants focus on a target speech while ignoring the masker [2,44], involve a quite particular scenario where listeners have no incentive to monitor unattended streams. In real-life situations, however, listeners may have reasons to explore alternative speech streams, for example, due to a lack of interest in the current speaker. Our experimental paradigm more closely mirrors this scenario. Although the instructed nature of the task makes it less realistic, the paradigm incentivises monitoring the masker and being ready to rapidly switch attention, which contrasts with sustained attention tasks. While the asymmetry observed may be specific to this experimental paradigm, the result indicates that our brains can engage with a new target even before starting the disengagement from the previous one, leading to a transient simultaneous tracking of the two streams, compatible with auditory scene monitoring mechanisms [45,46]. In other words, there is a brief period, following an attention switch, where the tracking of a new stream begins to emerge without altering the tracking of the previous stream. The engagement and disengagement latencies are window-dependent and, as such, are not intended as absolute neural timings. Nonetheless, the engagement-disengagement asymmetry is robust to the selection of the sliding-window length (Fig 3) and cannot be explained by the temporal smoothing introduced by the window or by trial- and participant-averaging. The temporal smoothing could, in principle, temporally stretch the engagement-disengagement dynamics, but not generate an asymmetry. Future research could investigate the variability across trials and participants to better characterize these temporal dynamics. Within the dorsal–ventral attention framework [47,48], attention reorienting results from the flexible interplay of the goal-directed dorsal network and the stimulus-driven ventral network. Our finding of an engagement-disengagement asymmetry aligns with this view of an integrated process of attention release and reallocation, with potentially overlapping neural dynamics.
Intuitively, maintaining a transient parallel representation of multiple speech sources during attention switching is an efficient neural processing strategy. It allows the flexibility to switch back to the previous stream, if necessary, without fully committing to the newly attended speech immediately. This phenomenon supports previous claims that our brains can process speech maskers beyond the acoustic level, encoding linguistic properties to some extent [7,8,16]. Unattended speech streams are also represented in human cortical activity, with evidence for lower encoding strengths or longer time latencies than the target stream [1,49,50], and with a gradient of attentional bias from primary to nonprimary auditory cortex [13,14], whereby the unattended stream encoding tends to be substantially reduced or not measurable in higher-order cortical areas [51,52]. Prior research has shown that not only the speech envelope, but also other key features of the unattended speech, such as acoustic onsets, are neurally represented [53,54] and, when not readily available due to speech masking, they are even restored at later temporal scales [55]. One interpretation is that encoding a template structure of the unattended speech might be a useful strategy to suppress it [53]. Other research found attentional fluctuations corresponding to the changes in Target-Masker relative sound energy, with evidence that our brains may encode some phonetic information of unattended streams [56,57]. The encoding of such unattended stream information may be one of the factors facilitating the rapid engagement during attention switching.
Using alpha ERSP as indicator of listening effort, this study related perceptual demands with attention switching dynamics. A large reduction in EEG alpha-band power was measured consistently about 4.5 s after the attention-switching cue. The ERSP trajectory suggests that a strong listening effort persists throughout the attention switch, with a substantial reduction near the end of the switch (Fig 2A). Interestingly, the trough of the alpha ERSP observed in this study roughly corresponds to the moment when the new target stream becomes fully tracked, i.e., when the engagement process is completed, which is well before completion of the disengagement process. Since the attention switching process can be deemed completed when cortical tracking measurements return to pre-switch levels for both streams, this result points to a link between alpha power and the engagement process specifically. Another possibility is that the alpha ERSP dynamics reflect a combination of listening effort while refocusing attention on the new target stream and active suppression of the new masker stream. When the newly attended stream is tracked at pre-switch levels, a sufficient acoustic and linguistic context on that stream may have been accumulated to facilitate the tracking, releasing cognitive resources. Future studies could explore this possibility by examining how the switch difficulty influences the correspondence between cortical tracking asymmetry and alpha ERSP. This finding extends prior research on the neural correlates of selective attention and listening effort. Variations in alpha-band activity have been associated not only with auditory attention effort [58 – 62], but also with variations of internally- versus externally-focused brain states [63], and with the active suppression of irrelevant information in accordance with behavioral goals [64 – 66]. Notably, cognitive load and the inhibition of irrelevant stimuli appear to be even more strongly influenced by attention reorienting than by maintaining attention on a single speaker [29,67], highlighting the increased cognitive demands of switching attention. While alpha power has commonly been linked to subjective listening fatigue [58,60] or the signal-to-noise ratio (SNR) between attended and unattended streams [61], it is less frequently associated with neural markers of speech tracking [68,69]. In this study, we identified a link between the temporal dynamics of neural speech tracking and listening effort, suggesting a potentially valuable metric for future research into attention-switching challenges.
While cortical tracking and alpha ERSP metrics can be used to investigate how attention is dynamically reallocated between competing streams, they do not specify how higher-level linguistic representations are updated during the attention switch. Considering the importance of context in speech comprehension, it is particularly relevant to investigate how it is adjusted while shifting attention from one speech stream to another. Addressing this question requires focusing on neural representations with relatively extended temporal dynamics, which can be meaningfully compared across competing models, and with sufficient distinction from the speech envelope tracking to enable the isolation of related neural signatures. Lexical entropy and surprisal, with their long-latency and widely studied neural signatures, are an ideal choice for characterizing the impact of context on attention switching. Other informative speech properties such as phonology or prosody would also be important to examine; however, their fast temporal dynamics challenge the isolation of their attention-switching dynamics from the speech envelope tracking. We therefore focused on how semantic predictions are updated following an attention switch, modeling whether linguistic context is maintained, reset, or updated during the process.
This study compared four context-accumulation models that varied in their sensitivity to attention switches and access to prior context: an Oracle model (context-rich but switch-unaware), Speaker Specific and Attention models (both context-rich and switch-aware but differing in stream selectivity), and a Reset model (aware of the switch but limited to the current block’s context). For each model, a multivariate TRF was fit using a semantic regressor aligned with the respective context strategy. Our data indicates that the Reset model best predicted EEG data, outperforming models that retained past context and challenging the assumption that prior semantic information aids comprehension during attention switches. This finding was unexpected but one of the possible outcomes that we had hypothesized, and it may suggest that listeners reset context and recalibrate their lexical predictions dynamically when switching attention to a new stream, in line with findings in the episodic memory and event-segmentation literature [70 – 72].
Interestingly, the multivariate TRF analysis revealed fine-grained differences among the four context models when lexical entropy is used as the semantic regressor, but not for lexical surprisal. This may reflect the forward-looking nature of entropy, as opposed to the reactive nature of lexical surprisal. Another consideration is that participants actively performed the attention switch, therefore expecting to encounter different speech material, potentially dampening the surprisal. This was not the case for the LLM model, which did not receive a switch cue. This possible mismatch between LLM and human brain could impact surprisal but not entropy (as that reflects the process of context-building), providing a potential explanation of why the Reset model performs best only for the entropy regressor. For interpreting these results, it is also important to consider that LLMs like Mistral are optimized for next-word prediction, without a requirement of being neurophysiologically plausible. While one interpretation is that our brain’s lexical predictions are built after resetting the context, it is also possible that Mistral LLM and our brains deal with these speech discontinuities in a different way altogether. With these caveats in mind, counter to consistent reports of the similarity between modern LLMs with neurophysiological activity [73 – 75], the higher neurophysiological plausibility of the Reset model suggests that prior context is not availed of by our brains in the way implemented by the competing models, Attention and Spk-Specific.
Other strategies making use of the prior context might also be in place. One possibility is that switching attention prompts a different use of context, for example summarizing its abstract meaning, as the gist of the story [16]. As such, there could be value in exploring different strategies for context representation, for example, by employing Large Concept Models [76], which are trained and optimized for sentence prediction. This latter possibility is also supported by recent work on the accumulation of linguistic context in LLMs and the human brain [77] while listening to continuous monologues, showing that LLMs with a limited context window (32 tokens) and with access to a coarse summary of the previous context predict neural activity better than LLMs with a higher token-memory.
In summary, this study showed that the process of attention switching in a realistic multi-talker scenario can be investigated in terms of its engagement and disengagement components, with a transient parallel representation of the two streams. We highlight the importance of relating metrics of neural tracking of speech with metrics of listening effort and demonstrate that the listening effort starts decreasing following successful disambiguation of the two streams during attentional re-allocation. Finally, we introduce an approach for modeling lexical context of dynamic attention scenarios, showing the sensitivity of transformer-based language models to subtle differences in context accumulation strategies. These findings have implications for future investigations into the cortical mechanisms of attention re-orienting and can be employed to highlight differences across diverse populations in terms of age and hearing levels.
Methods
Ethics statement
Written informed consent was obtained from the study participants. The study was conducted in accordance with the Declaration of Helsinki, and the protocol was approved by the School of Psychology Research Ethics Committee of Trinity College Dublin (ethics approval number: SPREC012023 – 08).
Participants and experimental procedure
We recruited 24 young native English speakers (between 18 and 39 years of age) to take part in the study. Participants had normal hearing, as per a screening pure tone audiogram from 0.25 Hz to 8 kHz and reported no history of neurological or psychiatric disorders and had normal or corrected-to-normal vision.
The experiment simulated a multi-talker scenario (Fig 1A) with a circular array (1.50m radius) of six loudspeakers surrounding the listener (at horizontal angles of ±30°, ±112.5°, and ±157.5° relative to the participant). Participants were instructed to dynamically switch their attention between left and right speech streams in the foreground, following a visual cue (left- or right-pointing arrow) indicating the to-be-attended side, which was displayed at the center of a screen placed in front of them. While switching their attention between the foreground streams, they were also asked to ignore a 16-talker noise played from the four loudspeakers in the background (B1-B4, each of them delivering a 4-talker babble). Frontal streams were presented at 60 dB sound pressure level (SPL) each, while each of the noise babbles was delivered at a level of 54dB SPL, resulting in a 3dB SNR of the foreground relative to the background.
Participants were presented with 20 trials (lasting 180 s each) and had to perform 6 attention switches per trial, occurring at semi-random intervals (Fig 1B). For this reason, blocks of sustained attention to one particular speech stream varied considerably in duration, spanning from 10 to 30 s. For each trial, a different male and female speech stream was played from the left and right loudspeakers in the foreground, counterbalancing throughout the experiment for side of presentation and start of the attention block (i.e., the experiment consisted of five sub-blocks with the following trial sequence: Male Left — Attention Start: Left; Female Left — Attention Start: Left; Male Left — Attention Start: Right; Female Left — Attention Start: Right).
Each trial started with the visual cue pointing towards the to-be-attended side and background noise only, followed by the two foreground speech streams starting simultaneously after 5 s. At the end of each trial, participants answered three multiple-choice questions. First, they were presented with a four-alternative forced-choice question regarding the content of the attended speech stream. As attention alternated between the left and right speech streams over the course of the trial, the question could be about either of the two competing streams. The second question was a binary choice assessing participants’ preference between the two streams (left or right) based on personal interest. Finally, a 5-point Likert-scale question (1: very easy; 5: very hard) was used to quantify the perceived difficulty of the attention switching task. The experiment flow was self-paced and, to minimize fatigue, it included three mandatory breaks, each lasting no less than five minutes, every fifth trial.
Speech streams were presented at a sampling rate of 44.1 kHz, delivered through a Roland Octa-Capture 10 × 10 sound card (24-bit/192 kHz), and played through six PreSonus Eris 4.5BT loudspeakers. Participants’ EEG activity was recorded using a BioSemi ActiveTwo system at a sampling rate of 512 Hz, from 64 electrodes positioned on a standard cap following the International 10/20 system. An active (CMS) and a passive (DRL) electrode were used as reference for all electrodes, and two additional electrodes were placed on the mastoids for offline referencing. For 21 of our 24 participants, we additionally recorded electro-oculography (EOG) and electro-myography (EMG). Two electrodes were placed on the left and right temples to capture horizontal eye movements, and two electrodes were positioned above and below the left eye to record vertical eye movements and blinks. To capture EMG activity related to head rotation, an electrode was placed on the left deltoid muscle. Please note that activity from these external electrodes has not been analyzed as part of this study.
Stimuli
The foreground speech stimuli included 40 TED Talks covering a range of topics, with 20 female and 20 male presenters, each speaking in a variety of English accents. All speech streams were root-mean-squared (RMS) normalized to reduce differences between male and female voices. Each of the 4-talker background babble signals was obtained by summing the audio signals of four separate TED talks. The long-term average spectrum of the babble noise was then adjusted to align with the overall spectrum of both male and female foreground speakers, to prevent inconsistencies in masking.
EEG data preprocessing
Neural data were analyzed with custom scripts in MATLAB software (MathWorks), based on publicly available scripts and resources shared as part of the CNSP initiative (Cognition and Natural Sensory Processing; https://cnspworkshop.net). Neural signals were first band-pass filtered between 0.5 Hz and 8 Hz, using a zero-phase shift Butterworth filters of order 4, and then downsampled from 512 to 64 Hz. Spherical spline interpolation was applied to replace channels that were three standard deviations away from the mean. EEG was then re-referenced to the average of the two mastoid channels.
Speech features
The current study aimed to characterize the neural tracking of a dynamic multi-talker scenario by measuring the relationship between EEG data and various features of the foreground speech stimuli, related to their acoustic and lexical properties. To model the speech acoustics, the audios’ broadband amplitude envelopes were extracted by taking the absolute of the Hilbert transform. In order to model the lexical properties of speech, the transcribed stimuli and their audios were first automatically aligned using the WebMAUS Basic aligner [78 – 80], which identified timestamps corresponding to the start and end of each word. The resulting automatic alignment was saved in the TextGrid format and adjusted manually, when necessary, using the Praat software [81]. The time stamps were then used to build binary word onset vectors in MATLAB. While binary word onset vectors represent information related to word segmentation, they can also be modulated according to each word’s surprisal or entropy value to represent higher-order semantic information. Word surprisal is a measure of how unexpected a word is given its preceding linguistic context, and it can be computed using Large Language Models (LLMs), as the negative logarithm of the probability of that word given the previous context. Word entropy, on the other hand, measures how uncertain or unpredictable the next word is. Here, we used a pretrained open-source LLM, Mistral-7B-v0.1 [82] to extract word probabilities, and then computed lexical surprisal and lexical entropy values for each word.
When considering the dynamic nature of the attention switching task, the definition of what context to include for the current word prediction becomes a non-trivial problem. From the machine perspective, given a word w belonging to, e.g., the left stream, the LLM would predict it more easily when provided with all the available linguistic context from the left stream. However, from the neural/behavioral perspective, since participants were flexibly re-orienting their attention between left and right streams, the optimal context would be impacted by the attention switch and, potentially, store information of previously attended blocks. To compare these context-accumulation alternatives, we represented context according to four alternative representations. A machine-ideal model, Oracle, considers as context all words preceding the current word in one particular stream, whether they were attended or unattended. As such, this model is unaware of the switch of attention. Among more neurally-plausible and switch-aware context accumulation models, we constructed the Attention model, which incorporates as context any previously attended block from both left and right speech streams, and the Speaker Specific model, which displays a speech stream bias, whereby only previously attended blocks of the same stream are included as context for lexical prediction of the current block. Similarly to Attention and Speaker Specific, the fourth model, Reset, is switch-aware, but not context-aware. In fact, it does not keep track of any previous speech block, neither attended nor unattended, and instead resets the context following each attention switch cue.
Temporal Response Function (TRF) and analysis procedure
Quad-rotor drone shots taken low to the ground are difficult: GPS altitude is fairly rough on accuracy, and obstacle avoidance can get significantly more difficult versus just flying over the everything. Cinema rover drones are less common but do get around a number of these problems, especially if the subjects are not high off the ground. As a fan of karting, lightweight contraptions and photography this seems like a pretty good project: Tackle a mechanically stabilized video platform, pilot it remotely and capture some outdoor action.
Taking a look at the Chassis
I picked up this from BMI surplus [link], during an adventure with Jake Hecla [link] and the mysterious Arsenio [link]. For some quick back-story, BMI surplus is this incredibly interesting surplus emporium in Massachusetts, while they do not have tours, you can pick up items that you purchase ahead of time. We were fortunate to get some time to browse inside the incredibly dense arrays of machines, gadgets and gizmos. A lot of this stuff appears to come from Lincoln Laboratory, the friendly neighborhood spooks. I was able to haggle a bit and purchased the mystery RC chassis for ~50 USD + tax, along with some other items.
There was no actual information about this thing, what it was used for, why it had a bizarre Z-Axis linear actuator bolted to the top. I did some digging but was unable to find any write-ups, technical papers or anything about this ‘thing’. Maybe they were surveying, maybe it was a mobile device to take images at the door height of a car? No idea
Fortunately the actuator was a simple DC brushed motor linear actuator, which was easy to control. Behold a scaled dolly shot of this contraption in-action.
There is an animated video here tag.
While this thing was interesting, there was no way that I was going to even try putting a full sized camera gimbal on this thing, so after a few screws the Z-Axis was removed, underneath we see a water-jet plate on, the most comically dubious 4 – 40 standoffs I have ever seen. 4 inch long 4 – 40 stand-offs is wild.
Hardware Mock Up
For the purposes of determining what this could look like, and if it was going to be too unwieldy, I opted to temporarily use the existing mounting plate, make a 3D printed adapter and get a hint as to what I’d be working with.
First up was to remove the handle assembly that’s native to the Movi M10, which inherently flips this whole gimbal upside-down. I was somewhat concerned with how much loading would now be on these four M3 screws, but that’s something that future-Dane needs to resolve. Shown below is the gimbal, with the mount point shown. Likely, going forward I would probably end up picking up the central 4 screws and try and mechanically provide some additional support.
I used some quick thermal inserts to pick up on the long flat portions of the existing chassis. By using flat-head screws, I can take up a bit of tolerance mismatch, and when loose it can slide back and forward down the top platform. This print was a placeholder, but it did let me get a good visual of how tall this whole stack-up would be.
Finally, the first test fit to see what the gimbal looked like on the chassis. While this is a quick mock up it did provide some insight as to how quickly the height of the whole assembly could easily creep up if it wasn’t actively being constrained. The lower the camera and assembly height, the lower the effective vehicle center of gravity remains, increasing its stability while helping reduce rollover forces. Making a mock-up may take time but it really lets you skip an iteration step as instead of an ill-defined cad model you now have something to interact with on the lab bench.
There is an animated video here tag.
It is huge. I took the opportunity to also do some placement tests for where the battery mounts could end up. As it was fairly apparent, using batteries as bumpers is not a great plan. The two packs would likely need to lay as low as possible but still remain accessible for hot-swapping two packs at a time. The only reasonable spot would be along the sides, while not interfering with the gimbal or the ground clearance.
New Mechanicals
A more structural gimbal mount
The floppy aluminum mounted on some adorable 4 – 40 standoffs was not going to do it, I needed something much more structural. While the gimbal itself is not mechanically heavy, its mount point does need to be as low as possible to help mitigate flipping. Ideally the Gimbal-camera assembly is remove-able from the frame, such that i can test and tweak the motor control tuning, fenders and the like without putting everything else through hell. Time to fire up the CNC, turn some proper standoffs and rigidly connect to the frame.
The basic plot is to provide a solid foundation as close as mechanically possible to the frame for the gimbal and shock mount. Fortunately the sub-frame base plate is made of aluminum. I’m going to again opt for stand-off’s to elevate the platform above the drive motor, but just use some large round-stock to provide a secure mount.
There is an animated video here tag.
After some quick machining, drilling and tapping we have our new elevated gimbal platform, with countersunk M8 flat head screws. This intentionally barely clears the drive motor, and leaves the central round part of the spring damper mount recessed to keep the Z-offset height as low as possible.
The spacing of the standoffs is nominally tied to the closest positions that I could pick up that were co-planar without bumping into the motor mount / servo mounts. While this is slightly aft of center, it does permit space for the somewhat heavy batteries to live, ideally resulting in the total mass balance towards the center.
After verifying location a few times, I punched some holes through the chassis and used some M8 screws with flanges to firmly attach the new platform to the chassis. These were initially just tightened to a few newton meters, but on the final assembly did receive some mild loctite to help with vibration induced loss of tension.
Fenders for Ice Racing
One of the big issues with racing on a slushy surface is the slush getting everywhere . I do not have a traditional chassis for this vehicle, so it’s up to me to figure out how to contain the slush, while not being too inflexible. This is a great option for 3D printed parts, as it’s a lot of odd shapes and contours, however, this is also a battle bots crossover episodes , and oddly, flexible things should out-perform static things. Initially, for iterating and quick prototyping, the fenders are normal PLA.
Comically, up to this point, I have never actually printed with commercial TPU, which is the go-to plastic flexible elastomer. I cant think of a better use case than fenders on a RC car frame. Just like a commuter-bike, the more of the wheel path that is covered, the less can get sprayed onto the camera and gimbal. The plot is to pickup a hard mount, which in this case is some aluminum angle stock, use a standard PLA part to provide a mounting point close to the wheel, and then transition into a TPU part around the wheel.
I had initially tried 85A TPU and it was just a bit too fiddly to reliably print, without re-doing my filament spool holders to be lower resistance. Any resistance was causing under-extrusion and it was difficult to manage. I opted for switching to 95A filament, which is stiffer, and did a subsequent slow weekend print to make flexible tire fenders for the rear. The rear mounts are mirrored but both mate with three M6 threaded flange screws. After fiddling with settings to get a reliable print on the fenders, its a good idea to start planning a TPU front bumper to help keep this thing from getting smashed too easily.
The print time for a single wheel fender was approaching a day and a half on a Prusa MK4. For this specific print, I opted for high wall count 25% infill, this should result in a fairly stiff part that’s able to absorb impacts.
While it would have been ideal if all four fenders were the same part, the steering up front requires a lot more clearance, resulting in a larger radius. The printed part does pick up the same hard mount point
There is an animated video here tag.
I didn’t mention how awkward removing the support material is for large TPU prints. Its time consuming just due to how impact and force absorbent it is. The layer-layer adhesion is amazing.
There is an animated video here tag.
Finally a spool up of the chassis on stand-off blocks, fueled by the two series DeWalt batteries. As I learned from a friend, full RPM in this situation is outside of the motor and drive-train specs, given that i was now running 10S / ~40v. The short blip of full speed was plenty to see how frightening this monster would become.
There is an animated video here tag.
To mount the side plates, i used a long tip marker to indicate where the print would align with the chassis and used a punch to transfer those locations so they could be subsequently tapped.
There is an animated video here tag.
With the holes in the gimbal riser tapped and the chassis clearance holes drilled, it’s time to put everything together. Due to the right side of the vehicle’s simplicity, I’m opting to install its cover plate first, there’s only two wires to worry about. Time to put the electric screwdriver to work. Six M3 screws grab the aluminum top-plate and six subsequent M3 screws attach the bottom of the print to the frame.
This video has audio: Click to un-mute
Battery Mounts
Both sides of the gimbal mounting plate fit in separate, blue, printed plates that hold the main power switch, pre-charge and battery mount points. The prints pick up tapped M3 holes above and contain M3 thermal inserts below to pickup screws from the chassis.
The printed mounts then mate to an off the shelf, injection molded DeWalt Battery terminal, connecting with four M4 screws. With the battery latched in, it is surprisingly abuse tolerant. Shown below is a standard DeWalt 6AH 20V battery module. The orange cover captures any exposed wiring present from the battery adapter. Ideally the gap-space gets covered up to help mitigate ice slush ingress, but that’s a problem for future Dane.
There is an animated video here tag.
For the left side of the chassis cover we have a lot more going on. The main power switch, pre-charge and pack voltage indication is present, with associated wiring on the backside. Behind this are the dc/dc converters that provide steering power and indication light power, along with our remote controlled relay for headlights / tail lights.
“Headlights and Tail lights”
Having some visual indication on this contraption is helpful, especially with how quickly dusk appears. A small headlight and rear facing red lights should be a quick addition:
For a headlight i opted for this waterproof small module, intended as a 3rd party automotive light. It fortunately takes a wide range of operating voltages so i can put to use a 15W dc/dc module that’s been collecting dust. For the tail lights I’m also opting to re-use some 12V indicators purchased for a project from ages ago. While they are not incredibly bright they are visible from a reasonable distance.
We do have a number of channels available on this radio, including switches. Having the ability to disable lighting, if it were interfering with the camera or causing reflections, would be useful, especially remotely. To implement this I’m opting to go simple, a very basic RC controlled relay.
With the simple 3d printed brackets installed, I was pretty happy with how things turned out.
There is an animated video here tag.
Sorting out HD FPV
There’s really four options for long range video links at the moment, low resolution low latency analog, high definition high price DJI hardware, previous generation niche cinema hardware and Open Source Build the whole thing solutions.
As of writing this, the FCC has banned most of DJI’s hardware offerings [Link]. Given that present-generation DJI hardware is not banned, but future generations are, the prices have become quite high. For reference, the transmitter alone is 1100 USD. We want something equivalent that hits all three ideals: low latency, high resolution and
Let’s look at the niche cinema hardware of yesteryear and see if any gadgets are available for low ruble.
Enter the CONNEX by Amimon
This gadget was released in 2015, roughly a decade ago, but the specs are really remarkable, especially for the time. 1KM of range? -10C operating rating? Not mechanically enormous? sounds great!
Here’s a quick overview of the features direct from the manual. 1KM / 0.6 mile range is fantastic for that resolution & latency, and 5.8ghz antenna hardware is now fairly easy to come by. Given that we don’t really know the orientation of the rover in relation to the pilot, we’re stuck with omni antennas on the rover. The rover, unlike a quadrotor drone, is also physically on the ground, with the antennas barely 40 cm from the surface. Real world tests will likely net a shorter range but this is already an excellent start.
This is pretty excellent, and they do appear for ~100 – 200$ used on eBay, but Wait, why have I never heard of these things? Amimon was purchased by Teradek, who makes a very similar item just for 5X the price. Awesome.
I purchased a set of transmitter and ground station radios from eBay and got to work sorting out how I would integrate them to this vehicle. One of the dangers of working with “older” hardware is not the hardware it’s the support software.
Narrators voice “there were software issues”
The specs are quite impressive on paper, specifically the <1ms latency . I was also impressed by the -10 Celsius rating. On the rover side of the fence we need to pipe Mini HDMI from the camera into the “Air Unit” along with ~14V from the Gimbal battery.
A copy of the manual for the Connex Amimon is available here [link], with a local copy here [link]
Lets build a display and FPV receiver mount
Monitors for outdoor use can be a bit tricky, you are inherently trying to beat the sun. I have been a fairly big fan of Liliput and opted for their 7″ 1800 nit monitor, it supports 1080P and is covered in 1/4 – 20 mount points. They just work, have a wide input voltage range, and are so much more rugged than mystery 4-character amazon brands.
The Connex receiver is somewhat large and the antennas do need to be facing upwards, so let’s stick the whole thing on the back of the Liliput monitor. There are four M2 threaded holes on the backside of the Connex receiver, so our part will pick up the sides of the Liliput and provide a place for four screws to mate to the receiver, hugging the back of the monitor. Fortunately, all the input/outputs of the receiver are on the sides, so as long as we properly mechanically constrain the cabling we should have a pretty excellent little setup.
After some iteration and fit-testing, I came up with a slightly more mechanically robust part, using some epoxied in M3 screws to act as mechanical stiffeners on the parts that connect to the side of the monitor. M3 threaded inserts provide spots to help constrain the HDMI and power cables, while keeping the path to the switch and link connectors accessible.
Now that we have a monitor and receiver for the handheld controls portion of this project. For the radio, I’m opting to use a Taranis X7, mostly because I picked one up at Guardian from the leftover cruft pile. I’m a big fan of the X7, I used it for SnowBot [link]. My only qualm is that there are no places to mount external gadgets or gizmos, if this had some M6 or 1/4 – 20 threaded mount points it would be excellent.
Long ago, Guardian Agriculture was Kiwi Agriculture
I needed a radio for remote control and planned to just have a portable display that would follow along with that remote. Yes, as mentioned by FRED, I could set up a ground station and a tripod but the probability of me knocking over a tripod out in the cold is very high. So let’s start out with the only actual mount point on the X7, the neck-strap mount.
We also have one more ‘hard point’ that we can pick up, the antenna protrusion that’s injection molded into the case. If we can pick up a hard point mount there and the neck-strap, and contour closely to the case we should be set for at least a first pass at a monitor mount.
After a number of iterations, I ended up with an M6 long thermal insert to pickup the necklace mount and a heavily walled hole to pickup the antenna mount. This breaks out into one M4 thermal insert for the monitor and two auxiliary M3 thermal inserts for “whatever subsequent spacing modifications i need”. Note that I opted for high infill and high wall-count for this part as the lever arm from the monitor is quite high.
It did end up working out fairly well, especially for a first pass, the monitor is quite heavy and the stock bendy mount was quite limited, so some more iterating to do.
Configuring the Connex Amimon
The nominal pairing process for these two radios is fairly straightforward, and does not require any companion software. To pair the procedure is fairly straightforward:
Apply power to air unit
press and hold link for 5 seconds, or until it starts fast-blinking
Apply power to ground station unit (preferably with a monitor connected)
press and hold link for 5 seconds, or until it starts fast-blinking
Follow the on screen directions on the air unit and it will show a progress bar for pairing
I followed these directions and alas, no dice. The ground unit sat in pairing mode for 5+ minutes and then timed out.
I did some digging and found the configuration tool. It did “just work” right out of the box, which is great for ~10 yr old software, but I came upon my first dilemma. The ground unit and the air unit had wildly different firmware versions . I did attempt different variations of the pairing procedure, but alas each go they see each other but refuse to pair. The software tool did have an update feature, but it was too smart, it natively pings a server to check for new, compatible, firmware versions. Those servers are unfortunately gone. Shown below is the “No Server Connection!” message, also showing the mismatch between the Air Unit and the Ground Unit.
Time to find some help. Between 2016 and now, the initial creator of this hardware / software was absorbed into Teledek, which generally results in previous hardware getting shelved. I was able to get in touch with a support engineer and was given the best support email ever: there’s an offline update mode
Enabling Offline Update Mode for the Connex Amimon
To enable offline update mode here is the procedure:
Download the Connex Management Tool
The tool is available from the vendor here [Link] and a local copy is available here [Link]
Extract the management tool and install
For the purposes of this write up, lets assume you are running windows
Place a blank file in the program directory
Create a file “local.txt” with no contents in the program folder, C:\Program Files (x86)\Amimon\Connex
Grab the latest firmware files
The latest firmware files are available here [link] and a backup copy is available here [Link]. Download and save locally
Unzip the firmware, you should end up with all of the firmware options for US, EU and overseas.
Launch the Connex Software
Click update and browse to the correct firmware
With the secret offline update mode, we now have the ability to push these units to the same firmware version. I started with the air unit and then completed with the ground unit. Shown below is the process, unfortunately OBS screen grab missed the ‘open a window to browse to the actual file’, but for reference I used “PR_ID_UAV10100US000_PR_NAME_ConnexUS_VER_4_5_61.amn” as the final target firmware for both units.
There is an animated video here tag.
It works!
Propulsion Electronics
This did come with a castle creations motor controller, however, I did want something that I was able to adjust set points for, and have some flexibility going forward regarding autonomy. I opted for a VESC 75V100, nominally as I had one available and had used one on a previous project. The 75V100 is very budget friendly, and just requires some silicone glue to make it robust enough to survive shock and vibe. Internally there is a large electrolytic capacitor that has no mechanical constraints.
For the initial spool-ups, I used a bench supply at 30V, which honestly is inadvisable. Bench supplies are not four quadrant devices and re-gen currents from the motor spooling down can over-volt the supply and cause issues with the controller. Nominally I was mostly interested in verifying that the VESC could run the motor sensor-less
Fortunately, even with a basic tune we got what we were looking for, motor characteristics: 5 mOhm phase resistance and low phase inductance. With this basic information we can do a quick spool up test, making sure to not spool down quickly.
To add this web app to your iOS home screen tap the share button and select "Add to the Home Screen".
10HN is also available as an iOS App
If you visit 10HN only rarely, check out the the best articles from the past week.
Visit pancik.com for more.