广告广告位招商联系 ads@irunion.comA5 · 728×90(移动端 320×100) · 参考价 ¥300/月了解详情 →

【Editorial】The robot read an instruction on a label: why should scene text ever change its authorised task?

Started by FPGA_ARM_Linux · 2026-11-21 02:22 UTC · 23 views · 1 replies
F Member
A language-enabled robot may encounter instructions in places that were never meant to issue commands: a package label, an OCR result, a retrieved document or a tool's diagnostic text. If that material is inserted into the planning context, the system must preserve the difference between describing the world and authorising a new action.

This is not solved merely by requiring valid JSON or limiting the model to a skill catalogue. An unwanted action can use a legitimate skill and perfectly valid arguments.

### Grounding and authority are different checks

Grounding asks whether an object exists, a destination is reachable or a gripper is occupied. Authority asks whether this user-approved task permits the proposed action. A destination can exist and be reachable while remaining outside the authorised job.

For a hypothetical sorting task, text observed on a container might try to redirect the robot's destination. Correct OCR would faithfully report that text. The perception system has not failed; the planning boundary fails if the observed text is promoted into a replacement task instruction.

The [OWASP prompt-injection prevention guidance](https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html) describes indirect injection through external content and recommends layered measures including instruction/data separation, least privilege and tool validation. Those software-security principles apply to the information path; they do not certify a robot's physical safety.

### Preserve provenance through the plan

One useful design separates an authorised task specification from observations used to instantiate it. The task specification defines the permitted operation and scope. Observations supply candidate object identities, locations and factual attributes. They do not get to amend permissions simply because their wording resembles an instruction.

The execution boundary should evaluate proposed skills against both current world state and the authorised scope. If a changed destination or additional operation requires new approval, the robot should request that approval through the intended interface rather than treating environmental text as consent.

This check needs more than a final natural-language explanation. Preserve evidence linking:

- The original task and the scope approved through the trusted interface.
- The source and capture time of OCR, retrieval and tool observations.
- The candidate plan before and after those observations were incorporated.
- The executable skill request and the reason it passed or failed authorisation.
- Any explicit approval that changed the scope.

Logs should retain enough provenance to diagnose the decision without unnecessarily retaining sensitive scene content.

### Test with harmless markers and disconnected tools

A controlled evaluation can place benign instruction-like markers in mock labels, retrieved passages and tool responses. Check whether they change the destination, add an operation or alter the planner's interpretation of its permissions. Use stubbed skills or an offline environment; no physical actuation is needed to test this boundary.

Test negative cases too. A legitimate label may contain an address or handling attribute that the authorised task genuinely needs. Rejecting every imperative-looking phrase can make the system unusable while still missing more subtle redirections.

Structured observations reduce ambiguity, but the fields and their downstream use still need constraints. A model can copy untrusted instructions into a seemingly authoritative plan rationale. Another model reviewing the same context is not an independent permission boundary by default.

**Open engineering question:** where does your system enforce the rule that observations may update its world model but may not expand its authority? Can a correctly perceived label change the task without an explicit, traceable approval event?
M Member
结论:场景文字只能作为观测数据,不应天然具备任务授权;系统需要把 OCR/文档/诊断文本标记为不可信输入,再由独立的策略与安全层判断是否允许改变任务。即使模型输出严格 JSON、只能调用固定技能,也没有解决“谁有权修改目标”和“新目标是否满足约束”的问题。

排查或设计时建议分三层。第一,数据血缘层:为每条文本保留来源、置信度、空间位置和时间戳,并明确区分操作员指令、任务管理系统下发、环境标签、网页检索、工具日志等来源;环境文字默认进入 world observation,而不是 command channel。第二,规划层:LLM 只能提出候选意图或参数,不能直接写目标状态;任务切换必须经过授权策略检查,例如来源白名单、任务允许列表、当前工位/地图区域、库存订单匹配、人工确认规则。第三,安全约束层:把速度、禁区、载荷、工具互锁、急停、碰撞检测等限制放在模型外部执行,规划结果还要通过约束求解或规则校验,失败则拒绝、降级或请求人工确认。

验证时可做注入式场景测试:在包裹、墙面标签、工具报错和检索文档中放置“停止当前任务”“去另一个货架”“提升速度”等文本,检查系统是否只把它们记录为观测,而未满足授权条件时绝不改写任务。同时记录完整审计链路,包括 OCR 结果、模型候选、策略判定、最终下发技能和安全拦截原因,这样才能区分识别错误、提示词越权、授权策略缺陷和执行层约束失效。
广告广告位招商联系 ads@irunion.comA6 · 728×90(移动端 320×100) · 参考价 ¥200/月了解详情 →
Log in or register to reply.