• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:11
CEST 21:11
KST 04:11
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Ro4 Preview: Mirror Mirror5[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10
Community News
Rollback Netcode in Brood War565.0.17 Patch Notes - October 7, 202621Weekly Cups Results (Sep 28-Oct 4)0SC4ALL: II SC2 Complete Invited Player Lineup10StarCraft II 5.0.17 PTR Patch Notes (Sept 30, 2026)78
StarCraft 2
General
5.0.17 Patch Notes - October 7, 2026 [Old] StarCraft 3 Reportedly in Development StarCraft II 5.0.17 PTR Patch Notes (Sept 30, 2026) How do you feel about the mass reverts in the 5.0.17 PTR? Weekly Cups Results (Sep 28-Oct 4)
Tourneys
$3,500 WardiTV Not-Summer Championship ScienceCraft (October 24-25) - Live Event RSL 2026 Offline Finals LCQ Sign-Ups Stellar Fest TWO the Moon (Dec 16-20) ISSL (IntoTheTV x SOOP SC2 League): Premier
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
Mutation # 546 Catch the Train The PondCast: SC2 News & Results Mutation # 545 And Drops and Rifts Mutation # 544 Double Trouble
Brood War
General
Fantasy returning? TL Sidebar missing streams Rollback Netcode in Brood War BW General Discussion Repalyzer - replay analysis app for StarCraft: Rem
Tourneys
[ASL22] Semifinal B [ASL22] Semifinal A [Megathread] Daily Proleagues [ASL22] Ro8 Day 4
Strategy
Simple Questions, Simple Answers Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do?
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread Total Annihilation Zero
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Diablo Animated Series on Netflix
Sports
TeamLiquid Health and Fitness Initiative For 2023 Football (Soccer) Thread MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Escaping Into Video Games: G…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9543 users

Compressed Sensing

Blogs > Zortch
Post a Reply
Zortch
Profile Blog Joined January 2008
Canada635 Posts
August 20 2011 18:55 GMT
#1
So I'm here a school busy not working. Kinda sleepy, I guess I could just go home but I dunno I'd like to get some more stuff done. I'm working on my Masters project, the summer is almost over so I need to get it done. I'm just working on the appendix to this paper, but I'm lacking some background so its slow going(the book I need is out from the library too - recalled it yesterday).
I'm a Math student by the by and my project is pretty interesting and the basics of it are simple to understand. Also it is very applicable, which is nice, so I thought maybe some people on TL would like to read a little about it and this way I'm at least thinking about the material.

The topic is called Compressed Sensing (or compressive sensing) and it is a fairly new thing(<10 years). You can just google it and find out lots of information of course, but who doesn't want to read what I have to say? Right?!
I'll talk a bit about the application and why you might care about this. Say you have to get a MRI scan or something of that sort. Well what they do(more or less) is fire some waves as you and detect what bounces back and what passes through. Then using that information about what they sent and what they received a picture will be constructed. The hope is that this picture resembles what you look like inside in some sense and the Doctors can get some useful information. Now a lot of times these scans can take a long time because a lot of measurements are required in order to get even a decent picture. So wouldn't it be nice if we could take fewer measurements and/or get a better picture? This is going to mean less time in a crazy magnetic tube for you(the patient) and better information for the Doctors leading to better diagnosis hopefully. This is one of the things that compressed sensing can lead to.

Things will get a little more mathematical as I go on, but some basic linear algebra should be sufficient to get something and if you know a little bit more you might get a little bit more . So the mathematical problem is as follows. There is a fixed unknown vector(the picture of you inside) that we want to discover. The way we can gather information about this vector is by applying a linear transformation to it(i.e. applying a matrix to it)(this is the waves they fire at you). Now we could just pick a matrix like the identity matrix and then we would know our vector, sure. But this would mean measuring every single entry in the vector. If our vector is say 1024x768 entries (maybe it encodes a picture with that many pixels) then this is going to take a long time. So we would like to pick a matrix that doesn't measure everything, but so that we can still figure out what the vector was through some mathematics and computation. This is going to give us an underdetermined system of equations to solve. That is, we will have more unknowns that we have equations! (You know how you can uniquely solve 3 equations with 3 unknowns, 2 equations with 2 unknowns etc, but you can't do that if you have 2 equations and 3 unknowns - you will have infinitely many solutions and we just want one). So what do we do? Classic linear algebra that you will learn in any course is that this is impossible and that is true. However, we can impose an extra condition that will give us hope. That condition is sparsity.

Sparsity in the sense of a vector means for us that most of the entries are just zero. So if there are 1 million entries all but maybe 10000 and zero, say. So we would say that such a vector is 10000-sparse. It turns out that a lot of the things we want to deal with in real life are sparse. Look at x-rays for example. Mostly black... All that black is our zeroes - our sparsity. I'm going to introduce just a little notation - hopefully I don't use it much. Lets call our unknown vector x, and our measurment matrix A. We don't know x, but we do get to know Ax(Ax is what we measure bouncing off of you and through out). We want to solve find the sparsest vector we can such that when we hit it with A, we get Ax. That is, the sparsest vector y, such that Ay=Ax. Great! Now I don't really want to talk about how A is chosen. Randomnnes s is used, its not too complicated but lets not go there. Point is for a good choice of A, if we solve this problem, the y that we get will be exactly the same as the unknown x that we wanted to find. So we have - with relatively few measurements - recovered the picture of your brain, bones whatever exactly. But there is another problem... In practise solving for this y is extremely inefficent computationally. The best algorithms basically just try every possibility. So while this is nice in theory it is largely useless in practise. Fortunately there is an amazing game that we can play.

Instead of looking for the sparsest vector y, we will pose a new problem and look for the "smallest" vector y. I say "smallest" because I have to tell you what I mean by small in this setting. I want the vector that is smallest in the little L-1 norm for those of you who know what that is. For those of you who do not, don't be scared for it is simple. The little L-1 size (or norm) of a vector is just the sum of the absolute value of its components. (For example the L-1 size of (1,-2,3)=|1|+|-2|+|3|=1+2+3=6.) Ok so now we have a new problem.However, the amazing amazing thing is that these two problems are the same! Instead of finding the sparsest y such that Ay=Ax, we can find the "smallest" y such that Ay=Ax and we will get the same answer(technically this will not always happen, but it will happen almost all the time - the probability of it not happening is similar to me teleporting across the world due to quantum fluctuation - or perhaps winning a starleague.) And the beauty of this observation is that our new problem can be solved efficently by a computer!(since it is now a convex problem, we can apply convex optimization techniques blahblahblah).

These are the basic ideas and of course there are many more details that I did not discuss, nor did I mention any proofs but the fundamentals are not too complex to understand I don't think.
I should mention that I only discussed an ideal situation where you gain perfect measurments and there is no corruption due to noise or measurement error. In the real world this will never happen. However, the theory is robost is the sense that under small errors the result will be a good approximation to the original data though not exactly the same. Hopefully this mathematics will help to reduce hospital wait times and expenses and things like that , but I think there will need to be udates to some equipment - I don't really know this side of it.
The paper that I am studying is called A Probabilistic and RIPless Theory of Compressed Sensing - by Candes and Plan in case anyone cares to check it out.

This vein of study leads to a topic called low-rank matrix recovery which is a the heart of the Netflix problem(yep, Netflix) and has applications to facial construction from a series of partial photographs and such, very cool.

Hopefully you got something from this or killed a little bit of time as I have .

TL;DR: Hmm, don't really like these - but I guess they're useful. Compressed Sensing is some math that has applications in medical imaging. I'm studying it.


Respect is everything. ~ARchon
Azerbaijan
Profile Blog Joined January 2010
United States660 Posts
Last Edited: 2011-08-20 20:22:02
August 20 2011 20:21 GMT
#2
I'm not sure I followed the math stuff so well but this sounds incredibly interesting. Having had many MRI's in my life I'm all for spending less time inside the thing.
Please log in or register to reply.
Live Events Refresh
BSL: Ladder Tournament
04:00
#3 - $100
ZZZero.O0
LiquipediaDiscussion
AI Arena Tournament
02:00
Swiss - Round 5
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Liquid`TLO 257
BRAT_OK 104
JuggernautJason89
StarCraft: Brood War
Leta 909
Shuttle 597
Zeus 91
soO 43
Hyun 42
ToSsGirL 32
scan(afreeca) 23
ZZZero.O 22
Sacsri 8
Dota 2
qojqva2041
420jenkins585
canceldota31
Counter-Strike
fl0m5420
Heroes of the Storm
Grubby2992
Liquid`Hasu525
Other Games
FrodaN987
KnowMe419
Pyrionflax169
Livibee166
QueenE67
ToD29
Organizations
Other Games
gamesdonequick709
StarCraft 2
angryscii 35
[ Show 17 non-featured ]
StarCraft 2
• printf 86
• 3DClanTV 56
• Adnapsc2 15
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• Airneanach107
• 80smullet 22
• niya90s 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Counter-Strike
• C_a_k_e 1868
Other Games
• imaqtpie725
• Shiphtur642
Upcoming Events
Sparkling Tuna Cup
14h 50m
Patches Events
19h 50m
BSL Open Qualifier
23h 50m
BSL Open Qualifier
23h 50m
OSC
1d 3h
OSC
1d 16h
WardiTV Weekly
2 days
PiGosaur Cup
3 days
The PondCast
4 days
Online Event
5 days
[ Show More ]
Korean StarCraft League
6 days
Afreeca Starleague
6 days
Rush vs Soulkey
CranKy Ducklings
6 days
BSL Open Qualifier
6 days
Liquipedia Results

Completed

Acropolis #5 - GSB
Blizzard Classic Cup 2026
Copium Cup

Ongoing

ASL Season 22
Super Anchor Qualifying S3
Acropolis #5
HCC Season 3
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026

Upcoming

Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.