Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
20250226 NLP colloquium: "SoftMatcha: 10億単語規模コー...
Search
Hiroyuki Deguchi
February 26, 2025
Research
790
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20250226 NLP colloquium: "SoftMatcha: 10億単語規模コーパス検索のための柔らかくも高速なパターンマッチャー"
Hiroyuki Deguchi
February 26, 2025
More Decks by Hiroyuki Deguchi
See All by Hiroyuki Deguchi
260624_NLP-colloquium: Hubness
de9uch1
0
47
20240820: Minimum Bayes Risk Decoding for High-Quality Text Generation Beyond High-Probability Text
de9uch1
0
360
サブセット探索を用いた高速なkNNニューラル機械翻訳
de9uch1
0
170
20240226_AAMT-Japio
de9uch1
0
200
Searching for Needles in a Haystack: On the Role of Incidental Bilingualism in PaLM’s Translation Capability
de9uch1
0
160
Paper Reading: Sampling-Based Approximations to Minimum Bayes Risk Decoding for Neural Machine Translation
de9uch1
0
220
My Research Environmental Setup
de9uch1
0
340
Nearest Neighbor Machine Translation
de9uch1
0
290
Paper Reading - Dynamic Programming Encoding for Subword Segmentation in Neural Machine Translation
de9uch1
0
310
Other Decks in Research
See All in Research
研究室単位での自律的 IPv6接続性確立に向けたAS共同運用モデルの提案と実証
reokashiwa
0
110
明日から使える!研究効率化ツール入門
matsui_528
13
7.4k
重要だけど測れていないもの:高齢者ケアの見えない課題
theoriatec2024
0
390
YOLO26_ Key Architectural Enhancements and Performance Benchmarking for Real-Time Object Detection
satai
3
840
AY 2026 Guide to Academic Writing Using Generative AI - Workshop
ks91
PRO
0
130
CVPR2026論文紹介_VLMにとって良いvision encoderとは何か?Rethinking Model Selection in VLM Through the Lens of Gromov-Wasserstein Distance
kobayashi31
1
150
AGI4OPT:自然言語から数理最適化を導くエ ージェントスキル Translating Human Intent into Mathematical Optimization
mickey_kubo
0
150
typst の使い方:言語学を研究する学生のために
gitomochang
0
470
老舗ものづくり企業でリサーチが変革を起こすまで - 三菱重工DXの実践
skydats
0
200
PGDM: Physically Guided Diffusion Model for L Downscaling
satai
2
310
長時間動画QAにおけるマルチエージェント推論 ・SVAgent: Storyline-Guided Long Video Understanding via Cross-Modal Multi-Agent Collaboration
murakawatakuya
1
150
東京大学工学部計数工学科、計数工学特別講義の説明資料
kikuzo
0
530
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7k
Six Lessons from altMBA
skipperchong
29
4.3k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Are puppies a ranking factor?
jonoalderson
1
3.7k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
170
Bash Introduction
62gerente
615
220k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
790
A Soul's Torment
seathinner
6
3k
Navigating Weather and Climate Data
rabernat
0
260
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Designing for Performance
lara
611
70k
Transcript
None
◼ ⚫ ⚫ ⚫ ⚫ ⚫ ◼ ⚫ ⚫ ⚫
◼ ◼ ◼ ◼
◼ ◼ ◼ ◼
◼ ◼ ◼ ◼
𝑤 ◼ 𝑤 ◼ ⚫ 𝑤 ⚫ 𝑤 ◼ ⚫
◼ ⚫ ◼ ⚫ ◼ ⚫ (Radovanovic+, JMLR2010) ⚫ ▶
Wang+, (arxiv) 2022, “Text Embeddings by Weakly-Supervised Contrastive Pre-training”. Radovanovic+, JMLR 2010, “Hubs in space: Popular nearest neighbors in high-dimensional data”.
◼ ◼ ◼ ◼
◼ ⚫ 𝐩 = 𝑝1 , … , 𝑝𝑀 ∈
Σ∗ ⚫ 𝐭 = 𝑡1 , … , 𝑡𝑁 ∈ Σ∗ ▶ Σ∗ ◼ ⚫ ⚫ ◼ ◼
◼ ⚫ 𝑤 ∈ 𝒱 𝐷 ⚫ 𝐯𝑤 ∈ ℝ𝐷
≔ 𝑤 ⚫ ▶ cos 𝐯person , 𝐯people > cos 𝐯person , 𝐯bird ▶
◼ ◼ ⚫ ※
◼ ⚫ 𝑡𝑖 = 𝑝𝑗 cos 𝐯𝑡𝑖 , 𝐯𝑝𝑗 ≥
𝛼 ▶ 𝛼 = 1.0 ※ 𝛼 = 0.7 ◼ ⚫ ⚫
𝑡1 𝑡2 𝑡3 𝑡4 𝑡5 𝑡6 𝑡7 𝑡8 𝑡9 𝑡10
𝑡11 𝑡12 𝑡13 ◼ ◼ ◼ ⚫
◼ 𝒮𝑤 ≔ 𝑣 ∈ 𝒱 cos 𝐯𝑣 ⊤𝐯𝑤 ≥
𝛼 ⚫ 𝑤 𝒮we 𝒮talk 𝒮about
⇔ 𝒮we , 𝒮talk , 𝒮about ⇔ 𝒮we , 𝒮talk
, 𝒮about 𝑖, 𝑖 + 1, 𝑖 + 2 𝑖 𝒮we 𝒮talk 𝒮about
𝒮we 𝒮talk 𝒮about 𝒮we ℳ ℳ ← 1,10,6 𝒮talk ℳ
ℳ′ ← 2 − 1, 11 − 1,7 − 1 = 1,10,6 ℳ ← ℳ ∩ ℳ′ = 1,10,6 𝒮about ℳ ℳ′ ← 8 − 2, 12 − 2 = 6,10 ℳ ← ℳ ∩ ℳ′ = 6,10 ℳ
𝒮we 𝒮talk 𝒮about 𝑡1 𝑡2 𝑡3 𝑡4 𝑡5 𝑡6 𝑡7
𝑡8 𝑡9 𝑡10 𝑡11 𝑡12 𝑡13
𝒮𝑝1 𝐼𝒮𝑝1 𝒮𝑝𝑀 𝐼𝒮𝑝𝑀 𝒮𝑝1 𝐼𝒮𝑝1 ℳ ℳ ← 𝐼𝒮𝑝1
𝑘 = 2, … , 𝑀 ℳ′ ← 𝑖 − 𝑘 + 1 𝑖 ∈ 𝐼𝒮𝑝𝑘 ℳ ← ℳ ∩ ℳ′ ℳ 𝐩 = 𝑝1 , … , 𝑝𝑀
◼ ⚫ ▶ ▶ ⚫
◼ ◼ ⚫ (Wang+, 2024) ⚫ (Douze+, 2024) (Malkov &
Yashunin, IEEE TPAMI, 2018) ◼ ⚫ ▶ 𝛼 = 0.55 (Pennington+, EMNLP2014) ▶ 𝛼 = 0.50 (Grave+, arXiv:1802.06893) Wang+, arXiv:2402.05672, “Multilingual E5 Text Embeddings: A Technical Report”. Douze+, arXiv:2401.08281, “The Faiss library”. Malkov & Yashunin, IEEE TPAMI, 2018, “Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs”. Pennington+, EMNLP2014, “GloVe: Global Vectors for Word Representation”. Grave+, arXiv:1802.06893, “Learning Word Vectors for 157 Languages”.
◼ ⚫ ▶ ⚫
◼ ⚫ ⚫ ◼ ⚫
◼ ⚫ (Crane, IJDL 2023) ⚫ (Bothwell+, EMNLP2023) ◼ Crane,
IJDL 2023, “The Perseus Digital Library and the future of libraries.”. Bothwell+, EMNLP2023, “Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselines”.
◼ ⚫ ⚫ ⚫ ◼ ◼
◼ ⚫ ◼ ⚫ ▶ ◼ ⚫ ▶ ▶ ⚫
⚫
◼ ⚫ 𝐼𝒮𝑝𝑘 ▶ ⚫ ◼ ⚫
◼ ◼ ⚫ ⚫ ⚫ 𝑂 1 ▶ ◼ ⚫
⚫ ⚫ 𝑂 log |𝐵| ▶
◼ ⚫ ⚫ ◼ ⚫ ⚫ ▶ ⚫