本集简介
双语字幕
仅展示文本字幕,不包含中文音频;想边听边看,请使用 Bayt 播客 App。
好吧,当我们大多数人想到人工智能时,脑海里通常立刻浮现出聊天机器人、生成图像或请求摘要之类的场景,这些都属于非常典型的基于文本、依赖云端的应用,但你想想,如果要让人工智能真正‘看见’并深刻理解我们周围的物理世界,会是什么样子?
Okay, so, when most of us think about AI, right, our minds usually jump straight to things like chat bots, maybe generating images, or asking for summaries, it's all very, well, text based, very cloud focused, but, you know, imagine trying to get AI to actually see and really understand the physical world around us.
从实时视频流中生成描述,提取细节,并且直接在设备上即时完成。
To generate descriptions from a live video feed, pick out details, and do it instantly, right there on the device itself.
无需云端。
No cloud needed.
这完全是另一回事了。
That's a whole different ballgame.
而这正是人工智能中较少被提及的这一面正在取得巨大进展的地方。
And it's exactly where this, well, less talked about side of AI is making huge strides.
欢迎来到深度探索。
Welcome to the deep dive.
今天,我们将探讨一种名为模型级联的、非常有趣的方法,应用于边缘人工智能。
Today, we're going to explore a really fascinating approach called model cascading in Edge AI.
我们的讨论基于一些优秀的资料,主要是名为《更智能的边缘AI:在单设备上级联YOLO与Elevate》的详细PDF文档。
We're basing this discussion on some great material, mainly a detailed PDF called Smarter Edge AI, cascading YOLO plus Elevate on a single device.
此外,高通开发者频道还提供了一段配套的YouTube视频,展示了其实际运行效果。
Plus, there's an accompanying YouTube video from Qualcomm developer channel showing it in action.
是的。
Yeah.
长期以来,一个主要目标,可以说是终极追求,就是让AI不仅能识别物体,还能真正理解并用自然语言描述视觉世界,而且关键是要在设备本地完成,无需将大量数据发送到别处。
And for a long time, the big goal, the sort of holy grail, has been getting AI to not just spot objects, but to genuinely understand and describe the visual world in natural language and critically doing it on the device without sending loads of data off somewhere else.
这里真正的突破在于,我们终于超越了仅限于文本和云端的范畴。
What's really breakthrough here is that we're finally moving past just text and cloud stuff.
我们现在能够直接从视频中,在硬件设备上生成这些极其丰富的描述。
We're actually generating these incredibly rich descriptions straight from video, right on the hardware.
这在过去对于许多实际应用场景来说,不仅困难,而且……
This was well, it wasn't just hard before for many real world uses.
如果没有人为持续监控,或依赖庞大的云服务器,根本无法实现。
It just wasn't practical without people watching constantly or relying on massive cloud servers.
好的。
Okay.
那么我们来详细分析一下。
So let's unpack that then.
这个级联模型,到底是什么意思?
This model cascading, what does that actually mean?
把多个模型串联在一起。
Chaining models together like that.
对。
Right.
这本质上是一种架构设计。
So it's basically an architectural thing.
你将多个AI模型按顺序连接起来。
You link multiple AI models in a sequence.
你可以把它想象成一个AI任务的智能分诊系统。
You can think of it almost like a, a smart triage system for AI tasks.
你先从一个小型、快速、轻量级的模型开始。
You start with a small, fast, lightweight model.
它能非常快速地处理简单的事情,但当出现复杂、模糊或有趣的情况时——这才是巧妙之处。
It handles the simple kind of stuff really quickly, but then, and this is the clever part, it's something complex or ambiguous or just, you know, interesting pops up.
这时,一个更大、更强大、更复杂的模型就会被条件性地触发。
That's when a bigger, more powerful, more complex model gets triggered conditionally.
只有在真正需要的时候,它才会介入提供更深入的理解。
It only steps in to provide that deeper understanding when it's actually needed.
所以这既关乎效率,也关乎精准性。
So it's all about being efficient, but also precise.
这很有道理。
That makes a lot of sense.
所以,与其让一个庞大的模型盲目地试图完成所有任务,不如让专家模型接力处理任务。
So yeah, instead of one massive model chucking away trying to do everything, you have specialists handing off the task.
在实际操作中,这看起来是怎样的呢?
How does that actually look in practice?
你提到的那些资料里有个很好的例子,对吧?
The sources you mentioned, they had a good example, right?
停车场。
Parking lot.
是的。
Yes.
完美的例证。
A perfect illustration.
他们展示了一个实时演示,分析了停车场的监控画面。
They showed this real time demo analyzing footage from a parking lot.
首先是一个小型高效的计算机视觉模型。
So first up was a small efficient computer vision model.
Edge Impulse 的 YOLO Pro 持续运行,快速扫描视频帧,仅检测车辆,比如汽车、卡车、厢式货车,并在它们周围绘制边界框。
Edge Impulse's YOLO Pro specifically runs constantly scanning the video frames really fast, just looking for vehicles, you know, cars, trucks, vans, and it puts those bounding boxes around them.
这是第一轮快速筛查。
That's the first quick pass.
对。
Right.
检测部分。
The detection part.
然后,这对我来说最有趣的地方来了。
And then this is where it gets really interesting for me.
它是如何从仅仅识别出一辆车的框,转变为详细的描述的呢?
How does it go from just a box identifying a car to a detailed description?
这个流程的下一步是什么?
What's the next step in that cascade?
没错。
Exactly.
一旦YOLO模型检测到车辆并给出裁剪后的图像,即仅包含车辆本身的那个小图像块,它会立即被传递给Lobby和Elavi,这是一个视觉语言模型(VLM)。
So once that YOLO model flags vehicle and gives us that cropped image, just the vehicle itself, that specific little image chip gets passed immediately to a lobby And Elavi is a vision language model, a VLM.
现在,这个VLM直接运行在高通IQ9硬件上,在他们的演示中,正是它生成了丰富的自然语言描述。
Now this VLM running directly on the Qualcomm IQ nine hardware and their demo, it's the one that generates the rich natural language description.
它不仅仅输出‘车’,还会说类似‘红色的丰田SUV’或‘黑色的运动轿跑’这样的话。
So it's not just outputting car, it's saying things like a red Toyota SUV or maybe a black sports coupe.
非常详细、像人一样的话语。
Really descriptive human like sentences.
哇。
Wow.
一辆红色的丰田SUV。
A red Toyota SUV.
从设备上的视频流中就能做到这一点,真是太不可思议了。
From a video feed on the device, that's that's pretty incredible.
你提到的关键点是,整个流程——检测车辆然后进行语义描述——全部都在这个单一的边缘设备上完成。
And the key thing you mentioned, this entire flow rate, spotting the car, then describing it semantically, it all happens on that single edge device.
这感觉是一个巨大的进步,尤其是考虑到你听到的Quinn的零样本模型能力。
That feels like a massive step, especially for what you hear Quinn's zero shot model capabilities.
你能稍微解释一下这个术语吗?
Could you maybe explain that term a bit more?
这里的零样本是什么意思?
What does zero shot mean here?
是的
Yeah.
这是一个很好的重点。
That's a great point to highlight.
真正令人着迷的是看到这种强大性能与表现力的协同作用。
What's really fascinating is seeing this combination of power and performance working together.
零样本能力基本上意味着人工智能即使在没有针对特定任务明确训练过某些概念或具体实例的情况下,也能理解和描述它们。
So zero shot capabilities basically means the AI can understand or describe things, even concepts or specific instances that it wasn't explicitly trained on for that specific task.
例如,Elevea可能从未接受过关于那款特定蓝色皮卡的训练,但由于它理解‘蓝色、闪亮的侧面凹痕’这类概念,仍能生成准确详细的描述。
For example, Elevea might never have been trained on, say, that specific make and model of blue pickup truck, but because it understands concepts like blue shiny dent on the side, it can still generate an accurate detailed description.
零样本。
Zero shot.
这赋予了系统极大的灵活性。
It gives the system incredible flexibility.
你无需为它可能遇到的每一件新事物都不断重新训练。
You don't need to constantly retrain it for every single new thing it might encounter.
它能够泛化。
It can generalize.
而让这种能力直接在硬件上运行,正是Edge Impulse和高通这类合作所带来的重大突破。
And getting that to run directly on the hardware, that's the big leap enabled by this kind of partnership, like between Edge Impulse and Qualcomm.
这确实改变了人们关于生成式AI的讨论方式,不是吗?
It really shifts the conversation around generative AI, doesn't it?
因为,是的,当人们提到生成式AI时,通常立刻会想到聊天机器人、写作辅助或文本类应用。
Because, yeah, usually when people say gen AI, you immediately think chatbots, writing assistance, text based stuff.
没错。
Exactly.
但这个演示真正凸显了生成式AI的另一个截然不同且 arguably 极其强大的方面——直接从物理世界中生成洞察。
But this demo really shines a light on a different and arguably incredibly powerful side of Gen AI generating insights directly from the physical world.
视觉语言模型不仅仅是从一个列表中选择标签。
The VLM isn't just picking a label from a list.
它实际上根据所见内容生成语言,产生这些高度拟人化的场景描述,而且最关键的是,这一切都发生在设备端。
It's actually generating a language based on what it's seeing, producing these well human like descriptions of the scene and crucially it's all happening on device.
这些视觉数据根本不需要传送到云端进行处理,想想看,这本身就带来了巨大的隐私优势。
None of that visual data needs to be shipped off to the cloud for processing, which I mean, just think about the privacy benefits right there.
这太重要了。
That's huge.
确实如此。
Definitely.
说到优势,这对现实世界的应用意味着什么?
Speaking of benefits, what does this really mean for real world applications?
为什么将这些强大的模型直接部署在边缘端,而不是像我们通常那样依赖云端,如此重要?
Why is it so important to run these powerful models right there on the edge instead of just relying on the cloud like we often do?
如果从更大的格局来看,在同一个边缘设备上同时运行检测器和描述器模型,完全摒弃云端,会带来一些重大优势。
Well, if you connect it to the bigger picture, running both models, the detector and the describer on the same edge device, cutting out the cloud entirely brings some major advantages.
首先,你可以实现实时、超低延迟的处理。
First off, you get real time super low latency processing.
决策可以在数据生成的地方立即发生。
Decisions can happen instantly right where the data is generated.
好的。
Okay.
速度。
Speed.
有道理。
Makes sense.
还有我们刚才提到的至关重要的隐私问题。
Then there's that critical privacy piece we just mentioned.
数据,尤其是敏感的视觉数据,都保留在本地。
The data, especially sensitive visual data stays local.
它从不离开设备。
It never leaves the device.
这对安全和合规性来说意义重大。
That's massive for security and compliance.
非常重要。
Huge.
是的
Yeah.
这意味着带宽需求也大大降低。
It also means much lower bandwidth needs.
你不需要持续地将视频或图像流式传输到云端。
You're not constantly streaming video or images to the cloud.
这在大规模应用时能节省大量数据成本。
That saves a lot on data costs, especially at scale.
此外,这些系统在功耗和计算效率方面进行了优化。
Plus these systems are optimized for power and compute efficiency.
它们专为在资源有限的设备上高效运行而设计,不同于耗电的云服务器。
They're designed to run effectively on devices with limited resources unlike power hungry cloud servers.
对。
Right.
在小型设备上,效率很重要。
Efficiency matters on small devices.
最后,这种整体方法本质上是模块化的。
And finally, this whole approach is inherently modular.
你可以替换模型,独立升级级联的各个部分。
You can swap out models, upgrade parts of the cascade independently.
这创造了一个更具可扩展性、更易维护且更面向未来的AI流水线。
It creates a much more scalable, maintainable, and sort of future proof AI pipeline.
这种模块化听起来非常吸引人。
That modularity sounds really appealing.
而且这显然不仅仅关乎停车区域的分析,对吧?
And it makes sense that this isn't just about analyzing parking lots, is it?
对。
Right.
这种级联思路肯定也能应用于其他领域。
This cascading idea must be applicable elsewhere.
当然了。
Oh, absolutely.
这具有高度的通用性。
It's highly generalizable.
比如考虑零售行业。
Think about retail for instance.
你可以用一个简单的计算机视觉模型检测顾客进入过道。
You can have a simple CV model detect a shopper entering an aisle.
然后用一个视觉语言模型描述他们与商品的互动,甚至匿名化他们穿着的描述以获取人口统计洞察。
Then a VLM can maybe describe their interaction with products or even anonymize descriptions of what they're wearing for demographic insights.
所有处理都在本地完成。
All processed locally.
有意思。
Interesting.
那智慧城市呢?
What about smart cities?
智慧城市,当然可以。
Smart cities, definitely.
用计算机视觉检测进入限制区域的车辆。
Detect a vehicle in a restricted zone with CV.
好的。
Okay.
这很常见。
That's standard.
但接着触发视觉语言模型来读取车牌,识别车型,甚至描述异常驾驶行为。
But then trigger a VLM to read the license plate, identify the make and model, maybe even describe erratic driving behavior.
同样,核心分析无需云端。
Again, no cloud needed for the core analysis.
好的。
Okay.
安全应用。
Safety applications.
工业安全是一个重要的应用。
Industrial safety is a big one.
你可以使用计算机视觉检测人员是否过于靠近危险机械。
You could detect the person getting too close to dangerous machinery using CV.
然后视觉语言模型可以分析他们的姿势,判断是否未穿戴正确的安全装备或是否显得缺乏警觉。
Then the VLM could analyze their posture, maybe detect if they're not wearing the right safety gear or if they seem unaware.
实时警报。
Real time alerts.
也许农业领域也可以应用。
And maybe agriculture too.
当然可以。
For sure.
用计算机视觉检测植物或病虫害的迹象。
Detect a plant or maybe signs of pests with CV.
然后让视觉语言模型描述具体状况,比如叶片发黄且褐色斑点集中在茎部附近,为精准农业提供更丰富的数据。
Then have a VLM describe the specific condition like yellowing leaves with brown spots concentrated near the stem, providing much richer data for precision farming.
看起来,真正的关键在于将计算机视觉快速的初步检测与视觉语言模型提供的深层语义理解结合起来。
It seems like the real magic happens when you combine that fast initial detection from computer vision with the deep semantic understanding you get from the vision language model.
这种组合解锁了任何一方单独都无法实现的功能。
That combination unlocks things neither could do alone.
没错,就是这样。
That's exactly it.
你一语中的。
You hit the nail on the head.
这种级联架构,远不止是一个酷炫的演示。
This cascading architecture, it's really more than just a cool demo.
它实际上为构建更智能、更模块化、效率更高的AI系统提供了一套蓝图。
It's effectively a blueprint for building smarter, more modular, and much more efficient AI systems.
这些系统能够在尊重现实世界约束(如网络不稳定或隐私需求)的同时,依然在边缘端提供极其深入的洞察。
Systems that actually respect real world constraints like spotty connectivity or privacy needs while still delivering these incredibly deep insights right at the edge.
这为开发者、系统集成商和产品人员开辟了巨大的机会,让他们可以采纳这一理念,进行实验、扩展,构建新的级联系统,想象未来的系统,比如手势识别结合意图理解。
And this opens up huge opportunities for developers, for system integrators, product people to take this concept, experiment with it, extend it, build new cascades, imagine like future systems, maybe gesture detection combined with intent understanding.
或者发现制造缺陷后,由VLM解释可能的根本原因。
Or spotting a manufacturing defect and then having the VLM explain the likely root cause.
嗯嗯。
Mhmm.
或者追踪运动,实现极其精细的人机交互,所有这些都完全在边缘端运行。
Or tracking motion and enabling really nuanced human machine interaction, all running fully at the edge.
可能性非常广泛。
The possibilities are pretty vast.
今天我们深入探讨了模型级联和边缘AI。
So we've taken a deep dive today into model cascading and Edge AI.
我们看到了它如何将生成式AI远远超越聊天机器人和文本,实现对周围物理世界的实时、真正语义化的理解。
We've seen how it's pushing generative AI way beyond just chatbots and texts, enabling a real time, genuinely semantic understanding of the physical world around us.
是的。
Yeah.
或许可以留给你思考的是这一点。
And maybe the thought to leave you with is this.
开始思考一下,设备不仅能够“看见”,还能即时、私密地理解和描述其环境,这种能力如何从根本上改变你每天所交互的AI应用。
Start thinking about how this capability for devices to not just see, but to understand and describe their environment instantly and privately, how that could fundamentally change AI applications you interact with every day.
从你口袋里的手机到我们城市中的基础设施。
From the phone in your pocket to the infrastructure in our cities.
我们能解决哪些新问题?
What new problems could we solve?
当周围的世界开始成为一种智能且尊重隐私的理解来源时,我们能获得哪些新见解?
What new insights could we gain when the world around us starts to become a source of intelligent, privacy respecting understanding?
这种AI最终可能揭示哪些一直显而易见却未被发现的事物?
What's hiding in plain sight this kind of AI could finally reveal?
关于 Bayt 播客
Bayt 提供中文+原文双语音频和字幕,帮助你打破语言障碍,轻松听懂全球优质播客。