2026年11月25日
Technology Watch

從實驗室到產業,追蹤新技術的路徑

← 回首頁

arXiv

EEG 不靠聆聽紀錄就能個人化音樂

AI 繪製的示意圖

音樂應用程式可以在不把一個人過去的行為變成永久檔案的情況下,個人化一次聆聽體驗。EE-Motion 團隊把消費級 EEG 頭帶連接到瀏覽器,為匿名訪客每秒產生八次與心情相關的控制座標。在書桌前,如果感測器戴起來舒適,而且它的訊號能比簡單的心情滑桿帶來更好的選擇,播放清單就可以隨著這次聆聽體驗而改變。

音樂應用程式通常會慢慢了解你。它會觀察你播放、跳過、儲存和追蹤了什麼,然後隨著時間建立一幅你的品味圖像。這幅圖像可能很有用,但它也無法很好地描述當下坐在那裡的人。想在做功課時聽安靜音樂的人,之後想聽些有活力的音樂時,可能還是會收到相同的推薦。匿名訪客的問題更難解決:沒有帳戶紀錄,應用程式幾乎沒有資料可用。

瀏覽器需要知道什麼

這個原型把心情視為會變動的控制項,而不是使用者檔案中永久存在的一部分。它使用兩個概念:效價(valence),也就是感受有多正面或負面;以及喚起度(arousal),也就是感受有多亢奮或平靜。兩者結合後,會在一張簡單的二維地圖上形成一個位置。一首歌可以把聽者帶到地圖上的另一個位置,即使是在同一次聆聽體驗中也一樣。

訊號來自 EEG,它會記錄頭皮上的微小電氣訊號。消費級頭帶可以收集這些訊號,但鬆脫的接觸、動作或肌肉活動都很容易干擾訊號。科學家研究過額葉 alpha 不對稱,以及不同頻段之間的平衡,將它們視為可能反映情感的線索。它們不是對情緒的直接讀取。因此,作者把自己的輸出稱為未校準的生理代理訊號:它們是與心情相關的粗略訊號,不是知道某人感受的機器。

大多數推薦系統反而依賴長期的行為紀錄。這套系統先讓訪客選擇最多十首自己已經喜歡的歌曲。接著,它可以在這次聆聽體驗中調整排序,而不建立持久的使用者資料表,也不重新訓練模型。

Refer to caption
Figure 1. Overview of the Web-based Live Affective Architecture. The browser acquires raw EEG via Web Bluetooth and streams it to the bci-processor for V/A mapping; the affective adapter then scores candidates across swappable WarpRec backbones.Music listening experiences are intrinsically governed by a listener’s affective state, which is never static but continuously drifts within a single session ([Hasan and Bunescu, 2025](https://arxiv.org/html/#bib.bib8)). In affective computing and BCI (BCI) research, this state is commonly described by the continuous valence and arousal (V/A) dimensions of Russell’s circumplex model ([Alarcão and Fonseca, 2019](https://arxiv.org/html/#bib.bib4)) (measuring emotional positivity and physiological activation, respectively). Indeed, emotion-elicitation studies show that listening to even a single minute of music reliably induces distinct V/A shifts ([Alarcão and Fonseca, 2019](https://arxiv.org/html/#bib.bib4)), meaning a listener’s mood can fluctuate multiple times throughout a listening session. Despite this continuous drift, contemporary recommender systems remain largely blind to real-time emotional shifts. When systems incorporate affect, they typically infer it from past listening logs, static context attributes, or explicit self-reports ([Hasan and Bunescu, 2025](https://arxiv.org/html/#bib.bib8)). Recent models such as ACE ([Aghilar et al., 2026](https://arxiv.org/html/#bib.bib3)), for instance, anchor each user to the V/A centroid of previously consumed items. While effective in offline benchmarks, such static anchors remain fixed even when a listener’s mood departs from their historical average during an active session. 出處: EE-Motion: An EEG-based Web Architecture for Live Affective Music Recommendation(arXiv)

把雜訊訊號變成音樂控制項

研究人員使用 Web Bluetooth,把 Muse 2 EEG 頭帶連接到網頁瀏覽器。瀏覽器會把原始訊號傳送到處理管線。這條管線會查看四秒的資料,濾除部分不需要的頻率,並在許多次觀測值之間平滑結果。接著,它每秒產生八次效價—喚起度座標。

這些座標會交給一個「情感轉接器」。它的任務不是理解大腦,也不是取代推薦系統,而是為現有的排序系統提供即時情境訊號,讓它們用來為歌曲評分。這一點很重要,因為同一個介面可以和不同的推薦模型搭配運作,不必為每個模型重新建置或重新訓練。

轉接器也可以接受手動的二維游標,而不是 EEG。聽者可以把一個點拖向平靜或亢奮,推薦管線的其餘部分則維持不變。這讓頭帶成為一種可能的輸入方式,而不是控制系統的唯一方法。

在 MacBook Pro M4 上進行的本機測試中,兩個受測模型都在 EEG 更新之間的 125 毫秒間隔內完成了一輪推薦。即時版本與離線版本在推薦品質上也沒有顯示出具統計顯著性的差異。這項結果表示,額外的即時訊號沒有破壞排序流程。但它不表示 EEG 訊號選出了更好的歌曲。

Refer to caption
Figure 4. Recommendation page: top-10 V/A-conditioned tracks with audio playback and ratings. The plane displays live V/A proxy coordinates, with on-demand re-ranking.To isolate platform performance from network delays, we benchmarked the system locally on a MacBook Pro M4 via WarpRec ([Avolio et al., 2026](https://arxiv.org/html/#bib.bib5)) (Figure [2](https://arxiv.org/html/#S2.F2 "Figure 2 ‣ 2.4. Quantitative Profiling ‣ 2. System Architecture ‣ EE-Motion: An EEG-based Web Architecture for Live Affective Music Recommendation")). The system serves the Lastfm-VADS catalog, which provides inferred item-level V/A profiles ([Aghilar et al., 2026](https://arxiv.org/html/#bib.bib3)). Although the figure illustrates that candidate scoring in the recommender microservice dominates latency, both ACE and SASRec (extended with the affective adapter) complete well below the 125​ms125~\\text{ms} deadline of the 8​Hz8~\\text{Hz} EEG stream, confirming that the architecture operates without buffer accumulation or queuing delays. Finally, serving models via the affective adapter preserves recommendation quality, yielding no statistically significant difference in nDCG@10 between live and offline counterparts: 0.02310.0231 (live) vs. 0.02360.0236 (offline) for ACE ([Aghilar et al., 2026](https://arxiv.org/html/#bib.bib3)), and 0.01640.0164 (live) vs. 0.01480.0148 (offline) for SASRec ([Kang and McAuley, 2018](https://arxiv.org/html/#bib.bib9)); Wilcoxon signed-rank test, p>0.05p{>}0.05. 出處: EE-Motion: An EEG-based Web Architecture for Live Affective Music Recommendation(arXiv)

音樂應用程式的較短記憶

如果消費級感測器證明戴起來舒適、可靠,而且確實與聆聽選擇有關聯,坐在書桌前的人就可以戴上一條輕量頭帶,選幾首熟悉的歌曲,取得會隨著這次聆聽體驗改變的播放清單,而不必等待數天的聆聽紀錄。服務可以只把 EEG 訊號、心情座標和偏好保留在記憶體中,並在這次聆聽體驗結束後刪除它們。

這會把個人化從永久身分轉變成與應用程式之間的臨時對話。它也可以幫助不想使用感測器的人:同一個瀏覽器播放器今天可以提供心情游標,之後也能接受穿戴式裝置。

真正重要的測試仍在前方。這套系統已經展示,瀏覽器可以快速把雜訊多、暫時性的生理訊號帶進推薦系統。但它尚未證明,這個訊號能比簡單的游標或根據行為提供的一般推薦,更能改善聽者的體驗。未來的情境取決於感測器能否良好運作,也取決於音樂選擇是否變得更好,而不只是更快。

來源

arXiv,「EE-Motion: An EEG-based Web Architecture for Live Affective Music Recommendation」