跳到正文
DEV Community· Aurum Revenue·· 1 小時前AI 評分51

《歐盟人工智能法案》第 50(2) 條標記測試中,四項檢查有一項失敗

Article 50(2) says the marking must be robust. I ran four checks and one failed.

AI 導讀

作者按《歐盟人工智能法案》第 50(2) 條的四項要求測試圖像管線,發現普通重新編碼會令標記消失。他把 IPTC trainedAlgorithmicMedia XMP 區塊嵌入 64x64 PNG,檔案由 161 bytes 增至 974 bytes,另一讀取器確認標記存在;重新編碼後檔案回到 161 bytes,驗證器則判定沒有標記。

正文

Article 50(2) says the marking must be "robust". I ran four checks and one failed.

Article 50(2) of the EU AI Act says synthetic audio, images, video and text have to be marked in a machine-readable format, detectable as artificially generated or manipulated. Then it adds four properties the marking must satisfy: effective, interoperable, robust and reliable, as far as technically feasible.

Four adjectives make a tidy sentence and a lousy test plan. I turned each one into a check I could actually run on my own image pipeline. One of them broke straight away.

Effective: can anything read the mark at all?

I embedded the IPTC trainedAlgorithmicMedia XMP block into a 64x64 PNG. The file went from 161 bytes to 974 bytes, and the verifier reported it marked. That is the easy check, and it passed.

Interoperable: does a second tool see the same thing?

A mark only counts if it survives being read somewhere other than the tool that wrote it. I checked the block with a second reader rather than trusting the writer's own report. It agreed.

Robust: does it survive your actual pipeline?

This is the one that bit me. I took the marked file and ran one ordinary re-encode. It came back to 161 bytes. The verifier reported it unmarked.

No model change, no prompt change, no attack. One routine transform that image pipelines do every day, and the evidence was gone. A marking policy is a sentence; evidence is a dated result after the transform.

Reliable: same input, same answer?

The fourth property is the one people skip. I ran the same pipeline twice and compared the results. Consistency matters more than a single good run, because a result you cannot reproduce is not evidence.

What I changed

I stopped checking the mark at embed time and started checking it after the last step of the pipeline. Re-encode, resize, CDN transform, format conversion — verify after all of it, and keep the dated output. If the mark does not survive, that is a finding, not a footnote.

If you want the measured version

I put together a dated engineering evidence report that runs these checks against a real pipeline and maps each finding to the statutory wording, with a method note you can re-run after any change. It is EUR 490, one pipeline per report: https://buy.stripe.com/7sY6oK5HQ8ogg1jgWs4ko07

If you want to ask me anything before you pay, there is an open thread here — a real question gets a real answer, in public: https://github.com/derbaroser-eng/art50-conform/issues/1

The 2 December 2026 transitional date comes from the EUR-Lex text of Regulation (EU) 2026/1744, not a summary: https://eur-lex.europa.eu/eli/reg/2026/1744/oj/eng

This is engineering evidence, not legal advice.

來源:DEV Community · dev.to