TartanIMU 作品集
IMU · robot velocity · m/s

IROS 2026 · TARTANIMU CHALLENGE

只靠 IMU 估計速度,
一組權重通吃四種載具
Velocity from an IMU alone,
one set of weights, four robots

讓機器人只靠一顆 IMU(量加速度與轉動的小感測器)估計自己的速度。我單人參賽,在主辦方的內部評比拿到第 12 名(Kaggle 私榜第 20 名,共 131 隊),模型的參數量只有另一支強隊的約二十分之一。The goal: let a robot estimate its own velocity from a single IMU, a small sensor that measures acceleration and rotation. I entered alone and placed 12th in the organizers' internal evaluation (20th of 131 on the Kaggle private leaderboard), with a model whose parameter count is about one-twentieth of a strong rival's.

Hao-Ting Ho · 何皓廷 · 東海大學電機系Dept. of Electrical Engineering, Tunghai University · lexho2005@gmail.com

第 12 名12th主辦方內部評比(2026-11-19 主辦方回覆)。Kaggle 私榜第 20 名,共 131 隊。Organizers' internal evaluation (organizers' reply, 2026-11-19). 20th of 131 on the Kaggle private leaderboard.
約二十分之一about 1/20模型大小(參數量),相對於另一支強隊的網路model size (parameters) compared with the network of one strong rival team
約一半about half官方分數約為主辦方參考模型(基線)的一半(越低越好)official score is about half of the organizer baseline (lower is better)
研究負責人Research lead方向、取捨、驗證規則、每次提交由我決定。實作由 AI agent(Claude Code、Codex)I set direction, trade-offs, validation rules and every submission; implementation by AI agents (Claude Code, Codex)

01問題The problem

車、四足機器人、無人機、手持裝置的運動方式差很多。比賽要求同一組權重通吃,且不告訴模型是哪一種,只給 IMU 訊號、要它輸出速度。難處是加速度累加成速度時,誤差會越積越大。

A car, a quadruped robot, a drone and a handheld rig all move differently. The challenge asks for one set of weights across all four, without telling the model which one it is: it gets only the IMU signal and must output velocity. It is hard because the error grows as acceleration is accumulated into velocity.

02比賽成績Contest result

名次

RANKING

主辦方內部評比第 12 名(2026-11-19 主辦方回覆);Kaggle 私榜第 20 名(131 隊)。

12th in the organizers' internal evaluation (organizers' reply, 2026-11-19); 20th of 131 on the Kaggle private leaderboard.

私榜:比賽結束後才公布排名的那一半測試資料。

Private leaderboard: the half of the test data whose ranking was published only after the contest closed.

Kaggle 的排名是暫定的;依主辦方比賽頁,正式名次由主辦方另行評定。

The Kaggle leaderboard is provisional; according to the challenge page, official standings are decided by the organizers.

主辦方 IMU Foundation Model 白皮書共同作者(白皮書尚未發表)。

Co-author of the organizers' IMU Foundation Model white paper (not yet published).

限制:只換隨機種子(訓練開始時的隨機設定)重訓,分數就會上下起伏。我交出的種子是事先指定的,但剛好落在較好的一側。

Caveat: if only the random seed (the random setting that starts training) changes, the score moves up or down. The seed I submitted was fixed in advance, but it landed on the better side.

限制與細節Limits and details

我從加入比賽到交件約兩週(比賽本身更早開始)。官方分數是用全部測試資料算的,比較對象是主辦方基線。完整數字見 results.md。

From joining to delivery took about two weeks (the contest itself opened earlier). The official score is computed on the full test data and compared with the organizer baseline. Full numbers: results.md.

03做法Approach

核心是一個很小的網路,把訊號切成一秒一段、連著讀,輸出速度。本專案的技術貢獻:

The core is one small network: it cuts the signal into one-second windows, reads them in sequence and outputs velocity. Project contributions:

限制:前兩項進步不大,和只換種子的起伏同一量級,不能算確定有效。第三項不是新點子,效果也和同時拉長的預訓練分不開。Limit: the first two gains are small, about the size of the seed-to-seed swing, so they cannot be counted as certainly effective. The third is not a new idea, and its effect cannot be separated from the longer pre-training introduced at the same time.

IMU 訊號 → 校正偏差與姿態 → 抽出特徵 → 看前後文 → 預測並接力 → 速度 [比賽提交到此為止]
賽後:借用 thisray 的後處理方法 → 階段二:地面修正 → 階段三:不確定度平滑
IMU signal → bias and attitude correction → feature extraction → read the context → estimate and carry over → velocity [contest entry ends here]
after the contest: post-processing method from thisray (borrowed) → Step 2: ground-robot correction → Step 3: uncertainty smoothing
限制與細節Limits and details
  • 四條衝刺序列都在公開榜那一半(測試資料的另一半),所以第一項對私榜名次沒有貢獻。
  • 「接力力度」是取捨,開小有益,開大會讓一般行駛變遲鈍。
  • 時間縮放這一類做法,至少有四隊各自獨立用過。
  • 訓練前會先做自監督預訓練:遮住一部分輸入再還原,不需要速度答案。
  • 數字見 results.md。
  • All four sprint sequences are in the public half of the leaderboard (the other half of the test data), so the first item did not help the private rank.
  • The carry-over strength is a trade-off: a little helps, a lot makes ordinary driving sluggish.
  • At least four other teams independently used the same family of time-scaling augmentation.
  • Before training, the network is pre-trained with a self-supervised task: hide part of the input and reconstruct it, which needs no velocity labels.
  • Numbers: results.md.

04賽後延伸Post-contest extension

比賽結束後我繼續改進。這部分不計名次,也不和比賽成績連成「進步」。After the contest I kept improving the model. This part does not count for rank, and it should not be read as a continuation of the contest score.

借來的方法對無人機很有效,對車子反而變差。我加的兩步各只再進步一點點。

The borrowed method works very well on drones and makes cars worse; my two steps each add only a little more.

限制與細節Limits and details
  • thisray 的全名是 Ssu-Rui Lee。程式 Apache-2.0,權重 CC-BY-NC-4.0(限研究用途)。
  • 階段一也先寫了判準,並在無人機錄製上做過留出檢查。但車、四足機器人、手持裝置當時沒有乾淨的正面證據,把關比階段二、三弱。
  • 階段一分幾次補交逐步接上。最後兩版裡,後一版私榜略差、公開榜較好,我兩版都上傳後留下後一版(圖上就是它)。
  • 階段二的一半強度是看過留出資料才選的,三次檢驗用同一批,不能說已在新場次證明有效。
  • 在留出的地面錄製上,階段二比完整後處理好約 6%(三次檢驗:原本的權重、同種子重訓一次、換種子重訓一次,結果一致)。
  • 完整後處理讓無人機的速度誤差約少一半,車子的約增加 15%。
  • 我的階段一和 thisray 公布的成績(取自其報告,我未重驗)差距,和只換種子的起伏同一量級,不能說誰較好。
  • 完整表格與算法見 post_competition.md。
  • thisray's full name is Ssu-Rui Lee; the code is Apache-2.0 and the weights are CC-BY-NC-4.0 (research use only).
  • Step 1 also had its pass/fail rule written first and a held-out check on drone recordings, but for the car, the quadruped and the handheld rig there was no clean positive evidence at the time, so its checking is weaker than for Steps 2 and 3.
  • Step 1 was added over several late submissions. Of the last two variants, the later one scored slightly worse on private and better on public; I uploaded both and kept the later one (the one in the chart).
  • The half strength in Step 2 was chosen after seeing the held-out data, and all three checks reuse that set, so it is not shown to hold on new sessions.
  • On the held-out ground recordings, Step 2 is about 6% better than the full post-processing (three checks: the original weights, one retraining with the same seed and one with a different seed, all consistent).
  • The full post-processing cuts the drone's velocity error by about half and raises the car's by about 15%.
  • The gap between my Step 1 and the score thisray reports (from their report, not re-verified) is about the size of the swing from the random seed, so I cannot say which is better.
  • Full table and method: post_competition.md.

05方法論Method

做法Practice實例Example
留出考題資料Held-out set拿出一批錄製,三個訓練階段都不讓模型看。限制:自監督預訓練(訓練前那一步)看過它們的感測器訊號,不是最嚴格。I set aside recordings that none of the three training stages saw. The self-supervised pre-training (the step before training) did see their sensor signals, so this is not the strictest version.
上傳前寫判準Rule before results每次上傳前先寫下怎樣才算有效,共十二份。限制:自行存檔、無第三方時間戳,部分與結果在同一次版本紀錄。Before each upload I wrote down what would count as success (twelve documents). Limit: self-archived, no third-party timestamp, and some share a code snapshot (commit) with their results.
另一模型重算Independent recompute另一個 AI 模型(Codex)重算地面分析,結果吻合。另有專門挑錯的審查。A different AI model (Codex) recomputed the ground analysis and matched my numbers. A separate adversarial review also attacked the results.
換種子重做Repeat with other seeds地面修正重訓了兩次(一次同種子、一次換種子),改善都重現。The ground correction's improvement reproduced in two retrainings, one with the same seed and one with a different seed.
負結果照記Negative results kept沒效的也記下來,例如多對齊平均(同一段資料換幾種對齊方式預測再取平均)沒通過、地面修正拿掉車子就不顯著。What failed is recorded too, for example: multi-alignment averaging (predict the same data under several alignments and average) failed, and the ground correction was not significant without the car.
作廢自己的結論Retracting my own result發現比賽模型對驗證資料來說是「看過答案」的,該輪結果不當證據。Found that the competition model had seen the validation data in training, and discarded that round as evidence.

揭露:比賽中,我用官方計分服務查詢了 33 次。賽後至少補交了 6 次(階段一到三的各版本),並用 Kaggle 回傳的分數做取捨。比賽結束後(2026-09-30)另做了約 89 次逐序列探針提交(每次只改一條序列),用來還原測試資料如何分成公開榜與私榜。測試標籤從未使用;探針回傳的分數沒有拿來調整任何輸出,但探針與官方查詢的結果曾用於診斷。明細見 post_competition.md。Disclosure: during the contest I queried the official scoring service 33 times. After the contest I made at least 6 late submissions (the variants of the three steps) and used the returned scores to choose between them. I also made about 89 probe submissions on 2026-09-30, after the contest had closed, each changing one sequence, to recover how the test data splits into the public and private halves. Test labels were never used; the scores the probes returned were not used to adjust any output, but the probe and official-query results were used for diagnosis. Details: post_competition.md.

06我的角色My role

我是研究負責人:研究方向、取捨、驗證規則與每次提交與否,由我最後決定。實作、實驗執行、程式撰寫與互審由 AI coding agent(Claude Code、Codex)完成。我把「規劃並指揮多個 agent 的研究流程、防止 AI 自己驗證自己」當成一項能力:留出考題資料、上傳前先寫判準、由另一個模型重算、專門挑錯的審查。

I was research lead: research direction, trade-offs, validation rules and whether each submission went out were my final decisions. Implementation, experiment execution, coding and cross-review were done by AI coding agents (Claude Code, Codex). I treat planning and directing a multi-agent research workflow while preventing AI self-verification as a skill: a held-out set, rules written before submission, recomputation by a different model, and adversarial review.

明確是我提出的點子:針對不同載具做不同物理建模(無人機用動力學);把每個窗的不確定度接進平滑器(就是階段三);選定試多對齊平均(結果無效);賽後繼續推分;以及賽後各步驟哪些值得提交的取捨。其餘方法標為「本專案」。

Ideas that were explicitly mine: platform-specific physics models (dynamics for drones); feeding per-window uncertainty into the smoother (which became Step 3); choosing to try multi-alignment averaging (which did not work); continuing to push after the contest; and the call on which post-contest steps were worth submitting. Everything else is credited to "this project".

07下一步Next step

可試的方向大致都試過了;下一步是把模型部署到實體機器人上,讓它成為真的能運作的系統。

I have tried most of the directions worth trying. The next step is to deploy the model on a physical robot and turn it into a system that actually works.

08連結與聯絡Links and contact

完整數字與算法:results.md、post_competition.md、canonical_numbers.md、chronicle.md。Full numbers and methods: results.md, post_competition.md, canonical_numbers.md, chronicle.md.